yijing 1 год назад
Родитель
Сommit
0fb4236c57

+ 10 - 1
src/views/bpm/outgoingManagement/outbound.vue

@@ -635,12 +635,21 @@ export default {
       await this.initDeptData(); // 确保部门树加载
       if (this.form.makerId) {
         warehouseDefinition.getGroupById(this.form.makerId).then((res) => {
-          console.log(res, 'res.groupId')
+          console.log(res, 'makerId')
           this.$set(this.formData.extInfo, 'verifyDeptCode', res.groupId);
           this.$set(this.formData.extInfo, 'verifyDeptName', res.groupName);
 
         });
       }
+      if (this.form.createUserId) {
+        this.formData.fromId = this.form.createUserId;
+        this.formData.fromUser = this.form.createUserName;
+        warehouseDefinition.getGroupById(this.form.createUserId).then((res) => {
+          console.log(res, 'createUserId')
+          this.$set(this.formData.extInfo, 'verifyDeptCode', res.groupId);
+          this.$set(this.formData.extInfo, 'verifyDeptName', res.groupName);
+        });
+      }
 
 
       // 生产相关逻辑

+ 1 - 1
src/views/bpm/stockManagement/storage.vue

@@ -281,7 +281,7 @@
                 </template>
               </el-table-column>
               <el-table-column label="是否质检" align="center" width="80" prop="qualityControl"
-                :show-overflow-tooltip="true" v-if="this.bizType != 1">
+                :show-overflow-tooltip="true" v-if="bizType != 1 && bizType != 6 && bizType != 9">
                 <template slot-scope="{ row, $index }">
                   {{ row.qualityControl == 1 ? '是' : row.qualityControl == 0 ? '否' : '' }}
                 </template>