提交 64007112 authored 作者: lihuihui's avatar lihuihui

修改bug

上级 63210018
......@@ -13,5 +13,5 @@ export default class ArticleAction {
getFormDetail () { return articleApi.getFormDetail().then(res => res) }
getOrder (obj) { return articleApi.getOrder(obj).then(res => res) }
checkPay (id) { return articleApi.checkPay(id).then(res => res) }
payEnd (obj) { return articleApi.getOrder(obj).then(res => res) }
payEnd (obj) { return articleApi.payEnd(obj).then(res => res) }
}
......@@ -61,7 +61,7 @@
<el-form-item label="发票内容" id="sh" label-width="110px">
<el-input v-model="form.invoice_detail" readonly></el-input>
</el-form-item>
<el-form-item label="手机号码" label-width="110px" v-if="!isLogin">
<el-form-item label="手机号码" label-width="110px">
<el-input v-model="form.mobile"></el-input>
</el-form-item>
<el-form-item label="验证码" label-width="110px" v-if="!isLogin">
......@@ -207,7 +207,9 @@ export default {
this.form = Object.assign(this.form, res.data.detail)
this.form.sex = this.form.sex && this.form.sex.toString()
this.form.live_status = this.form.live_status && this.form.live_status.toString()
this.checkPay(res.data.detail.order_no, call)
if (res.data.detail.order_no !== '') {
this.checkPay(res.data.detail.order_no, call)
}
}
}
})
......@@ -255,7 +257,7 @@ export default {
})
param.table_content = JSON.stringify(formData)
action.articleAction.formCommit(param).then(res => {
this.$message({
this.$message({
message: '提交成功',
type: 'success'
})
......@@ -264,7 +266,7 @@ export default {
}, */
formVerification (call) {
if (this.isLogin) {
this.form.mobile = '13111111111'
// this.form.mobile = '13111111111'
this.form.checked_code = '1234'
if (this.form.order_no === '') {
this.form.order_no = '1'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论