|
@@ -230,6 +230,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { getShelfProductList, getShelfProductType, queryPartCodeByVin, getShelfQueryList, shelfOrderFlowCreate } from '@/api/shelf'
|
|
|
+ import { scanVinLogCopy } from '@/api/car'
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
@@ -302,7 +303,10 @@
|
|
|
this.carInfo = opts.carList?JSON.parse(decodeURIComponent(opts.carList)):null
|
|
|
// 获取vin 对应code
|
|
|
this.getCarCodeByVin()
|
|
|
- console.log(this.$store.state.vuex_showPrice)
|
|
|
+ // 记录
|
|
|
+ if(opts.type == 'log'){
|
|
|
+ this.scanVinLogCopy()
|
|
|
+ }
|
|
|
// 游客
|
|
|
if(this.userInfo.sysUserFlag == '0'){
|
|
|
// 未认证
|
|
@@ -315,6 +319,11 @@
|
|
|
this.$store.state.vuex_shelfChoosePart = []
|
|
|
},
|
|
|
methods: {
|
|
|
+ scanVinLogCopy(){
|
|
|
+ scanVinLogCopy({id:this.carInfo.id}).then(res => {
|
|
|
+ console.log(res)
|
|
|
+ })
|
|
|
+ },
|
|
|
toAuthStore(){
|
|
|
this.showPopup = false
|
|
|
uni.redirectTo({
|