modified: src/api/plan/customerorder.js
modified: src/views/plan/customerorder/customerorder-form.vue
modified: vue.config.js
| | |
| | | }) |
| | | } |
| | | |
| | | export function updateCustomerOrderById(obj) { |
| | | return request({ |
| | | url: '/mes/plan/customerOrder/updateById', |
| | | method: 'put', |
| | | data: obj |
| | | }) |
| | | } |
| | | |
| | | // 创建主生产计划需求 |
| | | export function createMpsRequirements(obj) { |
| | | return request({ |
| | |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="客户订单状态" prop="returnStatus"> |
| | | <el-select |
| | | <el-input |
| | | v-model="dataForm.returnStatus" |
| | | placeholder="" |
| | | filterable |
| | | style="width: 100%" |
| | | disabled></el-input> |
| | | <!-- <el-select |
| | | v-model="dataForm.returnStatus" |
| | | placeholder="" |
| | | filterable |
| | |
| | | :value="item.value" |
| | | :disabled="!ediSource" |
| | | /> |
| | | </el-select> |
| | | </el-select> --> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | |
| | | getCustomerOrder, |
| | | addCustomerOrder, |
| | | putCustomerOrder, |
| | | updateCustomerOrderById, |
| | | download, |
| | | getOtcCustomerOrderFileList, |
| | | otcDownload, |
| | |
| | | showSynchronize: false, |
| | | selectOrderParam: null, |
| | | selectOrderObj: {}, |
| | | aaaaa:{}, |
| | | dataForm: { |
| | | id: 0, |
| | | sourceId: '', |
| | | contractNo: '', |
| | | customerOrderNo: '', |
| | | returnStatus: '', |
| | | deliveryDate: '', |
| | | customerNo: '', |
| | | customerName: '', |
| | | coState: '', |
| | | coLineNo: '', |
| | | returnStatus: '', |
| | | deliveryDate: '', |
| | | salesMan: '', |
| | | salerWorkCode: '', |
| | | manufactureAttr: '', |
| | | buyQtyDue: 0, |
| | | productName: '', |
| | | productType: '', |
| | | partNo: '', |
| | | docNumber: '', |
| | | shippingAddress: '', |
| | | remark: '', |
| | | otcUnit: '', |
| | | coState: '', |
| | | customerPartSpec: '', |
| | | entityName: '', |
| | | factoryPlaceOrderDate: '', |
| | | isCp: '', |
| | | originalContractStatus: '', |
| | | placeOrderDate: '', |
| | | province: '', |
| | | |
| | | customerOrderNo: '', |
| | | coLineNo: '', |
| | | customerPartName: '', |
| | | otcQuantity: '', |
| | | buyQtyDue: '', |
| | | wantedDeliveryDate: '', |
| | | plannedDeliveryDate: '', |
| | | customerPoNo: '', |
| | |
| | | ifsSalesUnit: null, |
| | | ifsConvFactor: null, |
| | | unit: null, |
| | | otcUnit: null, |
| | | otcQuantity: null, |
| | | docNumber: null, |
| | | manufactureAttr: 'N', |
| | | customerPartSpec: null, |
| | | division: null, |
| | | printType: null, |
| | | printingRequirements: null, |
| | |
| | | qualityRequire: null, |
| | | otherProductRequire: null, |
| | | divisionSystem: null, |
| | | shippingAddress: null, |
| | | salesMan: null, |
| | | lengthRequirement: null, |
| | | remark: null, |
| | | otcPartSync: null, |
| | | finalCustomerName: null, |
| | | productGroup: null, |
| | | productType: null, |
| | | centralizedMiningProperty: null, |
| | | orderDescription: null, |
| | | otcLineNo: null, |
| | |
| | | this.$refs.dataForm.validate((valid) => { |
| | | if (valid) { |
| | | if (this.dataForm.id) { |
| | | putCustomerOrder(this.dataForm) |
| | | updateCustomerOrderById(this.dataForm) |
| | | .then((data) => { |
| | | this.$message.success('修改成功') |
| | | this.visible = false |
| | |
| | | * 配置参考: |
| | | * https://cli.vuejs.org/zh/config/ |
| | | */ |
| | | const url = 'http://192.168.0.23:9999' |
| | | const url = 'http://127.0.0.1:9999' |
| | | const localUrl = 'http://localhost:8089' |
| | | //const localUrl = 'http://10.88.15.95:8089' |
| | | const CompressionWebpackPlugin = require('compression-webpack-plugin') |