[fix] 调试 签收回执人脸识别修改为短信验证码

This commit is contained in:
tian.guangyuan
2020-04-17 15:50:48 +08:00
parent 39f3201457
commit 2cc35b6f3f

View File

@@ -98,6 +98,7 @@
<script>
import { RadioGroup, Radio, Dialog, NoticeBar, Cell, CellGroup, Button, Field } from 'vant'
import { getAuthCode, autchCodeCheck, getOrderDetail, saveInformation, submit } from '@/api/ebiz/sale/sale'
import { checkPhone } from '@/api/ebiz/customer/customer'
import config from '@/config'
export default {
@@ -331,8 +332,9 @@ export default {
this.encyCustomerMobile = this.customerMobile.replace(/^(\d{3})\d{4}(\d{4})$/, '$1****$2')
this.authCode = null
// eslint-disable-next-line no-unused-vars
return new Promise((resolve, reject) => {
// return new Promise((resolve, reject) => {
checkPhone(data).then(res => {
console.log(res)
if (res.result == '0') {
console.log(res)
this.show = true
@@ -344,7 +346,7 @@ export default {
})
}
})
})
// })
},
// 点击提交