This commit is contained in:
parent
f0b11cbe1b
commit
13ea567bb4
|
|
@ -232,11 +232,12 @@
|
|||
watch(
|
||||
() => props.isShow,
|
||||
(newVal, oldVal) => {
|
||||
console.log("??????",newVal, oldVal)
|
||||
// 当旧值为false,新值为true时延迟0.2秒调用方法
|
||||
if (newVal) {
|
||||
if (!oldVal && newVal) {
|
||||
transition.value = false;
|
||||
chongzhi()
|
||||
firstgetqueryCgdList();
|
||||
// firstgetqueryCgdList();
|
||||
setTimeout(() => {
|
||||
transition.value = true;
|
||||
}, 50)
|
||||
|
|
@ -305,7 +306,7 @@
|
|||
|
||||
plzinfo.searchContent = ""
|
||||
changetype(0)
|
||||
firstgetqueryCgdList()
|
||||
// firstgetqueryCgdList()
|
||||
|
||||
setTimeout(() => chongzhiLock = false, 500)
|
||||
}
|
||||
|
|
@ -351,7 +352,7 @@
|
|||
|
||||
queryQldWlInfo({ qldNo: res.result.records[0].qldNo }).then((element : any) => {
|
||||
rightarray.value = []
|
||||
console.log("////",element.result)
|
||||
// console.log("////",element.result)
|
||||
rightarray.value.push(...element.result)
|
||||
rightdonghua.value = true;
|
||||
})
|
||||
|
|
@ -757,6 +758,7 @@
|
|||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 25rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -287,7 +287,7 @@
|
|||
// console.log(res)
|
||||
plsbuy.value.push(...res.result.records)
|
||||
// console.log("入参", plzinfo)
|
||||
// console.log("查看数组", res.result.records)
|
||||
console.log("查看数组", res.result.records)
|
||||
alltotal.value = res.result.total
|
||||
|
||||
// console.log("请购单数据呢???", res)
|
||||
|
|
@ -707,6 +707,7 @@
|
|||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 25rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2382,7 +2382,7 @@
|
|||
.end-font {
|
||||
width: 100%;
|
||||
height: 6vh;
|
||||
font-size: 23rpx;
|
||||
font-size: 25rpx;
|
||||
text-align: center;
|
||||
color: #666666;
|
||||
overflow: hidden;
|
||||
|
|
|
|||
|
|
@ -2346,7 +2346,7 @@
|
|||
.end-font {
|
||||
width: 100%;
|
||||
height: 6vh;
|
||||
font-size: 23rpx;
|
||||
font-size: 25rpx;
|
||||
text-align: center;
|
||||
color: #666666;
|
||||
overflow: hidden;
|
||||
|
|
|
|||
|
|
@ -762,6 +762,7 @@
|
|||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 25rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -325,7 +325,7 @@
|
|||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 23rpx;
|
||||
font-size: 25rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -616,7 +616,7 @@
|
|||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 23rpx;
|
||||
font-size: 25rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1135,6 +1135,7 @@
|
|||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 25rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1620,6 +1621,7 @@
|
|||
// height: 6vh;
|
||||
text-align: center;
|
||||
color: #666666;
|
||||
font-size: 25rpx;
|
||||
// overflow: hidden;
|
||||
// text-overflow: ellipsis;
|
||||
// white-space: nowrap;
|
||||
|
|
|
|||
|
|
@ -21,15 +21,16 @@
|
|||
</view>
|
||||
</view> -->
|
||||
|
||||
<view class="right-buttons" @click="startselect()">
|
||||
<view :class="manyselect?`right-button-blue`:`right-button-white`"
|
||||
<view class="right-buttons">
|
||||
<view :class="manyselect?`right-button-blue`:`right-button-white`" @click="startselect()"
|
||||
v-show="plsbuy[lefttarget]?.status==`1`">
|
||||
<image :src="`/static/index/warehouse/procurement/picking/piliang${manyselect?`target`:``}.png`" />
|
||||
<view>
|
||||
批量选择
|
||||
</view>
|
||||
</view>
|
||||
<view class="right-button" @click="badshow=true" v-show="plsbuy[lefttarget]?.status==`1`">
|
||||
<view class="right-button" @click="huituiclick()"
|
||||
v-show="plsbuy[lefttarget]?.status==`1`">
|
||||
<image src="/static/index/warehouse/procurement/picking/huitui.png" />
|
||||
<view>
|
||||
回退
|
||||
|
|
@ -541,10 +542,24 @@
|
|||
|
||||
selectarray.value = [];
|
||||
manyselect.value = !manyselect.value
|
||||
if(!manyselect.value){
|
||||
if (!manyselect.value) {
|
||||
lefttarget.value = 0
|
||||
}
|
||||
}
|
||||
const huituiclick = () => {
|
||||
if(manyselect.value){
|
||||
console.log("55555")
|
||||
selectarray.value = [];
|
||||
manyselect.value = false
|
||||
leftscrolltop.value = 1
|
||||
setTimeout(() => {
|
||||
leftscrolltop.value = 0
|
||||
}, 50)
|
||||
}else{
|
||||
|
||||
badshow.value = true
|
||||
}
|
||||
}
|
||||
// const quxiao = () => {
|
||||
// selectarray.value = [];
|
||||
// manyselect.value = false;
|
||||
|
|
@ -556,7 +571,7 @@
|
|||
const chukuvalue = ref("")
|
||||
|
||||
const chukuclick = () => {
|
||||
if(manyselect.value && !selectarray.value.length){
|
||||
if (manyselect.value && !selectarray.value.length) {
|
||||
qinglingshow.value = true
|
||||
return
|
||||
}
|
||||
|
|
@ -573,15 +588,15 @@
|
|||
}, 50)
|
||||
lefttarget.value = 0
|
||||
firstgetqueryCgdList();
|
||||
console.log("!!!!!!",res)
|
||||
console.log("!!!!!!", res)
|
||||
setTimeout(() => {
|
||||
if(res.result.status=="success"){
|
||||
if (res.result.status == "success") {
|
||||
uni.showToast({
|
||||
title: res.result.message,
|
||||
icon: 'none', // 'none' 表示不带图标
|
||||
duration: 3000
|
||||
})
|
||||
}else{
|
||||
} else {
|
||||
chukuerror.value = true;
|
||||
chukuvalue.value = res.result.message;
|
||||
}
|
||||
|
|
@ -909,6 +924,7 @@
|
|||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 25rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -860,7 +860,7 @@
|
|||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 23rpx;
|
||||
font-size: 25rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue