From f75c4df0ca8cdee5c15f0ecd4288825f35b19bf1 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期一, 25 三月 2024 15:01:17 +0800
Subject: [PATCH] 完成样品模板回显为table功能

---
 src/components/do/b1-ins-order/add.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue
index 355ae0f..b57f729 100644
--- a/src/components/do/b1-ins-order/add.vue
+++ b/src/components/do/b1-ins-order/add.vue
@@ -245,7 +245,7 @@
 				</el-table-column>
 				<el-table-column prop="standardMethodListId" label="妫�楠屾爣鍑�" align="center" min-width="100">
 					<template slot-scope="scope">
-						<el-select v-model="scope.row.standardMethodListId" :disabled="scope.row.model==null" placeholder="妫�楠屾爣鍑�" size="small"
+						<el-select v-model="scope.row.standardMethodListId" :disabled="scope.row.model==null||active>1" placeholder="妫�楠屾爣鍑�" size="small"
 							:loading="methodLoad" @change="(value)=>methodChange(value, scope.row)" @focus="methodFocus" :readonly="active>1">
 							<el-option v-for="item in methods" :key="item.id" :label="item.code" :value="item.id">
 							</el-option>
@@ -417,9 +417,9 @@
 				<el-button type="primary" @click="onSample()" :loading="getProductLoad">纭� 瀹�</el-button>
 			</span>
 		</el-dialog>
-		<el-dialog title="淇濆瓨妯℃澘" :visible.sync="templateDia" width="30%">
-			<div class="body" style="height: 10vh;display: flex;align-items: center;" v-if="templateDia">
-				<div class="search_label"><span class="required-span">* </span>妯℃澘鍚嶇О锛�</div>
+		<el-dialog title="淇濆瓨妯℃澘" :visible.sync="templateDia" width="400px">
+			<div class="body" style="display: flex;align-items: center;" v-if="templateDia">
+				<div class="search_label" style="width: 90px;"><span class="required-span">* </span>妯℃澘鍚嶇О锛�</div>
 				<div class="search_input">
 					<el-input size="small" clearable v-model="templateName"></el-input>
 				</div>

--
Gitblit v1.9.3