| | |
| | | <el-col :span="6"> |
| | | <el-form-item label="同步数据来源" prop="sourceId"> |
| | | <el-input |
| | | v-model="dataForm.sourceId" |
| | | v-model="dataForm.sourceId == 0 ? '同步' : '手动'" |
| | | placeholder="" |
| | | :disabled="!ediSource" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="订单号" prop="customerOrderNo"> |
| | | <el-form-item label="订单号" prop="contractNo"> |
| | | <el-input |
| | | v-model="dataForm.customerOrderNo" |
| | | @blur="dataForm.customerOrderNo = $event.target.value.trim()" |
| | | v-model="dataForm.contractNo" |
| | | @blur="dataForm.contractNo = $event.target.value.trim()" |
| | | placeholder="" |
| | | :disabled="!ediSource" |
| | | ></el-input> |
| | |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="客户订单状态" prop="coState"> |
| | | <el-form-item label="客户订单状态" prop="returnStatus"> |
| | | <el-select |
| | | v-model="dataForm.coState" |
| | | v-model="dataForm.returnStatus" |
| | | placeholder="" |
| | | filterable |
| | | style="width: 100%" |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="期望交货时间" prop="wantedDeliveryDate"> |
| | | <el-form-item label="期望交货时间" prop="deliveryDate"> |
| | | <el-date-picker |
| | | v-model="dataForm.wantedDeliveryDate" |
| | | v-model="dataForm.deliveryDate" |
| | | style="width: 100%" |
| | | type="datetime" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | |
| | | </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 |
| | |
| | | @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"> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="销售件号" prop="salesPartNo"> |
| | | <el-form-item label="销售件号" prop="partNo"> |
| | | <el-input |
| | | v-model="dataForm.salesPartNo" |
| | | v-model="dataForm.partNo" |
| | | placeholder="" |
| | | disabled |
| | | > |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="业务员" prop="salesmanName"> |
| | | <el-form-item label="业务员" prop="salesMan"> |
| | | <el-input |
| | | v-model="dataForm.salesmanName" |
| | | v-model="dataForm.salesMan" |
| | | placeholder="" |
| | | disabled |
| | | ></el-input> |
| | |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="产品类型" prop="remark"> |
| | | <el-form-item label="产品类型" prop="productType"> |
| | | <el-input |
| | | v-model="dataForm.productType" |
| | | placeholder="" |
| | |
| | | </el-col> |
| | | </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: { |
| | | id: 0, |
| | | sourceId: '', |
| | | contractNo: '', |
| | | customerOrderNo: '', |
| | | returnStatus: '', |
| | | deliveryDate: '', |
| | | customerNo: '', |
| | | customerName: '', |
| | | coState: '', |
| | | coLineNo: '', |
| | | partNo: '', |
| | | customerPartName: '', |
| | | otcQuantity: '', |
| | | buyQtyDue: '', |
| | | wantedDeliveryDate: '', |
| | | plannedDeliveryDate: '', |
| | |
| | | ifsConvFactor: null, |
| | | unit: null, |
| | | otcUnit: null, |
| | | buyQtyDue: null, |
| | | otcQuantity: null, |
| | | docNumber: null, |
| | | manufactureAttr: 'N', |
| | | customerPartSpec: null, |
| | |
| | | otherProductRequire: null, |
| | | divisionSystem: null, |
| | | shippingAddress: null, |
| | | salesmanName: null, |
| | | salesMan: null, |
| | | lengthRequirement: null, |
| | | remark: null, |
| | | otcPartSync: null, |
| | |
| | | coState: [], |
| | | coLineNo: [], |
| | | partNo: [{ required: true, message: '零件不能为空', trigger: 'blur' }], |
| | | buyQtyDue: [ |
| | | otcQuantity: [ |
| | | { required: true, message: '销售数量不能为空', trigger: 'blur' }, |
| | | { validator: validateSixDecimal, trigger: 'blur' } |
| | | ], |
| | |
| | | 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 |
| | |
| | | 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 |