zengyuehua il y a 2 ans
Parent
révision
cbe2882444

+ 39
- 38
after-sale/rescind-carId/rescind-carId-select.vue Voir le fichier

@@ -256,7 +256,7 @@
tmerValidity: "",
},
form: {
caridCorlor:"",//车牌颜色
caridCorlor: "", //车牌颜色
userName: "", //开户人姓名
userIdNum: "", //用户证件号码
userPosImgUrl: "", //身份证正面
@@ -359,7 +359,7 @@
}
});
const savaHandle = () => {
let data=JSON.stringify(state.FormData)
let data = JSON.stringify(state.FormData)
navTo(`/after-sale/rescind-carId/verification?fromData=${data}`);


@@ -379,8 +379,8 @@

const selectConfirm = (item: any) => {
console.log(item);
state.FormData.vehiclePlatecolor=item[0].value
state.form.caridCorlor=item[0].label
state.FormData.vehiclePlatecolor = item[0].value
state.form.caridCorlor = item[0].label
};

const cardFileImageUpdate = () => {
@@ -403,7 +403,7 @@
};
request(fileUpload, options).then((res) => {
const data = stringToJson(res.bizContent);
console.log(data,"didid");
console.log(data, "didid");
state.FormData.peopleVehicleImgUrl = data.data.url;
});
})
@@ -412,37 +412,37 @@
});
};

//tab切换
const tabChange = (val: any) => {
if (val) {
state.isMyPeopple = true;
} else {
state.isMyPeopple = false;
}
state.form = {
orderId: state.orderId, //订单ID
userName: "", //开户人姓名
userIdType: "101", //用户证件类型 101//身份证
userIdNum: "", //用户证件号码
userPosImgUrl: "", //身份证正面
userNegImgUrl: "", //身份证反面
tel: "", //开户人手机号
address: "", //开户人地址
sceneType: "", //用户协议支撑服务场景(发行服务机构和用户签订的协议)
channelId: "", //渠道id
gender: "",
customerIdVld: "",
agentName: "",
agentgender: "",
agentIdType: "101",
agentIdNum: "",
agentPosImgUrl: "",
agentNegImgUrl: "",
proxyUrl: "",
agentAddress: "",
tmerValidity: "",
};
};
// //tab切换
// const tabChange = (val: any) => {
// if (val) {
// state.isMyPeopple = true;
// } else {
// state.isMyPeopple = false;
// }
// state.form = {
// orderId: state.orderId, //订单ID
// userName: "", //开户人姓名
// userIdType: "101", //用户证件类型 101//身份证
// userIdNum: "", //用户证件号码
// userPosImgUrl: "", //身份证正面
// userNegImgUrl: "", //身份证反面
// tel: "", //开户人手机号
// address: "", //开户人地址
// sceneType: "", //用户协议支撑服务场景(发行服务机构和用户签订的协议)
// channelId: "", //渠道id
// gender: "",
// customerIdVld: "",
// agentName: "",
// agentgender: "",
// agentIdType: "101",
// agentIdNum: "",
// agentPosImgUrl: "",
// agentNegImgUrl: "",
// proxyUrl: "",
// agentAddress: "",
// tmerValidity: "",
// };
// };
onLoad((option: any) => {
state.form.orderId = option.orderId;
state.orderId = option.orderId;
@@ -473,7 +473,7 @@
};
request(etcCarOcrCard, options).then((res) => {
const data = stringToJson(res.bizContent);
console.log(data,"didi");
console.log(data, "didi");
if (val === "1") {
state.form.vehicleId = data.plate_a;
state.form.man = data.man;
@@ -532,8 +532,9 @@
showLoading: true,
};
request(etcOcrCard, options).then((res) => {
console.log(res);
const data = stringToJson(res.bizContent);
console.log(data, "didi");
if (val === "1") {
state.form.userName = data.name;
state.form.gender = data.gender;

+ 2
- 2
after-sale/rescind-carId/verification.vue Voir le fichier

@@ -98,7 +98,7 @@
.then((res) => {
let data = stringToJson(res.bizContent)
console.log(data,"#################");
if (data.data.info == "成功") {
if (data.info == "成功.") {
console.log('######################CCCCCCCCCCCCCCCCC');
}
})
@@ -127,7 +127,7 @@
stringToJson(res.bizContent)
const data = stringToJson(res.bizContent);
console.log(data, "数据");
if (data.data.info == "成功") {
if (data.info == "成功.") {
navTo(`/after-sale/rescind-carId/result?carid=${model1.vehiclePlate}`)
}
})

Chargement…
Annuler
Enregistrer