生产领料提示修改

master
guoshuang 6 months ago
parent 050e1239ed
commit d485a1c879

@ -353,14 +353,14 @@ export default class ProductionREQ extends BasePage {
this.isdisabled = false;
if (this.model.SubmitCode == '200') {
(this.$refs.uToast as any).show({
title: '成功',
title: this.model.Submitmsg,
type: 'success',
});
this.mepty();
//this.getlist();
} else {
(this.$refs.uToast as any).show({
title: '失败',
title: this.model.Submitmsg,
type: 'error',
});
//this.getlist();

@ -71,11 +71,13 @@ export class ProductionREQ extends VuexModule {
const SubmitCode = result.code;
return { SubmitCode };
}
Submitmsg: any = '';
@MutationAction
async out(params: any) {
const result: any = await http.post(url.lanjuwms.raw.ProductionREQ.NewConMaterialOutSCNew, params);
const SubmitCode = result.code;
return { SubmitCode };
const Submitmsg = result.msg;
return { SubmitCode, Submitmsg };
}
warehouselist: any = [];
@MutationAction

Loading…
Cancel
Save