zouyu
2023-10-11 9ae95491e7a06db3da572ddf98a08cd4694fe034
	modified:   src/views/plan/customerorder/customerorder-form.vue
modified: src/views/plan/masterproductionschedule/index.vue
已修改2个文件
33 ■■■■ 文件已修改
src/views/plan/customerorder/customerorder-form.vue 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/plan/masterproductionschedule/index.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/plan/customerorder/customerorder-form.vue
@@ -144,9 +144,9 @@
              </el-form-item>
            </el-col>
            <el-col :span="6">
              <el-form-item label="销售数量" prop="buyQtyDue">
              <el-form-item label="销售数量" prop="otcQuantity">
                <el-input
                  v-model="dataForm.buyQtyDue"
                  v-model="dataForm.otcQuantity"
                  placeholder=""
                  :disabled="!ediSource"
                ></el-input>
@@ -786,7 +786,7 @@
        coLineNo: '',
        partNo: '',
        customerPartName: '',
        buyQtyDue: '',
        otcQuantity: '',
        wantedDeliveryDate: '',
        plannedDeliveryDate: '',
        customerPoNo: '',
@@ -803,7 +803,7 @@
        ifsConvFactor: null,
        unit: null,
        otcUnit: null,
        buyQtyDue: null,
        otcQuantity: null,
        docNumber: null,
        manufactureAttr: 'N',
        customerPartSpec: null,
@@ -842,7 +842,7 @@
        coState: [],
        coLineNo: [],
        partNo: [{ required: true, message: '零件不能为空', trigger: 'blur' }],
        buyQtyDue: [
        otcQuantity: [
          { required: true, message: '销售数量不能为空', trigger: 'blur' },
          { validator: validateSixDecimal, trigger: 'blur' }
        ],
@@ -959,7 +959,7 @@
      if (!this.dataForm.id) {
        return true
      }
      if (this.dataForm.id && this.dataForm.sourceId !== 'GSM') {
      if (this.dataForm.id && (this.dataForm.sourceId != null && this.dataForm.sourceId !== 'GSM')) {
        return true
      }
      return false
@@ -997,7 +997,10 @@
            this.dataForm = response.data.data
            // }
            // this.fileList = response.data.data.customerOrderAttachmentList
            this.getFileList()
            const sourceId = response.data.data.sourceId
            if(sourceId != null){
              this.getFileList()
            }
            this.orderParamList = response.data.data.orderParamList
            this.title =
              this.dataForm.customerName + this.dataForm.customerOrderNo
src/views/plan/masterproductionschedule/index.vue
@@ -46,7 +46,7 @@
            </el-dropdown-menu>
          </el-dropdown>
          <el-dropdown
          <!-- <el-dropdown
            v-if="permissions.masterproductionschedule_doc_relate"
            @command="documentHandle"
            style="margin-left: 10px"
@@ -63,7 +63,7 @@
                {{ item.label }}
              </el-dropdown-item>
            </el-dropdown-menu>
          </el-dropdown>
          </el-dropdown> -->
          <!--审核状态改变-->
          <el-dropdown
            v-if="permissions.masterproductionschedule_audit_change"
@@ -598,12 +598,12 @@
            size: 'small',
            fun: this.customReserved
          },
          {
            text: '查看库存',
            type: 'text',
            size: 'small',
            fun: this.stockHandle
          },
          // {
          //   text: '查看库存',
          //   type: 'text',
          //   size: 'small',
          //   fun: this.stockHandle
          // },
          {
            text: '来源',
            type: 'text',