|
|
@@ -384,13 +384,13 @@ export default {
|
|
|
*/
|
|
|
saveData() {
|
|
|
if (this.type === this.$config.formMode.add) {
|
|
|
- this.excute(this.$service.orderOutReturnService, this.$service.orderOutReturnService.insert, this.params);
|
|
|
- this.$Message.success(this.$t('I_001', {'param': '保存'}))
|
|
|
- this.close(false);
|
|
|
+ this.excute(this.$service.orderOutReturnService, this.$service.orderOutReturnService.insertOutReturn, this.params);
|
|
|
+ // this.$Message.success(this.$t('I_001', {'param': '保存'}))
|
|
|
+ // this.close(false);
|
|
|
}
|
|
|
//编辑
|
|
|
else if (this.type === this.$config.formMode.edit) {
|
|
|
- return this.excute(this.$service.orderOutReturnService, this.$service.orderOutReturnService.update, this.params);
|
|
|
+ return this.excute(this.$service.orderOutReturnService, this.$service.orderOutReturnService.updateOutReturn, this.params);
|
|
|
}
|
|
|
//入库办理
|
|
|
else if(this.type === this.$config.formMode.handle){
|