fix: 修改

20240912_adapter_z
chenhc 8 months ago
parent 9b01797ad7
commit 8a35d2ee69

@ -687,6 +687,7 @@ import {convertDate} from "@/utils/date";
import {isBlank} from "@/utils/strUtil";
import {getBizDetailList} from "@/api/inout/orderDetailBiz";
import {getCodeList} from "@/api/inout/code";
import {getUserBindWork} from '@/api/basic/collectPoint/userWorkplace'
export default {
name: "IoSplitFinishCode",
@ -712,6 +713,7 @@ export default {
defaultSort: {prop: 'createTime', order: 'desc'},
options: {
getInvList: [],
getWorkPlaceList: [],
getDeptList: [],
getBusType: [],
},
@ -1017,10 +1019,36 @@ export default {
.catch(() => {
});
},
getWorkPlaceList(_this){
getUserBindWork({
autoUserId: 1,
page: 1,
limit: 200,
}).then((response) => {
let getWorkPlaceList = []
if(response.code == 20000 && response.data.list.length > 0){
response.data.list.forEach( item => {
let post = {
code: item.workplaceId,
label: item.workplaceName
}
getWorkPlaceList.push(post)
})
_this.options.getWorkPlaceList = getWorkPlaceList
}
})
.catch(() => {
});
},
invChange(_this) {
_this.filterQuery.action = null;
_this.getBusType(_this);
},
placeChange(_this) {
// _this.filterQuery.workKey = _this.filterQuery.workplaceName;
// _this.getWorkPlaceList(_this);
},
findMethod(query) {
this.fromOptions = [];
@ -1163,6 +1191,7 @@ export default {
created() {
this.getInvList(this);
this.getBusType(this);
this.getWorkPlaceList(this);
this.splitType = this.$route.query.splitType;
if (this.splitType == "search") {

Loading…
Cancel
Save