Ver código fonte

采购需求单详情解决选择收货仓库导致会选不到需求部门的问题

黄梓星 1 ano atrás
pai
commit
79afc867bc
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5 0
      src/views/purchase/PurchaseDemandList/add.vue

+ 5 - 0
src/views/purchase/PurchaseDemandList/add.vue

@@ -342,6 +342,7 @@
           <ux-table-column resizable title="调拨单号" align="center"  field="allotCode"></ux-table-column>
           <ux-table-column resizable title="调拨占有量" align="center"  field="allotQty" width="100px"/>
           <ux-table-column resizable title="最终净需求量" align="center"  field="resDemandQty" width="120px"/>
+          <ux-table-column resizable title="关闭数量" align="center"  field="closeQty" width="80px"/>
           <ux-table-column resizable title="最终采购执行数量" align="center"  field="executeQty" width="150px">
             <template v-slot:edit="scope">
               {{ scope.row.executeQty ? scope.row.executeQty : 0 }}
@@ -1349,6 +1350,8 @@ export default {
         this.adjust.contacts = ''
         this.adjust.contactsPhone = ''
         this.adjust.address = ''
+        // 选择完清空参数里面的组织id
+        this.referCondition.pkOrg = ''
       }
       if(this.referCondition.type == 'ALLOCATION_PARAM' && this.referCondition.title == '收货货位') {
         this.adjust.allocation = selection[0].id
@@ -1377,6 +1380,8 @@ export default {
         this.basicForm.puDemandItemList[this.tableIndex].contacts = null
         this.basicForm.puDemandItemList[this.tableIndex].contactsPhone = null
         this.basicForm.puDemandItemList[this.tableIndex].address = null
+        // 选择完清空参数里面的组织id
+        this.referCondition.pkOrg = ''
       }
       if(this.referCondition.title == '选择收货货位') {
         this.basicForm.puDemandItemList[this.tableIndex].deliveryAllocation = selection[0].id