|
|
@ -139,6 +139,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import serve from "api/financialCenter/enterpriseRecharge.js"; |
|
|
|
import serve from "api/financialCenter/enterpriseRecharge.js"; |
|
|
|
|
|
|
|
import commonServe from "api/common.js"; |
|
|
|
|
|
|
|
|
|
|
|
import autocomplete from "components/autocomplete/index.vue"; |
|
|
|
import autocomplete from "components/autocomplete/index.vue"; |
|
|
|
|
|
|
|
|
|
|
@ -178,7 +179,7 @@ export default { |
|
|
|
companyFinance: {}, |
|
|
|
companyFinance: {}, |
|
|
|
form: {}, |
|
|
|
form: {}, |
|
|
|
configAutocomplete: { |
|
|
|
configAutocomplete: { |
|
|
|
serveTarget: serve.getLikeByNameSuccess, |
|
|
|
serveTarget: commonServe.getRefineryCompanyList, |
|
|
|
autocompleteKey: "name", |
|
|
|
autocompleteKey: "name", |
|
|
|
labelKey: "name", |
|
|
|
labelKey: "name", |
|
|
|
valueKey: "id", |
|
|
|
valueKey: "id", |
|
|
@ -305,7 +306,7 @@ export default { |
|
|
|
this.$refs["form"].validate((valid) => { |
|
|
|
this.$refs["form"].validate((valid) => { |
|
|
|
if (valid) { |
|
|
|
if (valid) { |
|
|
|
let params = { transactionType: "RECHARGE", ...this.form }; |
|
|
|
let params = { transactionType: "RECHARGE", ...this.form }; |
|
|
|
this.judgeInterface(this.form).then((res) => { |
|
|
|
this.judgeInterface(params).then((res) => { |
|
|
|
this.$message.success(res.msg); |
|
|
|
this.$message.success(res.msg); |
|
|
|
this.closeWindow(); |
|
|
|
this.closeWindow(); |
|
|
|
}); |
|
|
|
}); |
|
|
|