zouyu
2023-10-12 d541cc1adf43277932f9367356c0fdba99e8b34a
src/views/plan/customerorder/customerorder-form.vue
@@ -123,7 +123,7 @@
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="6">
            <!-- <el-col :span="6">
              <el-form-item label="零件号" prop="partNo">
                <el-input v-model="dataForm.partNo" placeholder="" readonly>
                  <el-button
@@ -132,6 +132,15 @@
                    @click="openPartDialog()"
                  ></el-button>
                </el-input>
              </el-form-item>
            </el-col> -->
            <el-col :span="6">
              <el-form-item label="盘长要求" prop="lengthRequirement">
                <el-input
                  v-model="dataForm.lengthRequirement"
                  placeholder=""
                  disabled
                ></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="6">
@@ -304,15 +313,6 @@
          </el-row>
          <el-row>
            <el-col :span="6">
              <el-form-item label="盘长要求" prop="lengthRequirement">
                <el-input
                  v-model="dataForm.lengthRequirement"
                  placeholder=""
                  disabled
                ></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="6">
              <el-form-item label="OTC推送状态" prop="remark">
                <span>{{
                  dataForm.otcPartSync != null
@@ -339,7 +339,7 @@
              </el-form-item>
            </el-col>
          </el-row>
          <el-card header="订单参数" shadow="never">
          <!-- <el-card header="订单参数" shadow="never">
            <el-row>
              <el-form-item
                style="float:left;width: 50%"
@@ -354,7 +354,7 @@
                ></el-input
              ></el-form-item>
            </el-row>
          </el-card>
          </el-card> -->
        </el-tab-pane>
        <el-tab-pane label="OTC附件" type="card">
          <el-table :data="fileList" style="width: 100%" height="500">
@@ -786,7 +786,7 @@
        coLineNo: '',
        partNo: '',
        customerPartName: '',
        buyQtyDue: '',
        otcQuantity: '',
        wantedDeliveryDate: '',
        plannedDeliveryDate: '',
        customerPoNo: '',
@@ -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