[update] 会员管理-成员维护
This commit is contained in:
@@ -92,7 +92,7 @@
|
|||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :span="12" class="detail-item">
|
<a-col :span="12" class="detail-item">
|
||||||
<label>会员编号:</label>
|
<label>会员编号:</label>
|
||||||
<span><j-ellipsis :value="basicInfo.companyName" :length="20"></j-ellipsis></span>
|
<span><j-ellipsis :value="basicInfo.memberNo" :length="20"></j-ellipsis></span>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
<a-form-item label="预估到账日期">
|
<a-form-item label="预估到账日期">
|
||||||
<a-range-picker
|
<a-range-picker
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
v-model="queryParam.estimatedArrivalDate"
|
v-model="queryParam.estimatedArrivalDateArr"
|
||||||
format="YYYY-MM-DD"
|
format="YYYY-MM-DD"
|
||||||
:placeholder="['开始时间', '结束时间']"
|
:placeholder="['开始时间', '结束时间']"
|
||||||
@change="onDateChange"
|
@change="onDateChange"
|
||||||
@@ -291,7 +291,7 @@ export default {
|
|||||||
{
|
{
|
||||||
title: '会员联系人',
|
title: '会员联系人',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'liaisonMan',
|
dataIndex: 'liaisonManId_dictText',
|
||||||
scopedSlots: { customRender: 'text' },
|
scopedSlots: { customRender: 'text' },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -430,14 +430,14 @@ export default {
|
|||||||
companyName: record.companyName
|
companyName: record.companyName
|
||||||
}
|
}
|
||||||
this.selectedCompany = Object.assign({}, this.model.companyId)
|
this.selectedCompany = Object.assign({}, this.model.companyId)
|
||||||
this.selectPerson = {
|
// this.selectPerson = {
|
||||||
id: this.model.companyContactTemporaryId,
|
// id: this.model.liaisonManId,
|
||||||
name: this.model.companyContactName
|
// name: this.model.liaisonManId_dictText
|
||||||
}
|
// }
|
||||||
this.selectMailPerson = {
|
// this.selectMailPerson = {
|
||||||
id: this.model.postContactTemporaryId,
|
// id: this.model.postContactId,
|
||||||
name: this.model.postContactName
|
// name: this.model.postContactId_dictText
|
||||||
}
|
// }
|
||||||
// 修改来款方式 控制dom对应显示隐藏
|
// 修改来款方式 控制dom对应显示隐藏
|
||||||
this.incomePaysType = record.paymentMethod
|
this.incomePaysType = record.paymentMethod
|
||||||
}
|
}
|
||||||
@@ -449,6 +449,7 @@ export default {
|
|||||||
'companyId',
|
'companyId',
|
||||||
'liaisonManId',
|
'liaisonManId',
|
||||||
'postContactId',
|
'postContactId',
|
||||||
|
'memberNature',
|
||||||
'amountReceivable',
|
'amountReceivable',
|
||||||
'taxRate',
|
'taxRate',
|
||||||
'tax',
|
'tax',
|
||||||
@@ -456,7 +457,7 @@ export default {
|
|||||||
'estimatedArrivalDate',
|
'estimatedArrivalDate',
|
||||||
'invoiceRequirements',
|
'invoiceRequirements',
|
||||||
'paymentMethod',
|
'paymentMethod',
|
||||||
'contractNum',
|
'contractNo',
|
||||||
'chargeNoticeNo',
|
'chargeNoticeNo',
|
||||||
'chargeNoticeId',
|
'chargeNoticeId',
|
||||||
'remark'
|
'remark'
|
||||||
@@ -554,21 +555,20 @@ export default {
|
|||||||
const formData = Object.assign(this.model, values)
|
const formData = Object.assign(this.model, values)
|
||||||
console.log(formData)
|
console.log(formData)
|
||||||
formData.projectId = this.projectId
|
formData.projectId = this.projectId
|
||||||
|
formData.companyName = formData.companyId.companyName
|
||||||
formData.companyId = formData.companyId.id
|
formData.companyId = formData.companyId.id
|
||||||
httpAction(httpurl, formData, 'post')
|
httpAction(httpurl, formData, 'post').then((res) => {
|
||||||
.then((res) => {
|
if (res.success) {
|
||||||
if (res.success) {
|
that.$message.success(res.message)
|
||||||
that.$message.success(res.message)
|
that.$emit('ok')
|
||||||
that.$emit('ok')
|
|
||||||
that.confirmLoading = false
|
|
||||||
that.close()
|
|
||||||
} else {
|
|
||||||
that.$message.warning(res.message)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
.finally(() => {
|
|
||||||
that.confirmLoading = false
|
that.confirmLoading = false
|
||||||
})
|
that.close()
|
||||||
|
} else {
|
||||||
|
that.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
that.confirmLoading = false
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -587,7 +587,7 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
// 清除合同号
|
// 清除合同号
|
||||||
this.form.setFieldsValue({ contractNum: undefined })
|
this.form.setFieldsValue({ contractNo: undefined })
|
||||||
this.selectedCompany = Object.assign({}, val)
|
this.selectedCompany = Object.assign({}, val)
|
||||||
|
|
||||||
// 切换企业清空两个联系人
|
// 切换企业清空两个联系人
|
||||||
@@ -618,9 +618,5 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.yuan {
|
|
||||||
position: absolute;
|
|
||||||
right: -20px;
|
|
||||||
top: -10px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user