Browse Source

Merge remote-tracking branch 'origin/master'

master
fanzongzhe 2 years ago
parent
commit
607e813761
  1. 3
      anrui-base/anrui-base-api/src/main/java/com/yxt/anrui/base/api/basedistributor/app/BaseInfoDto.java
  2. 24
      anrui-base/anrui-base-biz/src/main/java/com/yxt/anrui/base/biz/basedistributor/BaseDistributorService.java
  3. 2
      anrui-base/anrui-base-biz/src/main/java/com/yxt/anrui/base/biz/basevehinstall/BaseVehinstallMapper.xml
  4. 2
      anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/chukushenqing.vue
  5. 11
      anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/relation/selectpackage.vue
  6. 4
      anrui-buscenter/anrui-buscenter-ui/src/views/discountpackagehandover/discountpackagehandover.vue
  7. 9
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/chukuguanliFlow/chukuguanli/relation/selectpackage.vue
  8. 3
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/xiaoshouguanliFlow/xiaoshoudingdanFlow/xiaoshoudingdanByJinRong.vue
  9. 7
      anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/finginvoiceapply/arrearscollection/arrearscollectionAdd.vue
  10. 7
      anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/finginvoiceapply/arrearscollection/arrearscollectionInfo.vue
  11. 7
      anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/qiankuanlingpiaoFlow/arrearscollectionByDivisionDaiBanInfo.vue
  12. 7
      anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/qiankuanlingpiaoFlow/arrearscollectionByFileDaiBanInfo.vue
  13. 7
      anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/qiankuanlingpiaoFlow/arrearscollectionDaiBanInfo.vue
  14. 7
      anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/qiankuanlingpiaoFlow/arrearscollectionEdit.vue
  15. 7
      anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/qiankuanlingpiaoFlow/arrearscollectionYiBanInfo.vue
  16. 2
      anrui-fin/anrui-fin-api/src/main/java/com/yxt/anrui/fin/api/finbillapplication/FinBillApplicationDetailsVo.java
  17. 14
      anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/finbillapplication/FinBillApplicationService.java
  18. 4
      anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/fincollectionconfirmation/FinCollectionConfirmationService.java
  19. 5
      anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/autoservice/advanceInvoice/AdvanceInvoiceDto.java
  20. 8
      anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/autoservice/advanceInvoice/AdvanceInvoiceInfoVo.java
  21. 4
      anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/autoservice/distributor/DisBaseInfoDto.java
  22. 17
      anrui-terminal/anrui-terminal-biz/src/main/java/com/yxt/anrui/terminal/biz/autoservice/advanceInvoice/AppBusAdvanceGinvoiceapplyService.java

3
anrui-base/anrui-base-api/src/main/java/com/yxt/anrui/base/api/basedistributor/app/BaseInfoDto.java

