From c1156037edfe6116a01a0018c6ae716e5fde6a27 Mon Sep 17 00:00:00 2001
From: wangfukang <15630117759@163.com>
Date: Thu, 25 Apr 2024 17:27:03 +0800
Subject: [PATCH] 11
---
package1/AI/addAiList.vue | 43 +++++++--
package1/inventory/inventoryConfirm.vue | 6 ++
package1/other/logistics.vue | 114 ++++++++++++++++++------
package1/staff/addStaff.vue | 6 +-
4 files changed, 132 insertions(+), 37 deletions(-)
diff --git a/package1/AI/addAiList.vue b/package1/AI/addAiList.vue
index 229ca8c..6e51f0b 100644
--- a/package1/AI/addAiList.vue
+++ b/package1/AI/addAiList.vue
@@ -28,15 +28,42 @@
},
methods: {
submit(){
- this.tui.request("/app/problemFeedback/getProblemFeedbackList", "POST", {
- problemContent:'',
- pageNum:1,
- pageSize:10
- }, false, false).then((res1) => {
-
- }).catch((res) => {
- this.tui.toast(res)
+ uni.request({
+ url: this.tui.interfaceUrl() + '/app/logitics/edit',
+ data: {
+ id: "1782981706819702784",
+ password: "888888",
+ companyName: "测试勿选",
+ companyTel: "18888888888",
+ mobile: "18888888888",
+ username: "18888888888",
+ contacts: "测试"
+ },
+ header: {
+ 'content-type': 'application/json',
+ 'Accesstoken': "22f5698ef97c422ba1c81570b1370a54"
+ },
+ method: 'PUT', //'GET','POST'
+ dataType: 'json',
+ success: (res) => {
+ if (res.data.code == 200){
+ this.upDoorList = res.data.result.records
+ this.waitUpDoorNum = res.data.result.total
+ }
+ },
+ fail: (res) => {
+ this.tui.toast("网络不给力,请稍后再试~")
+ }
})
+ // this.tui.request("/app/logitics/edit", "POST", {
+ // problemContent:'',
+ // pageNum:1,
+ // pageSize:10
+ // }, false, false).then((res1) => {
+
+ // }).catch((res) => {
+ // this.tui.toast(res)
+ // })
},
convertChineseToArabic(str) {
const chineseNumToArabic = {
diff --git a/package1/inventory/inventoryConfirm.vue b/package1/inventory/inventoryConfirm.vue
index 6f7516d..d7596ab 100644
--- a/package1/inventory/inventoryConfirm.vue
+++ b/package1/inventory/inventoryConfirm.vue
@@ -100,6 +100,9 @@
methods: {
inventorySubmit() {
let url;
+ uni.showLoading({
+ title: '加载中...'
+ })
if(this.aiinventory == 1){
url = '/app/stock/putInPriceOfAi'
}else{
@@ -126,6 +129,9 @@
})
}
})
+ setTimeout(res => {
+ uni.hideLoading();
+ }, 2000)
},
batchPrint(){
uni.navigateTo({
diff --git a/package1/other/logistics.vue b/package1/other/logistics.vue
index 7c9ad95..e15b9d6 100644
--- a/package1/other/logistics.vue
+++ b/package1/other/logistics.vue
@@ -10,7 +10,11 @@
+ -->
+