From 6e36f0d4c15d31afffb1f0194ebf8abebd31c4dd Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Thu, 15 Aug 2024 15:43:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E9=AA=8C=E7=94=B3=E8=AF=B7=E5=8D=95?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E6=A3=80=E9=AA=8C=E7=94=B3=E8=AF=B7=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/pointPutawayJob/index.vue | 121 ++++++++++++++++++++-------- 1 file changed, 86 insertions(+), 35 deletions(-) diff --git a/src/pages/pointPutawayJob/index.vue b/src/pages/pointPutawayJob/index.vue index d3c1fe15..97ac306b 100644 --- a/src/pages/pointPutawayJob/index.vue +++ b/src/pages/pointPutawayJob/index.vue @@ -35,6 +35,15 @@ 抽检数量 {{item.sampleQty}} + + 到货数量 + {{item.quantityQty}} + 抽检数量 + {{item.sampleQty}} + + + 未生成检验申请 + @@ -197,41 +206,83 @@ this.readFile(htmlFileUrl1, (htmlContent) => { this.newHtmlContent1 = htmlContent this.data1.inspectDTOList.forEach(item => { - str += ` -

-
-
Q
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
物料代码:${item.itemCode}
物料名称${item.itemName}发货单号${this.data1.asnNumber}
供应商${item.supplierCode}供应商批次${item.supplierBatch}
到货数量${item.quantityQty}抽检数量${item.sampleQty}
+ if(!item.haveInspectionRequest){ + str += ` +

+
+
Q
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
物料代码:${item.itemCode}
物料名称${item.itemName}发货单号${this.data1.asnNumber}
供应商${item.supplierCode}供应商批次${item.supplierBatch}
到货数量${item.quantityQty}抽检数量${item.sampleQty}
未生成检验申请
+
-
- ` + ` + }else{ + str += ` +

+
+
Q
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
物料代码:${item.itemCode}
物料名称${item.itemName}发货单号${this.data1.asnNumber}
供应商${item.supplierCode}供应商批次${item.supplierBatch}
到货数量${item.quantityQty}抽检数量${item.sampleQty}
+
+
+ ` + } + }) this.newHtmlContent1 = this.newHtmlContent1.replace( "mainBody", str); //替换物品代码 @@ -306,9 +357,9 @@ await queryInspectionFreeFlag({ number: this.number }).then(async res1 => { + console.log(444,res1) this.data1 = res1.data this.data1.inspectDTOList = this.data1.inspectDTOList.filter(item=>item.sampleQty>0) - // this.data1.inspectDTOList=[] if(this.data1&&this.data1.inspectDTOList&&this.data1.inspectDTOList.length == 0){ this.tabIndex =2 }