From 262919ad055f1b5bca47171badf090ca5f5fccba Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期一, 16 十月 2023 09:32:01 +0800 Subject: [PATCH] modified: src/api/plan/customerorder.js modified: src/views/plan/customerorder/customerorder-form.vue modified: vue.config.js --- src/views/plan/customerorder/customerorder-form.vue | 51 ++++++++++++++++++++++++++++++++++----------------- 1 files changed, 34 insertions(+), 17 deletions(-) diff --git a/src/views/plan/customerorder/customerorder-form.vue b/src/views/plan/customerorder/customerorder-form.vue index bbe1d58..f1bb5ec 100644 --- a/src/views/plan/customerorder/customerorder-form.vue +++ b/src/views/plan/customerorder/customerorder-form.vue @@ -72,7 +72,13 @@ <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 @@ -86,7 +92,7 @@ :value="item.value" :disabled="!ediSource" /> - </el-select> + </el-select> --> </el-form-item> </el-col> <el-col :span="6"> @@ -721,6 +727,7 @@ getCustomerOrder, addCustomerOrder, putCustomerOrder, + updateCustomerOrderById, download, getOtcCustomerOrderFileList, otcDownload, @@ -775,21 +782,39 @@ 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: '', @@ -805,11 +830,7 @@ ifsSalesUnit: null, ifsConvFactor: null, unit: null, - otcUnit: null, otcQuantity: null, - docNumber: null, - manufactureAttr: 'N', - customerPartSpec: null, division: null, printType: null, printingRequirements: null, @@ -818,14 +839,10 @@ 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, @@ -1114,7 +1131,7 @@ 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 -- Gitblit v1.9.3