【变更】 会议新增企业的bug 收入合同的按钮修改
This commit is contained in:
@@ -227,6 +227,10 @@ export default {
|
||||
httpurl += this.url.edit
|
||||
}
|
||||
const formData = Object.assign(this.model, values)
|
||||
// 写这个判断是因为 在公司电话的输入框聚焦但是不输入情况下的 字段值会是一个空字符串 会导致后端接口 addMeeting 的报错
|
||||
if(formData.companyPhone === ''){
|
||||
formData.companyPhone = undefined
|
||||
}
|
||||
console.log('表单提交数据', formData)
|
||||
httpAction(httpurl, formData, method).then((res) => {
|
||||
if (res.success) {
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
</span>
|
||||
</a-table>
|
||||
|
||||
<a-button type="primary" @click="submitAduit" :loading="associatedProjectLoading" v-if="canOperate" v-preventclick>提交审核</a-button>
|
||||
<a-button type="primary" @click="submitAduit" :loading="associatedProjectLoading" v-if="canOperate" v-preventclick>{{associatedProjectDataSource.length === 0 ? '提交审核':'提交' }}</a-button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user