diff --git a/src/hybrid/html/purchaseReceiptJob.html b/src/hybrid/html/purchaseReceiptJob.html index 95e9a975..9352a1fc 100644 --- a/src/hybrid/html/purchaseReceiptJob.html +++ b/src/hybrid/html/purchaseReceiptJob.html @@ -28,10 +28,11 @@ align-items: center } - .top th { + .top1 th { font-weight: bold; - font-size: 16px; + font-size: 13px; padding: 10px; + text-align: left; } @@ -42,13 +43,33 @@ width: 100% } th{ - text-align:left; + font-weight: bold; + font-size: 13px; padding: 10px; } td{ padding: 10px; } + td:nth-child(2n){ + width:calc(50% - 100px); + } + td:nth-child(2n+1){ + width:80px; + } + .relative{ + margin-bottom: 10px; + position: relative; + } + + .q{ + position: absolute; + left: 50%; + top:50%; + font-size: 160px; + transform: translate(-50% ,-50%); + color: rgba(0, 0, 0, 0.1); + } diff --git a/src/pages/pointPutawayJob/index.vue b/src/pages/pointPutawayJob/index.vue index 84cd1655..bac7be5b 100644 --- a/src/pages/pointPutawayJob/index.vue +++ b/src/pages/pointPutawayJob/index.vue @@ -7,23 +7,32 @@ - + + Q - - - - - - - + + - - + + + + + + + + + + + + + + + @@ -34,7 +43,7 @@ - + 目标库位:{{item.toLocationCode}} @@ -160,7 +169,7 @@
- 物料号:
${item.itemCode}
+ 物料号:
${item.itemCode}asjkdhfksjahfkljashfklsdh
托包装号:
${item.packingNumber}
@@ -184,44 +193,48 @@ // 获取采购收货指引单html getPurchaseReceiptJobHtml() { this.$nextTick(async () => { - let str2 = '' + let str = '' this.readFile(htmlFileUrl1, (htmlContent) => { this.newHtmlContent1 = htmlContent - str2 = `

-
-
发货单号:{{data1.asnNumber}}
物料代码供应商批次检验数量物料代码:{{item.itemCode}}
{{item.itemCode}}
物料名称{{item.itemName}}发货单号{{data1.asnNumber}}
供应商{{item.supplierCode}}批次 {{item.supplierBatch}}
到货数量{{item.quantityQty}}抽检数量 {{item.sampleQty}}
- - - - - - - - - - - - - strBody - -
发货单号:${this.data1.asnNumber}
物料代码供应商批次检验数量
- - - ` - let str1 = '' this.data1.inspectDTOList.forEach(item => { - str1 += ` - - ${item.itemCode} - ${item.supplierBatch} - ${item.sampleQty} - + str += ` +

+
+
Q
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
物料代码:${item.itemCode}
物料名称${item.itemName}发货单号${this.data1.asnNumber}
供应商${item.supplierCode}批次${item.supplierBatch}
到货数量${item.quantityQty}抽检数量${item.sampleQty}
+
+
` }) - str2 = str2.replace("strBody", str1) - console.log(335, str1) this.newHtmlContent1 = this.newHtmlContent1.replace( - "mainBody", str2); //替换物品代码 + "mainBody", str); //替换物品代码 }); }) @@ -308,7 +321,7 @@ }, onReachBottom() { if (this.tabIndex == 1) { - if (this.showTableInspectDTOList.length != this.data1.inspectDTOList.length) { + if (this.showTableInspectDTOList != this.data1.inspectDTOList.length) { this.getTableInspectDTOList() } } else { @@ -323,7 +336,7 @@ \ No newline at end of file