diff --git a/src/views/WorkshopProcurement/CreatingPurchasingMaterials/index.vue b/src/views/WorkshopProcurement/CreatingPurchasingMaterials/index.vue index 84a49201..f697dd8c 100644 --- a/src/views/WorkshopProcurement/CreatingPurchasingMaterials/index.vue +++ b/src/views/WorkshopProcurement/CreatingPurchasingMaterials/index.vue @@ -182,9 +182,9 @@ {{ scope.row.批次数量 }} - + @@ -368,7 +368,7 @@ -
+
@@ -407,7 +407,7 @@ - +

江苏高精机电装备有限公司

{{ list.材料 }} {{ list.单位 }} {{ list.批次数量 }}{{ list.重量 }}{{ list.成品尺寸 }} {{ list.备注1 }}
@@ -556,13 +556,7 @@ export default { } }, saveWeight(index, row) { - var reg = /^[0-9]*$/ - if (!reg.test(row.重量1)) { - this.$message.error('请输入正确的重量') - row.重量1 = '' - } else { - saveWeight(row.采购计划明细流水号, row.重量1, row.备注1, row.单价) - } + saveWeight(row.采购计划明细流水号, row.成品尺寸, row.备注1, row.单价) }, saveMoney(index, row) { var reg = /^[0-9]*$/ @@ -570,11 +564,11 @@ export default { this.$message.error('请输入正确的单价') row.单价 = '' } else { - saveWeight(row.采购计划明细流水号, row.重量1, row.备注1, row.单价) + saveWeight(row.采购计划明细流水号, row.成品尺寸, row.备注1, row.单价) } }, saveRemarks(index, row) { - saveWeight(row.采购计划明细流水号, row.重量1, row.备注1, row.单价) + saveWeight(row.采购计划明细流水号, row.成品尺寸, row.备注1, row.单价) }, // ///////////////////////////////////////////////////////////////////////////////////////0529新加↑ useqrcode(contractNum) { @@ -778,7 +772,6 @@ export default { this.计划完成日期 = row.计划完成日期.split(' ')[0] this.下单日期 = row.下单日期.split(' ')[0] searchMateriel(this.purchasingOrderNumber).then(response => { - console.log(response.data) this.tableData3 = response.data }) }, @@ -864,7 +857,7 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(() => { - const htmlNode = $('#cjn').html() + const htmlNode = $('#WGBLD').html() const body = $('body') body.children().hide() const printNode = $(htmlNode)