Commit 5b25fd05 by liang ce

测试

parent 7219ed78
......@@ -325,21 +325,23 @@ export default {
internalRecharge () {
let _that = this
this.spinning = !this.spinning
this.visible = false
this.rechargeData.orderPrice = this.form.getFieldsValue().orderPrice
this.rechargeData.remark = this.form.getFieldsValue().remark
this.rechargeData.orgId = localStorage.getItem('orgId')
let rechargeData = this.$qs.stringify(this.rechargeData)
$http.get(`/v1/charge/charge?${rechargeData}`).then((res) => {
if (res.data.message === 'SUCCESS') {
this.visible = false
this.form.resetFields()
this.$message.success('充值已提交,审批中请耐心等待')
this.spinning = !this.spinning
} else {
this.spinning = !this.spinning
this.$message.success(res.data.message)
}
}).catch((err) => {
console.log(err)
this.spinning = !this.spinning
this.$message.error('充值失败')
})
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment