|
@@ -116,13 +116,13 @@
|
|
|
@getValue="(value) => {inputForm.officeId=value}"/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
-<!-- <el-col :span="12">-->
|
|
|
-<!-- <el-form-item label="业务类型" prop="businessTypeName"-->
|
|
|
-<!-- :rules="[-->
|
|
|
-<!-- ]">-->
|
|
|
-<!-- <el-input :readonly="true" @focus="openBusinessTypeForm" v-model="inputForm.businessTypeName" placeholder="请填写业务类型" clearable></el-input>-->
|
|
|
-<!-- </el-form-item>-->
|
|
|
-<!-- </el-col>-->
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="业务类型" prop="businessTypeName"
|
|
|
+ :rules="[
|
|
|
+ ]">
|
|
|
+ <el-input :readonly="true" @focus="openBusinessTypeForm" v-model="inputForm.businessTypeName" placeholder="请填写业务类型" clearable></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="风险等级" prop="riskLevel"
|
|
|
:rules="[
|
|
@@ -801,21 +801,26 @@
|
|
|
this.cwFinanceInvoiceService.getByIds(this.inputForm.id, this.invoiceForm).then(({data}) => {
|
|
|
let _this = this
|
|
|
let _data = data
|
|
|
+ console.log('data.qweqwe', data)
|
|
|
+ // this.inputForm.accountDetail = this.data().financeInvoiceBaseDTOList.account
|
|
|
const wait = function () {
|
|
|
return new Promise((resolve, reject) => {
|
|
|
+ console.log('12312312312312312222222222222222222')
|
|
|
_this.invoiceList = _data
|
|
|
resolve()
|
|
|
})
|
|
|
}
|
|
|
wait().then(() => {
|
|
|
this.invoiceList.forEach(item => {
|
|
|
+ console.log()
|
|
|
item.account = parseFloat(item.account).toFixed(2)
|
|
|
if (!this.commonJS.isEmpty(item.financeInvoiceDetailDTOList)) {
|
|
|
- item.accountDetail = 0
|
|
|
+ // item.accountDetail = 0
|
|
|
let num = ''
|
|
|
item.financeInvoiceDetailDTOList.forEach((detail, index) => {
|
|
|
if (!this.commonJS.isEmpty(detail.account)) {
|
|
|
- item.accountDetail = parseFloat(parseFloat(item.accountDetail) + parseFloat(detail.account)).toFixed(2)
|
|
|
+ // item.accountDetail = parseFloat(parseFloat(item.accountDetail) + parseFloat(detail.account)).toFixed(2)
|
|
|
+ console.log('item232222', item)
|
|
|
}
|
|
|
if ((index + 1) !== item.financeInvoiceDetailDTOList.length) {
|
|
|
num = num + detail.number + ','
|
|
@@ -826,7 +831,7 @@
|
|
|
item.number = num
|
|
|
} else {
|
|
|
item.number = ''
|
|
|
- item.accountDetail = ''
|
|
|
+ // item.accountDetail = ''
|
|
|
}
|
|
|
})
|
|
|
})
|