From 42f4650469bea16fcb345c670a6ce88cf4e75a87 Mon Sep 17 00:00:00 2001 From: zhangdingyu <974548713@qq.com> Date: Sun, 29 Sep 2019 14:38:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E9=87=87=E8=B4=AD=E5=A4=87?= =?UTF-8?q?=E6=96=99=E8=AE=A1=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CreatingPurchasingMaterials/index.vue | 23 +++++++------------ 1 file changed, 8 insertions(+), 15 deletions(-) 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)