曹睿
2025-04-22 7dfba7fe15814cb7d33cb0b5f705b37856438210
feat: 添加单项保存入口
已修改1个文件
11 ■■■■■ 文件已修改
src/pages/production/twist/receive/monofil.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/production/twist/receive/monofil.vue
@@ -15,6 +15,13 @@
        </CardTitle>
      </template>
      <MonofilCard v-for="(item, index) in cardList" :key="index" />
      <template #bottom>
        <view class="flex justify-center items-center">
          <wd-button block>
            <text class="text-[#fff]" @click="save">保存</text>
          </wd-button>
        </view>
      </template>
    </z-paging>
  </view>
  <Scan ref="scanRef" />
@@ -28,7 +35,7 @@
import ManageApi from "@/api/product/manage";
import TwistApi from "@/api/product/twist";
import zPaging from "@/components/z-paging/z-paging.vue";
import { useMessage } from "@/uni_modules/wot-design-uni";
import { useMessage } from "wot-design-uni";
// import { useZebraScan } from "@/hooks/useZebraScan";
// const { init, start, stop, triggerScan } = useZebraScan();
@@ -66,6 +73,8 @@
  }
};
const save = () => {};
onLoad((options: any) => {
  // 开启广播监听事件
  uni.$on("scan", getScanCode);