Browse Source

修复一键签收后, 表单不清空的bug

fix_bug_pro20231227
qb 2 years ago
parent
commit
103db3122b
  1. 8
      src/views/distribution/deliverylist/distributionDeliveryListedt.vue
  2. 2
      vite.config.js

8
src/views/distribution/deliverylist/distributionDeliveryListedt.vue

@ -410,7 +410,7 @@
</avue-form> </avue-form>
<div style="bottom: 7%; margin-left: 500px; width: 50%"> <div style="bottom: 7%; margin-left: 500px; width: 50%">
<div style="width: 100%"> <div style="width: 100%">
<el-button type="primary" @click="submitForm" style="margin-right: 20%">确定</el-button> <el-button type="primary" @click="submitForm">确定</el-button>
<el-button type="primary" @click="cancellation">取消</el-button> <el-button type="primary" @click="cancellation">取消</el-button>
</div> </div>
</div> </div>
@ -2510,12 +2510,10 @@ export default {
type: 'success', type: 'success',
message: '操作成功!', message: '操作成功!',
}); });
this.signBox = false;
this.onLoad(); this.onLoad();
}, },
error => { error => {
console.log(error); console.log(error);
this.signBox = false;
} }
); );
} }
@ -2530,10 +2528,12 @@ export default {
console.log('一键签收data>>>>>>>>>>', data); console.log('一键签收data>>>>>>>>>>', data);
getOneclickq(data).then(res => { getOneclickq(data).then(res => {
this.$message.success(res.data.msg); this.$message.success(res.data.msg);
this.signBox = false;
this.onLoad(); this.onLoad();
}); });
} }
// ,
this.signform = {}
this.signBox = false;
} }
}); });
}, },

2
vite.config.js

@ -14,7 +14,7 @@ export default ({ mode, command }) => {
'/api': { '/api': {
// target: 'http://192.168.10.126:8889', // target: 'http://192.168.10.126:8889',
// target: 'http://192.168.10.48:8888', // target: 'http://192.168.10.48:8888',
target: 'http://192.168.10.123:8889', // target: 'http://192.168.10.123:8889',
// target: 'http://192.168.10.75:8777', // target: 'http://192.168.10.75:8777',
// target: 'http://192.168.10.101:8888', // target: 'http://192.168.10.101:8888',
target: 'http://192.168.10.29:13000', target: 'http://192.168.10.29:13000',

Loading…
Cancel
Save