Explorar el Código

修复库存问题

xiaohaizhao hace 2 años
padre
commit
56593964c6

+ 1 - 1
packageA/orderForm/modules/product/list/index.wxml

@@ -19,7 +19,7 @@
                 </view>
                 <view class="subfield" style="margin-top: 8rpx;">
                     <text class="price" style="margin-right: 6rpx;">{{handleHide.query(item.price,hidePrice)}}</text>
-                    <text style="font-weight: 600;color: #666;">库存:{{item.invbalqty-item.unsoldqty>=0?'有货':'缺货'}}</text>
+                    <text style="font-weight: 600;color: #666;">库存:{{item.invbalqty-item.unsoldqty>0?'有货':'缺货'}}</text>
                 </view>
             </view>
             <view wx:if="{{!disabled}}" class="delete" data-item="{{item}}" catchtap="deleteProduct">

+ 1 - 1
project.private.config.json

@@ -3,7 +3,7 @@
   "projectname": "楚楚E订单",
   "setting": {
     "compileHotReLoad": true,
-    "urlCheck": false
+    "urlCheck": true
   },
   "libVersion": "2.25.3",
   "condition": {