Fixiaobai
2023-11-16 aae7cc89326db4c5c1b7cb2deea0ed0e7fde6906
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,7 +85,8 @@
            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"
              >
@@ -93,7 +94,7 @@
                  v-model="scope.row.qtyPlaned"
                  placeholder=""
                ></el-input>
              </el-form-item>
              </el-form-item> -->
            </template>
          </el-table-column>
          <el-table-column
@@ -230,6 +231,9 @@
        this.dataForm.customer = JSON.parse(JSON.stringify(customerList))
        console.log(this.dataForm.customer);
      })
      this.dataForm.customer.forEach(item=>{
            item.qtyPlaned=item.buyQtyDue
        })
    },
    dataFormSubmit() {
      this.isSubmit = true