Fixiaobai
2023-11-17 91ee87478341b25cd7d0107952fc6313a6b16ab6
	modified:   src/views/plan/customerorder/schedule-table.vue
已修改1个文件
11 ■■■■■ 文件已修改
src/views/plan/customerorder/schedule-table.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/plan/customerorder/schedule-table.vue
@@ -85,14 +85,14 @@
          >
            <template scope="scope">
              <!-- <el-form-item>{{ scope.row.qtyPlaned }}</el-form-item> -->
           <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>
@@ -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) => {