From 647cb2146a5914bf584046234b87839a314c6dc3 Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期三, 13 八月 2025 11:06:19 +0800 Subject: [PATCH] 样品编号修改按钮优化 --- src/components/do/b1-ins-order/add.vue | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue index 1ee8edd..7a19b63 100644 --- a/src/components/do/b1-ins-order/add.vue +++ b/src/components/do/b1-ins-order/add.vue @@ -629,7 +629,14 @@ </div> </template> </el-table-column> - <el-table-column prop="unit" label="璁¢噺鍗曚綅" width="100" show-overflow-tooltip></el-table-column> + <el-table-column prop="unit" label="璁¢噺鍗曚綅" width="100" show-overflow-tooltip> + <template slot-scope="scope"> + <el-input + v-if="active == 1 && scope.row.inspectionValueType != '5' && scope.row.inspectionItemSubclass.includes('浜掕皟')" + v-model="scope.row.unit" size="mini" placeholder="璇疯緭鍏�" /> + <span v-else>{{ scope.row.unit }}</span> + </template> + </el-table-column> <el-table-column prop="price" label="鍗曚环" width="100" show-overflow-tooltip></el-table-column> <!-- <el-table-column prop="manDay" label="棰勮鏃堕棿(澶�)" width="120" show-overflow-tooltip></el-table-column> <el-table-column prop="manHour" label="宸ユ椂绯绘暟" width="100" show-overflow-tooltip></el-table-column> --> -- Gitblit v1.9.3