单据管理默认选择仓库,分库

fencang
anthonywj 3 years ago
parent 3537986f6a
commit 76589b7861

@ -1077,7 +1077,7 @@ export default {
.then((response) => {
this.storageList = response.data || [];
if (this.storageList.length > 0) {
this.invChange();
this.getSubInvList();
this.getList();
}
})
@ -1251,6 +1251,19 @@ export default {
.catch(() => {
});
},
getSubInvList() {
let query = {
pcode: this.filterQuery.locStorageCode
};
filterSubByInv(query)
.then((response) => {
this.subInvList = response.data || [];
})
.catch(() => {
});
},
subInvChange() {
this.getBusType();
}

@ -440,7 +440,7 @@ export default {
.then((response) => {
this.storageList = response.data || [];
if (this.storageList.length > 0) {
this.invChange();
this.getSubInvList();
this.getList();
}
})
@ -696,6 +696,19 @@ export default {
});
},
getSubInvList() {
let query = {
pcode: this.filterQuery.locStorageCode
};
filterSubByInv(query)
.then((response) => {
this.subInvList = response.data || [];
})
.catch(() => {
});
},
subInvChange() {
this.getBusType();
}

@ -618,7 +618,7 @@ export default {
this.storageList = response.data || [];
if (this.storageList.length > 0) {
this.filterQuery.locStorageCode = this.storageList[0].code;
this.invChange();
this.getSubInvList();
this.getList();
}
})
@ -961,6 +961,20 @@ export default {
.catch(() => {
});
},
getSubInvList() {
let query = {
pcode: this.filterQuery.locStorageCode
};
filterSubByInv(query)
.then((response) => {
this.subInvList = response.data || [];
})
.catch(() => {
});
},
subInvChange() {
this.getBusType();
}

@ -993,7 +993,7 @@ export default {
.then((response) => {
this.storageList = response.data || [];
if (this.storageList.length > 0) {
this.invChange();
this.getSubInvList();
this.getList();
}
})
@ -1014,6 +1014,19 @@ export default {
});
},
getSubInvList() {
let query = {
pcode: this.filterQuery.locStorageCode
};
filterSubByInv(query)
.then((response) => {
this.subInvList = response.data || [];
})
.catch(() => {
});
},
subInvChange() {
this.getBusType();
}

@ -812,7 +812,7 @@ export default {
.then((response) => {
this.storageList = response.data || [];
if (this.storageList.length > 0) {
this.invChange();
this.getSubInvList();
this.getList();
}
})
@ -833,6 +833,20 @@ export default {
.catch(() => {
});
},
getSubInvList() {
let query = {
pcode: this.query.locStorageCode
};
filterSubByInv(query)
.then((response) => {
this.subInvList = response.data || [];
})
.catch(() => {
});
},
subInvChange() {
this.getBusType();
},

@ -850,7 +850,7 @@ export default {
.then((response) => {
this.storageList = response.data || [];
if (this.storageList.length > 0) {
this.invChange();
this.getSubInvList();
this.getList();
}
})
@ -871,6 +871,20 @@ export default {
.catch(() => {
});
},
getSubInvList() {
let query = {
pcode: this.query.locStorageCode
};
filterSubByInv(query)
.then((response) => {
this.subInvList = response.data || [];
})
.catch(() => {
});
},
subInvChange() {
this.getBusType();
},

@ -947,7 +947,7 @@ export default {
.then((response) => {
this.storageList = response.data || [];
if (this.storageList.length > 0) {
this.invChange();
this.getSubInvList();
this.getList();
}
})
@ -967,6 +967,19 @@ export default {
.catch(() => {
});
},
getSubInvList() {
let query = {
pcode: this.query.locStorageCode
};
filterSubByInv(query)
.then((response) => {
this.subInvList = response.data || [];
})
.catch(() => {
});
},
subInvChange() {
this.getBusType();
}

@ -936,7 +936,7 @@ export default {
.then((response) => {
this.storageList = response.data || [];
if (this.storageList.length > 0) {
this.invChange();
this.getSubInvList();
this.getList();
}
})
@ -956,6 +956,19 @@ export default {
.catch(() => {
});
},
getSubInvList() {
let query = {
pcode: this.query.locStorageCode
};
filterSubByInv(query)
.then((response) => {
this.subInvList = response.data || [];
})
.catch(() => {
});
},
subInvChange() {
this.getBusType();
}

@ -936,7 +936,7 @@ export default {
.then((response) => {
this.storageList = response.data || [];
if (this.storageList.length > 0) {
this.invChange();
this.getSubInvList();
this.getList();
}
})
@ -956,6 +956,19 @@ export default {
.catch(() => {
});
},
getSubInvList() {
let query = {
pcode: this.query.locStorageCode
};
filterSubByInv(query)
.then((response) => {
this.subInvList = response.data || [];
})
.catch(() => {
});
},
subInvChange() {
this.getBusType();
},

@ -786,7 +786,7 @@ export default {
this.storageList = response.data || [];
if (this.storageList.length > 0) {
this.query.locStorageCode = this.storageList[0].code;
this.invChange();
this.getSubInvList();
this.getList();
}
})
@ -806,6 +806,17 @@ export default {
.catch(() => {
});
},
getSubInvList() {
let query = {
pcode: this.query.locStorageCode
};
filterSubByInv(query)
.then((response) => {
this.subInvList = response.data || [];
})
.catch(() => {
});
},
subInvChange() {
this.getBusType();
},

Loading…
Cancel
Save