From 91ee87478341b25cd7d0107952fc6313a6b16ab6 Mon Sep 17 00:00:00 2001 From: Fixiaobai <fixiaobai@163.com> Date: 星期五, 17 十一月 2023 18:31:42 +0800 Subject: [PATCH] modified: src/views/plan/customerorder/schedule-table.vue --- src/views/plan/customerorder/schedule-table.vue | 22 +++++++++++++++++++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/src/views/plan/customerorder/schedule-table.vue b/src/views/plan/customerorder/schedule-table.vue index d0aec79..b37d0aa 100644 --- a/src/views/plan/customerorder/schedule-table.vue +++ b/src/views/plan/customerorder/schedule-table.vue @@ -84,14 +84,15 @@ label="鏈璁″垝鏁伴噺" > <template scope="scope"> + <!-- <el-form-item>{{ scope.row.qtyPlaned }}</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> @@ -131,10 +132,19 @@ <el-table-column header-align="center" align="center" - label="闇�姹傛棩鏈�" + label="璁″垝鏃ユ湡" > <template slot-scope="scope"> <el-form-item>{{ scope.row.deliveryDate }}</el-form-item> + </template> + </el-table-column> + <el-table-column + header-align="center" + align="center" + label="瀹㈡埛闇�姹傛棩鏈�" + > + <template slot-scope="scope"> + <el-form-item>{{ scope.row.wantedDeliveryDate }}</el-form-item> </template> </el-table-column> <el-table-column @@ -224,6 +234,10 @@ customerList.push(item) }) this.dataForm.customer = JSON.parse(JSON.stringify(customerList)) + this.dataForm.customer.forEach(item=>{ + // let num=Number(item.buyQtyDue) + // item.qtyPlaned=num + }) }) }, dataFormSubmit() { @@ -232,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