|
@@ -339,9 +339,23 @@ export default {
|
|
|
params.saleTypeName = saleTypeItem.saleName;
|
|
|
this.formLoading = true;
|
|
|
examineHome(params).then(res => {
|
|
|
- this.$successMsg();
|
|
|
- this.goBack();
|
|
|
- this.$parent.getList();
|
|
|
+ if(!res.data) {
|
|
|
+ this.$successMsg();
|
|
|
+ this.goBack();
|
|
|
+ this.$parent.getList();
|
|
|
+ }else {
|
|
|
+ this.$confirm('审批成功!是否跳转下一张待审批订单?', '提示', {
|
|
|
+ confirmButtonText: '跳转',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ }).then(() => {
|
|
|
+ this.$successMsg('进入下一张待审批订单');
|
|
|
+ this.detailData = res.data;
|
|
|
+ }).catch(() => {
|
|
|
+ this.goBack();
|
|
|
+ this.$parent.getList();
|
|
|
+ });
|
|
|
+ }
|
|
|
}).finally(res => {
|
|
|
this.formLoading = false;
|
|
|
})
|