绑定工位,以及页面修改

20240912_adapter_z
anthonywj 8 months ago
parent b1738480bb
commit 8a2c150945

@ -75,6 +75,14 @@ export function autoCodeResult(query) {
}
export function bindWork(query) {
return axios({
url: "/udiwms/basic/collect/order/bindWork",
method: "post",
data: query
});
}

@ -376,10 +376,6 @@ export default {
},
bindWorkPlace(_this,row) {
// if (this.multiplePreSelection.length == 0) {
// this.$message.warning('!');
// return
// }
_this.prescribeListData = row
_this.bindWorkPlaceVisible = true;

@ -473,6 +473,7 @@ export default {
if (res.code == 20000) {
this.formData.tagStatus = 2;
this.formData = res.data;
this.refreshCodesPanel(this);
} else {
this.$message.error(res.message)
}

@ -53,7 +53,7 @@ import {
deleteWorkplace,
createWorkplaceId
} from '@/api/basic/sysWorkplaceManage'
import {bindWork} from "@/api/basic/sicker/prescribeApi";
import {bindWork} from "@/api/collect/collectOrder";
export default {
@ -71,7 +71,7 @@ export default {
data() {
return {
query: {
invCode: this.$store.getters.locInvCode,
invCode: null,//this.$store.getters.locInvCode
page: 1,
limit: 20
},
@ -201,7 +201,7 @@ export default {
bindWork() {
let query = {
prescribeListData: this.prescribeListData,
collOrder: this.prescribeListData,
workplaceCode: this.currentRow.workplaceId
}
bindWork(query).then(res => {

Loading…
Cancel
Save