Commit e73a1c2e by Lin

fix(reception): 修正接待中心组件的逻辑错误

- 更新 orderFinishFlag 计算逻辑,确保已提交和未提交状态的正确处理
1 parent ad9414f6
...@@ -834,7 +834,7 @@ function getDefaultReceptionListParams(): UTSJSONObject | null { ...@@ -834,7 +834,7 @@ function getDefaultReceptionListParams(): UTSJSONObject | null {
const reviewFlag = reviewTabIndex.value == 0 ? 0 : 1 const reviewFlag = reviewTabIndex.value == 0 ? 0 : 1
const submitted = filterTabIndex.value == 0 ? 1 : 0 const submitted = filterTabIndex.value == 0 ? 1 : 0
const orderFinishFlag = submitted == 1 const orderFinishFlag = submitted == 1
? (submittedResultTabIndex.value == 1 ? 1 : 0) ? (submittedResultTabIndex.value == 1 ? 0 : 1)
: (unsubmittedPendingTabIndex.value == 1 ? 1 : 0) : (unsubmittedPendingTabIndex.value == 1 ? 1 : 0)
return { return {
"merchantId": ctx['merchantId'], "merchantId": ctx['merchantId'],
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!