From b8bd74189e0ca8293f2cf3aec6139ff9442998e7 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期四, 19 九月 2024 16:26:43 +0800 Subject: [PATCH] 修改下单 --- src/components/do/b1-ins-order/add.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue index 480367f..56e3099 100644 --- a/src/components/do/b1-ins-order/add.vue +++ b/src/components/do/b1-ins-order/add.vue @@ -301,7 +301,7 @@ <div class="search_input"> <!-- <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="addObj.production" :readonly="active>1"></el-input> --> - <el-input size="small" v-model="addObj.production" placeholder="閫夋嫨鐢熶骇鍗曚綅"> + <el-input size="small" v-model="addObj.production" placeholder="閫夋嫨鐢熶骇鍗曚綅" :readonly="active>1"> <template slot="append"><el-button slot="append" icon="el-icon-search" @click="selectUserDia = true,createState=2" :disabled="active>1"></el-button></template> </el-input> @@ -2631,11 +2631,11 @@ 'Content-Type': 'application/json' } }).then(res => { + this.getProductLoad = false res.data.forEach(a => { a.state = 0 }) row.insProduct = this.HaveJson(res.data) - this.getProductLoad = false this.productList = row.insProduct this.productList0 = JSON.parse(JSON.stringify(this.productList)) this.$refs.sampleTable.setCurrentRow(row) @@ -2644,6 +2644,8 @@ if (a.state == 1) this.toggleSelection(a) }) }, 200) + }).catch(e => { + this.getProductLoad = false }) this.searchProject() this.searchTemList() -- Gitblit v1.9.3