mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-13 17:46:44 +08:00
Merge branch 'dev' of http://112.124.100.131/GFRS/ebiz-h5 into dev
This commit is contained in:
@@ -339,7 +339,7 @@ export default {
|
|||||||
resultData = await deleteProposal({
|
resultData = await deleteProposal({
|
||||||
orderDTO: {
|
orderDTO: {
|
||||||
orderInfoDTO: {
|
orderInfoDTO: {
|
||||||
orderNo: this.$CacheUtils.getLocItem('orderNo')
|
orderNo: this.$CacheUtils.getLocItem('proposalNo')
|
||||||
},
|
},
|
||||||
insuredDTOs: [
|
insuredDTOs: [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -108,13 +108,13 @@ export default {
|
|||||||
return item
|
return item
|
||||||
})
|
})
|
||||||
this.values = data
|
this.values = data
|
||||||
for (let org of this.values) {
|
// for (let org of this.values) {
|
||||||
for (let shortName of orgShortNames) {
|
// for (let shortName of orgShortNames) {
|
||||||
if (org.code === shortName.code) {
|
// if (org.code === shortName.code) {
|
||||||
org.name = shortName.name
|
// org.name = shortName.name
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
this.calculateTotal()
|
this.calculateTotal()
|
||||||
},
|
},
|
||||||
calculateTotal() {
|
calculateTotal() {
|
||||||
|
|||||||
@@ -160,25 +160,25 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
setShortName() {
|
// setShortName() {
|
||||||
for (let org of this.values) {
|
// for (let org of this.values) {
|
||||||
for (let shortName of orgShortNames) {
|
// for (let shortName of orgShortNames) {
|
||||||
if (org.code === shortName.code) {
|
// if (org.code === shortName.code) {
|
||||||
org.name = shortName.name
|
// org.name = shortName.name
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
setTableData(data, type) {
|
setTableData(data, type) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'prem':
|
case 'prem':
|
||||||
this.values = data.list ? data.list : []
|
this.values = data.list ? data.list : []
|
||||||
this.setShortName()
|
// this.setShortName()
|
||||||
this.calculateTotal()
|
this.calculateTotal()
|
||||||
break
|
break
|
||||||
case 'active':
|
case 'active':
|
||||||
this.values = data.listRL ? data.listRL : []
|
this.values = data.listRL ? data.listRL : []
|
||||||
this.setShortName()
|
// this.setShortName()
|
||||||
this.calculateTotal()
|
this.calculateTotal()
|
||||||
break
|
break
|
||||||
case 'product':
|
case 'product':
|
||||||
|
|||||||
Reference in New Issue
Block a user