From 550b1fc6a640d09b93d2115799b5871634524ef1 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期五, 17 十一月 2023 18:32:42 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/zs-mes-before --- src/views/plan/customerorder/schedule-table.vue | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/views/plan/customerorder/schedule-table.vue b/src/views/plan/customerorder/schedule-table.vue index c3f4331..b37d0aa 100644 --- a/src/views/plan/customerorder/schedule-table.vue +++ b/src/views/plan/customerorder/schedule-table.vue @@ -85,14 +85,14 @@ > <template scope="scope"> <!-- <el-form-item>{{ scope.row.qtyPlaned }}</el-form-item> --> - <el-form-item + <el-form-item :prop="'customer.' + scope.$index" :rules="rules.qtyPlaned" > <el-input - v-model="scope.row.qtyPlaned" + v-model="remainderRequired" placeholder="璇疯緭鍏ユ湰娆¤鍒掓暟閲�" - ></el-input> + ></el-input> </el-form-item> </template> </el-table-column> @@ -235,7 +235,8 @@ }) this.dataForm.customer = JSON.parse(JSON.stringify(customerList)) this.dataForm.customer.forEach(item=>{ - item.qtyPlaned=item.buyQtyDue + // let num=Number(item.buyQtyDue) + // item.qtyPlaned=num }) }) }, @@ -245,6 +246,8 @@ if (valid) { checkSchedule(this.dataForm.customer) .then((res) => { + console.log(this.dataForm.customer); + return if (res.data.data.success) { createMasterProductionSchedule(this.dataForm.customer) .then((res) => { -- Gitblit v1.9.3