订单同步代码框架

This commit is contained in:
zhonghua.li
2026-05-15 23:36:59 +08:00
parent e980376297
commit 928887b389
4 changed files with 699 additions and 1 deletions

View File

@@ -684,7 +684,12 @@ export default {
handleSubmit() {
this.$refs.dataForm.validate((valid) => {
if (!valid) return
const payload = this.buildPayload()
const tenantId = this.getTenantIdFromBusinessHeaders()
if (!tenantId) {
this.$message.error('未获取到租户ID请先登录或配置业务请求头中的租户')
return
}
const payload = { ...this.buildPayload(), tenantId }
this.submitLoading = true
const req = this.isEdit ? updateLbAssessmentApply(payload) : addLbAssessmentApply(payload)
req.then((res) => {