From 9f3c0368dba21e16eeb921f8f53c115b8e21eede Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期六, 25 十一月 2023 10:18:01 +0800
Subject: [PATCH] 	modified:   src/views/warehouse/pallettransports/index.vue 	modified:   vue.config.js

---
 src/views/plan/customerorder/schedule-table.vue |   18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/src/views/plan/customerorder/schedule-table.vue b/src/views/plan/customerorder/schedule-table.vue
index ae7702a..ac0ed90 100644
--- a/src/views/plan/customerorder/schedule-table.vue
+++ b/src/views/plan/customerorder/schedule-table.vue
@@ -67,7 +67,7 @@
               <el-form-item>{{ scope.row.buyQtyDue }}</el-form-item>
             </template>
           </el-table-column>
-          <el-table-column
+          <!-- <el-table-column
             header-align="center"
             align="center"
             label="宸茶鍒掓暟閲�"
@@ -76,7 +76,7 @@
             <template slot-scope="scope">
               <el-form-item>{{ scope.row.requireNumber }}</el-form-item>
             </template>
-          </el-table-column>
+          </el-table-column> -->
           <el-table-column
             prop="remainderRequired"
             header-align="center"
@@ -85,14 +85,15 @@
             width="170px"
           >
             <template scope="scope">
-              <el-form-item
+              <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"
                   placeholder=""
-                ></el-input>
+                ></el-input> -->
               </el-form-item>
             </template>
           </el-table-column>
@@ -222,17 +223,26 @@
         this.dataForm.customer = []
         const _that = this
         customer.forEach((item) => {
+           item.qtyPlaned=item.buyQtyDue
           const outPutBatchList = []
           _that.$set(item, 'outPutBatchList', outPutBatchList)
           customerList.push(item)
         })
         this.dataForm.customer = JSON.parse(JSON.stringify(customerList))
       })
+      // this.dataForm.forEach(item=>{
+      //   console.log(1111);
+      //       console.log("寰幆",item);
+      //       item.qtyPlaned=item.buyQtyDue
+      //   })
+        console.log("data",this.dataForm);
     },
     dataFormSubmit() {
       this.isSubmit = true
       this.$refs.dataForm.validate((valid) => {
         if (valid) {
+          // console.log(this.dataForm);
+          // return
           checkSchedule(this.dataForm.customer)
             .then((res) => {
               if (res.data.data.success) {

--
Gitblit v1.9.3