From adacd2dc7ea6fd0c989b15f8f7beb06e69810d74 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期四, 14 八月 2025 13:22:10 +0800 Subject: [PATCH] oa标题修改 --- src/views/business/materialOrder/customsInspectionOrder.vue | 29 ++++++++++++++++------------- 1 files changed, 16 insertions(+), 13 deletions(-) diff --git a/src/views/business/materialOrder/customsInspectionOrder.vue b/src/views/business/materialOrder/customsInspectionOrder.vue index 35d165b..19f35a8 100644 --- a/src/views/business/materialOrder/customsInspectionOrder.vue +++ b/src/views/business/materialOrder/customsInspectionOrder.vue @@ -12,9 +12,13 @@ <el-select v-show="active==1" v-model="template" placeholder="涓嬪崟妯℃澘" size="small" style="margin-right: 10px;" @change="selectInsOrderTemplateByIdList"> <el-option v-for="(a, ai) in templates" :key="ai" :label="a.name" :value="a.id"> - <span style="float: left">{{ a.name }}</span> - <i class="el-icon-delete" style="float: right; color: #66b1ff; font-size: 16px" - @click.stop="handleDelete(a)"></i> + <div style="display: flex; align-items: center; justify-content: space-between;"> + <span>{{ a.name }}</span> + <i class="el-icon-delete" + style="color: #66b1ff; font-size: 16px; cursor: pointer;" + @click.stop="handleDelete(a)"> + </i> + </div> </el-option> </el-select> <el-button v-show="active==1" size="small" @click="templateDia=true"> @@ -165,7 +169,7 @@ </el-form> </div> <div style="margin-bottom: 6px;margin-top: 6px"> - <el-button v-show="active==1" :disabled="sampleList.length === 2" size="small" type="primary" @click="handleSplitCountNum">鎷嗗垎</el-button> + <el-button v-show="active==1" :disabled="sampleList.length === 3" size="small" type="primary" @click="handleSplitCountNum">鎷嗗垎</el-button> </div> </div> @@ -479,8 +483,8 @@ sample: null, // 鏍峰搧鍚嶇О qtyArrived: '', // 鏍峰搧鎬绘暟 testQuantity: '', // 鎶芥鏁伴噺 - company: '涓ぉ绉戞妧瑁呭鐢电紗鏈夐檺鍏徃', // 濮旀墭鍗曚綅 - companyId: '1233268751', // 濮旀墭鍗曚綅id + company: '涓ぉ鑰愪笣鏈夐檺鍏徃', // 濮旀墭鍗曚綅 + companyId: '1233268761', // 濮旀墭鍗曚綅id receiverDate: '', // 鎺ユ敹鏃堕棿 appointed: '', // 绾﹀畾鏃堕棿 buyUnitMeas: '', // 鍗曚綅 @@ -774,9 +778,8 @@ if (this.orderType == 1) { this.$set(this.addObj, 'orderType', 'Quarterly inspection') } - const str = res.data.treeName.split('-') - this.selectTreeTem = str.join(' - ') - this.selectTree = str.join(' - ') + this.selectTreeTem = res.data.treeName + this.selectTree = res.data.treeName this.addListInfo(this.codeLevel, res.data) // 鍘熸潗鏂欐牱鍝佹槸鍥哄畾鐨勶紝灏遍粯璁よ祴鍊间竴鏉℃暟鎹紝鍙媶鍒� this.selectInsOrderTemplate() // 鍘熸潗鏂欐ā鏉垮垪琛ㄦ煡璇� } else { @@ -1452,10 +1455,10 @@ }).then(res => { this.methodLoad = false try { - if (res.data.standardMethodList.length == 0 && this.selectTree.split('-').length == 5) { - let arr = this.selectTree.split('-') + if (res.data.standardMethodList.length == 0 && this.selectTree.split(' - ').length == 5) { + let arr = this.selectTree.split(' - ') let arr0 = arr.slice(0, arr.length - 1) - let selectTree = arr0.join('-').substring(0, arr0.join('-').length - 1) + let selectTree = arr0.join(' - ').substring(0, arr0.join(' - ').length - 1) selectsStandardMethodByFLSSM({ tree: selectTree }).then(ress => { @@ -1647,7 +1650,7 @@ }) } this.productList = [] - let num = this.selectTreeTem.split('-').length; + let num = this.selectTreeTem.split(' - ').length; if (num != 5) { this.selectTree = this.selectTreeTem + ' - ' + e } else { -- Gitblit v1.9.3