瀏覽代碼

0319物资出入库审核

liuhj 1 月之前
父節點
當前提交
22cbf26b47
共有 1 個文件被更改,包括 8 次插入2 次删除
  1. 8 2
      src/components/OP/SuppliesInventory.vue

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

@@ -268,7 +268,7 @@
                 </div>
             </div>
         </el-dialog>
-        <el-dialog top="10vh" class="Approval-dialog" width="1100px" title="领用审核" :visible.sync="ApprovalVisible">
+        <el-dialog top="10vh" class="Approval-dialog" width="1350px" title="领用审核" :visible.sync="ApprovalVisible">
             <el-select @change="typevaluechange" style="width: 150px;margin-bottom: 10px;" size="small" v-model="typevalue" placeholder="请选择">
                 <el-option
                     v-for="item in options"
@@ -336,12 +336,14 @@
                     </el-table-column>
                     <el-table-column
                     label="操作"
-                    width="250">
+                    width="450">
                     <template slot-scope="scope">
                         <el-button v-if="scope.row.auditStatus==0||scope.row.auditStatus==2" size="mini" type="primary" title="通过" @click="GoodsReceiveAudit(scope.row.id,1)" >通过</el-button>
                         <el-button v-if="scope.row.auditStatus==0" size="mini" type="info" title="不通过" @click="GoodsReceiveAudit(scope.row.id,2)">不通过</el-button>
                         <el-button v-if="scope.row.auditStatus==1" size="mini" type="warning" title="取消通过" @click="GoodsReceiveAudit(scope.row.id,0)">取消通过</el-button>
                         <el-button size="mini" title="删除" type="danger" @click="Deleteintolibraryreceives(scope.row)">删除</el-button>
+                        <el-button size="mini" type="primary" title="通过" @click="GoodsReceiveAudit(scope.row.id,5)" >出库</el-button>
+                        <el-button size="mini" title="拒绝出库" type="danger" @click="GoodsReceiveAudit(scope.row.id,6)">拒绝出库</el-button>
                     </template>
                     </el-table-column>
                 </el-table>
@@ -1255,6 +1257,7 @@ export default {
             this.unit="";
             this.AddItemsVisible=true;
         },
+    
         //入库审核
         GoodsStorageConfirmStatusChange(val,type){
             var auditDep=0
@@ -1874,6 +1877,9 @@ export default {
         },
         //审核领用
         GoodsReceiveAudit(row,val){
+            console.log(row+'');
+            console.log(row);
+            
             var url = "/api/PersonnelModule/GoodsReceiveAudit"
             var that = this
             this.$axios({