|
@@ -5,7 +5,7 @@
|
|
<view style="width: 100%;height: 42rpx;margin-top: 30rpx;margin-bottom: 10rpx;text-align: center;">成功信息</view>
|
|
<view style="width: 100%;height: 42rpx;margin-top: 30rpx;margin-bottom: 10rpx;text-align: center;">成功信息</view>
|
|
<u-table border-color="#f2f2f2">
|
|
<u-table border-color="#f2f2f2">
|
|
<u-tr class="u-tr">
|
|
<u-tr class="u-tr">
|
|
- <u-td class="u-td" style="font-size: 24rpx;">{{successCount}}</u-td>
|
|
|
|
|
|
+ <u-td class="u-td">{{successCount}}条</u-td>
|
|
<u-td class="u-td">成功入库轮胎</u-td>
|
|
<u-td class="u-td">成功入库轮胎</u-td>
|
|
</u-tr>
|
|
</u-tr>
|
|
</u-table>
|
|
</u-table>
|
|
@@ -16,15 +16,15 @@
|
|
<u-th class="u-th">失败原因</u-th>
|
|
<u-th class="u-th">失败原因</u-th>
|
|
</u-tr>
|
|
</u-tr>
|
|
<u-tr class="u-tr" v-for="(item,index) in notBelongStoreBrandTyreNumbers" :key="index">
|
|
<u-tr class="u-tr" v-for="(item,index) in notBelongStoreBrandTyreNumbers" :key="index">
|
|
- <u-td class="u-td" style="font-size: 24rpx;">{{item}}</u-td>
|
|
|
|
|
|
+ <u-td class="u-td">{{item}}</u-td>
|
|
<u-td class="u-td">非门店经营品牌</u-td>
|
|
<u-td class="u-td">非门店经营品牌</u-td>
|
|
</u-tr>
|
|
</u-tr>
|
|
<u-tr class="u-tr" v-for="(item,index) in nonRegularTyreNumbers" :key="index">
|
|
<u-tr class="u-tr" v-for="(item,index) in nonRegularTyreNumbers" :key="index">
|
|
- <u-td class="u-td" style="font-size: 24rpx;">{{item}}</u-td>
|
|
|
|
|
|
+ <u-td class="u-td">{{item}}</u-td>
|
|
<u-td class="u-td">非正规胎号</u-td>
|
|
<u-td class="u-td">非正规胎号</u-td>
|
|
</u-tr>
|
|
</u-tr>
|
|
<u-tr class="u-tr" v-for="(item,index) in alreadyExistsTyreNumbers" :key="index">
|
|
<u-tr class="u-tr" v-for="(item,index) in alreadyExistsTyreNumbers" :key="index">
|
|
- <u-td class="u-td" style="font-size: 24rpx;">{{item}}</u-td>
|
|
|
|
|
|
+ <u-td class="u-td">{{item}}</u-td>
|
|
<u-td class="u-td">库存中已存在</u-td>
|
|
<u-td class="u-td">库存中已存在</u-td>
|
|
</u-tr>
|
|
</u-tr>
|
|
|
|
|
|
@@ -93,6 +93,19 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
|
|
+ uni.getNetworkType({
|
|
|
|
+ success: function (res) {
|
|
|
|
+ let none = res.networkType
|
|
|
|
+ console.log(res.networkType);
|
|
|
|
+ if(none == 'none'){
|
|
|
|
+ uni.showToast({
|
|
|
|
+ icon: 'none',
|
|
|
|
+ title: '无网络,请连接网络后再试~',
|
|
|
|
+ position: "bottom"
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ });
|
|
this.getDatalist()
|
|
this.getDatalist()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -114,6 +127,7 @@
|
|
materialList: this.datalist
|
|
materialList: this.datalist
|
|
}
|
|
}
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
|
+ console.log(res)
|
|
this.dalist = res.data.data
|
|
this.dalist = res.data.data
|
|
for (let i = 0; i < this.dalist.length; i++) {
|
|
for (let i = 0; i < this.dalist.length; i++) {
|
|
this.total += parseInt(this.dalist[i].rewardMoney)
|
|
this.total += parseInt(this.dalist[i].rewardMoney)
|
|
@@ -122,6 +136,10 @@
|
|
|
|
|
|
}).catch(err => {
|
|
}).catch(err => {
|
|
console.log(err)
|
|
console.log(err)
|
|
|
|
+ uni.showToast({
|
|
|
|
+ icon: 'none',
|
|
|
|
+ title: '无网络,请连接网络后再试~'
|
|
|
|
+ })
|
|
}).finally(() => {
|
|
}).finally(() => {
|
|
// Loading.close()
|
|
// Loading.close()
|
|
})
|
|
})
|
|
@@ -155,9 +173,6 @@
|
|
data: {
|
|
data: {
|
|
storeId:this.$store.state.storeInfo.storeId,
|
|
storeId:this.$store.state.storeInfo.storeId,
|
|
userId:this.$store.state.storeInfo.userId,
|
|
userId:this.$store.state.storeInfo.userId,
|
|
- // scanAddress: '青岛市市北区橡胶谷-B栋', //地址
|
|
|
|
- // longitude: 120.3898355082192, //纬度
|
|
|
|
- // latitude: 36.14788760436011, //经度
|
|
|
|
scanAddress: this.address, //地址
|
|
scanAddress: this.address, //地址
|
|
longitude: this.longitude, //纬度
|
|
longitude: this.longitude, //纬度
|
|
latitude: this.latitude, //经度
|
|
latitude: this.latitude, //经度
|