@ -32,7 +32,8 @@ public class BaseInfoDto implements Dto {
private String managementDetailAddress; private String managementDetailAddress;
@ApiModelProperty(value = "实际经营地址code") @ApiModelProperty(value = "实际经营地址code")
private String managementDetailAddressCode; // private String managementDetailAddressCode;
private String managementAddressCode;
@ApiModelProperty(value = "实际经营地址省") @ApiModelProperty(value = "实际经营地址省")
private String managementDetailAddressProvince; private String managementDetailAddressProvince;

24
anrui-base/anrui-base-biz/src/main/java/com/yxt/anrui/base/biz/basedistributor/BaseDistributorService.java

@ -616,10 +616,10 @@ public class BaseDistributorService extends MybatisBaseService<BaseDistributorMa
vo.setInvoiceInfo(baseInvoiceInfoVo); vo.setInvoiceInfo(baseInvoiceInfoVo);
BaseFileVo baseFileVo = new BaseFileVo(); BaseFileVo baseFileVo = new BaseFileVo();
//附件清单 //附件清单
List<String> businessLicense = baseDistributorAppendixService.selByLinkSidAndAttachTypeOne(sid, "0001"); List<String> businessLicense = baseDistributorAppendixService.selByLinkSidAndAttachTypeOne(sid, "营业执照");
List<String> transportPermit = baseDistributorAppendixService.selByLinkSidAndAttachTypeOne(sid, "0002"); List<String> transportPermit = baseDistributorAppendixService.selByLinkSidAndAttachTypeOne(sid, "道路运输许可证");
List<String> corporateIdCard = baseDistributorAppendixService.selByLinkSidAndAttachTypeOne(sid, "0003"); List<String> corporateIdCard = baseDistributorAppendixService.selByLinkSidAndAttachTypeOne(sid, "法人身份证");
List<String> otherInfo = baseDistributorAppendixService.selByLinkSidAndAttachTypeOne(sid, "0004"); List<String> otherInfo = baseDistributorAppendixService.selByLinkSidAndAttachTypeOne(sid, "其他资料");
baseFileVo.setBusinessLicense(businessLicense); baseFileVo.setBusinessLicense(businessLicense);
baseFileVo.setOtherInfo(otherInfo); baseFileVo.setOtherInfo(otherInfo);
baseFileVo.setCorporateIdCard(corporateIdCard); baseFileVo.setCorporateIdCard(corporateIdCard);
@ -804,10 +804,10 @@ public class BaseDistributorService extends MybatisBaseService<BaseDistributorMa
return rb.setMsg("该经销商不存在"); return rb.setMsg("该经销商不存在");
} }
BaseFileVo vo = new BaseFileVo(); BaseFileVo vo = new BaseFileVo();
List<String> businessLicense = baseDistributorAppendixService.selByLinkSidAndAttachTypeOne(sid, "0001"); List<String> businessLicense = baseDistributorAppendixService.selByLinkSidAndAttachTypeOne(sid, "营业执照");
List<String> transportPermit = baseDistributorAppendixService.selByLinkSidAndAttachTypeOne(sid, "0002"); List<String> transportPermit = baseDistributorAppendixService.selByLinkSidAndAttachTypeOne(sid, "道路运输许可证");
List<String> corporateIdCard = baseDistributorAppendixService.selByLinkSidAndAttachTypeOne(sid, "0003"); List<String> corporateIdCard = baseDistributorAppendixService.selByLinkSidAndAttachTypeOne(sid, "法人身份证");
List<String> otherInfo = baseDistributorAppendixService.selByLinkSidAndAttachTypeOne(sid, "0004"); List<String> otherInfo = baseDistributorAppendixService.selByLinkSidAndAttachTypeOne(sid, "其他资料");
vo.setBusinessLicense(businessLicense); vo.setBusinessLicense(businessLicense);
vo.setOtherInfo(otherInfo); vo.setOtherInfo(otherInfo);
vo.setCorporateIdCard(corporateIdCard); vo.setCorporateIdCard(corporateIdCard);
@ -828,17 +828,17 @@ public class BaseDistributorService extends MybatisBaseService<BaseDistributorMa
List<String> corporateIdCard = dto.getCorporateIdCard(); List<String> corporateIdCard = dto.getCorporateIdCard();
List<String> otherInfo = dto.getOtherInfo(); List<String> otherInfo = dto.getOtherInfo();
if (!businessLicense.isEmpty()) {//0001 if (!businessLicense.isEmpty()) {//0001
baseDistributorAppendixService.insertAppendix(dto.getDistributorSid(), businessLicense, "0001"); baseDistributorAppendixService.insertAppendix(dto.getDistributorSid(), businessLicense, "营业执照");
} }
if (!transportPermit.isEmpty()) {//0002 if (!transportPermit.isEmpty()) {//0002
baseDistributorAppendixService.insertAppendix(dto.getDistributorSid(), transportPermit, "0002"); baseDistributorAppendixService.insertAppendix(dto.getDistributorSid(), transportPermit, "道路运输许可证");
} }
if (!corporateIdCard.isEmpty()) {//0003 if (!corporateIdCard.isEmpty()) {//0003
baseDistributorAppendixService.insertAppendix(dto.getDistributorSid(), corporateIdCard, "0003"); baseDistributorAppendixService.insertAppendix(dto.getDistributorSid(), corporateIdCard, "法人身份证");
} }
if (!otherInfo.isEmpty()) {//0004 if (!otherInfo.isEmpty()) {//0004
baseDistributorAppendixService.insertAppendix(dto.getDistributorSid(), otherInfo, "0004"); baseDistributorAppendixService.insertAppendix(dto.getDistributorSid(), otherInfo, "其他资料");
} }
return rb.success(); return rb.success();

