|
|
@@ -283,8 +283,12 @@
|
|
|
>
|
|
|
</el-table-column>
|
|
|
|
|
|
-
|
|
|
- <el-table-column label="单价" prop="price" align="center" v-if="isPrice == 1">
|
|
|
+ <el-table-column
|
|
|
+ label="单价"
|
|
|
+ prop="price"
|
|
|
+ align="center"
|
|
|
+ v-if="isPrice == 1"
|
|
|
+ >
|
|
|
<template slot-scope="{ row }">
|
|
|
<template>
|
|
|
{{ row.price ? row.price : '-' + '元' }}/{{
|
|
|
@@ -579,7 +583,7 @@
|
|
|
), // 出库场景状态
|
|
|
saveLoading: false,
|
|
|
treeList: [],
|
|
|
- isPrice:1,
|
|
|
+ isPrice: 1,
|
|
|
formData: {
|
|
|
extInfo: {
|
|
|
assetType: [], //物品类型id
|
|
|
@@ -602,7 +606,7 @@
|
|
|
verifyId: '', //审核人Id
|
|
|
verifyName: '', //审核人名称
|
|
|
createUserId: '',
|
|
|
- remark: '',
|
|
|
+ remark: ''
|
|
|
},
|
|
|
rules: {
|
|
|
bizType: {
|
|
|
@@ -1049,6 +1053,23 @@
|
|
|
}
|
|
|
this.formData.extInfo.createUserName = info.name;
|
|
|
this.formData.createUserId = info.userId;
|
|
|
+
|
|
|
+ // 默认领料人部门
|
|
|
+ console.log(info);
|
|
|
+
|
|
|
+ // this.formData.extInfo.verifyDeptCode = info?.groupId;
|
|
|
+ // this.formData.extInfo.verifyDeptName = info?.groupName;
|
|
|
+ // this.$set(this.formData.extInfo, 'verifyDeptCode', info?.groupId);
|
|
|
+ // this.$set(this.formData.extInfo, 'verifyDeptName', info?.groupName);
|
|
|
+
|
|
|
+ // // // 领料人
|
|
|
+ // this.getStaffList({ id: info?.groupId });
|
|
|
+ // this.formData.fromId = info.userId;
|
|
|
+ // this.formData.fromUser = info.name;
|
|
|
+ // this.formData.fromUserPhone = info.phone;
|
|
|
+ // this.$set(this.formData, 'fromId', info.userId);
|
|
|
+ // this.$set(this.formData, 'fromUser', info.name);
|
|
|
+ // this.$set(this.formData, 'fromUserPhone', info.phone);
|
|
|
},
|
|
|
// 初始化部门数据
|
|
|
async initDeptData() {
|