|
|
|
@ -376,7 +376,7 @@ import bindWorkDialog from "@/views/collect/bindWorkDialog";
|
|
|
|
|
import prescribeOriginPanel from "./PannelOrderBiz";
|
|
|
|
|
import prescribeOriginDiPanel from "./PannelOrderBiz";
|
|
|
|
|
import {filterWorkOptimize} from "@/api/basic/workPlace/sysWorkplaceManage";
|
|
|
|
|
import {deleteByOrder, orderPage} from "@/api/collect/collectOrder";
|
|
|
|
|
import {deleteByOrder, orderPage,orderTop} from "@/api/collect/collectOrder";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "prescribePanel",
|
|
|
|
@ -487,6 +487,35 @@ export default {
|
|
|
|
|
let url = window.location.origin + `/UDI_WMS_NEW#/tagCodeBlank?workplaceId=` + row.workPlaceCode + "&billNo=" + row.billNo
|
|
|
|
|
window.open(url, '_blank');
|
|
|
|
|
},
|
|
|
|
|
//置顶
|
|
|
|
|
orderTop(_this, row) {
|
|
|
|
|
let data = row;
|
|
|
|
|
orderTop({id:data.id}).then(res => {
|
|
|
|
|
if (res.code == 20000){
|
|
|
|
|
_this.$message.success("置顶成功")
|
|
|
|
|
_this.getList()
|
|
|
|
|
}else {
|
|
|
|
|
_this.$message.error(res.message)
|
|
|
|
|
_this.getList()
|
|
|
|
|
}
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
// .then((response) => {
|
|
|
|
|
// if (response.code == 20000) {
|
|
|
|
|
// this.getList();
|
|
|
|
|
// this.$message.success("指定成功")
|
|
|
|
|
// } else if (response.code == 520) {
|
|
|
|
|
// this.$message.error(response.message);
|
|
|
|
|
// this.getList();
|
|
|
|
|
// } else {
|
|
|
|
|
// this.$message.error(response.message);
|
|
|
|
|
// this.getList();
|
|
|
|
|
// }
|
|
|
|
|
// })
|
|
|
|
|
// .catch(() => {
|
|
|
|
|
// });
|
|
|
|
|
},
|
|
|
|
|
//界面配置相关------------
|
|
|
|
|
executeFuc(row, type, clickFuc, value) {
|
|
|
|
|
return executeFuc(this, row, type, clickFuc, value);
|
|
|
|
@ -627,6 +656,8 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
if (this.$route.query.workplaceId != null) {
|
|
|
|
|