소스 검색

Merge branch '线上版本' of http://121.40.253.172:3000/longyong/jsh_erp_app into 线上版本

hi 1 개월 전
부모
커밋
c8ed0611d1
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      pages/inventory-inquiry/index.vue

+ 4 - 1
pages/inventory-inquiry/index.vue

@@ -19,7 +19,7 @@
             @clear="handleSearch"
             v-model="queryParams.keyword"
           ></u-search>
-          <view class="scan-icon flex_box flex_row_center">
+          <view class="scan-icon flex_box flex_row_center" @click="scanCode">
             <image src="@/static/image/scan-icon-2.png" mode=""></image>
           </view>
         </view>
@@ -188,6 +188,9 @@ export default {
     uni.$off("scanFinish");
   },
   methods: {
+    scanCode() {
+      this.$scan.scanCode();
+    },
     async getTreeData() {
       try {
         const res = await inventoryPositionTree();