工作台修改

This commit is contained in:
wcy 2024-09-26 14:27:16 +08:00
parent aa2196fc18
commit b82f89e8a5
1 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@
<checkbox :checked="fetch.checked" /> <checkbox :checked="fetch.checked" />
</checkbox-group> </checkbox-group>
</view> </view>
<view class="info-cont"> <view class="info-cont" >
<view> <view>
<span>类型名称</span> <span>类型名称</span>
<h4>{{ fetch.typeName }}</h4> <h4>{{ fetch.typeName }}</h4>
@ -23,9 +23,9 @@
</view> </view>
<view> <view>
<span>待退料数量</span> <span>待退料数量</span>
<h4>{{ fetch.num }}</h4> <h4>{{ fetch.maxBackNum }}</h4>
</view> </view>
<h5 @click="openPopup(fetch)" v-if="fetch.num * 1 > 0"> <h5 @click="openPopup(fetch)" v-if="fetch.maxBackNum * 1 > 0">
点击退料 点击退料
</h5> </h5>
</view> </view>
@ -172,11 +172,11 @@
openPopup(list) { openPopup(list) {
console.log(list); console.log(list);
this.infoList = list; this.infoList = list;
this.rfidNum = list.num; this.rfidNum = list.maxBackNum;
this.transMaCode = list.code; this.transMaCode = list.code;
this.sendTypeId = list.typeId; this.sendTypeId = list.typeId;
this.parentId = list.id; this.parentId = list.id;
if (Number(list.num) == 0) { if (Number(list.maxBackNum) == 0) {
uni.showToast({ uni.showToast({
icon: "none", icon: "none",
title: "待退料数据为0请勿再点击", title: "待退料数据为0请勿再点击",