|
@@ -160,10 +160,7 @@
|
|
|
vin:vinNo
|
|
|
}).then(res => {
|
|
|
if (res.status == 200&&res.data) {
|
|
|
- // 非游客,生成vin记录
|
|
|
- if(_this.userInfo.sysUserFlag == '1'){
|
|
|
- _this.creatRecord(res.data)
|
|
|
- }
|
|
|
+ _this.creatRecord(_this.userInfo.sysUserFlag == '1' ? res.data : null)
|
|
|
// 打开选择配件页面
|
|
|
uni.redirectTo({
|
|
|
url: "/pagesA/digitalShelf/choosePart?vinNumber="+vinNo+"&carList="+encodeURIComponent(JSON.stringify(res.data))+'&type=news'
|