overseamom-483 feat pickup-重复调用接口提交

(cherry picked from commit dee28106f6c73d935695da3f1dd4596121410998)
master
mabaoyan 2 years ago committed by 马宝燕
parent 6346efc20a
commit 65646241e6

@ -317,7 +317,7 @@ export default class RawReceiptDetail extends BasePage {
}
}
async onAggregate() {
await this.model.queryProOrder(this.model.formParams);
await this.model.queryProOrderPickUp(this.model.formParams);
await this.model.queryProOrderResult(this.model.NEWparams);
if (this.model.proOrderResultList.length == 0) {
this.some = {};

@ -302,7 +302,7 @@ export default class RawReceiptDetail extends BasePage {
}
}
async onAggregate() {
await this.model.queryProOrder(this.model.formParams);
await this.model.queryProOrderPickUp(this.model.formParams);
await this.model.queryProOrderResult(this.model.NEWparams);
const orderOutIdList = this.model.proOrderResultList.map((_: any) => _.orderOutId);
const params = {

@ -362,7 +362,7 @@ export default class pickingDom extends BasePage {
this.selectIndex = [];
this.$form.validate(async (valid: boolean) => {
if (!valid) return;
await this.model.queryProOrder(this.formParams);
await this.model.queryProOrderPickUp(this.formParams);
this.model.checkAllProOrderList(true);
this.isFormChange = false;
model.mrpCodeRegion = this.form.mrpCodeRegion as any;

@ -235,7 +235,7 @@ export class PickingModule extends VuexModule {
* @param params
*/
@MutationAction
async queryProOrder(params: any) {
async queryProOrderPickUp(params: any) {
const { list: proOrderList }: any = await http.post(url.sortscan.query.prdorder, params);
if (!proOrderList.length) {
// uni.showToast({

Loading…
Cancel
Save