Selaa lähdekoodia

1.物料基础档案维护物料类别删除添加没有显示再添加提示重复
2.物料申请单和物料基础档案修改默认采购组织业务部门没有清空

002390 2 vuotta sitten
vanhempi
commit
0831434062
1 muutettua tiedostoa jossa 6 lisäystä ja 2 poistoa
  1. 6 2
      src/views/material/basicFile/details.vue

+ 6 - 2
src/views/material/basicFile/details.vue

@@ -779,7 +779,11 @@ export default {
 
         return !(this.updateButtonGroup && attribute.edit && this.basicData.value['expiryDateManagerment'] == '0');
       }
-
+      // 默认采购组织:purchasingOrganization  业务部门:businessDepartment
+      else if (attribute.prop == 'businessDepartment') {
+        console.log(!this.basicData.value['purchasingOrganization'], '////////////');
+        return !(this.updateButtonGroup && attribute.edit && this.basicData.value['purchasingOrganization']);
+      }
       else {
         // 其他属性是否可编辑
         return !(this.updateButtonGroup && attribute.edit);
@@ -1859,7 +1863,7 @@ export default {
       }
 
       if (confirm) {
-        // this.count++;
+        this.count++;
         this.MoreDataDialog.show = false;
         this.MoreDataDialog.key = '';
         this.MoreDataDialog.value = {};