This commit is contained in:
wangweidong 2025-11-24 14:08:19 +08:00
parent 607c18b1c6
commit 4d54274ee3
5 changed files with 26 additions and 8 deletions

View File

@ -426,7 +426,7 @@
align-items: center;
view {
width: 5.5vw;
min-width: 5.5vw;
height: 1.8vw;
border-radius: 0.9vw;
border: 1px solid #D2D2D2;
@ -437,6 +437,7 @@
font-weight: 400;
font-size: 1vw;
color: #555555;
padding: 0 0.5vw;
}
}
@ -444,6 +445,7 @@
width: 9vw;
height: 8vw;
margin: 1vw auto 0;
border-radius: 1.1vw;
}
}
}

View File

@ -56,7 +56,7 @@
</view>
<view class="btnbotm">
<view class="bt" @click="typescroll(1,-1,{});qingkong()">重置</view>
<view class="bt" @click="typescroll(1,-1,{});qingkong();config()">重置</view>
<view class="bt qd" @click="config">确定 <text v-if="num>0">{{num>99?'99+':num}}件物料</text></view>
</view>
</view>
@ -213,13 +213,14 @@
const qingkong = () => {
if (gysidnum.value > -1) {
gysidnum.value = -1;
getTreelnum()
getTreelnum();
}
}
defineExpose({
typescroll,
config,
qingkong
qingkong,
getTreelnum
})
</script>

View File

@ -169,7 +169,11 @@
serverUrl.value = uni.getStorageSync('serverUrl') + '/sys/common/static/';
})
onShow(()=>{
config()
shoppcar();
getWaringMaterial();
nextTick(()=>{
chongzhi()
})
})
const Material = ref([])
const getWaringMaterial=()=>{
@ -193,7 +197,6 @@
shoppcar();
queryInvo();
getWaringMaterial()
shoppcar();
}
const carnum = ref(0)

View File

@ -80,7 +80,10 @@
const InvoicingList = ref([])
const status = ref('loading')
const open = ref(0)
onLoad(()=>{
onShow(()=>{
nextTick(()=>{
chongzhi();
})
queryInvo()
})
const classication = ref<InstanceType<typeof ChildComponent>>()
@ -153,7 +156,7 @@
if(res.success){
form.pageNo=1;
InvoicingList.value = [];
queryInvo()
chongzhi()
}
open.value = 0;
// uni.showToast({
@ -179,6 +182,8 @@
if(res.success){
InvoicingList.value.splice(delobj.value.index,1);
open.value = 0;
status.value = InvoicingList.value.length == 0 ? 'nomore' : 'loadmore';
classication.value.getTreelnum()
}
},800)

View File

@ -450,12 +450,14 @@
const middletarget = ref(0);
const plzinfo = reactive({
nuId: uni.getStorageSync('nuId'),
pageNo: 1,
pageSize: 10,
canpull: true,
cgdParamInfo: ""
})
const mobanplzinfo = {
nuId: uni.getStorageSync('nuId'),
pageNo: 1,
pageSize: 10,
canpull: true,
@ -490,6 +492,7 @@
form.suppliers = e.suppliers;
form.cgdId = e.cgdId;
form.pageNo = 1;
middletarget.value = 0;
InvoicingList.value = [];
queryInvo();
ification.value = false
@ -518,6 +521,9 @@
}
const lefttarget = ref(0);
const clickLeftMenu = (index : any, item : object) => {
if(lefttarget.value!=index){
middletarget.value = 0;
}
let num = Math.ceil((index + 1))
leftscrolltop.value = (num - 2) * 186;
lefttarget.value = index;
@ -1071,6 +1077,7 @@
height: 270rpx;
margin-left: 2vw;
margin-top: 5vw;
border-radius: 1vw;
}
.left-tags {