liuhj hace 3 semanas
padre
commit
5a1a79d0cc
Se han modificado 1 ficheros con 8 adiciones y 1 borrados
  1. 8 1
      src/components/OP/SuppliesInventory.vue

+ 8 - 1
src/components/OP/SuppliesInventory.vue

@@ -304,6 +304,13 @@
             <div class="Approval-table">
                 <el-table :data="ApprovalData" border style="width: 100%">
                     <el-table-column prop="goodsName" label="物品名称" width="180">
+                        <template slot-scope="scope">
+                            <el-popover placement="top" width="300" trigger="hover">
+                                <p v-html="scope.row.goodsDetails"></p>
+                                <span style="display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden;cursor: pointer;color: #48a2ff;"
+                                    slot="reference">{{scope.row.goodsName}}</span>
+                            </el-popover>
+                        </template>
                     </el-table-column>
                     <el-table-column prop="quantity" label="数量" width="50">
                     </el-table-column>
@@ -343,7 +350,7 @@
                     </el-table-column>
                     <el-table-column label="操作" width="450">
                         <template slot-scope="scope">
-                            <el-button :disabled="scope.row.auditStatusText=='已完成'||scope.row.auditStatusText=='已拒绝'" size="mini" type="primary" title="通过"
+                            <el-button :disabled="!scope.row.isAuditPer" size="mini" type="primary" title="通过"
                                 @click="GoodsReceiveAudit(scope.row,1)">通过</el-button>
                             <el-button size="mini" type="info" title="不通过"
                                 @click="GoodsReceiveAudit(scope.row,2)">不通过</el-button>