From 833f68e4b29e99ce7dfb4d6f96434d21c8d79e93 Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Tue, 31 Oct 2023 14:12:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=B0=E5=A2=9E=E6=8F=90?= =?UTF-8?q?=E8=B4=A7=E5=8D=95=E6=97=B6,=20=E6=8B=BF=E4=B8=8D=E5=88=B0?= =?UTF-8?q?=E5=BA=93=E5=AD=98=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../distribution/inventory/distrilbutionBillLading.vue | 9 ++++++++- vite.config.js | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/views/distribution/inventory/distrilbutionBillLading.vue b/src/views/distribution/inventory/distrilbutionBillLading.vue index d76a73d6..9327b03e 100644 --- a/src/views/distribution/inventory/distrilbutionBillLading.vue +++ b/src/views/distribution/inventory/distrilbutionBillLading.vue @@ -2848,6 +2848,7 @@ export default { }, //库存品 onLoadList(page, params = {}) { + console.log('111 :>> ', 111); this.loading = true; let a = {}; if (this.$route.query.type == '1') { @@ -2855,8 +2856,10 @@ export default { } else if (this.$route.query.type === '2') { a = this.dataList[0]; } else if (this.$route.query.type == '3') { - a = this.dataOrder[0]; + a = this.dataList[0]; } + console.log('a :>> ', a); + console.log(' this.dataOrder :>> ', this.dataOrder); // let a = this.dataList[0]; if (!!a.mallId) { params.marketId = a.mallId; @@ -2872,6 +2875,10 @@ export default { this.selectionClear(); }); } else { + this.$message({ + type: 'warning', + message: '无法获取商场信息', + }); this.loading = false; this.pageStock.total = 0; } diff --git a/vite.config.js b/vite.config.js index cf6e5b91..528ccce5 100644 --- a/vite.config.js +++ b/vite.config.js @@ -22,8 +22,8 @@ export default ({ mode, command }) => { // cyz // target: 'http://192.168.10.75:8777', // tjj - target: 'http://192.168.10.29:13000', - // target: 'http://test.api.huitongys.com', + // target: 'http://192.168.10.29:13000', + target: 'http://test.api.huitongys.com', // target: 'http://h5uapi.huitongys.com', changeOrigin: true, rewrite: path => path.replace(/^\/api/, ''),