工作组变更;统计样式;单个开票

This commit is contained in:
zhaoxiao
2021-09-17 11:16:22 +08:00
parent ef627d34dd
commit d391eeb9ee
12 changed files with 214 additions and 154 deletions
@@ -131,7 +131,6 @@ export default {
})
},
handleOk() {
console.log(this.projectType, this.chargeCompanyName)
this.form.validateFields((err, values) => {
if (!err) {
// values.chargeCompanyName = this.chargeCompanyName
@@ -142,7 +141,19 @@ export default {
if (this.model.id) {
okHttpMethod = editPayBill(formData)
} else {
okHttpMethod = addPayBill(this.projectId, this.projectType, formData)
let addData = formData
let bmpList = [
{
invoiceAmount: formData.invoiceAmount,
projectId: this.projectId,
projectType: this.projectType,
remark: formData.remark
}
]
addData.bmpList = bmpList
delete addData.projectName
delete addData.remark
okHttpMethod = addPayBill(addData)
}
okHttpMethod.then(res => {
if (res.success) {