From 102502a8dfeeee728db99758c4443b7824bbe232 Mon Sep 17 00:00:00 2001 From: wanshenmean <cathay_xy@163.com> Date: 星期四, 10 四月 2025 14:54:15 +0800 Subject: [PATCH] 合并 --- 代码管理/NEWCode/WIDESEAWCS_PDA/pages/叫料/负极叫料.vue | 25 ++++++++++++++++++++++++- 1 files changed, 24 insertions(+), 1 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_PDA/pages/\345\217\253\346\226\231/\350\264\237\346\236\201\345\217\253\346\226\231.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_PDA/pages/\345\217\253\346\226\231/\350\264\237\346\236\201\345\217\253\346\226\231.vue" index a2fb588..5700a5e 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_PDA/pages/\345\217\253\346\226\231/\350\264\237\346\236\201\345\217\253\346\226\231.vue" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_PDA/pages/\345\217\253\346\226\231/\350\264\237\346\236\201\345\217\253\346\226\231.vue" @@ -92,6 +92,23 @@ } }, submit(cb) { + this.$t.message.loading(); + let formDataParam = { + current: this.current, + size: this.size + }; + // 浣跨敤鍒涙櫤瀹屾暣鎺ュ彛 + this.$u.post('http://192.168.31.240:9090/makerwit/selectKHWareType', null).then(res => { + console.log(res); + this.$t.message.closeLoading(); + cb && cb(); + if (cb != null) this.listData = []; + this.listData = [...this.listData, ...res.data]; + console.log(this.listData); + }).catch((err) => { + this.$t.message.toast(err.message); + }); + }, uni.getStorage({ key: 'storage_key_ipAddress', success: (res) => { @@ -153,6 +170,11 @@ return; } let formDataParam = { + dTaskId: this.generateUUID(), + productCode: productCode, + orderNo: orderNo, + number: availableQuantity > 4 ? 4 : availableQuantity, + inputValue: inputValue, DTaskId: this.generateUUID(), ProductCode: productCode, OrderNo: orderNo, @@ -168,7 +190,8 @@ // 浣跨敤鍒涙櫤瀹屾暣鎺ュ彛 this.$u.post(value.CZFJiP + '/api/PDA/insertTask', formDataParam).then(res => { this.$t.message.closeLoading(); - if (res.status) { + console.log(formDataParam); + if (res.code == 200) { this.$t.message.toast('鍛煎彨鎴愬姛'); this.$refs.popup.close(); // this.submit(); -- Gitblit v1.9.3