Ver código fonte

item.invbalqty-item.undeliqtysum-item.unsoldqty>0?'有货':'缺货'

xiaohaizhao 2 anos atrás
pai
commit
e58938685e
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      packageA/orderForm/modules/product/list/index.wxml

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

@@ -23,7 +23,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.undeliqtysum-item.unsoldqty>=0?'有货':'缺货'}}</text>
                 </view>
             </view>
             <view wx:if="{{!disabled}}" class="delete" data-item="{{item}}" catchtap="deleteProduct">