From e3e35ace6ff48882dadaa7d8ea408e864670f951 Mon Sep 17 00:00:00 2001
From: wente <329538422@qq.com>
Date: 星期四, 30 十一月 2023 11:15:27 +0800
Subject: [PATCH] 项目表

---
 web/src/views/modules/configItemWarehouse/ConfigItemWarehouse-AddOrUpdate.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/web/src/views/modules/configItemWarehouse/ConfigItemWarehouse-AddOrUpdate.vue b/web/src/views/modules/configItemWarehouse/ConfigItemWarehouse-AddOrUpdate.vue
index fbc1277..4442ce9 100644
--- a/web/src/views/modules/configItemWarehouse/ConfigItemWarehouse-AddOrUpdate.vue
+++ b/web/src/views/modules/configItemWarehouse/ConfigItemWarehouse-AddOrUpdate.vue
@@ -1,5 +1,5 @@
 <template>
-  <zt-dialog ref="dialog" column="2" @confirm="formSubmit">
+  <zt-dialog ref="dialog" column="3" @confirm="formSubmit">
     <el-form ref="dataForm" style="padding-top: 0" :inline="true" :disabled="dataForm.disabled" :model="dataForm" label-width="120px" class="warehouseFormAuto">
       <div >
         <el-form-item label-width="60px" label="缂栧彿:" style="width:100%;margin-bottom: -5px">
@@ -93,11 +93,16 @@
               <el-table-column prop="examineItem" min-width="300" label="妫�鏌ラ」"></el-table-column>
               <el-table-column label="妫�鏌ョ粨鏋�" width="250" align="center">
                 <template slot-scope="scope">
-                  <zt-dict v-model="scope.row.examineResult" placeholder="妫�鏌ョ粨鏋�" dict="tristate2" :radio="true"
+                  <zt-dict :disabled="!$store.state.user.isAdmin" v-model="scope.row.examineResult" placeholder="妫�鏌ョ粨鏋�" dict="tristate2" :radio="true"
                            clearable></zt-dict>
                 </template>
               </el-table-column>
-              <el-table-column prop="notApplyExplan" align="center" width="120" label="涓嶉�傜敤璇存槑"></el-table-column>
+              <el-table-column align="center" width="120" label="涓嶉�傜敤璇存槑">
+                <template v-slot="{ row }">
+                  <el-input v-if="$store.state.user.isAdmin" v-model="row.notApplyExplan" placeholder="涓嶉�傜敤璇存槑"></el-input>
+                  <span v-else>{{row.notApplyExplan}}</span>
+                </template>
+              </el-table-column>
             </el-table>
             <div class="el-border-top">
             <el-form-item label="瀹℃牳缁撴灉" style="width: 99%">

--
Gitblit v1.9.1