From e2e4b4f032a4977b5f8cf5694fd5b90bbad765d1 Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期一, 11 三月 2024 17:59:21 +0800 Subject: [PATCH] 车间订单的编辑 --- src/views/quality/teststandard/standard-form.vue | 4 ++-- vue.config.js | 2 +- src/views/quality/teststandard/index.vue | 4 ++-- src/views/plan/manufacturingorder/edit-order-operation.vue | 14 ++++++++------ 4 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/views/plan/manufacturingorder/edit-order-operation.vue b/src/views/plan/manufacturingorder/edit-order-operation.vue index 8ac91c1..d62cc04 100644 --- a/src/views/plan/manufacturingorder/edit-order-operation.vue +++ b/src/views/plan/manufacturingorder/edit-order-operation.vue @@ -46,7 +46,7 @@ style="width: 100%" > <el-option - v-for="item in isSpecialIns" + v-for="item in isSpecialInss" :key="item.id" :label="item.label" :value="item.value" @@ -167,10 +167,11 @@ return { innerVisible: false, workCenterOptions: [], - isSpecialIns: [{ label: '鏄�', value: true} ,{label: '鍚�', value: false }], + isSpecialInss: [{ label: '鏄�', value: true} ,{label: '鍚�', value: false }], dataForm: { id: 0, workCenter: null, + isSpecialIns: null, machRunFactor: 0, machSetupTime: 0, laborClassNo: null, @@ -211,7 +212,7 @@ }, methods: { saveSelectRow() { - this.$refs.operationDataForm.validate((valid) => { + /* this.$refs.operationDataForm.validate((valid) => { if (valid) { if ( this.dataForm.machRunFactor == 0 && @@ -250,11 +251,12 @@ } if (remindFlag) { this.$message.error(remindInfo) - } else { + } else { */ moRouringOperation(this.dataForm).then((response) => { const data = response.data if (data.code === 0) { this.currOrderOperation.workCenter = this.dataForm.workCenter + this.currOrderOperation.isSpecialIns = this.dataForm.isSpecialIns this.currOrderOperation.machRunFactor = this.dataForm.machRunFactor this.currOrderOperation.machSetupTime = @@ -276,10 +278,10 @@ this.$message.error('缂栬緫澶辫触') } }) - } + /* } } } - }) + }) */ }, // 鑾峰彇IFS浜哄伐绫诲埆鐨勬暟鎹瓧鍏� getLaborClassNo() { diff --git a/src/views/quality/teststandard/index.vue b/src/views/quality/teststandard/index.vue index d861caa..1398ad8 100644 --- a/src/views/quality/teststandard/index.vue +++ b/src/views/quality/teststandard/index.vue @@ -382,7 +382,7 @@ return this.getInspectionTypeOptionList() } }, - { + /* { minWidth: '120', prop: 'operationName', label: '宸ュ簭鍚嶇О', @@ -390,7 +390,7 @@ isTrue: true, isSearch: true, searchInfoType: 'text' - }, + }, */ { minWidth: '120', prop: 'state', diff --git a/src/views/quality/teststandard/standard-form.vue b/src/views/quality/teststandard/standard-form.vue index 4cc5f4c..45b2db6 100644 --- a/src/views/quality/teststandard/standard-form.vue +++ b/src/views/quality/teststandard/standard-form.vue @@ -32,7 +32,7 @@ </el-option> </el-select> </el-form-item> - <el-form-item label="宸ュ簭" prop="operationName"> + <!-- <el-form-item label="宸ュ簭" prop="operationName"> <el-input v-model="dataForm.operationName" placeholder="璇烽�夋嫨宸ュ簭"> <el-button slot="append" @@ -40,7 +40,7 @@ @click="openOperationDialog()" ></el-button> </el-input> - </el-form-item> + </el-form-item> --> <el-form-item label="澶囨敞" prop="remark"> <el-input v-model="dataForm.remark" placeholder=""></el-input> </el-form-item> diff --git a/vue.config.js b/vue.config.js index 2b66e9c..48ce710 100644 --- a/vue.config.js +++ b/vue.config.js @@ -7,7 +7,7 @@ // const url = 'http://192.168.2.7:9999' // const url = 'https://ztms-mes.chinaztt.cn/' -const url = 'http://192.168.23.249:9999' +const url = 'http://localhost:9999' const localUrl = 'http://localhost:8089' -- Gitblit v1.9.3