diff --git a/src/views/basic/busType/bussinessType.vue b/src/views/basic/busType/bussinessType.vue index 40e19e61..b078c80f 100644 --- a/src/views/basic/busType/bussinessType.vue +++ b/src/views/basic/busType/bussinessType.vue @@ -47,25 +47,25 @@ - - - + + + - + - + - + @@ -80,7 +80,7 @@ > 删除 @@ -162,6 +184,7 @@ import {candidateBusType} from "@/api/basic/busType"; import busTypeAdvancedSettings from "@/views/basic/busType/busTypeAdvancedSettings.vue"; import {isBlank} from "@/utils/strUtil"; +import {getOriginBusType} from "@/api/basic/busOriginType"; export default { name: "BussinessTypeModify", @@ -184,12 +207,8 @@ export default { isBuType: true, isFilterBind: true, }, - storageList: [], - subInvList: [], orderTypeList: [], fromSpecialOptions: [], - thirdSys: [], - localTypes: [], originTypes: [], value: "", options: [{ @@ -221,50 +240,8 @@ export default { }) .catch(() => { }); - getBasicThirdSys(this.filterQuery) - .then((response) => { - this.thirdSys = response.data.list || []; - }) - .catch(() => { - this.loading = false; - this.list = []; - }); - let query = { - curAction: this.inputQuery.localAction, - }; - getLocalJoinNoUse(query) - .then((response) => { - this.localTypes = response.data.list || []; - }) - .catch(() => { - this.loading = false; - this.localTypes = []; - }); - this.inputQuery.corpType = 1; }, - getStorage() { - this.storageList = []; - filterAll() - .then((response) => { - this.storageList = response.data || []; - this.findDefaultSubInv(); - }) - .catch(() => { - }); - }, - findDefaultSubInv() { - this.subInvList = []; - let query = { - pcode: this.inputQuery.defaultInv - }; - filterSubByInv(query) - .then((response) => { - this.subInvList = response.data || []; - }) - .catch(() => { - }); - }, findSpecialMethod() { let query = { corpType: 4, @@ -279,8 +256,8 @@ export default { if (type != 2) { this.inputQuery.genUnit = false; } - } - , + }, + //获取单据类型 getOrderType() { this.orderTypeList = []; @@ -338,9 +315,7 @@ export default { this.getOrderType(); } this.getList(); - this.getStorage(); this.findSpecialMethod(); - }, };