Handy_Cao преди 1 година
родител
ревизия
cdfd50740a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/packages/mobile/views/order/position/components/pricing/list/Index.vue

+ 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