|
@@ -61,7 +61,7 @@
|
|
|
<el-input placeholder="登记人" disabled v-model="formData.extInfo.createUserName"
|
|
<el-input placeholder="登记人" disabled v-model="formData.extInfo.createUserName"
|
|
|
clearable /></el-form-item></el-col>
|
|
clearable /></el-form-item></el-col>
|
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
|
- <el-form-item label="领料人部门" prop="extInfo.verifyDeptCode">
|
|
|
|
|
|
|
+ <el-form-item :label="this.bizType == 10 ? '申请人部门' : '领料人部门'" prop="extInfo.verifyDeptCode">
|
|
|
<selectTree ref="tree" class="form-ipt" size="medium" style="width: 100%" clearable
|
|
<selectTree ref="tree" class="form-ipt" size="medium" style="width: 100%" clearable
|
|
|
:value="formData.extInfo.verifyDeptCode" :options="treeList" :props="{
|
|
:value="formData.extInfo.verifyDeptCode" :options="treeList" :props="{
|
|
|
value: 'id',
|
|
value: 'id',
|
|
@@ -71,8 +71,8 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
|
- <el-form-item label="领料人" prop="fromId">
|
|
|
|
|
- <el-select v-model="formData.fromId" filterable placeholder="请选择领料人">
|
|
|
|
|
|
|
+ <el-form-item :label="this.bizType == 10 ? '申请人' : '领料人'" prop="fromId">
|
|
|
|
|
+ <el-select v-model="formData.fromId" filterable placeholder="请选择">
|
|
|
<el-option v-for="item in llrLsit" :key="item.id" :label="item.name" :value="item.id"
|
|
<el-option v-for="item in llrLsit" :key="item.id" :label="item.name" :value="item.id"
|
|
|
@click.native="userSlected(item)">
|
|
@click.native="userSlected(item)">
|
|
|
</el-option>
|
|
</el-option>
|
|
@@ -629,7 +629,14 @@ export default {
|
|
|
// 入库登记人
|
|
// 入库登记人
|
|
|
this.formData.extInfo.createUserName = this.$store.state.user.info.name;
|
|
this.formData.extInfo.createUserName = this.$store.state.user.info.name;
|
|
|
this.formData.createUserId = this.$store.state.user.info.userId;
|
|
this.formData.createUserId = this.$store.state.user.info.userId;
|
|
|
|
|
+
|
|
|
|
|
+ //
|
|
|
|
|
+ // this.formData.extInfo.verifyDeptCode = this.$store.state.user.info.groupId;
|
|
|
|
|
+ // this.formData.extInfo.verifyDeptName = this.$store.state.user.info.groupName;
|
|
|
|
|
+
|
|
|
|
|
+ console.log(this.$store.state.user.info, 'this.$store.state.user.info')
|
|
|
// 生产相关逻辑
|
|
// 生产相关逻辑
|
|
|
|
|
+ console.log(this.detailList, 'this.detailList')
|
|
|
if (this.detailList?.length > 0) {
|
|
if (this.detailList?.length > 0) {
|
|
|
// 获取领料人列表
|
|
// 获取领料人列表
|
|
|
this.getStaffList({ id: this.form.executorDeptId }).then(() => {
|
|
this.getStaffList({ id: this.form.executorDeptId }).then(() => {
|