2
anrui-base/anrui-base-biz/src/main/java/com/yxt/anrui/base/biz/basevehinstall/BaseVehinstallMapper.xml

@ -42,7 +42,7 @@
select * select *
from base_vehinstall from base_vehinstall
where useOrgSid = #{useOrgSid} where useOrgSid = #{useOrgSid}
and vinNo = #{vinNo} and vinNo like concat('%',#{vinNo},'%')
</select> </select>
<select id="seletByVinAndUseOrg" resultType="com.yxt.anrui.base.api.basevehinstall.BaseVehinstall"> <select id="seletByVinAndUseOrg" resultType="com.yxt.anrui.base.api.basevehinstall.BaseVehinstall">

2
anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/chukushenqing.vue

@ -229,7 +229,7 @@ export default {
procInsId: row.procInstId, procInsId: row.procInstId,
token: getStorage() token: getStorage()
} }
this.url = 'http://localhost:9530/#/flow/flowRecordForBusiness?data=' + encodeURI((JSON.stringify(params))) this.url = '/#/flow/flowRecordForBusiness?data=' + encodeURI((JSON.stringify(params)))
}, },
// ========== ========== // ========== ==========
init() { init() {

11
anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/relation/selectpackage.vue

@ -26,7 +26,7 @@
</el-table-column> </el-table-column>
<el-table-column label="本次赠送数量" align="center" width="200"> <el-table-column label="本次赠送数量" align="center" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input :disabled="scope.row.discountLeaveNum == '0'" v-model="scope.row.discountNum" placeholder=""/> <el-input :disabled="scope.row.discountLeaveNum == '0'" @change="changeByDiscountNum($event, scope.row)" v-model="scope.row.discountNum" placeholder=""/>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -105,6 +105,13 @@ export default {
this.list = aa this.list = aa
this.vinSid = vinSid this.vinSid = vinSid
}, },
changeByDiscountNum(val, row) {
if (parseInt(row.discountLeaveNum) - parseInt(val) < 0) {
row.discountNum = row.discountLeaveNum
} else {
row.discountNum = val
}
},
doCreate() { doCreate() {
for (var i = 0; i < this.list.length; i++) { for (var i = 0; i < this.list.length; i++) {
if (this.list[i].discountNum === '') { if (this.list[i].discountNum === '') {
@ -115,7 +122,7 @@ export default {
}, },
doClose() { doClose() {
this.$emit('doback') this.$emit('doback')
}, }
} }
} }
</script> </script>

4
anrui-buscenter/anrui-buscenter-ui/src/views/discountpackagehandover/discountpackagehandover.vue

@ -43,10 +43,12 @@
<el-table-column width="60" label="序号" type="index" :index="indexMethod" align="center"/> <el-table-column width="60" label="序号" type="index" :index="indexMethod" align="center"/>
<el-table-column label="操作" width="180" align="center"> <el-table-column label="操作" width="180" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<div style="display: flex;flex-direction: row;justify-content: space-between;align-items: center">
<el-button type="primary" size="mini" @click="handLook(scope.row)">查看</el-button> <el-button type="primary" size="mini" @click="handLook(scope.row)">查看</el-button>
<div class="upload_img"> <div style="padding-left: 10px">
<uploadFile ref="uploadMoreImg" v-model="imgList" bucket="map" @eett="backData(scope.row)" :upload-data="{type:'0001'}"></uploadFile> <uploadFile ref="uploadMoreImg" v-model="imgList" bucket="map" @eett="backData(scope.row)" :upload-data="{type:'0001'}"></uploadFile>
</div> </div>
</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="创建日期" align="center"> <el-table-column label="创建日期" align="center">

9
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/chukuguanliFlow/chukuguanli/relation/selectpackage.vue

@ -26,7 +26,7 @@
</el-table-column> </el-table-column>
<el-table-column label="本次赠送数量" align="center" width="200"> <el-table-column label="本次赠送数量" align="center" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-model="scope.row.discountNum" placeholder=""/> <el-input v-model="scope.row.discountNum" @change="changeByDiscountNum($event, scope.row)" placeholder=""/>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -105,6 +105,13 @@ export default {
this.list = aa this.list = aa
this.vinSid = vinSid this.vinSid = vinSid
}, },
changeByDiscountNum(val, row) {
if (parseInt(row.discountLeaveNum) - parseInt(val) < 0) {
row.discountNum = row.discountLeaveNum
} else {
row.discountNum = val
}
},
doCreate() { doCreate() {
for (var i = 0; i < this.list.length; i++) { for (var i = 0; i < this.list.length; i++) {
if (this.list[i].discountNum === '') { if (this.list[i].discountNum === '') {

3
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/xiaoshouguanliFlow/xiaoshoudingdanFlow/xiaoshoudingdanByJinRong.vue

@ -660,9 +660,6 @@ export default {
align-items: center; align-items: center;
margin-bottom: 1px; margin-bottom: 1px;
} }
.addinputInfo {
margin-left: 120px !important;
}
.tlineheightb { .tlineheightb {
display: flex; display: flex;
flex-direction: row; flex-direction: row;

7
anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/finginvoiceapply/arrearscollection/arrearscollectionAdd.vue

@ -90,7 +90,7 @@
</el-table-column> </el-table-column>
<el-table-column label="合格证状态" align="center"> <el-table-column label="合格证状态" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.certificateStateValue }}</span> <span class="bluezi" @click="handleLook(scope.row.certificatePhoto)">{{ scope.row.certificateStateValue }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -154,7 +154,7 @@
</el-table-column> </el-table-column>
<el-table-column label="合格证" align="center"> <el-table-column label="合格证" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span class="bluezi" @click="handleLook(scope.row)">查看</span> <span class="bluezi" @click="handleLook(scope.row.hgzImageUrl)">查看</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -293,8 +293,9 @@ export default {
}) })
}, },
handleLook(row) { handleLook(row) {
this.srcList = []
this.dialogVisible = true this.dialogVisible = true
this.srcList = row.hgzImageUrl this.srcList = row
}, },
totalBillMoney() { totalBillMoney() {
var aa = 0 var aa = 0

7
anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/finginvoiceapply/arrearscollection/arrearscollectionInfo.vue

@ -86,7 +86,7 @@
</el-table-column> </el-table-column>
<el-table-column label="合格证状态" align="center"> <el-table-column label="合格证状态" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.certificateStateValue }}</span> <span class="bluezi" @click="handleLook(scope.row.certificatePhoto)">{{ scope.row.certificateStateValue }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -150,7 +150,7 @@
</el-table-column> </el-table-column>
<el-table-column label="合格证" align="center"> <el-table-column label="合格证" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span class="bluezi" @click="handleLook(scope.row)">查看</span> <span class="bluezi" @click="handleLook(scope.row.hgzImageUrl)">查看</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -265,8 +265,9 @@ export default {
return aa return aa
}, },
handleLook(row) { handleLook(row) {
this.srcList = []
this.dialogVisible = true this.dialogVisible = true
this.srcList = row.hgzImageUrl this.srcList = row
}, },
// //
handleReturn() { handleReturn() {

7
anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/qiankuanlingpiaoFlow/arrearscollectionByDivisionDaiBanInfo.vue

@ -88,7 +88,7 @@
</el-table-column> </el-table-column>
<el-table-column label="合格证状态" align="center"> <el-table-column label="合格证状态" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.certificateStateValue }}</span> <span class="bluezi" @click="handleLook(scope.row.certificatePhoto)">{{ scope.row.certificateStateValue }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -152,7 +152,7 @@
</el-table-column> </el-table-column>
<el-table-column label="合格证" align="center"> <el-table-column label="合格证" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span class="bluezi" @click="handleLook(scope.row)">查看</span> <span class="bluezi" @click="handleLook(scope.row.hgzImageUrl)">查看</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -335,8 +335,9 @@ export default {
}) })
}, },
handleLook(row) { handleLook(row) {
this.srcList = []
this.dialogVisible = true this.dialogVisible = true
this.srcList = row.hgzImageUrl this.srcList = row
}, },
totalBillMoney() { totalBillMoney() {
var aa = 0 var aa = 0

7
anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/qiankuanlingpiaoFlow/arrearscollectionByFileDaiBanInfo.vue

@ -88,7 +88,7 @@
</el-table-column> </el-table-column>
<el-table-column label="合格证状态" align="center"> <el-table-column label="合格证状态" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.certificateStateValue }}</span> <span class="bluezi" @click="handleLook(scope.row.certificatePhoto)">{{ scope.row.certificateStateValue }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -152,7 +152,7 @@
</el-table-column> </el-table-column>
<el-table-column label="合格证" align="center"> <el-table-column label="合格证" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span class="bluezi" @click="handleLook(scope.row)">查看</span> <span class="bluezi" @click="handleLook(scope.row.hgzImageUrl)">查看</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -356,8 +356,9 @@ export default {
return aa return aa
}, },
handleLook(row) { handleLook(row) {
this.srcList = []
this.dialogVisible = true this.dialogVisible = true
this.srcList = row.hgzImageUrl this.srcList = row
}, },
getUrl() { getUrl() {
if (this.image_list1.length > 0) { if (this.image_list1.length > 0) {

7
anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/qiankuanlingpiaoFlow/arrearscollectionDaiBanInfo.vue

@ -88,7 +88,7 @@
</el-table-column> </el-table-column>
<el-table-column label="合格证状态" align="center"> <el-table-column label="合格证状态" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.certificateStateValue }}</span> <span class="bluezi" @click="handleLook(scope.row.certificatePhoto)">{{ scope.row.certificateStateValue }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -152,7 +152,7 @@
</el-table-column> </el-table-column>
<el-table-column label="合格证" align="center"> <el-table-column label="合格证" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span class="bluezi" @click="handleLook(scope.row)">查看</span> <span class="bluezi" @click="handleLook(scope.row.hgzImageUrl)">查看</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -342,8 +342,9 @@ export default {
return aa return aa
}, },
handleLook(row) { handleLook(row) {
this.srcList = []
this.dialogVisible = true this.dialogVisible = true
this.srcList = row.hgzImageUrl this.srcList = row
}, },
// //
openAgree(val) { openAgree(val) {

7
anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/qiankuanlingpiaoFlow/arrearscollectionEdit.vue

@ -89,7 +89,7 @@
</el-table-column> </el-table-column>
<el-table-column label="合格证状态" align="center"> <el-table-column label="合格证状态" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.certificateStateValue }}</span> <span class="bluezi" @click="handleLook(scope.row.certificatePhoto)">{{ scope.row.certificateStateValue }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -153,7 +153,7 @@
</el-table-column> </el-table-column>
<el-table-column label="合格证" align="center"> <el-table-column label="合格证" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span class="bluezi" @click="handleLook(scope.row)">查看</span> <span class="bluezi" @click="handleLook(scope.row.hgzImageUrl)">查看</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -302,8 +302,9 @@ export default {
return aa return aa
}, },
handleLook(row) { handleLook(row) {
this.srcList = []
this.dialogVisible = true this.dialogVisible = true
this.srcList = row.hgzImageUrl this.srcList = row
}, },
handleSave() { handleSave() {
this.$refs['form_obj'].validate((valid) => { this.$refs['form_obj'].validate((valid) => {

7
anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/qiankuanlingpiaoFlow/arrearscollectionYiBanInfo.vue

@ -86,7 +86,7 @@
</el-table-column> </el-table-column>
<el-table-column label="合格证状态" align="center"> <el-table-column label="合格证状态" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.certificateStateValue }}</span> <span class="bluezi" @click="handleLook(scope.row.certificatePhoto)">{{ scope.row.certificateStateValue }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -150,7 +150,7 @@
</el-table-column> </el-table-column>
<el-table-column label="合格证" align="center"> <el-table-column label="合格证" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span class="bluezi" @click="handleLook(scope.row)">查看</span> <span class="bluezi" @click="handleLook(scope.row.hgzImageUrl)">查看</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -299,8 +299,9 @@ export default {
return aa return aa
}, },
handleLook(row) { handleLook(row) {
this.srcList = []
this.dialogVisible = true this.dialogVisible = true
this.srcList = row.hgzImageUrl this.srcList = row
}, },
/** 确认撤回任务 */ /** 确认撤回任务 */
openRevoke() { openRevoke() {

2
anrui-fin/anrui-fin-api/src/main/java/com/yxt/anrui/fin/api/finbillapplication/FinBillApplicationDetailsVo.java

@ -138,6 +138,8 @@ public class FinBillApplicationDetailsVo extends AppBillApplicationIInfoVo imple
private String billNo; // 单据编号 private String billNo; // 单据编号
@ApiModelProperty("提前领取发票原件原因") @ApiModelProperty("提前领取发票原件原因")
private String reason; private String reason;
@ApiModelProperty("欠款开票单据编号(欠款领票使用)")
private String qkkpBillNo;
@ApiModelProperty(value = "节点状态") @ApiModelProperty(value = "节点状态")
private String nodeState; private String nodeState;

14
anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/finbillapplication/FinBillApplicationService.java

@ -1363,6 +1363,11 @@ public class FinBillApplicationService extends MybatisBaseService<FinBillApplica
//欠款金额合计 //欠款金额合计
BigDecimal qkMoneyTotal = qkMoneyOne.multiply(new BigDecimal(finBillVehicles.size())); BigDecimal qkMoneyTotal = qkMoneyOne.multiply(new BigDecimal(finBillVehicles.size()));
finBillApplication.setArrearsMoney(qkMoneyTotal.toString()); finBillApplication.setArrearsMoney(qkMoneyTotal.toString());
//单台开票金额
BigDecimal oneBillMoney = finBillApplication.getOneBillMoney();
//计算开票金额合计
BigDecimal totalBillMoney = oneBillMoney.multiply(new BigDecimal(finBillVehicles.size()));
finBillApplication.setTotalBillMoney(totalBillMoney);
save(finBillApplication); save(finBillApplication);
//主车开票信息 //主车开票信息
for (FinBillVehicleDto finBillVehicleDto : finBillVehicles) { for (FinBillVehicleDto finBillVehicleDto : finBillVehicles) {
@ -1543,6 +1548,11 @@ public class FinBillApplicationService extends MybatisBaseService<FinBillApplica
finBillApplication.setBillStateKey("004"); finBillApplication.setBillStateKey("004");
finBillApplication.setBillStateValue("欠款领票"); finBillApplication.setBillStateValue("欠款领票");
finBillApplication.setNum(finBillVehicles.size()); finBillApplication.setNum(finBillVehicles.size());
//单台开票金额
BigDecimal oneBillMoney = finBillApplication.getOneBillMoney();
//计算开票金额合计
BigDecimal totalBillMoney = oneBillMoney.multiply(new BigDecimal(finBillVehicles.size()));
finBillApplication.setTotalBillMoney(totalBillMoney);
save(finBillApplication); save(finBillApplication);
//主车开票信息 //主车开票信息
for (FinBillVehicleDto finBillVehicleDto : finBillVehicles) { for (FinBillVehicleDto finBillVehicleDto : finBillVehicles) {
@ -2215,6 +2225,10 @@ public class FinBillApplicationService extends MybatisBaseService<FinBillApplica
public ResultBean companyToDivisionOperateQK(BusinessVariables bv) { public ResultBean companyToDivisionOperateQK(BusinessVariables bv) {
ResultBean rb = ResultBean.fireFail(); ResultBean rb = ResultBean.fireFail();
FinBillApplication finBillApplication = fetchBySid(bv.getBusinessSid()); FinBillApplication finBillApplication = fetchBySid(bv.getBusinessSid());
if (finBillApplication.getIsLQOrigInvoice().equals("否")){
ResultBean resultBean = completeQK(bv);
return resultBean;
}
bv.setOrgSidPath(finBillApplication.getOrgSidPath()); bv.setOrgSidPath(finBillApplication.getOrgSidPath());
//判断是否领取发票原件,若是,则isTrue网关参数为true=============添加 //判断是否领取发票原件,若是,则isTrue网关参数为true=============添加
bv.getFormVariables().put("isAdj", finBillApplication.getIsLQOrigInvoice().equals("是")); bv.getFormVariables().put("isAdj", finBillApplication.getIsLQOrigInvoice().equals("是"));

4
anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/fincollectionconfirmation/FinCollectionConfirmationService.java

@ -1954,10 +1954,10 @@ public class FinCollectionConfirmationService extends MybatisBaseService<FinColl
//外部金融:成交价 = 订金+车款+厂家贴息-服务费 //外部金融:成交价 = 订金+车款+厂家贴息-服务费
leftAll = leftAll.add(singleFinalPrice); leftAll = leftAll.add(singleFinalPrice);
if (StringUtils.isNotBlank(solutionsDetailsVo.getFactoryDiscount())) { if (StringUtils.isNotBlank(solutionsDetailsVo.getFactoryDiscount())) {
leftAll = leftAll.add(new BigDecimal(solutionsDetailsVo.getFactoryDiscount())); leftAll = leftAll.subtract(new BigDecimal(solutionsDetailsVo.getFactoryDiscount()));
} }
if (StringUtils.isNotBlank(solutionsDetailsVo.getServiceAmount())) { if (StringUtils.isNotBlank(solutionsDetailsVo.getServiceAmount())) {
leftAll = leftAll.subtract(new BigDecimal(solutionsDetailsVo.getServiceAmount())); leftAll = leftAll.add(new BigDecimal(solutionsDetailsVo.getServiceAmount()));
} }
rightAll = rightAll.add(bigDecimalVinAll); rightAll = rightAll.add(bigDecimalVinAll);
} else { } else {

5
anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/autoservice/advanceInvoice/AdvanceInvoiceDto.java

@ -85,4 +85,9 @@ public class AdvanceInvoiceDto implements Dto {
private String modelName; // 车型名称 private String modelName; // 车型名称
@ApiModelProperty("提前领取发票原件原因") @ApiModelProperty("提前领取发票原件原因")
private String reason; private String reason;
@ApiModelProperty("开票总金额")
private String invoiceMoneyTotal;
@ApiModelProperty("欠款开票单据编号(欠款领票使用)")
private String qkkpBillNo;
} }

8
anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/autoservice/advanceInvoice/AdvanceInvoiceInfoVo.java

@ -38,12 +38,14 @@ public class AdvanceInvoiceInfoVo implements Vo {
private String openTickSid; private String openTickSid;
@ApiModelProperty("默认开票名称") @ApiModelProperty("默认开票名称")
private String openTickName; private String openTickName;
@ApiModelProperty("单台开票价")
private String invoiceMoney;
@ApiModelProperty("选择车辆列表") @ApiModelProperty("选择车辆列表")
private List<AppCarListVo> vinList = new ArrayList<>(); private List<AppCarListVo> vinList = new ArrayList<>();
@ApiModelProperty("单台开票价")
private String invoiceMoney;
@ApiModelProperty("欠款总金额") @ApiModelProperty("欠款总金额")
private String invoiceTotal; private String invoiceTotal;
@ApiModelProperty("开票总金额")
private String invoiceMoneyTotal;
@ApiModelProperty("回款日期") @ApiModelProperty("回款日期")
private String collectionDate; private String collectionDate;
@ApiModelProperty("欠款原因key") @ApiModelProperty("欠款原因key")
@ -88,4 +90,6 @@ public class AdvanceInvoiceInfoVo implements Vo {
private String modelName; private String modelName;
@ApiModelProperty("提前领取发票原件原因") @ApiModelProperty("提前领取发票原件原因")
private String reason; private String reason;
@ApiModelProperty("欠款开票单据编号(欠款领票使用)")
private String qkkpBillNo;
} }

4
anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/autoservice/distributor/DisBaseInfoDto.java

@ -38,7 +38,9 @@ public class DisBaseInfoDto implements Dto {
private String managementDetailAddress; private String managementDetailAddress;
@ApiModelProperty(value = "实际经营地址code") @ApiModelProperty(value = "实际经营地址code")
private String managementDetailAddressCode; // private String managementDetailAddressCode;
@JsonProperty("managementDetailAddressCode")
private String managementAddressCode;
@ApiModelProperty(value = "实际经营地址省") @ApiModelProperty(value = "实际经营地址省")
private String managementDetailAddressProvince; private String managementDetailAddressProvince;

17
anrui-terminal/anrui-terminal-biz/src/main/java/com/yxt/anrui/terminal/biz/autoservice/advanceInvoice/AppBusAdvanceGinvoiceapplyService.java

@ -325,6 +325,7 @@ public class AppBusAdvanceGinvoiceapplyService {
vo.setGetOriginalValue(finBillApplicationDetailsVo.getIsLQOrigInvoice()); vo.setGetOriginalValue(finBillApplicationDetailsVo.getIsLQOrigInvoice());
vo.setProcInsId(finBillApplicationDetailsVo.getProcInstSid()); vo.setProcInsId(finBillApplicationDetailsVo.getProcInstSid());
vo.setInvoiceTotal(finBillApplicationDetailsVo.getArrearsMoney()); vo.setInvoiceTotal(finBillApplicationDetailsVo.getArrearsMoney());
vo.setInvoiceMoneyTotal(finBillApplicationDetailsVo.getTotalBillMoney());
vo.setOrgPath(finBillApplicationDetailsVo.getOrgSidPath()); vo.setOrgPath(finBillApplicationDetailsVo.getOrgSidPath());
vo.setSaleType(finBillApplicationDetailsVo.getSaleTypeValue()); vo.setSaleType(finBillApplicationDetailsVo.getSaleTypeValue());
vo.setSellerDept(finBillApplicationDetailsVo.getSaleDeptName()); vo.setSellerDept(finBillApplicationDetailsVo.getSaleDeptName());
@ -340,6 +341,16 @@ public class AppBusAdvanceGinvoiceapplyService {
vo.setModelSid(finBillApplicationDetailsVo.getModelSid()); vo.setModelSid(finBillApplicationDetailsVo.getModelSid());
vo.setModelName(finBillApplicationDetailsVo.getModelName()); vo.setModelName(finBillApplicationDetailsVo.getModelName());
vo.setPublishInfo(finBillApplicationDetailsVo.getDeptName() + "-" + finBillApplicationDetailsVo.getCreateByName()); vo.setPublishInfo(finBillApplicationDetailsVo.getDeptName() + "-" + finBillApplicationDetailsVo.getCreateByName());
String reasonValue = vo.getReasonValue();
String remarks = vo.getRemarks();
String reasonRemarks = "";
if (StringUtils.isNotBlank(remarks)){
reasonRemarks = reasonValue + " \n" + remarks;
}else {
reasonRemarks = reasonValue;
}
vo.setReasonRemarks(reasonRemarks);
vo.setReason(finBillApplicationDetailsVo.getReason());
//车辆信息 //车辆信息
List<AppCarListVo> vinListVos = new ArrayList<>(); List<AppCarListVo> vinListVos = new ArrayList<>();
List<FinBillVehicleVo> finBillVehicles = finBillApplicationDetailsVo.getFinBillVehicles(); List<FinBillVehicleVo> finBillVehicles = finBillApplicationDetailsVo.getFinBillVehicles();
@ -498,6 +509,12 @@ public class AppBusAdvanceGinvoiceapplyService {
FinBillApplicationDto finBillApplicationDto = new FinBillApplicationDto(); FinBillApplicationDto finBillApplicationDto = new FinBillApplicationDto();
BeanUtil.copyProperties(dto, finBillApplicationDto); BeanUtil.copyProperties(dto, finBillApplicationDto);
String useOrgSid = sysStaffOrgFeign.getOrgSidByPath(dto.getOrgPath()).getData(); String useOrgSid = sysStaffOrgFeign.getOrgSidByPath(dto.getOrgPath()).getData();
if (StringUtils.isBlank(dto.getQkkpBillNo())){
finBillApplicationDto.setQkkpBillNo(dto.getBillNo());
}else {
finBillApplicationDto.setQkkpBillNo(dto.getQkkpBillNo());
}
finBillApplicationDto.setTotalBillMoney(dto.getInvoiceMoneyTotal());
finBillApplicationDto.setUseOrgSid(useOrgSid); finBillApplicationDto.setUseOrgSid(useOrgSid);
finBillApplicationDto.setCreateBySid(dto.getUserSid()); finBillApplicationDto.setCreateBySid(dto.getUserSid());
finBillApplicationDto.setArrearsMoney(dto.getInvoiceTotal()); finBillApplicationDto.setArrearsMoney(dto.getInvoiceTotal());

Loading…
Cancel
Save