ruchangrenyuanbangka
This commit is contained in:
parent
86e53b530d
commit
c13f605d83
|
@ -182,11 +182,11 @@
|
||||||
let that = this;
|
let that = this;
|
||||||
let form = {};
|
let form = {};
|
||||||
form.type = type;
|
form.type = type;
|
||||||
form.code = res.result;
|
form.employee = row.remployee;
|
||||||
form.employee = row.visitor_.employee;
|
|
||||||
if(type==10){
|
if(type==10){
|
||||||
uni.scanCode({
|
uni.scanCode({
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
|
form.code = res.result;
|
||||||
that.$u.api.thirdBltBind(form).then(res=>{
|
that.$u.api.thirdBltBind(form).then(res=>{
|
||||||
debugger;
|
debugger;
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
@ -198,14 +198,13 @@
|
||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
that.$u.api.thirdBltBind(form).then(res=>{
|
that.$u.api.thirdBltBind(form).then(res=>{
|
||||||
debugger;
|
form.code = res.result;
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res,
|
title: res,
|
||||||
icon: "none"
|
icon: "none"
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
goBack() {
|
goBack() {
|
||||||
uni.navigateBack({
|
uni.navigateBack({
|
||||||
|
|
Loading…
Reference in New Issue