This commit is contained in:
Teng 2025-12-16 10:29:54 +08:00
parent 6eec7e636f
commit 6b1c27e71b
7 changed files with 17 additions and 8 deletions

View File

@ -28,7 +28,7 @@
<view> <view>
<view> <view>
规格型号 规格型号
<text style="white-space: nowrap;width:20vw ;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">{{objtake?.specificationModel}}</text> <text style="width:20vw ;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">{{objtake?.specificationModel}}</text>
</view> </view>
</view> </view>
</view> </view>

View File

@ -88,7 +88,8 @@
const times = ref('') const times = ref('')
const status = ref('loadmore') const status = ref('loadmore')
onMounted(()=>{ onMounted(()=>{
times.value = uni.getStorageSync('NUall').elderInfo.checkinTime // console.log("",uni.getStorageSync('NUall'))
times.value = uni.getStorageSync('NUall').elderInfo?.checkinTime
}) })
const wuobj = ref({}) const wuobj = ref({})
const serverUrl = ref(uni.getStorageSync('serverUrl') + '/sys/common/static/') const serverUrl = ref(uni.getStorageSync('serverUrl') + '/sys/common/static/')

View File

@ -322,6 +322,7 @@
const rightinfolist = ()=>{ const rightinfolist = ()=>{
queryQldWlInfo({ qldNo: plsbuy.value[lefttarget.value].qldNo }).then((element : any) => { queryQldWlInfo({ qldNo: plsbuy.value[lefttarget.value].qldNo }).then((element : any) => {
rightarray.value = []; rightarray.value = [];
console.log("kankan",element.result)
rightarray.value.push(...element.result) rightarray.value.push(...element.result)
rightdonghua.value = true; rightdonghua.value = true;
}) })

View File

@ -176,6 +176,7 @@
item.zk = false; item.zk = false;
item.scrollleft = 0; item.scrollleft = 0;
}) })
console.log("?????",form,res.result.records)
listarr.value.push(...res.result.records) listarr.value.push(...res.result.records)
status.value = (res.result.total == listarr.value.length ? 'nomore' : 'loadmore') status.value = (res.result.total == listarr.value.length ? 'nomore' : 'loadmore')
}) })

View File

@ -26,7 +26,7 @@
<view> <view>
<view> <view>
规格型号 规格型号
<text style="white-space: nowrap;">{{objtake.materialInfo?.specificationModel}}</text> <text style="width:20vw ;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">{{objtake.materialInfo?.specificationModel}}</text>
</view> </view>
</view> </view>
</view> </view>

View File

@ -271,8 +271,12 @@
}) })
} }
onShow(()=>{
chongzhi()
console.log("刷新了")
})
onMounted(() => { onMounted(() => {
firstgetqueryCgdList(); // firstgetqueryCgdList();
getSelectList(); getSelectList();
}) })
type datetype = { type datetype = {

View File

@ -125,6 +125,7 @@
<view v-show="opendata" class="mengban" :style="opendata ?{background:`transparent`}:{}" <view v-show="opendata" class="mengban" :style="opendata ?{background:`transparent`}:{}"
@click="opendata=false;"> @click="opendata=false;">
</view> </view>
<errorshow :show="openmessage" :font="errormessage" @close="openmessage=false" />
</view> </view>
</template> </template>
@ -176,8 +177,11 @@
subshow.value = true; subshow.value = true;
}) })
} }
const errormessage = ref("");
const openmessage = ref(false)
const tijiao = () => { const tijiao = () => {
submitThd({ id: tharrlist.value[cardindex.value].id }).then(res => { submitThd({ id: tharrlist.value[cardindex.value].id }).then(res => {
console.log("入库退货单",res)
if (res.success) { if (res.success) {
subshow.value = false; subshow.value = false;
th(tharrlist.value[cardindex.value], cardindex.value) th(tharrlist.value[cardindex.value], cardindex.value)
@ -185,10 +189,8 @@
cardcon(tharrlist.value[cardindex.value], cardindex.value); cardcon(tharrlist.value[cardindex.value], cardindex.value);
}, 200) }, 200)
} else { } else {
uni.showToast({ errormessage.value = res.message;
icon: 'none', openmessage.value = true
title: res.message
})
} }
}) })
} }