Browse Source

我的领用可流转和查看流转记录

yanshichao 1 year ago
parent
commit
865942f9d4
1 changed files with 12 additions and 9 deletions
  1. 12 9
      src/views/material/myReceive.vue

+ 12 - 9
src/views/material/myReceive.vue

@@ -66,13 +66,13 @@
       </el-table-column>
       <el-table-column label="操作" width="160">
         <template slot-scope="scope">
-          <!--          <el-button-->
-          <!--            icon="el-icon-edit"-->
-          <!--            size="mini"-->
-          <!--            type="text"-->
-          <!--            @click="handleTransfer(scope.row)"-->
-          <!--          >流转记录-->
-          <!--          </el-button>-->
+          <el-button
+            icon="el-icon-edit"
+            size="mini"
+            type="text"
+            @click="handleTransfer(scope.row)"
+          >流转
+          </el-button>
           <el-button
             icon="el-icon-coordinate"
             size="mini"
@@ -81,13 +81,16 @@
             @click="handleConfirm(scope.row)"
           >领用确认
           </el-button>
-          <el-tag type="success" v-if="scope.row.receiveConfirm==='1'"><i class="el-icon-coordinate"></i>已确认</el-tag>
+          <el-tag type="success" v-if="scope.row.receiveConfirm==='1'" style="margin-left: 10px">
+            <i class="el-icon-coordinate"></i>已确认
+          </el-tag>
         </template>
       </el-table-column>
     </el-table>
 
     <!-- 资产详情对话框 -->
-    <el-dialog :title="title" :visible.sync="detailOpen" width="800px" append-to-body @close="cancel" :close-on-click-modal="!confirmDialog">
+    <el-dialog :title="title" :visible.sync="detailOpen" width="800px" append-to-body @close="cancel"
+               :close-on-click-modal="!confirmDialog">
       <asset-detail :form="form"></asset-detail>
       <div v-if="confirmDialog" slot="footer" class="dialog-footer">
         <el-button type="primary" size="mini" @click="submitConfirm">确 定</el-button>