|
|
@@ -259,7 +259,9 @@ const formData = reactive({ |
|
|
|
deviceImageUrl: '', |
|
|
|
deviceImageName: '', |
|
|
|
smsCode: '', |
|
|
|
activeType: '' |
|
|
|
activeType: '', |
|
|
|
orderId: '', |
|
|
|
orderNo: '', |
|
|
|
}) |
|
|
|
|
|
|
|
// 页面加载 |
|
|
@@ -310,6 +312,8 @@ const queryVehicleData = (vehicleId) => { |
|
|
|
let vehicle = res.modelList[0]; |
|
|
|
formData.phoneNumber = vehicle.mobile; |
|
|
|
formData.activeType = vehicle.activeType; |
|
|
|
formData.orderId = vehicle.orderId; |
|
|
|
formData.orderNo = vehicle.orderNo; |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
@@ -351,6 +355,8 @@ const bindPickerChange = (e) => { |
|
|
|
const colorItem = getDicWithType('VEHICLE_COLOR_TYPE').find(item => item.code == formData.colorCode); |
|
|
|
formData.colorName = colorItem.name; |
|
|
|
formData.phoneNumber = vehicle.mobile |
|
|
|
formData.orderId = vehicle.orderId; |
|
|
|
formData.orderNo = vehicle.orderNo; |
|
|
|
}; |
|
|
|
|
|
|
|
const bindColorPickerChange = (e) => { |
|
|
@@ -567,8 +573,9 @@ const nextStep = () => { |
|
|
|
} |
|
|
|
|
|
|
|
const next = () => { |
|
|
|
console.log(formData); |
|
|
|
if(formData.activeType == '1') { |
|
|
|
navTo(`/subpackage/after-sale/activation/operation-tips?id=${''}&orderId=${''}&cardStatus=${''}&obuStatus=${''}&transfer=${''}`); |
|
|
|
navTo(`/subpackage/after-sale/activation/operation-tips?id=${formData.orderId}&orderId=${formData.orderNo}&cardStatus=${undefined}&obuStatus=${undefined}&transfer=${formData.activeType}`); |
|
|
|
} else { |
|
|
|
|
|
|
|
} |