| | |
| | | </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> |
| | |
| | | coLineNo: '', |
| | | partNo: '', |
| | | customerPartName: '', |
| | | buyQtyDue: '', |
| | | otcQuantity: '', |
| | | wantedDeliveryDate: '', |
| | | plannedDeliveryDate: '', |
| | | customerPoNo: '', |
| | |
| | | ifsConvFactor: null, |
| | | unit: null, |
| | | otcUnit: null, |
| | | buyQtyDue: null, |
| | | otcQuantity: null, |
| | | docNumber: null, |
| | | manufactureAttr: 'N', |
| | | customerPartSpec: 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 |