Commit a9d5e997 by liang ce

充值备注为空bug

parent 19a8df80
......@@ -326,8 +326,10 @@ export default {
// 内部充值接口
internalRecharge () {
let _that = this
console.log(this.form.getFieldsValue().orderPrice, this.form.getFieldsValue().remark)
if (this.form.getFieldsValue().orderPrice || this.form.getFieldsValue().remark) {
console.log(this.form.getFieldsValue().orderPrice || this.form.getFieldsValue().remark)
if (!this.form.getFieldsValue().orderPrice) {
this.$message.error('金额不能为空')
} else if (!this.form.getFieldsValue().remark) {
this.$message.error('备注不能为空')
} else {
this.spinning = !this.spinning
......
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