xiaozy_0517
xiaozhiyong 2 years ago
parent 026958f64d
commit cae820ffb9
  1. 4
      src/views/refineryAccount/rechargeManagement/components/rechargeTurn.vue

@ -48,7 +48,7 @@
<script> <script>
import refineryInfoServe from 'api/refineryInfo.js' import refineryInfoServe from 'api/refineryInfo.js'
import serve from 'api/refineryAccount/rechargeManagement.js' import serve from '@/api/refineryAccount/rechargeManagement.js'
import autocomplete from 'components/autocomplete/index.vue' import autocomplete from 'components/autocomplete/index.vue'
export default { export default {
@ -107,7 +107,7 @@ export default {
submit() { submit() {
this.$refs['form'].validate(valid => { this.$refs['form'].validate(valid => {
if (valid) { if (valid) {
serve.rechargeTurnSave(this.form).then(res => { serve.save(this.form).then(res => {
if (res.code === 20000) { if (res.code === 20000) {
this.$message.success(res.msg) this.$message.success(res.msg)
this.closeWindow() this.closeWindow()

Loading…
Cancel
Save