diff --git a/src/views/distribution/turndelivery/devtmp.vue b/src/views/distribution/turndelivery/devtmp.vue index 61771c93..298b3eb1 100644 --- a/src/views/distribution/turndelivery/devtmp.vue +++ b/src/views/distribution/turndelivery/devtmp.vue @@ -1928,21 +1928,23 @@ const SubmitLoad = () => { // 新增订单 // QuantityEntryStatus为真表示此时此刻操作的是数量录入提交 if (QuantityEntryStatus.value) { - dataInfo.value[dataId.value].parcelListVOS = isZeroTable.value; + dataInfo.value[dataId.value].parcelNumberVOS = isZeroTable.value; console.log(dataInfo.value[dataId.value], '当前零担信息'); + } else { + entryNum(isZeroTable.value).then(res => { + console.log(res, '提交零担'); + console.log(isZeroTable.value, '提交零担的值'); + }); } - entryNum(isZeroTable.value).then(res => { - console.log(res, '提交零担'); - console.log(isZeroTable.value, '提交零担的值'); - }); - comprehensive.value = false; //关闭弹窗 + comprehensive.value = false; //关闭弹窗 EnteringLibrary.value = false; //关闭零担 QuantityEntryStatus.value = false; //此时开启零担录入 }; // 零担数量操作 const isZeroNumber = val => { console.log(val, '当前操作数据'); - val.number = val.number; + + val.reservationNum = val.number; }; // 刷新功能触发事件 const refresh = () => { diff --git a/vite.config.js b/vite.config.js index f1d13425..02e371b9 100644 --- a/vite.config.js +++ b/vite.config.js @@ -23,11 +23,7 @@ export default ({ mode, command }) => { target: 'http://192.168.10.75:8777', // tjj // target: 'http://192.168.10.29:13000', -<<<<<<< HEAD // target: 'http://test.api.huitongys.com', -======= - target: 'http://test.api.huitongys.com', ->>>>>>> b03d088923c558e796ad872d1c718c34ccd5d8be // target: 'http://h5uapi.huitongys.com', changeOrigin: true, rewrite: path => path.replace(/^\/api/, ''),