修试入库bug修复
This commit is contained in:
parent
e639418551
commit
994d43de32
|
|
@ -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)}` })
|
||||
|
|
|
|||
Loading…
Reference in New Issue