From 86a84c327007a1fb398fa2aefff1bffc03a83cfb Mon Sep 17 00:00:00 2001 From: Crunchy <3114200645@qq.com> Date: 星期二, 06 八月 2024 22:36:02 +0800 Subject: [PATCH] 委托下单,禁止下拉框输入 --- src/components/do/b1-ins-order/add.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue index 42690c4..881bda3 100644 --- a/src/components/do/b1-ins-order/add.vue +++ b/src/components/do/b1-ins-order/add.vue @@ -475,7 +475,7 @@ <template slot-scope="scope"> <el-input size="small" placeholder="瑕佹眰鍊�" v-model="scope.row.ask" clearable type="textarea" :autosize="{ minRows: 1, maxRows: 3}" @change="e=>requestChange(e,scope.row,'ask')" - v-if="active==1&&isAskOnlyRead&&/[0-9]/.test(scope.row.ask)"></el-input> + v-if="active==1&&isAskOnlyRead&&scope.row.inspectionValueType!='5'"></el-input> <span v-else> <!-- <template v-if="(scope.row.ask.indexOf('D')>-1 ||scope.row.ask.indexOf('W')>-1 @@ -1594,8 +1594,8 @@ console.log('isHaveBushing===', this.totalArr) // inspectionItem - let spcialItem = this.totalArr.find(a => a.state == 1 && a.inspectionItem.includes('鏉惧绠�')) - console.log('isHaveBushing===', isHaveBushing) + let spcialItem = null//this.totalArr.find(a => a.state == 1 && a.inspectionItem.includes('鏉惧绠�')) + // console.log('isHaveBushing===', isHaveBushing) if (productListSelected && select[2] === '鍏夌紗' && isHaveBushing === false) { this.$message.error('鍏夌紗娓╁害寰幆椤圭洰蹇呴』杩涜鍏夌氦閰嶇疆') this.$refs.sampleTable.setCurrentRow(this.currentMethod, true) -- Gitblit v1.9.3