已修改2个文件
12 ■■■■ 文件已修改
src/views/plan/customerorder/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/plan/customerorder/schedule-table.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/plan/customerorder/index.vue
@@ -841,7 +841,7 @@
    }
    if (this.permissions.customerorder_submit_oa) {
      this.table.toolbar.push({
        text: '提交审核',
        text: '提交OA审核',
        type: 'primary',
        fun: this.auditCustomerOrder,
        disabled: false,
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) {