Fixiaobai
2023-11-17 1f5009ddcc87f7a7db792d40206bdcf5462089ee
src/views/plan/customerorder/schedule-table.vue
@@ -84,7 +84,8 @@
            label="本次计划数量"
          >
            <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"
              >
@@ -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,9 @@
          customerList.push(item)
        })
        this.dataForm.customer = JSON.parse(JSON.stringify(customerList))
        this.dataForm.customer.forEach(item=>{
            item.qtyPlaned=item.buyQtyDue
        })
      })
    },
    dataFormSubmit() {