修改
This commit is contained in:
1 parent
417ba2eced
commit
1db4c138a1
4 files changed
+3
-2
No files matched your search
@@ -62,7 +62,7 @@
|
||||
|
||||
<template #main-bottom>
|
||||
<view class="m-30rpx flex justify-between">
|
||||
<tm-button block @click="openDoor">开门补货</tm-button>
|
||||
<tm-button block @click="openDoor" :disabled="!state.cabinetPutawayList.length">开门补货</tm-button>
|
||||
|
||||
<tm-button block @click="replenishmentComplete" :disabled="!state['flowId' + curCabinetNo]">补货完成</tm-button>
|
||||
</view>
|
||||
@@ -139,6 +139,7 @@ const doorTabsChange = async (e: number) => {
|
||||
// 开门补货
|
||||
const openDoor = async () => {
|
||||
if (!state.id) return
|
||||
if (!state.cabinetPutawayList.length) return uni.showToast({ title: "请先上架商品", icon: "none" })
|
||||
try {
|
||||
uni.showLoading({ title: "正在开门", mask: true })
|
||||
const res = await doorApi.openRepertory({ hardDoorId: state.id, cabinetNo: curCabinetNo.value })
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<view class="h-30rpx" />
|
||||
<tm-sheet v-for="(item, index) in pageHook.list" :key="index" :margin="[0, 20]">
|
||||
<tm-text font-size="32">{{ item.hardName }} {{ item.deviceCode }}</tm-text>
|
||||
<view class="card flex justify-around items-center my-1 p-2">
|
||||
<view class="flex justify-around items-center my-1 p-2">
|
||||
<view class="flex-col items-center p-2 rounded-1 active:bg-#E8E8E8" @click="doDetail(item.id)">
|
||||
<image class="w-50 h-50" src="@/static/page/货柜详情.svg" />
|
||||
<tm-text>货柜详情</tm-text>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 4.6 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 4.5 KiB |
Reference in new issue
Block a user