|
@@ -158,7 +158,7 @@ export default {
|
|
|
vehicleNo: this.vehicleNumber,
|
|
|
};
|
|
|
let confirmType;
|
|
|
- console.log(288, this.carInfo.id);
|
|
|
+ this.$md(params);
|
|
|
if (this.carInfo.id) {
|
|
|
params.id = this.carInfo.id;
|
|
|
kipModifyMemberVehicles(
|
|
@@ -167,11 +167,6 @@ export default {
|
|
|
)
|
|
|
.then((result) => {
|
|
|
uni.hideLoading();
|
|
|
- console.log(292, result);
|
|
|
-
|
|
|
- // result && result.code == '000000'
|
|
|
- // return
|
|
|
- // const result = resp.data;
|
|
|
if (result && result.code == '000000') {
|
|
|
if (result.data) {
|
|
|
Toast({
|
|
@@ -195,9 +190,10 @@ export default {
|
|
|
});
|
|
|
});
|
|
|
} else {
|
|
|
+ console.log(198, uni.getStorageSync('handleUser'));
|
|
|
kipAddMemberVehicles(
|
|
|
params,
|
|
|
- JSON.parse(uni.getStorageSync('handleUser'))
|
|
|
+ JSON.parse(uni.getStorageSync('handleUser') || '{}')
|
|
|
)
|
|
|
.then((result) => {
|
|
|
uni.hideLoading();
|