修试入库bug修复

This commit is contained in:
hongchao 2025-07-26 15:38:26 +08:00
parent e639418551
commit 994d43de32
1 changed files with 7 additions and 5 deletions

View File

@ -88,7 +88,7 @@
</view>
</scroll-view>
<uni-popup ref="inBoundNumPopup" type="center" border-radius="10px 10px 0 0">
<uni-popup ref="inBoundNumPopup" type="center" border-radius="10px 10px 0 0" :mask-click="false">
<view class="num-popup">
<view class="num-box">
<view class="num-box-itme">
@ -106,7 +106,7 @@
</view>
</uni-popup>
<uni-popup ref="rejectNumPopup" type="center" border-radius="10px 10px 0 0">
<uni-popup ref="rejectNumPopup" type="center" border-radius="10px 10px 0 0" :mask-click="false">
<view class="num-popup" style="height: 30vh;">
<view class="num-box" style="height: 25vh;">
<view class="num-box-itme">
@ -133,7 +133,7 @@
</template>
<script setup>
import { ref, onUnmounted, computed } from 'vue'
import { ref, onUnmounted, computed,nextTick } from 'vue'
import { getRepairedDetailList,repairInputWarehouseApi,rejectWarehouseApi } from '@/services/repair/testedInBound.js'
import { onLoad, onShow } from '@dcloudio/uni-app'
const detailsList = ref([])
@ -181,7 +181,7 @@ const getDetailsData = async () => {
//
const onClick=(e,item)=> {
const onClick=async (e,item)=> {
if (item.manageType == 0) {//
if(item.status==0){//
let codingUrl = '/pages/repair/testedInBound/codeList' //
@ -197,7 +197,9 @@ const onClick=(e,item)=> {
if(item.status==0){//
inputItem.value=item;
inBoundNum.value=item.pendingInputNum
inBoundNumPopup.value.open('center');
await nextTick();
inBoundNumPopup.value.open('center');
}else{//
let codingUrl = '/pages/repair/testedInBound/detailView' //
uni.navigateTo({ url: `${codingUrl}?queryParams=${JSON.stringify(item)}` })