llj
2026-01-27 bbae990ed1f4574fa954753faeae159052d03fba
pages/ZLGL/OA_WorkLink/OA_WorkLinkBill.vue
@@ -722,6 +722,35 @@
                    })
                }
            },
            async updateWorkLink(HInterID, HEntryID) {
                try {
                    let res = await CommonUtils.doRequest2Async({
                        url: "/Sc_MESTransFerWorkBill/UpdateOA_WorkLinkBillFlagMessage",
                        data: {
                            HInterID,
                            HEntryID
                        }
                    })
                    let {
                        count,
                        Message
                    } = res.data
                    if (count == 1) {
                        // this.switchTab(this.tabs)
                    } else {
                        CommonUtils.showTips({
                            title: '温馨提示',
                            message: `更新工作联系单失败: ${Message}`
                        })
                    }
                } catch (err) {
                    CommonUtils.showTips({
                        title: '温馨提示',
                        message: `更新工作联系单失败: ${err}`
                    })
                }
            },
        },
        async onLoad(e) {
            console.log('e: ', e);
@@ -751,6 +780,7 @@
                })
                this.getWorkLinkBill(HInterID, HEntryID)
                this.GetOA_WorkLinkBillSub(HInterID)
                this.updateWorkLink(HInterID, HEntryID)
            }
            this.getHDeptList()