Merge branch 'mrr_sj_develop_丁杰_20260413_pricer' of https://gitee.com/qtvbidt/mrr.sj.front into mrr_sj_develop_丁杰_20260413_pricer

This commit is contained in:
cjl520cy 2026-04-24 17:54:28 +08:00
commit 0d66d41f15
2 changed files with 7 additions and 4 deletions

View File

@ -377,15 +377,17 @@
})
.then((res) => {
if (this.identity == 0) {
const userSyr = res.data.user_syr || {}; // null
this.orderInfo = res.data ? {
...res.data.order,
...res.data.work_seat,
...res.data.user_syr,
...userSyr,
work_hour_id: res.data.work_seat.id,
order_id: res.data.order.id,
user_sj_id: res.data.user_syr.id,
syr_id: userSyr.id, // /
} : {};
} else if (this.identity == 1) {
//
this.orderInfo = res.data ? {
...res.data.order,
...res.data.work_hour,

View File

@ -411,13 +411,14 @@
})
.then((res) => {
if (this.identity == 0) {
const userSyr = res.data.user_syr || {}; // null
this.orderInfo = res.data ? {
...res.data.order,
...res.data.work_hour,
...res.data.user_syr,
...userSyr, //
work_hour_id: res.data.work_hour.id,
order_id: res.data.order.id,
user_sj_id: res.data.user_syr.id,
syr_id: userSyr.id, // ID undefined
} : {};
console.log(this.orderInfo, '----------------------------------')
} else if (this.identity == 1) {