接口注释解放

master
guoshuang 10 months ago
parent e6ffeb6238
commit bc7c8c85a5

@ -257,22 +257,23 @@ export default class ProductionREQ extends BasePage {
item.factoryCode = session.FactoryCode;
params.push(item);
});
console.log('list', params);
// await this.model.out(params);
// if (this.model.SubmitCode == '200') {
// (this.$refs.uToast as any).show({
// title: '',
// type: 'success',
// });
// this.mepty();
// //this.getlist();
// } else {
// (this.$refs.uToast as any).show({
// title: '',
// type: 'error',
// });
// //this.getlist();
// }
// console.log('list', params);
// this.mepty();
await this.model.out(params);
if (this.model.SubmitCode == '200') {
(this.$refs.uToast as any).show({
title: '成功',
type: 'success',
});
this.mepty();
//this.getlist();
} else {
(this.$refs.uToast as any).show({
title: '失败',
type: 'error',
});
//this.getlist();
}
}
mepty() {
this.list = [];

Loading…
Cancel
Save