Commit 037b54a0 authored by linxin's avatar linxin

fixed

parent 9813631d
Pipeline #3061 canceled with stages
......@@ -36,9 +36,7 @@
<div class="item-right">
<p>{{ parseFloat(e.due_amount).toFixed(2)|currency }}</p>
<p>{{ e.received_amount|currency }}</p>
<!-- <input v-model="e.amount" type="number" placeholder="请输入还款金额"> -->
<input :value="e.amount" type="number" placeholder="请输入还款金额">
<input v-model="e.amount" type="number" placeholder="请输入还款金额">
</div>
</div>
</div>
......@@ -73,7 +71,6 @@ export default {
watch: {
'prj_lists': {
handler (newName, oldName) {
console.log(1)
let vm = this
let sumL = []
for (let i of this.prj_lists) {
......@@ -123,8 +120,8 @@ export default {
vm.prj_lists = res.prj_lists
vm.prj_lists.forEach(i => {
i.cf_lists.forEach(j => {
console.log(2)
j.amount = (parseFloat(j.due_amount) - parseFloat(j.received_amount))
let num = (parseFloat(j.due_amount) - parseFloat(j.received_amount))
vm.$set(j, 'amount', num)
})
})
} else {
......
......@@ -71,7 +71,7 @@
<div>
<span>本次还款</span>
<section>
<input v-model="detail.amount" type="text" placeholder="请输入还款金额" >
<input v-model="detail.amount" type="number" placeholder="请输入还款金额" >
</section>
</div>
</div>
......@@ -173,6 +173,12 @@ export default {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.info = res.prj_lists
vm.info.forEach(i => {
i.con_lists.forEach(j => {
let num = (parseFloat(j.due_amount) - parseFloat(j.received_amount))
vm.$set(j, 'amount', num)
})
})
} else {
hlsPopup.showLongCenter(res.message)
}
......@@ -366,7 +372,7 @@ export default {
flex: 1;
}
input {
text-align: center;
text-align: left;
width: 96px;
height: 28px;
border-bottom: 1px solid #00469c;
......
......@@ -34,7 +34,7 @@
slot="content"
ref="myTestarea"
v-model="invoiceInfo.invoice_adds"
cols="30" rows="1" type="text" placeholder="请输入发票地址"
cols="22" rows="1" type="text" placeholder="请输入发票地址"
@input="addRows(invoiceInfo.invoice_adds)" />
</item>
<item>
......@@ -47,7 +47,7 @@
slot="content"
ref="myTestareaLive"
v-model="invoiceInfo.open_bank"
cols="30"
cols="22"
rows="1"
type="text"
placeholder="请输入发票开户行及账号"
......@@ -102,6 +102,8 @@ export default {
created () {
this.getInvoiceType()
this.getTaxpayer()
this.addRows(this.invoiceInfo.invoice_adds)
this.addRowsLive(this.invoiceInfo.open_bank)
},
updated () {
this.sendList()
......
......@@ -106,7 +106,7 @@
ref="myTestarea"
v-model="baseInfo.address_on_resident_booklit"
readonly
cols="30"
cols="22"
rows="1"
placeholder="上传身份证自动填充"
class="auto"
......@@ -180,7 +180,7 @@
ref="myTestareaLive"
v-model="baseInfo.living_address"
rows="1"
cols="30"
cols="22"
placeholder="请输入联系地址"
@input="addRowsLive(baseInfo.living_address)"
/>
......@@ -564,6 +564,8 @@ export default {
if (res.result === 'S') {
Object.assign(vm.baseInfo, res.info)
vm.from = true
vm.addRows(vm.baseInfo.address_on_resident_booklit)
vm.addRowsLive(vm.baseInfo.living_address)
} else {
hlsPopup.showLongCenter(res.message)
}
......
......@@ -114,7 +114,7 @@
slot="content"
ref="myTestarea"
v-model="baseInfo.registered_place"
cols="30"
cols="22"
rows="1"
readonly
class="auto"
......@@ -164,7 +164,7 @@
slot="content"
ref="myTestareaLive"
v-model="baseInfo.business_address"
cols="34"
cols="22"
rows="1"
placeholder="请输入经营地址"
@input="addRowsLive(baseInfo.business_address)"
......@@ -1308,6 +1308,8 @@ export default {
vm.legal_personMsg.id_card_date_from = res.info.id_card_date_from
vm.legal_personMsg.id_card_date_to = res.info.id_card_date_to
Object.assign(vm.saveInfo, res.info)
vm.addRows(vm.baseInfo.registered_place)
vm.addRowsLive(vm.baseInfo.business_address)
if (vm.baseInfo.auth_flag === '是') {
vm.flag = false
} else if (vm.baseInfo.auth_flag === '否') {
......
......@@ -36,7 +36,7 @@
<item>
<div slot="name" class="font-color">发票地址</div>
<textarea
slot="content" ref="myTestarea" v-model="invoiceInfo.invoice_adds" cols="30"
slot="content" ref="myTestarea" v-model="invoiceInfo.invoice_adds" cols="22"
rows="1"
type="text" placeholder="请输入发票地址" @input="addRows(invoiceInfo.invoice_adds)" />
</item>
......@@ -50,7 +50,7 @@
slot="content"
ref="myTestareaLive"
v-model="invoiceInfo.open_bank"
cols="30"
cols="22"
rows="1"
type="text"
placeholder="请输入发票开户行"
......@@ -125,6 +125,8 @@ export default {
created () {
this.getInvoiceType()
this.getTaxpayer()
this.addRows(this.invoiceInfo.invoice_adds)
this.addRowsLive(this.invoiceInfo.open_bank)
},
updated () {
this.sendList()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment