Browse Source

0918++++++1

liuhj 7 months ago
parent
commit
623c46544c
1 changed files with 6 additions and 1 deletions
  1. 6 1
      src/components/OP/SuppliesInventory.vue

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

@@ -292,7 +292,8 @@
                 <el-button @click="GoodsOP" type="primary">保存</el-button>
             </div>
         </el-dialog>
-        <el-dialog title="领用物品" width="1000px" :visible.sync="ClaimitemVisible">
+        <el-dialog top="10vh" title="领用物品" width="1000px" :visible.sync="ClaimitemVisible">
+            <label style="display: inline-block;margin-left: 32px;margin-bottom: 10px;">{{Claimitemlabel}}</label>
             <el-form :model="ClaimsruleForm" :rules="Claimrules" ref="ClaimsruleForm" label-width="100px" class="demo-ruleForm">
                 <div class="Claimitem-input">
                     <el-form-item label="关联团组" prop="groupId">
@@ -626,6 +627,7 @@ export default {
                     { required: true, message: '请输入', trigger: 'blur' },
                 ],
             },
+            Claimitemlabel:'',
             //审核参数
             ApprovalVisible:false,
             ApprovalData:[],
@@ -1064,6 +1066,7 @@ export default {
         },
 
         ClaimresetForm(formName) {
+            this.Claimitemlabel="";
             this.ClaimsruleForm.id=0;
             this.$refs[formName].resetFields();
         },
@@ -1099,6 +1102,7 @@ export default {
         },
         //领用列表
         GoodsReceiveList(row){
+            this.Claimitemlabel="";
             if(row.stockQuantity<=0){
                 this.$message.error("已无库存!");
                 return
@@ -1194,6 +1198,7 @@ export default {
                     that.ClaimsruleForm.quantity=datainfo.quantity;
                     that.ClaimsruleForm.reason=datainfo.reason;
                     that.ClaimsruleForm.remark=datainfo.remark;
+                    that.Claimitemlabel=datainfo.goodsStorageInfoStr;
                 }else{
                     that.$message.error(res.data.msg);
                 }