|
@@ -60,7 +60,7 @@
|
|
|
<view class="item-detail">
|
|
|
<view>
|
|
|
最后一次补货时间:
|
|
|
- <text class="item-detail-text">{{item.lastDate}}</text>
|
|
|
+ <text class="item-detail-text">{{item.lastDate||'--'}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -198,7 +198,7 @@
|
|
|
}
|
|
|
},
|
|
|
viewDetail (row) {
|
|
|
- if (row.productCategory) {
|
|
|
+ if (row.productCategory&&row.productQty) {
|
|
|
this.tempData = row
|
|
|
uni.navigateTo({
|
|
|
url: "/pages/soldOut/creatOrder?data="+encodeURIComponent(JSON.stringify(this.tempData))
|