Handy_Cao 1 år sedan
förälder
incheckning
cdfd50740a

+ 1 - 1
src/packages/mobile/views/order/position/components/pricing/list/Index.vue

@@ -69,7 +69,7 @@ const pullRefreshRef = shallowRef()
 const positionList = computed(() => {
     const list = positionStore.getPositionListByTradeMode(10)
     /// 数据过滤
-    if (props.goodsCode != '') {
+    if (props.goodsCode) {
         return list.filter(e => e.goodscode === props.goodsCode)
     }
     return list