Fixiaobai
2023-11-17 91ee87478341b25cd7d0107952fc6313a6b16ab6
src/views/plan/customerorder/schedule-table.vue
@@ -90,7 +90,7 @@
                :rules="rules.qtyPlaned"
              >
                <el-input
                  v-model="scope.row.qtyPlaned"
                  v-model="remainderRequired"
                  placeholder="请输入本次计划数量"
                ></el-input>
              </el-form-item>
@@ -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) => {