Fixiaobai
2023-11-15 567c703f91983ec82b397fbd4f347fc192167e85
	modified:   src/views/plan/customerorder/schedule-table.vue
已修改1个文件
10 ■■■■ 文件已修改
src/views/plan/customerorder/schedule-table.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/plan/customerorder/schedule-table.vue
@@ -84,14 +84,15 @@
            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"
              >
                <el-input
                  v-model="scope.row.qtyPlaned"
                  placeholder="请输入本次计划数量"
                ></el-input>
                ></el-input> -->
              </el-form-item>
            </template>
          </el-table-column>
@@ -224,12 +225,17 @@
          customerList.push(item)
        })
        this.dataForm.customer = JSON.parse(JSON.stringify(customerList))
        this.dataForm.customer.forEach(item=>{
            item.qtyPlaned=item.buyQtyDue
        })
      })
    },
    dataFormSubmit() {
      this.isSubmit = true
      this.$refs.dataForm.validate((valid) => {
        if (valid) {
          console.log(this.dataForm.customer);
          return
          checkSchedule(this.dataForm.customer)
            .then((res) => {
              if (res.data.data.success) {