From 5fcfed0c9e6dac85f680c705c9b20abad79e1324 Mon Sep 17 00:00:00 2001 From: 王震 <10952869+daywangzhen@user.noreply.gitee.com> Date: 星期二, 19 十二月 2023 17:33:05 +0800 Subject: [PATCH] modified: src/const/website.js new file: src/page/PackingLedgerDetails/index.vue modified: src/router/page/index.js modified: src/views/plan/manufacturingorder/index.vue modified: src/views/quality/Packaging_ledger/index.vue modified: vue.config.js --- src/views/quality/Packaging_ledger/index.vue | 18 ++++-------------- 1 files changed, 4 insertions(+), 14 deletions(-) diff --git a/src/views/quality/Packaging_ledger/index.vue b/src/views/quality/Packaging_ledger/index.vue index 76c49df..ecc41fc 100644 --- a/src/views/quality/Packaging_ledger/index.vue +++ b/src/views/quality/Packaging_ledger/index.vue @@ -150,7 +150,7 @@ <el-row> <el-col :span="10" :offset="3">鍖呰鍙拌处浜岀淮鐮侊細</el-col> <el-col :span="10"> - <vueQr :text="JSON.stringify(item)" :size="110" :margin="1"></vueQr> + <vueQr :text=str :size="110" :margin="1"></vueQr> </el-col> </el-row> </el-card> @@ -174,6 +174,7 @@ export default { data(){ return { + str:"http://192.168.2.213:8080/#/pack", qrData:[], diaPrintTab: false, multipleSelection: [], @@ -361,19 +362,8 @@ let obj = { packageNo: item.packageNo, contractNo: item.contractNo, - boxInfo: [] + packageBoxId:item.id } - list({packageBoxId:item.id}).then((res) =>{ - res.data.data.forEach(ele=>{ - obj.boxInfo.push({ - product: ele.product, - productNo: ele.productNo, - specs: ele.specs, - unit: ele.unit, - number: ele.number - }) - }) - }) this.qrData.push(obj) }) }, @@ -428,7 +418,7 @@ el.packageBoxId =this.goid }); console.log(this.testStandardParams); - return + // return saveList(this.testStandardParams).then((res) =>{ if(res.status===200){ this.$message.success('淇濆瓨鎴愬姛') -- Gitblit v1.9.3