This commit is contained in:
Teng 2025-12-10 17:30:16 +08:00
parent f0b11cbe1b
commit 13ea567bb4
10 changed files with 43 additions and 21 deletions

View File

@ -232,11 +232,12 @@
watch( watch(
() => props.isShow, () => props.isShow,
(newVal, oldVal) => { (newVal, oldVal) => {
console.log("??????",newVal, oldVal)
// falsetrue0.2 // falsetrue0.2
if (newVal) { if (!oldVal && newVal) {
transition.value = false; transition.value = false;
chongzhi() chongzhi()
firstgetqueryCgdList(); // firstgetqueryCgdList();
setTimeout(() => { setTimeout(() => {
transition.value = true; transition.value = true;
}, 50) }, 50)
@ -305,7 +306,7 @@
plzinfo.searchContent = "" plzinfo.searchContent = ""
changetype(0) changetype(0)
firstgetqueryCgdList() // firstgetqueryCgdList()
setTimeout(() => chongzhiLock = false, 500) setTimeout(() => chongzhiLock = false, 500)
} }
@ -351,7 +352,7 @@
queryQldWlInfo({ qldNo: res.result.records[0].qldNo }).then((element : any) => { queryQldWlInfo({ qldNo: res.result.records[0].qldNo }).then((element : any) => {
rightarray.value = [] rightarray.value = []
console.log("////",element.result) // console.log("////",element.result)
rightarray.value.push(...element.result) rightarray.value.push(...element.result)
rightdonghua.value = true; rightdonghua.value = true;
}) })
@ -757,6 +758,7 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
font-size: 25rpx;
} }
} }
} }

View File

@ -287,7 +287,7 @@
// console.log(res) // console.log(res)
plsbuy.value.push(...res.result.records) plsbuy.value.push(...res.result.records)
// console.log("", plzinfo) // console.log("", plzinfo)
// console.log("", res.result.records) console.log("查看数组", res.result.records)
alltotal.value = res.result.total alltotal.value = res.result.total
// console.log("???", res) // console.log("???", res)
@ -707,6 +707,7 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
font-size: 25rpx;
} }
} }
} }

View File

@ -2382,7 +2382,7 @@
.end-font { .end-font {
width: 100%; width: 100%;
height: 6vh; height: 6vh;
font-size: 23rpx; font-size: 25rpx;
text-align: center; text-align: center;
color: #666666; color: #666666;
overflow: hidden; overflow: hidden;

View File

@ -2346,7 +2346,7 @@
.end-font { .end-font {
width: 100%; width: 100%;
height: 6vh; height: 6vh;
font-size: 23rpx; font-size: 25rpx;
text-align: center; text-align: center;
color: #666666; color: #666666;
overflow: hidden; overflow: hidden;

View File

@ -762,6 +762,7 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
font-size: 25rpx;
} }
} }
} }

View File

@ -325,7 +325,7 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
font-size: 23rpx; font-size: 25rpx;
} }
} }
} }

View File

@ -616,7 +616,7 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
font-size: 23rpx; font-size: 25rpx;
} }
} }
} }

View File

@ -1135,6 +1135,7 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
font-size: 25rpx;
} }
} }
} }
@ -1620,6 +1621,7 @@
// height: 6vh; // height: 6vh;
text-align: center; text-align: center;
color: #666666; color: #666666;
font-size: 25rpx;
// overflow: hidden; // overflow: hidden;
// text-overflow: ellipsis; // text-overflow: ellipsis;
// white-space: nowrap; // white-space: nowrap;

View File

@ -21,15 +21,16 @@
</view> </view>
</view> --> </view> -->
<view class="right-buttons" @click="startselect()"> <view class="right-buttons">
<view :class="manyselect?`right-button-blue`:`right-button-white`" <view :class="manyselect?`right-button-blue`:`right-button-white`" @click="startselect()"
v-show="plsbuy[lefttarget]?.status==`1`"> v-show="plsbuy[lefttarget]?.status==`1`">
<image :src="`/static/index/warehouse/procurement/picking/piliang${manyselect?`target`:``}.png`" /> <image :src="`/static/index/warehouse/procurement/picking/piliang${manyselect?`target`:``}.png`" />
<view> <view>
批量选择 批量选择
</view> </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" /> <image src="/static/index/warehouse/procurement/picking/huitui.png" />
<view> <view>
回退 回退
@ -538,25 +539,39 @@
const selectarray = ref([]); const selectarray = ref([]);
const startselect = () => { const startselect = () => {
selectarray.value = []; selectarray.value = [];
manyselect.value = !manyselect.value manyselect.value = !manyselect.value
if(!manyselect.value){ if (!manyselect.value) {
lefttarget.value = 0 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 = () => { // const quxiao = () => {
// selectarray.value = []; // selectarray.value = [];
// manyselect.value = false; // manyselect.value = false;
// } // }
const chukushow = ref(false); const chukushow = ref(false);
const qinglingshow = ref(false) const qinglingshow = ref(false)
const chukuerror = ref(false); const chukuerror = ref(false);
const chukuvalue = ref("") const chukuvalue = ref("")
const chukuclick = () => { const chukuclick = () => {
if(manyselect.value && !selectarray.value.length){ if (manyselect.value && !selectarray.value.length) {
qinglingshow.value = true qinglingshow.value = true
return return
} }
@ -573,15 +588,15 @@
}, 50) }, 50)
lefttarget.value = 0 lefttarget.value = 0
firstgetqueryCgdList(); firstgetqueryCgdList();
console.log("!!!!!!",res) console.log("!!!!!!", res)
setTimeout(() => { setTimeout(() => {
if(res.result.status=="success"){ if (res.result.status == "success") {
uni.showToast({ uni.showToast({
title: res.result.message, title: res.result.message,
icon: 'none', // 'none' icon: 'none', // 'none'
duration: 3000 duration: 3000
}) })
}else{ } else {
chukuerror.value = true; chukuerror.value = true;
chukuvalue.value = res.result.message; chukuvalue.value = res.result.message;
} }
@ -909,6 +924,7 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
font-size: 25rpx;
} }
} }
} }

View File

@ -860,7 +860,7 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
font-size: 23rpx; font-size: 25rpx;
} }
} }
} }