|
|
@ -256,6 +256,7 @@ import PanelOrderAllDetail from "@/views/collect/PanelOrderAllDetail";
|
|
|
|
import prescribeCodePanel from "@/views/collect/PanelOrderTagCode";
|
|
|
|
import prescribeCodePanel from "@/views/collect/PanelOrderTagCode";
|
|
|
|
import {deleteByOrder, orderPage} from "@/api/collect/collectOrder";
|
|
|
|
import {deleteByOrder, orderPage} from "@/api/collect/collectOrder";
|
|
|
|
import PanelOrderManuTagCode from "./PanelOrderManuTagCode";
|
|
|
|
import PanelOrderManuTagCode from "./PanelOrderManuTagCode";
|
|
|
|
|
|
|
|
import { filterWorkOptimize } from '@/api/basic/workPlace/sysWorkplaceManage'
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: "prescribeAllotIngPanel",
|
|
|
|
name: "prescribeAllotIngPanel",
|
|
|
@ -311,6 +312,9 @@ export default {
|
|
|
|
panelALive: false,
|
|
|
|
panelALive: false,
|
|
|
|
multiplePreSelection: [],
|
|
|
|
multiplePreSelection: [],
|
|
|
|
timer: null, // 定时器
|
|
|
|
timer: null, // 定时器
|
|
|
|
|
|
|
|
options: {
|
|
|
|
|
|
|
|
findWorkPlace: [],
|
|
|
|
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
@ -453,6 +457,27 @@ export default {
|
|
|
|
this.multiplePreSelection = val;
|
|
|
|
this.multiplePreSelection = val;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
findWorkPlace(_this, val) {
|
|
|
|
|
|
|
|
let query = {
|
|
|
|
|
|
|
|
chargeUser: _this.$store.getters.adminId,
|
|
|
|
|
|
|
|
key: val,
|
|
|
|
|
|
|
|
page: 1,
|
|
|
|
|
|
|
|
limit: 10,
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
filterWorkOptimize(query)
|
|
|
|
|
|
|
|
.then((response) => {
|
|
|
|
|
|
|
|
_this.loading = false;
|
|
|
|
|
|
|
|
_this.options.findWorkPlace = response.data || [];
|
|
|
|
|
|
|
|
if (_this.options.findWorkPlace .length == 1){
|
|
|
|
|
|
|
|
_this.filterQuery.workPlaceCode = _this.options.findWorkPlace[0].code;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
.catch(() => {
|
|
|
|
|
|
|
|
_this.loading = false;
|
|
|
|
|
|
|
|
_this.options.findWorkPlace = [];
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
getHead("prescribeIng", "1").then((re) => {
|
|
|
|
getHead("prescribeIng", "1").then((re) => {
|
|
|
@ -462,6 +487,7 @@ export default {
|
|
|
|
this.queryList = re.data.queryList;
|
|
|
|
this.queryList = re.data.queryList;
|
|
|
|
this.fromList = re.data.fromList;
|
|
|
|
this.fromList = re.data.fromList;
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
|
|
|
|
this.findWorkPlace(this,"");
|
|
|
|
});
|
|
|
|
});
|
|
|
|
this.timerAuto()
|
|
|
|
this.timerAuto()
|
|
|
|
},
|
|
|
|
},
|
|
|
|