This commit is contained in:
lcw
2025-12-25 10:35:00 +08:00
parent 1a7b27209f
commit 709ce4a1e9
7 changed files with 254 additions and 237 deletions

View File

@ -207,10 +207,10 @@ const content = ref({
const chooseItem = (item) => {
console.log(item.yjlx);
switch (item.yjlx) {
case '01':
tbYjxxGetInfo(item.id).then(res => {
console.log(res);
content.value = {
id: item.id,
ryxm: res.yjRyxm || '',
@ -221,11 +221,13 @@ const chooseItem = (item) => {
yjnr: res.yjNr || '',
yjbq: res.yjbqmc || '',
yjlx: item.yjlx || '',
yjLx: res.yjLx || '',
jd: res.jd || 0,
wd: res.wd || 0,
yjjb: item.yjjb || '',
czzt: res.czzt || '',
yjbt: res.yjBt || '',
cph: res.yjClcph || '',
}
emitter.emit('showHomeYJ', [content.value]);
})