订单同步代码框架
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user