Browse Source

Merge remote-tracking branch 'origin/master'

zhanglei
fanzongzhe 2 years ago
parent
commit
56191330e3
  1. 3
      anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busdeliveredapplydetails/AppCarListVo.java
  2. 3
      anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busbillapplication/BusBillApplicationMapper.java
  3. 4
      anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busbillapplication/BusBillApplicationMapper.xml
  4. 5
      anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busbillapplication/BusBillApplicationService.java
  5. 26
      anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busdelivered/BusDeliveredService.java
  6. 137
      anrui-buscenter/anrui-buscenter-ui/src/api/financialschememodification/financialschememodification.js
  7. 2
      anrui-buscenter/anrui-buscenter-ui/src/components/publicPage/dingdanInfo.vue
  8. 257
      anrui-buscenter/anrui-buscenter-ui/src/components/publicPage/financialscheme.vue
  9. 77
      anrui-buscenter/anrui-buscenter-ui/src/components/publicPage/financialschemeEdit.vue
  10. 8
      anrui-buscenter/anrui-buscenter-ui/src/components/publicPage/financialschemeInfo.vue
  11. 39
      anrui-buscenter/anrui-buscenter-ui/src/router/index.js
  12. 2
      anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/relation/financialquotationsheet.vue
  13. 382
      anrui-buscenter/anrui-buscenter-ui/src/views/financialschememodification/financialschememodification.vue
  14. 257
      anrui-buscenter/anrui-buscenter-ui/src/views/financialschememodification/financialschememodificationAdd.vue
  15. 193
      anrui-buscenter/anrui-buscenter-ui/src/views/financialschememodification/financialschememodificationInfo.vue
  16. 6
      anrui-buscenter/anrui-buscenter-ui/src/views/kehuguanli/cheliangxuqiu/cheliangxuqiuAdd.vue
  17. 2
      anrui-buscenter/anrui-buscenter-ui/src/views/kehuguanli/cheliangxuqiu/cheliangxuqiuinfo.vue
  18. 454
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/jinrongbiangengFlow/financialschememodificationDaiBan.vue
  19. 236
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/jinrongbiangengFlow/financialschememodificationEdit.vue
  20. 240
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/jinrongbiangengFlow/financialschememodificationYiBan.vue
  21. 2
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/dingdanInfo.vue
  22. 51
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/financialscheme.vue
  23. 20
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/financialschemeEdit.vue
  24. 6
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/financialschemeInfo.vue
  25. 2
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/xiaoshouguanliFlow/xiaoshoudingdanFlow/xiaoshoudingdan.vue
  26. 2
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/xiaoshouguanliFlow/xiaoshoudingdanFlow/xiaoshoudingdanByCaiGou.vue
  27. 4
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/xiaoshouguanliFlow/xiaoshoudingdanFlow/xiaoshoudingdanByJinRong.vue
  28. 2
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/xiaoshouguanliFlow/xiaoshoudingdanFlow/xiaoshoudingdanInfo.vue
  29. 13
      anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/xiaoshoudingdan.vue
  30. 2
      anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/xiaoshoudingdanInfo.vue
  31. 3
      anrui-crm/anrui-crm-api/src/main/java/com/yxt/anrui/crm/api/crmcustomertemp/CrmCustomerTempFeign.java
  32. 5
      anrui-crm/anrui-crm-api/src/main/java/com/yxt/anrui/crm/api/crmcustomertemp/CrmCustomerTempFeignFallback.java
  33. 3
      anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempMapper.java
  34. 6
      anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempMapper.xml
  35. 7
      anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempRest.java
  36. 4
      anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempService.java
  37. 3
      anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/finbillapplication/FinBillApplicationService.java
  38. 9
      anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loancapitalcreditresult/LoanCapitalCreditResultService.java
  39. 7
      anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanhomevisitinvestigate/LoanHomevisitInvestigateService.java
  40. 1
      anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanhomevisitprep/LoanHomevisitPrepService.java
  41. 6
      anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanpreloancreditapply/LoanPreloanCreditApplyService.java
  42. 3
      anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/autoservice/retrieval/CarListVo2.java
  43. 2
      anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/autoservice/retrieval/DeliveredDetailsVoQk2.java

3
anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busdeliveredapplydetails/AppCarListVo.java

@ -32,5 +32,8 @@ public class AppCarListVo implements Vo {
@ApiModelProperty("资料是否齐全:0未齐全/1已齐全")
private String zlState;
private String qkKpSid;
private String qkLpSid;
}

3
anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busbillapplication/BusBillApplicationMapper.java

@ -34,6 +34,7 @@ import com.yxt.anrui.buscenter.api.busbillapplication.BusBillApplication;
import com.yxt.anrui.buscenter.api.busbillapplication.BusBillApplicationDetailsVo;
import com.yxt.anrui.buscenter.api.busbillapplication.BusBillApplicationVo;
import com.yxt.anrui.buscenter.api.busbillapplication.*;
import com.yxt.anrui.fin.api.finbillapplication.FinBillApplication;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
@ -77,4 +78,6 @@ public interface BusBillApplicationMapper extends BaseMapper<BusBillApplication>
BusBillApplication selectByCkSidAll(String sid);
BusBillApplication selectByContractNoAndSid(@Param("contractNo") String contractNo, @Param("vinSid") String vinSid);
FinBillApplication selectByNo(String billNo);
}

4
anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busbillapplication/BusBillApplicationMapper.xml

@ -98,4 +98,8 @@
left join anrui_fin.fin_bill_vehicle bvv on ba.sid = bvv.billAppSid
where ba.contractNo = #{contractNo} and bvv.vehSid = #{vinSid} and ba.billStateKey = '003' and ba.nodeState = '已办结' order by id desc limit 1
</select>
<select id="selectByNo" resultType="com.yxt.anrui.fin.api.finbillapplication.FinBillApplication">
select bi.* from anrui_fin.fin_bill_application bi where bi.qkkpBillNo = #{billNo} order by id desc limit 1
</select>
</mapper>

5
anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busbillapplication/BusBillApplicationService.java

@ -60,6 +60,7 @@ import com.yxt.anrui.buscenter.api.busbilltrailer.BusBillTrailerVo;
import com.yxt.anrui.buscenter.biz.busdeliveredapply.BusDeliveredApplyService;
import com.yxt.anrui.buscenter.biz.busdeliveredapplydetails.BusDeliveredApplyDetailsService;
import com.yxt.anrui.buscenter.biz.bussalesorder.BusSalesOrderService;
import com.yxt.anrui.fin.api.finbillapplication.FinBillApplication;
import com.yxt.anrui.fin.api.fincompanyinvoicing.FinCompanyInvoicingDetailsVo;
import com.yxt.anrui.fin.api.fincompanyinvoicing.FinCompanyInvoicingFeign;
import com.yxt.common.base.config.component.FileUploadComponent;
@ -468,4 +469,8 @@ public class BusBillApplicationService extends MybatisBaseService<BusBillApplica
public BusBillApplication selectByContractNoAndSid(String contractNo, String vinSid) {
return baseMapper.selectByContractNoAndSid(contractNo,vinSid);
}
public FinBillApplication selectByNo(String billNo) {
return baseMapper.selectByNo(billNo);
}
}

26
anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busdelivered/BusDeliveredService.java

@ -34,6 +34,7 @@ import com.yxt.anrui.base.api.basetrailer.BaseTrailerFeign;
import com.yxt.anrui.base.api.basetrailer.TraliveredVo;
import com.yxt.anrui.base.api.basevehicle.BaseVehicleFeign;
import com.yxt.anrui.base.api.basevehicletempstate.BaseVehicleTempstateFeign;
import com.yxt.anrui.buscenter.api.busbillapplication.BusBillApplication;
import com.yxt.anrui.buscenter.api.busdelivered.*;
import com.yxt.anrui.buscenter.api.busdeliveredapply.BusDeliveredApply;
import com.yxt.anrui.buscenter.api.busdeliveredapply.DeliveredDetailsVo2;
@ -50,6 +51,7 @@ import com.yxt.anrui.buscenter.api.bussalesorder.app.order.AppOrderPriceInfoVo;
import com.yxt.anrui.buscenter.api.bussalesorderdiscount.BusSalesOrderDiscount;
import com.yxt.anrui.buscenter.api.bussalesordersubmit.SubmitVo;
import com.yxt.anrui.buscenter.api.bussalesordervehicle.BusSalesOrderVehicle;
import com.yxt.anrui.buscenter.biz.busbillapplication.BusBillApplicationService;
import com.yxt.anrui.buscenter.biz.busdeliveredapply.BusDeliveredApplyService;
import com.yxt.anrui.buscenter.biz.busdeliveredapplydetails.BusDeliveredApplyDetailsService;
import com.yxt.anrui.buscenter.biz.busdelivereddetailsdiscount.BusDeliveredDetailsDiscountService;
@ -57,6 +59,7 @@ import com.yxt.anrui.buscenter.biz.busdeliveredusemessage.BusDeliveredUseMessage
import com.yxt.anrui.buscenter.biz.bussalesorder.BusSalesOrderService;
import com.yxt.anrui.buscenter.biz.bussalesorderdiscount.BusSalesOrderDiscountService;
import com.yxt.anrui.buscenter.biz.bussalesordervehicle.BusSalesOrderVehicleService;
import com.yxt.anrui.fin.api.finbillapplication.FinBillApplication;
import com.yxt.anrui.portal.api.dictcommon.DictCommonFeign;
import com.yxt.anrui.portal.api.dictcommon.DictCommonVo;
import com.yxt.anrui.portal.api.sysorganization.SysOrganizationFeign;
@ -130,6 +133,8 @@ public class BusDeliveredService extends MybatisBaseService<BusDeliveredMapper,
private LoanFileexamineFeign loanFileexamineFeign;
@Autowired
private FileUploadComponent fileUploadComponent;
@Autowired
private BusBillApplicationService busBillApplicationService;
/**
* 待出库车辆分页列表
@ -992,9 +997,20 @@ public class BusDeliveredService extends MybatisBaseService<BusDeliveredMapper,
//根据合同编号和车辆sid查询
for (int i = 0; i < list.size(); i++) {
String vinSid = list.get(i);
//根据合同编号和车辆sid查询销售订单的车辆信息
BusSalesOrderVehicle busSalesOrderVehicle = busSalesOrderVehicleService.selectByNoAndVinSid(contractNo, vinSid);
AppCarListVo appCarListVo = new AppCarListVo();
//根据合同和车辆sid获取欠款开票的信息
BusBillApplication busBillApplication = busBillApplicationService.selectByContractNoAndSid(query.getContractId(), vinSid);
if(busBillApplication != null){
appCarListVo.setQkKpSid(busBillApplication.getSid());
//根据欠款开票的编号查询
FinBillApplication finBillApplication = busBillApplicationService.selectByNo(busBillApplication.getBillNo());
if(finBillApplication != null){
appCarListVo.setQkLpSid(finBillApplication.getSid());
}
}
appCarListVo.setVinSid(list.get(i));
//查询该车辆是否有挂车
ResultBean<TraliveredVo> trailerList = baseTrailerFeign.trailerList(vinSid, contractNo);
@ -1307,6 +1323,16 @@ public class BusDeliveredService extends MybatisBaseService<BusDeliveredMapper,
BusDeliveredUseMessagesVo deliveredUseMessagesVo = new BusDeliveredUseMessagesVo();
deliveredUseMessagesVo.setVin(busSalesOrderVehicle.getLinkNo().substring(busSalesOrderVehicle.getLinkNo().length() - 8));
appCarListVo.setRealBuyer(deliveredUseMessagesVo);
//根据合同和车辆sid获取欠款开票的信息
BusBillApplication busBillApplication = busBillApplicationService.selectByContractNoAndSid(query.getContractNo(), vinSid);
if(busBillApplication != null){
appCarListVo.setQkKpSid(busBillApplication.getSid());
//根据欠款开票的编号查询
FinBillApplication finBillApplication = busBillApplicationService.selectByNo(busBillApplication.getBillNo());
if(finBillApplication != null){
appCarListVo.setQkLpSid(finBillApplication.getSid());
}
}
list.add(appCarListVo);
}
return rb.success().setData(list);

137
anrui-buscenter/anrui-buscenter-ui/src/api/financialschememodification/financialschememodification.js

@ -0,0 +1,137 @@
import request from '@/utils/request'
// 分页列表
export function pagerList(data) {
return request({
url: '/buscenter/v1/bussolutionschange/listPage',
method: 'post',
data: data,
headers: {
'Content-Type': 'application/json'
}
})
}
// 初始化
export function changeInit(data) {
return request({
url: '/buscenter/v1/bussolutionschange/changeInit',
method: 'get',
params: data
})
}
// 详情、编辑回显
export function details(data) {
return request({
url: '/buscenter/v1/bussolutionschange/details',
method: 'get',
params: data
})
}
// 确认
export function saveOrUpdate(data) {
return request({
url: '/buscenter/v1/bussolutionschange/saveSolutions',
method: 'post',
data: data,
headers: {
'Content-Type': 'application/json'
}
})
}
// 删除
export function deleteBySids(data) {
return request({
url: '/buscenter/v1/bussolutionschange/deleteBySids',
method: 'DELETE',
data: data,
headers: { 'Content-Type': 'application/json' }
})
}
// 表单中的提交
export function submit(params) {
return request({
url: '/buscenter/v1/bussolutionschange/submit',
method: 'post',
data: params,
headers: {
'Content-Type': 'application/json'
}
})
}
// 代办任务同意办理
export function complete(data) {
return request({
url: '/buscenter/v1/bussolutionschange/complete',
method: 'post',
data: data,
headers: {
'Content-Type': 'application/json'
}
})
}
// 代办任务驳回任务
export function reject(data) {
return request({
url: '/buscenter/v1/bussolutionschange/reject',
method: 'post',
data: data,
headers: {
'Content-Type': 'application/json'
}
})
}
// 代办任务终止任务
export function breakProcess(data) {
return request({
url: '/buscenter/v1/bussolutionschange/breakProcess',
method: 'post',
data: data,
headers: {
'Content-Type': 'application/json'
}
})
}
// 代办任务撤回任务
export function revokeProcess(data) {
return request({
url: '/buscenter/v1/bussolutionschange/revokeProcess',
method: 'post',
data: data,
headers: {
'Content-Type': 'application/json'
}
})
}
// 代办任务加签任务
export function delegate(data) {
return request({
url: '/buscenter/v1/bussolutionschange/delegate',
method: 'post',
data: data,
headers: {
'Content-Type': 'application/json'
}
})
}
// 审批流程(驳回)获取下一环节
export function getNextNodesForSubmit(data) {
return request({
url: '/buscenter/v1/bussolutionschange/getNextNodesForSubmit',
method: 'get',
params: data
})
}
// 审批流程(驳回)获取上一环节
export function getPreviousNodesForReject(data) {
return request({
url: '/buscenter/v1/bussolutionschange/getPreviousNodesForReject',
method: 'get',
params: data
})
}

2
anrui-buscenter/anrui-buscenter-ui/src/components/publicPage/dingdanInfo.vue

@ -390,7 +390,7 @@ export default {
},
handleLook() {
this.viewState = 2
this.$refs['divInfo'].showInfo(this.formobj.solutionsDetailsssVo, 'xiaoshou')
this.$refs['divInfo'].showInfo(this.formobj.solutionsDetailsssVo, '03')
},
//
getSummaries(param) {

257
anrui-buscenter/anrui-buscenter-ui/src/components/publicPage/financialscheme.vue

@ -332,6 +332,8 @@ export default {
viewTitle: '',
submitdisabled: false,
isShowMore: false,
orgSidPath: '',
source: '', // (01-- 02-- 03 04)
dealWay_list: [],
policy_list: [],
other_list: [],
@ -434,19 +436,30 @@ export default {
}
return val
},
showAdd(value) {
showAdd(value, orgSidPath, source) {
this.init()
this.source = source
this.orgSidPath = orgSidPath
this.finance = JSON.parse(JSON.stringify(value))
this.isShowMore = this.finance.isShowMore
if (this.finance.isPack !== '' && this.finance.isPack !== null) {
selectList({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack, modelSid: this.modelSid }).then((resp) => {
if (resp.success) {
this.policy_list = resp.data
}
})
// source04sid()
if (this.source == '04') {
selectList({ orgPath: this.orgSidPath, userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack, modelSid: this.modelSid, policySid: this.finance.policySid }).then((resp) => {
if (resp.success) {
this.policy_list = resp.data
}
})
} else {
selectList({ orgPath: this.orgSidPath, userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack, modelSid: this.modelSid }).then((resp) => {
if (resp.success) {
this.policy_list = resp.data
}
})
}
}
if (this.finance.policySid !== '' && this.finance.isPack !== null) {
selectListByOther({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), userSid: window.sessionStorage.getItem('userSid'), sid: this.finance.policySid, modelSid: this.modelSid, period: this.finance.loanPeriod }).then((res) => {
selectListByOther({ orgPath: this.orgSidPath, userSid: window.sessionStorage.getItem('userSid'), sid: this.finance.policySid, modelSid: this.modelSid, period: this.finance.loanPeriod }).then((res) => {
if (res.success) {
this.other_list = res.data
}
@ -455,82 +468,159 @@ export default {
},
//
isPackChange(val) {
this.finance = {
accessoriesAmount: '',
accessoriesAmountCb: false,
bondAmount: '',
bondAmounts: '',
bondRatio: '',
dealWay: '',
dealWayKey: '',
depositPremium: '',
depositSettle: '',
discountCar: '',
downPayAmount: '',
downPayAmounts: '',
downPayAmountsRatio: '',
downPayRatio: '',
factoryDiscount: '',
factoryDiscountUse: '',
factoryDiscountUseKey: '',
interest: '',
isPack: val,
isShowMore: false,
loanAmount: '',
loanAmountTotal: '',
loanDownPay: '',
loanInterest: '',
loanPayMoney: '',
loanPeriod: '',
loanTotal: '',
mainVehicleAmount: '',
monthlyRepay: '',
nominalPrice: '',
offsetPremium: '',
offsetPurchasetax: '',
offsetTotal: '',
operationAmount: '',
otherAmount: '',
otherAmountRemark: '',
otherDiscount: '',
otherPolicyAmount: '',
otherPolicyInterest: '',
otherPolicyMonthlyRepay: '',
otherPolicyName: '',
otherPolicyPeriod: '',
otherPolicySid: '',
otherPolicyState: false,
otherPolicyYearRatio: '',
period: '',
policyName: '',
policySid: '',
policyYearRatio: '',
premium: '',
premiumCb: false,
proxyAccidentPremium: '',
proxyPremium: '',
proxyPurchasetax: '',
proxyTotal: '',
purchaseTax: '',
purchaseTaxCb: false,
realTotal: '',
receivableTotal: '',
registerAmount: '',
returnTime: '',
salesOrderSid: '',
serviceAmount: '',
serviceChargeTypeKey: '',
serviceChargeTypeValue: '',
trailerAmount: '',
trailerAmountCb: false,
vehOtherPrice: '',
vehTotalPrice: ''
// source04sid()
if (this.source == '04') {
selectList({ orgPath: this.orgSidPath, userSid: window.sessionStorage.getItem('userSid'), isPack: val, modelSid: this.modelSid, policySid: this.finance.policySid }).then((resp) => {
if (resp.success) {
this.policy_list = resp.data
}
})
} else {
selectList({ orgPath: this.orgSidPath, userSid: window.sessionStorage.getItem('userSid'), isPack: val, modelSid: this.modelSid }).then((resp) => {
if (resp.success) {
this.policy_list = resp.data
}
})
}
selectList({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack, modelSid: this.modelSid }).then((resp) => {
if (resp.success) {
this.policy_list = resp.data
}
})
this.finance.accessoriesAmount = ''
this.finance.accessoriesAmountCb = false
this.finance.bondAmount = ''
this.finance.bondAmounts = ''
this.finance.bondRatio = ''
this.finance.dealWay = ''
this.finance.dealWayKey = ''
this.finance.depositPremium = ''
this.finance.depositSettle = ''
this.finance.discountCar = ''
this.finance.downPayAmount = ''
this.finance.downPayAmounts = ''
this.finance.downPayAmountsRatio = ''
this.finance.downPayRatio = ''
this.finance.factoryDiscount = ''
this.finance.factoryDiscountUse = ''
this.finance.factoryDiscountUseKey = ''
this.finance.interest = ''
this.finance.isPack = val
this.finance.isShowMore = false
this.finance.loanAmount = ''
this.finance.loanAmountTotal = ''
this.finance.loanDownPay = ''
this.finance.loanInterest = ''
this.finance.loanPayMoney = ''
this.finance.loanPeriod = ''
this.finance.loanTotal = ''
this.finance.mainVehicleAmount = ''
this.finance.monthlyRepay = ''
this.finance.nominalPrice = ''
this.finance.offsetPremium = ''
this.finance.offsetPurchasetax = ''
this.finance.offsetTotal = ''
this.finance.operationAmount = ''
this.finance.otherAmount = ''
this.finance.otherAmountRemark = ''
this.finance.otherDiscount = ''
this.finance.otherPolicyAmount = ''
this.finance.otherPolicyInterest = ''
this.finance.otherPolicyMonthlyRepay = ''
this.finance.otherPolicyName = ''
this.finance.otherPolicyPeriod = ''
this.finance.otherPolicySid = ''
this.finance.otherPolicyState = false
this.finance.otherPolicyYearRatio = ''
this.finance.period = ''
this.finance.policyName = ''
this.finance.policyYearRatio = ''
this.finance.premium = ''
this.finance.premiumCb = false
this.finance.proxyAccidentPremium = ''
this.finance.proxyPremium = ''
this.finance.proxyPurchasetax = ''
this.finance.proxyTotal = ''
this.finance.purchaseTax = ''
this.finance.purchaseTaxCb = false
this.finance.realTotal = ''
this.finance.receivableTotal = ''
this.finance.registerAmount = ''
this.finance.returnTime = ''
this.finance.salesOrderSid = ''
this.finance.serviceAmount = ''
this.finance.serviceChargeTypeKey = ''
this.finance.serviceChargeTypeValue = ''
this.finance.trailerAmount = ''
this.finance.trailerAmountCb = false
this.finance.vehOtherPrice = ''
this.finance.vehTotalPrice = ''
// this.finance = {
// accessoriesAmount: '',
// accessoriesAmountCb: false,
// bondAmount: '',
// bondAmounts: '',
// bondRatio: '',
// dealWay: '',
// dealWayKey: '',
// depositPremium: '',
// depositSettle: '',
// discountCar: '',
// downPayAmount: '',
// downPayAmounts: '',
// downPayAmountsRatio: '',
// downPayRatio: '',
// factoryDiscount: '',
// factoryDiscountUse: '',
// factoryDiscountUseKey: '',
// interest: '',
// isPack: val,
// isShowMore: false,
// loanAmount: '',
// loanAmountTotal: '',
// loanDownPay: '',
// loanInterest: '',
// loanPayMoney: '',
// loanPeriod: '',
// loanTotal: '',
// mainVehicleAmount: '',
// monthlyRepay: '',
// nominalPrice: '',
// offsetPremium: '',
// offsetPurchasetax: '',
// offsetTotal: '',
// operationAmount: '',
// otherAmount: '',
// otherAmountRemark: '',
// otherDiscount: '',
// otherPolicyAmount: '',
// otherPolicyInterest: '',
// otherPolicyMonthlyRepay: '',
// otherPolicyName: '',
// otherPolicyPeriod: '',
// otherPolicySid: '',
// otherPolicyState: false,
// otherPolicyYearRatio: '',
// period: '',
// policyName: '',
// policySid: '',
// policyYearRatio: '',
// premium: '',
// premiumCb: false,
// proxyAccidentPremium: '',
// proxyPremium: '',
// proxyPurchasetax: '',
// proxyTotal: '',
// purchaseTax: '',
// purchaseTaxCb: false,
// realTotal: '',
// receivableTotal: '',
// registerAmount: '',
// returnTime: '',
// salesOrderSid: '',
// serviceAmount: '',
// serviceChargeTypeKey: '',
// serviceChargeTypeValue: '',
// trailerAmount: '',
// trailerAmountCb: false,
// vehOtherPrice: '',
// vehTotalPrice: ''
// }
},
//
changePolicy(value) {
@ -572,7 +662,7 @@ export default {
this.finance.otherPolicyPeriod = ''
this.finance.otherPolicyYearRatio = ''
}
selectListByOther({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), userSid: window.sessionStorage.getItem('userSid'), sid: choose[0].sid, modelSid: this.modelSid, period: this.finance.loanPeriod }).then((res) => {
selectListByOther({ orgPath: this.orgSidPath, userSid: window.sessionStorage.getItem('userSid'), sid: choose[0].sid, modelSid: this.modelSid, period: this.finance.loanPeriod }).then((res) => {
if (res.success) {
this.other_list = res.data
}
@ -889,6 +979,7 @@ export default {
vehOtherPrice: '',
vehTotalPrice: ''
}
this.source = ''
this.isShowMore = false
this.$emit('doback')
}

77
anrui-buscenter/anrui-buscenter-ui/src/components/publicPage/financialschemeEdit.vue

@ -5,7 +5,7 @@
<div>金融方案</div>
<div>
<el-button type="primary" size="mini" @click="financialComputing">金融计算</el-button>
<el-button type="primary" v-show="source == 'xiaoshou'" size="small" @click="handleSave()">保存</el-button>
<el-button type="primary" v-show="source == '03'" size="small" @click="handleSave()">保存</el-button>
</div>
</div>
<el-form ref="dataForm" :model="formobj" class="formaddcopy02">
@ -328,7 +328,7 @@ export default {
return {
viewTitle: '',
viewState: 1,
source: '', // 1.---- 2.--
source: '', // (01-- 02-- 03 04)
formobj: {
accessoriesAmount: '',
accessoriesAmountCb: false,
@ -418,7 +418,6 @@ export default {
},
// --
showClient(value, orgSidPath, source) {
console.log(value, 9999, source)
this.formobj = value
this.orgSidPath = orgSidPath
this.source = source
@ -426,82 +425,12 @@ export default {
},
financialComputing() {
this.viewState = 2
this.$refs['divCount'].showAdd(this.formobj, this.orgSidPath)
this.$refs['divCount'].showAdd(this.formobj, this.orgSidPath, this.source)
},
backData(value) {
this.viewState = 1
value = JSON.parse(JSON.stringify(value))
this.formobj = value
// this.formobj.isPack = value.isPack
// this.formobj.policyName = value.policyName
// this.formobj.policySid = value.policySid
// this.formobj.mainVehicleAmount = value.mainVehicleAmount
// this.formobj.accessoriesAmount = value.accessoriesAmount
// this.formobj.trailerAmount = value.trailerAmount
// this.formobj.purchaseTax = value.purchaseTax
// this.formobj.premium = value.premium
// this.formobj.loanTotal = value.loanTotal
//
// this.formobj.accessoriesAmountCb = value.accessoriesAmountCb
// this.formobj.trailerAmountCb = value.trailerAmountCb
// this.formobj.purchaseTaxCb = value.purchaseTaxCb
// this.formobj.premiumCb = value.premiumCb
//
// this.formobj.downPayRatio = value.downPayRatio
// this.formobj.downPayAmount = value.downPayAmount
// this.formobj.loanAmount = value.loanAmount
// this.formobj.loanPeriod = value.loanPeriod
// this.formobj.bondRatio = value.bondRatio
// this.formobj.bondAmount = value.bondAmount
// this.formobj.factoryDiscount = value.factoryDiscount
// this.formobj.factoryDiscountUse = value.factoryDiscountUse
// this.formobj.factoryDiscountUseKey = value.factoryDiscountUseKey
// this.formobj.policyYearRatio = value.policyYearRatio
// this.formobj.loanPayMoney = value.loanPayMoney
// this.formobj.loanInterest = value.loanInterest
// this.formobj.discountCar = value.discountCar
// this.formobj.otherPolicyState = value.otherPolicyState
//
// this.formobj.otherPolicyName = value.otherPolicyName
// this.formobj.otherPolicySid = value.otherPolicySid
// this.formobj.otherPolicyAmount = value.otherPolicyAmount
// this.formobj.otherPolicyPeriod = value.otherPolicyPeriod
//
// this.formobj.otherPolicyMonthlyRepay = value.otherPolicyMonthlyRepay
// this.formobj.otherPolicyInterest = value.otherPolicyInterest
// this.formobj.otherPolicyYearRatio = value.otherPolicyYearRatio
//
// this.formobj.loanDownPay = value.loanDownPay
// this.formobj.downPayAmountsRatio = value.downPayAmountsRatio
// this.formobj.loanAmountTotal = value.loanAmountTotal
// this.formobj.period = value.period
// this.formobj.monthlyRepay = value.monthlyRepay
// this.formobj.interest = value.interest
// this.formobj.returnTime = value.returnTime
//
// this.formobj.downPayAmounts = value.downPayAmounts
// this.formobj.bondAmounts = value.bondAmounts
// this.formobj.depositPremium = value.depositPremium
// this.formobj.depositSettle = value.depositSettle
// this.formobj.serviceAmount = value.serviceAmount
// this.formobj.proxyAccidentPremium = value.proxyAccidentPremium
// this.formobj.registerAmount = value.registerAmount
// this.formobj.operationAmount = value.operationAmount
// this.formobj.vehOtherPrice = value.vehOtherPrice
// this.formobj.otherAmount = value.otherAmount
// this.formobj.otherAmountRemark = value.otherAmountRemark
// this.formobj.dealWay = value.dealWay
// this.formobj.dealWayKey = value.dealWayKey
// this.formobj.proxyPremium = value.proxyPremium
// this.formobj.proxyPurchasetax = value.proxyPurchasetax
// this.formobj.proxyTotal = value.proxyTotal
// this.formobj.offsetPremium = value.offsetPremium
// this.formobj.offsetPurchasetax = value.offsetPurchasetax
// this.formobj.offsetTotal = value.offsetTotal
// this.formobj.receivableTotal = value.receivableTotal
// this.formobj.realTotal = value.realTotal
// this.formobj.vehTotalPrice = value.vehTotalPrice
// this.formobj.nominalPrice = value.nominalPrice
},
backParameters() {
this.$emit('backParameters', this.formobj)

8
anrui-buscenter/anrui-buscenter-ui/src/components/publicPage/financialschemeInfo.vue

@ -2,12 +2,12 @@
<div class="app-container">
<div class="tab-header webtop">
<div>{{ viewTitle }}</div>
<div v-show="source == 'xiaoshou'">
<div v-show="source == '03'">
<el-button type="info" size="small" icon="el-icon-close" @click="handleReturn()">关闭</el-button>
</div>
</div>
<div :class="{ listconadd: source == 'xiaoshou' }">
<el-form ref="dataForm" :model="formobj" :class="[{ formaddStyle : source != 'xiaoshou' }, 'formaddcopy02']">
<div :class="{ listconadd: source == '03' }">
<el-form ref="dataForm" :model="formobj" :class="[{ formaddStyle : source != '03' }, 'formaddcopy02']">
<div v-if="formobj.isShowMore">
<el-row style="border-top: 1px solid #E0E3EB">
<el-col :span="6">
@ -322,7 +322,7 @@ export default {
viewTitle: '',
tableKey: 0,
index: 0,
source: '',
source: '', // (01-- 02-- 03 04)
formobj: {
accessoriesAmount: '',
accessoriesAmountCb: false,

39
anrui-buscenter/anrui-buscenter-ui/src/router/index.js

@ -458,6 +458,23 @@ export const constantRoutes = [
}
]
},
{
path: '/financialschememodification',
component: Layout,
redirect: '/financialschememodification',
meta: {
title: '金融方案变更'
},
children: [
{
path: '/financialschememodification/financialschememodification',
component: () =>
import('@/views/financialschememodification/financialschememodification.vue'),
name: 'FinancialSchemeModification',
meta: { title: '金融方案变更', noCache: true }
}
]
},
// 流程所需页面路径
// 订金收取审批、发起人详情页面
{
@ -772,6 +789,28 @@ export const constantRoutes = [
component: () =>
import('@/views/workflow/qiankuanchukuFlow/debtreleaseEdit.vue'),
name: 'DebtReleaseEdit'
},
// 金融方案变更待办详情
{
path: '/jinrongbiangengFlow/financialschememodificationDaiBan',
component: () =>
import('@/views/workflow/jinrongbiangengFlow/financialschememodificationDaiBan.vue'),
name: 'FinancialSchemeModificationDaiBan'
},
// 金融方案变更已办详情
{
path: '/jinrongbiangengFlow/financialschememodificationYiBan',
component: () =>
import('@/views/workflow/jinrongbiangengFlow/financialschememodificationYiBan.vue'),
name: 'FinancialSchemeModificationYiBan'
},
// 金融方案变更驳回到发起人办理
{
path: '/jinrongbiangengFlow/financialschememodificationEdit',
component: () =>
import('@/views/workflow/jinrongbiangengFlow/financialschememodificationEdit.vue'),
name: 'FinancialSchemeModificationEdit'
}
// 404 page must be placed at the end !!!

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

@ -226,7 +226,7 @@ export default {
selectQuotation({sid: row.sid}).then((res) => {
if (res.success) {
this.formobj = res.data
this.$refs['divJR'].showInfo(this.formobj.baseJRFAVo, 'kehu')
this.$refs['divJR'].showInfo(this.formobj.baseJRFAVo, '02')
}
})
},

382
anrui-buscenter/anrui-buscenter-ui/src/views/financialschememodification/financialschememodification.vue

@ -0,0 +1,382 @@
<template>
<div class="app-container">
<div v-show="viewState == 1">
<button-bar view-title="金融方案变更申请管理" ref="btnbar" :btndisabled="btndisabled" @btnhandle="btnHandle"/>
<div class="main-content">
<div class="searchcon">
<el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button>
<div v-show="isSearchShow" class="search">
<el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="100px" class="tab-header">
<el-form-item label="分公司">
<el-input v-model="listQuery.params.company" clearable placeholder="" class="addinputw"></el-input>
</el-form-item>
<el-form-item label="申请部门">
<el-input v-model="listQuery.params.dept" clearable placeholder="" class="addinputw"></el-input>
</el-form-item>
<el-form-item label="申请人">
<el-input v-model="listQuery.params.applyName" clearable placeholder="" class="addinputw"></el-input>
</el-form-item>
<el-form-item label="申请日期">
<el-date-picker v-model="listQuery.params.applyStartDate" type="date" placeholder="选择日期" value-format="yyyy-MM-dd" format="yyyy-MM-dd"></el-date-picker>
<span style="padding: 0 8px"></span>
<el-date-picker v-model="listQuery.params.applyEndDate" type="date" placeholder="选择日期" value-format="yyyy-MM-dd" format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
<el-form-item label="销售专员">
<el-input v-model="listQuery.params.contractNo" clearable placeholder="" class="addinputw"></el-input>
</el-form-item>
<el-form-item label="合同编号">
<el-input v-model="listQuery.params.contractNo" clearable placeholder="" class="addinputw"></el-input>
</el-form-item>
<el-form-item label="客户">
<el-input v-model="listQuery.params.customerName" clearable placeholder="" class="addinputw"></el-input>
</el-form-item>
<el-form-item label="车型">
<el-input v-model="listQuery.params.modelName" clearable placeholder="" class="addinputw"></el-input>
</el-form-item>
<el-form-item label="产品政策">
<el-input v-model="listQuery.params.policyName" clearable placeholder="" class="addinputw"></el-input>
</el-form-item>
</el-form>
<div class="btn" style="text-align: center;">
<el-button type="primary" size="small" icon="el-icon-search" @click="handleFilter">查询</el-button>
<el-button type="primary" size="small" icon="el-icon-refresh" @click="handleReset">重置</el-button>
</div>
</div>
</div>
<div class="listtop">
<div class="tit">金融方案变更申请列表</div>
<pageye v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current" :limit.sync="listQuery.size" class="pagination" @pagination="getList"/>
</div>
<div class="">
<el-table :key="tableKey" v-loading="listLoading" :data="list" border style="width: 100%" @selection-change="handleSelectionChange">
<el-table-column width="50px" type="selection" align="center"/>
<el-table-column width="80px" label="序号" type="index" :index="indexMethod" align="center"/>
<el-table-column width="150px" label="操作" align="center">
<template slot-scope="scope">
<el-button size="small" type="primary" @click="toEdit(scope.row)" :disabled="scope.row.nodeState =='发起申请' ? false : scope.row.nodeState == '待提交' ? false : true">办理</el-button>
<el-button size="small" type="primary" @click="toInfo(scope.row)">查看</el-button>
</template>
</el-table-column>
<el-table-column label="状态" align="center">
<template slot-scope="scope">
<span v-if="scope.row.nodeState=='待提交'" type="primary" size="mini">待提交</span>
<span v-else @click="flowRecord(scope.row)" class="bluezi">{{ scope.row.nodeState }}</span>
</template>
</el-table-column>
<el-table-column label="分公司" align="center">
<template slot-scope="scope">
<span>{{ scope.row.company }}</span>
</template>
</el-table-column>
<el-table-column label="申请部门" align="center">
<template slot-scope="scope">
<span>{{ scope.row.dept }}</span>
</template>
</el-table-column>
<el-table-column label="申请人" align="center">
<template slot-scope="scope">
<span>{{ scope.row.applyName }}</span>
</template>
</el-table-column>
<el-table-column label="申请日期" align="center">
<template slot-scope="scope">
<span>{{ scope.row.applyDate }}</span>
</template>
</el-table-column>
<el-table-column label="合同编号" align="center">
<template slot-scope="scope">
<span>{{ scope.row.contractNo }}</span>
</template>
</el-table-column>
<el-table-column label="客户名称" align="center">
<template slot-scope="scope">
<span>{{ scope.row.customerName }}</span>
</template>
</el-table-column>
<el-table-column label="挂靠公司" align="center">
<template slot-scope="scope">
<span>{{ scope.row.affiliateCompany }}</span>
</template>
</el-table-column>
<el-table-column label="车型" align="center">
<template slot-scope="scope">
<span>{{ scope.row.model }}</span>
</template>
</el-table-column>
<el-table-column label="产品政策" align="center">
<template slot-scope="scope">
<span>{{ scope.row.policyName }}</span>
</template>
</el-table-column>
<el-table-column label="融资项目总额" align="center">
<template slot-scope="scope">
<span>{{ scope.row.loanTotal }}</span>
</template>
</el-table-column>
</el-table>
</div>
<div class="pages">
<div class="tit"/>
<!-- 翻页 -->
<pagination v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current" :limit.sync="listQuery.size" class="pagination" @pagination="getList"/>
</div>
</div>
</div>
<financialschememodificationAdd v-show="viewState == 2 || viewState == 3" ref="divadd" @doback="resetState" @reloadlist="getList"></financialschememodificationAdd>
<financialschememodificationInfo v-show="viewState == 4" ref="divinfo" @doback="resetState"></financialschememodificationInfo>
<el-dialog title="" :visible.sync="centerDialogVisible" width="78%" height="1%" :before-close="closeIt" center>
<iframe frameborder="0" id="iframe" style="width:100%;" scrolling="no" :src="this.centerDialogVisible === true ? url :''"></iframe>
</el-dialog>
</div>
</template>
<script>
import { pagerList, deleteBySids } from '@/api/financialschememodification/financialschememodification'
import Pagination from '@/components/pagination'
import pageye from '@/components/pagination/pageye'
import ButtonBar from '@/components/ButtonBar'
import financialschememodificationAdd from './financialschememodificationAdd'
import financialschememodificationInfo from './financialschememodificationInfo'
import { getStorage } from '@/utils/auth'
export default {
name: 'FinancialSchemeModification',
components: {
Pagination,
pageye,
ButtonBar,
financialschememodificationAdd,
financialschememodificationInfo
},
data() {
return {
url: '',
dialogHeight: '80%',
centerDialogVisible: false,
btndisabled: false,
btnList: [
{
type: 'danger',
size: 'small',
icon: 'del',
btnKey: 'doDel',
btnLabel: '删除'
},
{
type: 'info',
size: 'small',
icon: 'cross',
btnKey: 'doClose',
btnLabel: '关闭'
}
],
isSearchShow: false,
searchxianshitit: '显示查询条件',
viewState: 1, // 1 2- 3 4 5-
// -----------
tableKey: 0,
list: [],
sids: [],
FormLoading: false,
listLoading: false,
listQuery: {
current: 1,
size: 5,
total: 0,
params: {
userSid: '',
menuUrl: '',
applyName: '',
applyStartDate: '',
applyEndDate: '',
model: '',
policyName: '',
dept: '',
customerName: '',
contractNo: '',
company: '',
orgPath: ''
}
}
}
},
mounted() {
// vuewindowpostMessagehandleMessage
window.addEventListener('message', this.handleMessage)
this.$refs['btnbar'].setButtonList(this.btnList)
},
created() {
//
this.init()
//
this.getList()
},
methods: {
async handleMessage(event) {
var code = ''
if (event.data.params !== null && event.data.params !== undefined) {
code = event.data.params.code
}
if (code === 1) {
this.init()
this.centerDialogVisible = false
} else if (code === 2) {
this.dialogHeight = event.data.params.data
this.setIframeHeight(document.getElementById('iframe'))
}
},
closeIt() {
this.url = ''
this.centerDialogVisible = false
},
setIframeHeight(iframe) {
iframe.height = this.dialogHeight
},
flowRecord(row) {
this.centerDialogVisible = true
var params = {
deployId: row.procDefId,
procInsId: row.procInstId,
token: getStorage()
}
this.url = '/#/flow/flowRecordForBusiness?data=' + encodeURI((JSON.stringify(params)))
},
btnHandle(btnKey) {
console.log('XXXXXXXXXXXXXXX ' + btnKey)
switch (btnKey) {
case 'doDel':
this.doDel()
break
case 'doClose':
this.doClose()
break
default:
break
}
},
init() {
},
//
clicksearchShow() {
this.isSearchShow = !this.isSearchShow
if (this.isSearchShow) {
this.searchxianshitit = '隐藏查询条件'
} else {
this.searchxianshitit = '显示查询条件'
}
},
// ------------------
//
indexMethod(index) {
var pagestart = (this.listQuery.current - 1) * this.listQuery.size
var pageindex = index + 1 + pagestart
return pageindex
},
//
getList() {
this.listLoading = true
this.listQuery.params.userSid = window.sessionStorage.getItem('userSid')
this.listQuery.params.orgPath = window.sessionStorage.getItem('defaultOrgPath')
this.listQuery.params.menuUrl = this.$route.path
pagerList(this.listQuery).then((response) => {
this.listLoading = false
if (response.success) {
this.list = response.data.records
this.listQuery.total = response.data.total
} else {
this.list = []
this.listQuery.total = 0
}
})
},
//
handleSelectionChange(row) {
console.log('row', row)
const aa = []
row.forEach((element) => {
aa.push(element.sid)
})
this.sids = aa
},
//
handleFilter() {
this.listQuery.current = 1
this.getList()
},
//
handleReset() {
this.listQuery = {
current: 1,
size: 5,
total: 0,
params: {
userSid: '',
menuUrl: '',
applyName: '',
applyStartDate: '',
applyEndDate: '',
model: '',
policyName: '',
dept: '',
customerName: '',
contractNo: '',
company: '',
orgPath: ''
}
}
this.getList()
},
//
toEdit(row) {
this.viewState = 3
this.$refs['divadd'].showEdit(row.sid)
},
//
toInfo(row) {
this.viewState = 4
this.$refs['divinfo'].showInfo(row.sid)
},
resetState() {
this.viewState = 1
},
// ID
doDel() {
if (this.sids.length > 0) {
const tip = '请确认是否删除所选记录?'
this.$confirm(tip, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
const sids = this.sids
deleteBySids(sids).then((response) => {
if (response.code === '200') {
this.$notify({
title: '提示',
message: '删除成功',
type: 'success',
duration: 2000
})
this.getList()
}
})
})
} else {
this.$message({
showClose: true,
message: '请选择至少一条记录!',
type: 'error'
})
return
}
},
doClose() {
this.$store.dispatch('tagsView/delView', this.$route)
this.$router.go(-1)
}
}
}
</script>
<style scoped>
</style>

257
anrui-buscenter/anrui-buscenter-ui/src/views/financialschememodification/financialschememodificationAdd.vue

@ -0,0 +1,257 @@
<template>
<div class="app-container">
<div v-show="viewState == 1">
<div class="tab-header webtop">
<div>{{ viewTitle }}</div>
<div>
<el-button type="primary" size="small" @click="lookSales()">查看销售订单</el-button>
<el-button type="primary" size="small" :disabled="submitdisabled" @click="saveOrUpdate()">保存</el-button>
<el-button type="primary" size="small" :disabled="submitdisabled" @click="submit()">提交</el-button>
<el-button type="info" size="small" @click="handleReturn()">关闭</el-button>
</div>
</div>
<div class="listconadd">
<el-form ref="form_obj" :model="formobj" :rules="rules" class="formaddcopy02">
<el-row style="border-top: 1px solid #e0e3eb">
<el-col :span="8">
<div class="span-sty"><span>申请部门</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.dept }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty"><span>申请人</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.applyName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty"><span>申请日期</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.applyDate }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div class="span-sty"><span>备注</span></div>
<el-form-item><el-input v-model="formobj.remarks" class="addinputInfo addinputw" clearable placeholder=""/></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div class="span-sty"><span>附件</span></div>
<el-form-item><upload ref="uploadImg" class="addinputInfo" v-model="formobj.files" :accept="accept" :limit="50" bucket="map" :upload-data="{ type: '0001' }"/></el-form-item>
</el-col>
</el-row>
<div class="title">客户基本信息</div>
<el-row>
<el-col :span="8" class="tlineheightb">
<div class="span-sty"><span>客户名称</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.customerName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty"><span>合同编号</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.contractNo }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty"><span>电话</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.mobile }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="16" class="tlineheightb">
<div class="span-sty"><span>地址</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.address }}</span></el-form-item>
</el-col>
<el-col :span="8" class="tlineheightb">
<div class="span-sty"><span>挂靠公司</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.affiliatedCompany }}</span></el-form-item>
</el-col>
</el-row>
<div>
<!-- 金融方案 -->
<financialschemeEdit :modelSid="formobj.modelSid" ref="divJR" @backParameters="backJR"/>
</div>
</el-form>
</div>
</div>
<!-- 查看销售订单 -->
<dingdanInfo v-show="viewState == 2" ref="divInfo" @doback="resetState"/>
</div>
</template>
<script>
import { changeInit, saveOrUpdate, details, submit } from '@/api/financialschememodification/financialschememodification'
import upload from '@/components/uploadFile/upload'
import dingdanInfo from '@/components/publicPage/dingdanInfo'
import financialschemeEdit from '@/components/publicPage/financialschemeEdit'
export default {
name: 'FinancialSchemeModificationAdd',
components: {
upload,
dingdanInfo,
financialschemeEdit
},
data() {
return {
viewTitle: '',
viewState: 1,
submitdisabled: false,
accept: '.jpg,.jpeg,.png,.JPG,.JPEG',
formobj: {
sid: '',
userSid: '',
orgPath: '',
applyName: '',
salesOrderSid: '',
solutionsSid: '',
applyDate: '',
deptSid: '',
dept: '',
modelSid: '',
affiliatedCompany: '',
remarks: '',
mobile: '',
address: '',
contractNo: '',
customerName: '',
files: [],
solutions: {},
taskId: '',
instanceId: ''
},
rules: {}
}
},
methods: {
showAdd(sid) {
this.viewTitle = '【新增】金融方案变更申请'
this.$nextTick(() => {
this.$refs['form_obj'].clearValidate()
})
changeInit({ salesOrderSid: sid, userSid: window.sessionStorage.getItem('userSid'), orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((resp) => {
if (resp.success) {
this.formobj = resp.data
this.formobj.applyName = window.sessionStorage.getItem('name')
this.formobj.dept = window.sessionStorage.getItem('defaultOrgPathName').substring(window.sessionStorage.getItem('defaultOrgPathName').lastIndexOf('/') + 1)
this.formobj.deptSid = window.sessionStorage.getItem('defaultOrgPath').substring(window.sessionStorage.getItem('defaultOrgPath').lastIndexOf('/') + 1)
this.formobj.userSid = window.sessionStorage.getItem('userSid')
this.formobj.orgPath = window.sessionStorage.getItem('defaultOrgPath')
var nowDate = new Date()
var date = {
year: nowDate.getFullYear(),
month: nowDate.getMonth() + 1,
day: nowDate.getDate()
}
this.formobj.applyDate = date.year + '-' + (date.month >= 10 ? date.month : '0' + date.month) + '-' + (date.day >= 10 ? date.day : '0' + date.day)
this.$refs['divJR'].showClient(this.formobj.solutions, window.sessionStorage.getItem('defaultOrgPath'), '04')
}
})
},
showEdit(sid) {
this.viewTitle = '【编辑】金融方案变更申请'
this.$nextTick(() => {
this.$refs['form_obj'].clearValidate()
})
details({ sid: sid }).then((res) => {
if (res.success) {
this.formobj = res.data
this.$refs['divJR'].showClient(this.formobj.solutions, this.formobj.orgPath, '04')
}
})
},
// --
backJR(val) {
this.formobj.solutions = val
},
lookSales() {
this.viewState = 2
this.$refs['divInfo'].showInfo({ sid: this.formobj.salesOrderSid })
},
resetState() {
this.viewState = 1
},
saveOrUpdate() {
this.$refs['form_obj'].validate((valid) => {
if (valid) {
this.submitdisabled = true
this.$refs['divJR'].backParameters()
saveOrUpdate(this.formobj).then((res) => {
if (res.success) {
this.$message({ showClose: true, type: 'success', message: '保存成功' })
this.handleReturn('true')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false
})
}
})
},
submit() {
this.$refs['form_obj'].validate((valid) => {
if (valid) {
this.submitdisabled = true
this.$refs['divJR'].backParameters()
submit(this.formobj).then((res) => {
if (res.success) {
this.$message({ showClose: true, type: 'success', message: '操作成功' })
this.handleReturn('true')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false
})
}
})
},
handleReturn(isreload) {
if (isreload === 'true') this.$emit('reloadlist')
this.formobj = {
sid: '',
userSid: '',
orgPath: '',
applyName: '',
salesOrderSid: '',
solutionsSid: '',
applyDate: '',
deptSid: '',
dept: '',
modelSid: '',
affiliatedCompany: '',
remarks: '',
mobile: '',
address: '',
contractNo: '',
customerName: '',
files: [],
solutions: {},
taskId: '',
instanceId: ''
}
this.submitdisabled = false
this.$emit('doback')
}
}
}
</script>
<style scoped>
.span-sty {
width: 130px !important;
}
.addinputInfo {
margin-left: 120px !important;
}
.tlineheightb {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
}
/deep/ .tlineheightb .el-form-item .el-form-item__content .addinputInfo {
line-height: 15px !important;
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
}
</style>

193
anrui-buscenter/anrui-buscenter-ui/src/views/financialschememodification/financialschememodificationInfo.vue

@ -0,0 +1,193 @@
<template>
<div class="app-container">
<div v-show="viewState == 1">
<div class="tab-header webtop">
<div>{{ viewTitle }}</div>
<div>
<el-button type="primary" size="small" @click="lookSales()">查看销售订单</el-button>
<el-button type="info" size="small" @click="handleReturn()">关闭</el-button>
</div>
</div>
<div class="listconadd">
<el-form ref="form_obj" :model="formobj" :rules="rules" class="formaddcopy02">
<el-row style="border-top: 1px solid #e0e3eb">
<el-col :span="8">
<div class="span-sty"><span>申请部门</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.dept }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty"><span>申请人</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.applyName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty"><span>申请日期</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.applyDate }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div class="span-sty"><span>备注</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.remarks }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div class="span-sty"><span>附件</span></div>
<el-form-item><el-image class="addinputInfo" style="width: 150px; height: 150px" v-for="(item, index) in formobj.files" :key="index" :src="item" :preview-src-list="formobj.files"/></el-form-item>
</el-col>
</el-row>
<div class="title">客户基本信息</div>
<el-row>
<el-col :span="8" class="tlineheightb">
<div class="span-sty"><span>客户名称</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.customerName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty"><span>合同编号</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.contractNo }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty"><span>电话</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.mobile }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="16" class="tlineheightb">
<div class="span-sty"><span>地址</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.address }}</span></el-form-item>
</el-col>
<el-col :span="8" class="tlineheightb">
<div class="span-sty"><span>挂靠公司</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.affiliatedCompany }}</span></el-form-item>
</el-col>
</el-row>
<div>
<!-- 金融方案 -->
<financialschemeInfo ref="divJR"/>
</div>
</el-form>
</div>
</div>
<!-- 查看销售订单 -->
<dingdanInfo v-show="viewState == 2" ref="divInfo" @doback="resetState"/>
</div>
</template>
<script>
import { details } from '@/api/financialschememodification/financialschememodification'
import dingdanInfo from '@/components/publicPage/dingdanInfo'
import financialschemeInfo from '@/components/publicPage/financialschemeInfo'
export default {
name: 'FinancialSchemeModificationAdd',
components: {
dingdanInfo,
financialschemeInfo
},
data() {
return {
viewTitle: '',
viewState: 1,
submitdisabled: false,
formobj: {
sid: '',
userSid: '',
orgPath: '',
applyName: '',
salesOrderSid: '',
solutionsSid: '',
applyDate: '',
deptSid: '',
dept: '',
affiliatedCompany: '',
remarks: '',
mobile: '',
address: '',
contractNo: '',
customerName: '',
files: [],
solutions: {},
taskId: '',
instanceId: ''
},
rules: {}
}
},
methods: {
showInfo(sid) {
this.viewTitle = '金融方案变更申请'
this.$nextTick(() => {
this.$refs['form_obj'].clearValidate()
})
details({ sid: sid }).then((res) => {
if (res.success) {
this.formobj = res.data
if (this.formobj.files.length > 0) {
const aa = []
this.formobj.files.forEach((e) => {
aa.push(e.url)
})
this.formobj.files = aa
}
this.$refs['divJR'].showInfo(this.formobj.solutions, '04')
}
})
},
lookSales() {
this.viewState = 2
this.$refs['divInfo'].showInfo({ sid: this.formobj.salesOrderSid })
},
resetState() {
this.viewState = 1
},
handleReturn(isreload) {
if (isreload === 'true') this.$emit('reloadlist')
this.formobj = {
sid: '',
userSid: '',
orgPath: '',
applyName: '',
salesOrderSid: '',
solutionsSid: '',
applyDate: '',
deptSid: '',
dept: '',
affiliatedCompany: '',
remarks: '',
mobile: '',
address: '',
contractNo: '',
customerName: '',
files: [],
solutions: {},
taskId: '',
instanceId: ''
}
this.submitdisabled = false
this.$emit('doback')
}
}
}
</script>
<style scoped>
.span-sty {
width: 130px !important;
}
.addinputInfo {
margin-left: 120px !important;
}
.tlineheightb {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
}
/deep/ .tlineheightb .el-form-item .el-form-item__content .addinputInfo {
line-height: 15px !important;
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
}
</style>

6
anrui-buscenter/anrui-buscenter-ui/src/views/kehuguanli/cheliangxuqiu/cheliangxuqiuAdd.vue

@ -262,7 +262,7 @@ export default {
details({ sid: sid }).then((res) => {
if (res.success) {
this.formobj = res.data
this.$refs['divJR'].showClient(this.formobj.crmSolutions, window.sessionStorage.getItem('defaultOrgPath'), 'kehu')
this.$refs['divJR'].showClient(this.formobj.crmSolutions, window.sessionStorage.getItem('defaultOrgPath'), '01')
}
})
},
@ -351,7 +351,7 @@ export default {
vehOtherPrice: '',
vehTotalPrice: ''
}
this.$refs['divJR'].showClient(this.formobj.crmSolutions, window.sessionStorage.getItem('defaultOrgPath'), 'kehu')
this.$refs['divJR'].showClient(this.formobj.crmSolutions, window.sessionStorage.getItem('defaultOrgPath'), '01')
},
//
brandChange(value) {
@ -392,7 +392,7 @@ export default {
this.formobj.crmSolutions.factoryDiscountUse = '抵车款'
this.formobj.crmSolutions.factoryDiscount = ''
}
this.$refs['divJR'].showClient(this.formobj.crmSolutions, window.sessionStorage.getItem('defaultOrgPath'), 'kehu')
this.$refs['divJR'].showClient(this.formobj.crmSolutions, window.sessionStorage.getItem('defaultOrgPath'), '01')
}
},
// --

2
anrui-buscenter/anrui-buscenter-ui/src/views/kehuguanli/cheliangxuqiu/cheliangxuqiuinfo.vue

@ -201,7 +201,7 @@ export default {
details({ sid: sid }).then((res) => {
if (res.success) {
this.formobj = res.data
this.$refs['divJR'].showInfo(this.formobj.crmSolutions, 'kehu')
this.$refs['divJR'].showInfo(this.formobj.crmSolutions, '01')
}
})
},

454
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/jinrongbiangengFlow/financialschememodificationDaiBan.vue

@ -0,0 +1,454 @@
<template>
<div class="app-container">
<div v-show="viewState == 1">
<div class="tab-header webtop">
<div>{{ viewTitle }}</div>
<div>
<el-button type="primary" size="small" @click="lookSales()">查看销售订单</el-button>
<el-button type="primary" size="small" @click="openCountersign('加签')"> </el-button>
<el-button type="primary" size="small" @click="openAgree('同意')"> </el-button>
<el-button type="danger" size="small" @click="openReject('驳回')"> </el-button>
<el-button type="danger" size="small" @click="openStop('终止')"> </el-button>
</div>
</div>
<div class="">
<el-form ref="form_obj" :model="formobj" :rules="rules" class="formaddcopy02">
<el-row style="border-top: 1px solid #e0e3eb">
<el-col :span="8">
<div class="span-sty"><span>申请部门</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.dept }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty"><span>申请人</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.applyName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty"><span>申请日期</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.applyDate }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div class="span-sty"><span>备注</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.remarks }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div class="span-sty"><span>附件</span></div>
<el-form-item><el-image class="addinputInfo" style="width: 150px; height: 150px" v-for="(item, index) in formobj.files" :key="index" :src="item" :preview-src-list="formobj.files"/></el-form-item>
</el-col>
</el-row>
<div class="title">客户基本信息</div>
<el-row>
<el-col :span="8" class="tlineheightb">
<div class="span-sty"><span>客户名称</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.customerName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty"><span>合同编号</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.contractNo }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty"><span>电话</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.mobile }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="16" class="tlineheightb">
<div class="span-sty"><span>地址</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.address }}</span></el-form-item>
</el-col>
<el-col :span="8" class="tlineheightb">
<div class="span-sty"><span>挂靠公司</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.affiliatedCompany }}</span></el-form-item>
</el-col>
</el-row>
<div>
<!-- 金融方案 -->
<financialschemeInfo ref="divJR"/>
</div>
</el-form>
</div>
</div>
<!-- 查看销售订单 -->
<dingdanInfo v-show="viewState == 2" ref="divInfo" @doback="resetState"/>
<!-- 选择待办人 的弹出框-->
<el-dialog title="填写审批意见" :visible.sync="nodeDialogVisible" width="80%">
<el-form class="formadd" >
<el-row v-show="countersignLink" style="border-top: 1px solid #e0e3eb">
<el-col :span="4" class="tleftb">
<span><span class="icon">*</span>加签人员:</span>
</el-col>
<el-col :span="20">
<el-form-item>
<el-select v-model="countersign.assignee" placeholder="请选择" filterable>
<el-option v-for="item in options" :key="item.userSid" :label="item.staffName" :value="item.userSid">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row v-show="currentLink" style="border-top: 1px solid #e0e3eb">
<el-col :span="4" class="tleftb">
<span>当前环节:</span>
</el-col>
<el-col :span="20">
<el-form-item><span>{{ current.taskName }}->{{ nextNode.name }}</span></el-form-item>
</el-col>
</el-row>
<el-row :class="{rowClass:!currentLink}">
<el-col :span="4" class="tleftb">
<span>意见:</span>
</el-col>
<el-col :span="20">
<el-form-item><el-input size="small" v-model="dialogList.comment" placeholder="审批意见" class="addinputw" type="textarea" :autosize="{ minRows: 1, maxRows: 10}" clearable ></el-input></el-form-item>
</el-col>
</el-row>
<div style="text-align:center;margin-top: 20px;">
<el-button type="primary" size="mini" @click="reject"> </el-button>
<el-button type="info " size="mini" @click="nodeDialogVisible = false"> </el-button>
</div>
</el-form>
</el-dialog>
</div>
</template>
<script>
import { details, complete, breakProcess, reject, getNextNodesForSubmit, getPreviousNodesForReject, delegate } from '@/api/financialschememodification/financialschememodification'
import dingdanInfo from '../publicPage/dingdanInfo'
import financialschemeInfo from '../publicPage/financialschemeInfo'
import { selectStaffListss } from '@/api/dictcommons/dictcommons'
export default {
name: 'FinancialSchemeModificationDaiBan',
components: {
dingdanInfo,
financialschemeInfo
},
data() {
return {
viewTitle: '',
viewState: 1,
submitdisabled: false,
formobj: {
sid: '',
userSid: '',
orgPath: '',
applyName: '',
salesOrderSid: '',
solutionsSid: '',
applyDate: '',
deptSid: '',
dept: '',
affiliatedCompany: '',
remarks: '',
mobile: '',
address: '',
contractNo: '',
customerName: '',
files: [],
solutions: {},
taskId: '',
instanceId: ''
},
rules: {},
options: [],
operation: '', //
dialogList: {
comment: ''
},
startTask: true,
current: {
taskDefKey: '',
taskName: '' //
},
nextNode: {}, //
nodeDialogVisible: false,
currentLink: true,
countersignLink: false,
//
linkByParameter: {
businessSid: '',
comment: '',
instanceId: '',
taskId: '',
orgSidPath: '',
taskDefKey: '',
userSid: ''
},
//
countersign: {
taskId: '',
assignee: '',
userSid: '',
instanceId: '',
views: ''
}
}
},
created() {
console.log('url:' + window.location.href)
var one = window.location.href.indexOf('&data') + 6
const data = window.location.href.substr(one) // urlunescape()web,使
const obj = JSON.parse(decodeURIComponent(data))
console.log('iframe页面获取的obj:', obj)
//
this.linkByParameter.businessSid = obj.businessSid
this.linkByParameter.instanceId = obj.instanceId
this.linkByParameter.taskId = obj.taskId
this.linkByParameter.taskDefKey = obj.taskDefKey
// this.linkByParameter.orgSidPath = window.sessionStorage.getItem('orgSidPath')
this.linkByParameter.userSid = window.sessionStorage.getItem('userSid')
this.current.taskDefKey = obj.taskDefKey
this.current.taskName = obj.taskName
//
this.countersign.taskId = obj.taskId
this.countersign.userSid = window.sessionStorage.getItem('userSid')
this.countersign.instanceId = obj.instanceId
//
this.showInfo(obj.businessSid)
},
mounted() {
window.parent.postMessage({
cmd: 'returnHeight',
params: {
//
code: 2,
data: 500 + 'px'
}
}, '*')
},
methods: {
showInfo(sid) {
this.viewTitle = '金融方案变更申请'
this.$nextTick(() => {
this.$refs['form_obj'].clearValidate()
})
details({ sid: sid }).then((res) => {
if (res.success) {
this.formobj = res.data
if (this.formobj.files.length > 0) {
const aa = []
this.formobj.files.forEach((e) => {
aa.push(e.url)
})
this.formobj.files = aa
}
this.$refs['divJR'].showInfo(this.formobj.solutions, '04')
}
})
selectStaffListss().then((res) => {
if (res.success) {
this.options = res.data
}
})
},
lookSales() {
this.viewState = 2
this.$refs['divInfo'].showInfo({ sid: this.formobj.salesOrderSid })
},
resetState() {
this.viewState = 1
},
// ------------ ------------
//
openCountersign(val) {
this.operation = val
this.currentLink = true
this.countersignLink = true
this.dialogList.comment = ''
getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey, businessSid: this.linkByParameter.businessSid }).then((resp) => {
if (resp.success) {
var arr = resp.data
this.nextNode = arr[0]
this.nodeDialogVisible = true
}
this.submitdisabled = false
})
},
//
openAgree(val) {
this.operation = val
this.currentLink = true
this.countersignLink = false
this.dialogList.comment = '同意'
getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey, businessSid: this.linkByParameter.businessSid }).then((resp) => {
if (resp.success) {
var arr = resp.data
this.nextNode = arr[0]
this.nodeDialogVisible = true
}
this.submitdisabled = false
})
},
//
openReject(val) {
this.operation = val
this.currentLink = true
this.countersignLink = false
this.dialogList.comment = ''
getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey, businessSid: this.linkByParameter.businessSid }).then((resp) => {
if (resp.success) {
var arr = resp.data
this.nextNode = arr[0]
this.nodeDialogVisible = true
}
this.submitdisabled = false
})
},
//
openStop(val) {
this.operation = val
this.currentLink = false
this.countersignLink = false
this.dialogList.comment = ''
this.nodeDialogVisible = true
},
reject() {
if (this.operation === '同意') {
this.handleAgree()
} else if (this.operation === '驳回') {
if (this.dialogList.comment === '') {
this.$message({ showClose: true, type: 'error', message: '请填写审批意见' })
} else {
this.handleReject()
}
} else if (this.operation === '终止') {
if (this.dialogList.comment === '') {
this.$message({ showClose: true, type: 'error', message: '请填写审批意见' })
} else {
this.handleStop()
}
} else if (this.operation === '加签') {
this.handleCountersign()
}
},
/** 加签 */
handleCountersign() {
if (this.countersign.assignee === '') {
this.$message({ showClose: true, type: 'error', message: '请选择加签人员' })
return
}
if (this.dialogList.comment === '') {
this.$message({ showClose: true, type: 'error', message: '请填写审批意见' })
return
}
this.countersign.views = this.dialogList.comment
delegate(this.countersign).then((response) => {
if (response.success) {
this.$notify({
title: '提示',
message: '执行成功',
type: 'success',
duration: 2000
})
this.nodeDialogVisible = false
//
window.parent.postMessage({
cmd: 'returnHeight',
params: {
//
code: 1
}
}, '*')
}
})
},
/** 同意任务 */
handleAgree() {
this.linkByParameter.comment = this.dialogList.comment
complete(this.linkByParameter).then((response) => {
if (response.success) {
this.$notify({
title: '提示',
message: '执行成功',
type: 'success',
duration: 2000
})
this.nodeDialogVisible = false
//
window.parent.postMessage({
cmd: 'returnHeight',
params: {
//
code: 1
}
}, '*')
}
})
},
/** 驳回任务 */
handleReject() {
this.linkByParameter.comment = this.dialogList.comment
reject(this.linkByParameter).then((response) => {
if (response.success) {
this.$notify({
title: '提示',
message: '执行成功',
type: 'success',
duration: 2000
})
this.nodeDialogVisible = false
//
window.parent.postMessage({
cmd: 'returnHeight',
params: {
//
code: 1
}
}, '*')
}
})
},
/** 终止任务 */
handleStop() {
this.linkByParameter.comment = this.dialogList.comment
breakProcess(this.linkByParameter).then((response) => {
if (response.success) {
this.$notify({
title: '提示',
message: '执行成功',
type: 'success',
duration: 2000
})
this.nodeDialogVisible = false
//
window.parent.postMessage({
cmd: 'returnHeight',
params: {
//
code: 1
}
}, '*')
}
})
}
}
}
</script>
<style scoped>
.span-sty {
width: 130px !important;
}
.addinputInfo {
margin-left: 120px !important;
}
.tlineheightb {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
}
/deep/ .tlineheightb .el-form-item .el-form-item__content .addinputInfo {
line-height: 15px !important;
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
}
.rowClass{
border-top: 1px solid #E0E3EB;
}
</style>

236
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/jinrongbiangengFlow/financialschememodificationEdit.vue

@ -0,0 +1,236 @@
<template>
<div class="app-container">
<div v-show="viewState == 1">
<div class="tab-header webtop">
<div>{{ viewTitle }}</div>
<div>
<el-button type="primary" size="small" @click="lookSales()">查看销售订单</el-button>
<el-button type="primary" size="small" :disabled="submitdisabled" @click="saveOrUpdate()">保存</el-button>
<el-button type="primary" size="small" :disabled="submitdisabled" @click="submit()">提交</el-button>
</div>
</div>
<div class="">
<el-form ref="form_obj" :model="formobj" :rules="rules" class="formaddcopy02">
<el-row style="border-top: 1px solid #e0e3eb">
<el-col :span="8">
<div class="span-sty"><span>申请部门</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.dept }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty"><span>申请人</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.applyName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty"><span>申请日期</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.applyDate }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div class="span-sty"><span>备注</span></div>
<el-form-item><el-input v-model="formobj.remarks" class="addinputInfo addinputw" clearable placeholder=""/></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div class="span-sty"><span>附件</span></div>
<el-form-item><upload ref="uploadImg" class="addinputInfo" v-model="formobj.files" :accept="accept" :limit="50" bucket="map" :upload-data="{ type: '0001' }"/></el-form-item>
</el-col>
</el-row>
<div class="title">客户基本信息</div>
<el-row>
<el-col :span="8" class="tlineheightb">
<div class="span-sty"><span>客户名称</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.customerName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty"><span>合同编号</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.contractNo }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty"><span>电话</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.mobile }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="16" class="tlineheightb">
<div class="span-sty"><span>地址</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.address }}</span></el-form-item>
</el-col>
<el-col :span="8" class="tlineheightb">
<div class="span-sty"><span>挂靠公司</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.affiliatedCompany }}</span></el-form-item>
</el-col>
</el-row>
<div>
<!-- 金融方案 -->
<financialschemeEdit :modelSid="formobj.modelSid" ref="divJR" @backParameters="backJR"/>
</div>
</el-form>
</div>
</div>
<!-- 查看销售订单 -->
<dingdanInfo v-show="viewState == 2" ref="divInfo" @doback="resetState"/>
</div>
</template>
<script>
import { changeInit, saveOrUpdate, details, submit } from '@/api/financialschememodification/financialschememodification'
import upload from '@/components/uploadFile/upload'
import dingdanInfo from '../publicPage/dingdanInfo'
import financialschemeEdit from '../publicPage/financialschemeEdit'
export default {
name: 'FinancialSchemeModificationEdit',
components: {
upload,
dingdanInfo,
financialschemeEdit
},
data() {
return {
viewTitle: '',
viewState: 1,
submitdisabled: false,
accept: '.jpg,.jpeg,.png,.JPG,.JPEG',
formobj: {
sid: '',
userSid: '',
orgPath: '',
applyName: '',
salesOrderSid: '',
solutionsSid: '',
applyDate: '',
deptSid: '',
dept: '',
modelSid: '',
affiliatedCompany: '',
remarks: '',
mobile: '',
address: '',
contractNo: '',
customerName: '',
files: [],
solutions: {},
taskId: '',
instanceId: ''
},
rules: {}
}
},
created() {
console.log('url:' + window.location.href)
var one = window.location.href.indexOf('&data') + 6
const data = window.location.href.substr(one) // urlunescape()web,使
const obj = JSON.parse(decodeURIComponent(data))
this.showInfo(obj.businessSid)
},
mounted() {
window.parent.postMessage({
cmd: 'returnHeight',
params: {
//
code: 2,
data: 500 + 'px'
}
}, '*')
},
methods: {
showInfo(sid) {
this.viewTitle = '【编辑】金融方案变更申请'
this.$nextTick(() => {
this.$refs['form_obj'].clearValidate()
})
details({ sid: sid }).then((res) => {
if (res.success) {
this.formobj = res.data
this.$refs['divJR'].showClient(this.formobj.solutions, this.formobj.orgPath, '04')
}
})
},
// --
backJR(val) {
this.formobj.solutions = val
},
lookSales() {
this.viewState = 2
this.$refs['divInfo'].showInfo({ sid: this.formobj.salesOrderSid })
},
resetState() {
this.viewState = 1
},
saveOrUpdate() {
this.$refs['form_obj'].validate((valid) => {
if (valid) {
this.submitdisabled = true
this.$refs['divJR'].backParameters()
saveOrUpdate(this.formobj).then((res) => {
if (res.success) {
this.$message({ showClose: true, type: 'success', message: '保存成功' })
// ()
window.parent.postMessage({
cmd: 'returnHeight',
params: {
//
code: 1
}
}, '*')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false
})
}
})
},
submit() {
this.$refs['form_obj'].validate((valid) => {
if (valid) {
this.submitdisabled = true
this.$refs['divJR'].backParameters()
submit(this.formobj).then((res) => {
if (res.success) {
this.$message({ showClose: true, type: 'success', message: '操作成功' })
// ()
window.parent.postMessage({
cmd: 'returnHeight',
params: {
//
code: 1
}
}, '*')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false
})
}
})
}
}
}
</script>
<style scoped>
.span-sty {
width: 130px !important;
}
.addinputInfo {
margin-left: 120px !important;
}
.tlineheightb {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
}
/deep/ .tlineheightb .el-form-item .el-form-item__content .addinputInfo {
line-height: 15px !important;
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
}
</style>

240
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/jinrongbiangengFlow/financialschememodificationYiBan.vue

@ -0,0 +1,240 @@
<template>
<div class="app-container">
<div v-show="viewState == 1">
<div class="tab-header webtop">
<div>{{ viewTitle }}</div>
<div>
<el-button type="primary" size="small" @click="lookSales()">查看销售订单</el-button>
<el-button type="danger" size="small" @click="openRevoke()">撤回</el-button>
</div>
</div>
<div class="">
<el-form ref="form_obj" :model="formobj" :rules="rules" class="formaddcopy02">
<el-row style="border-top: 1px solid #e0e3eb">
<el-col :span="8">
<div class="span-sty"><span>申请部门</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.dept }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty"><span>申请人</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.applyName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty"><span>申请日期</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.applyDate }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div class="span-sty"><span>备注</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.remarks }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div class="span-sty"><span>附件</span></div>
<el-form-item><el-image class="addinputInfo" style="width: 150px; height: 150px" v-for="(item, index) in formobj.files" :key="index" :src="item" :preview-src-list="formobj.files"/></el-form-item>
</el-col>
</el-row>
<div class="title">客户基本信息</div>
<el-row>
<el-col :span="8" class="tlineheightb">
<div class="span-sty"><span>客户名称</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.customerName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty"><span>合同编号</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.contractNo }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty"><span>电话</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.mobile }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="16" class="tlineheightb">
<div class="span-sty"><span>地址</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.address }}</span></el-form-item>
</el-col>
<el-col :span="8" class="tlineheightb">
<div class="span-sty"><span>挂靠公司</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.affiliatedCompany }}</span></el-form-item>
</el-col>
</el-row>
<div>
<!-- 金融方案 -->
<financialschemeInfo ref="divJR"/>
</div>
</el-form>
</div>
</div>
<!-- 查看销售订单 -->
<dingdanInfo v-show="viewState == 2" ref="divInfo" @doback="resetState"/>
</div>
</template>
<script>
import { details, revokeProcess } from '@/api/financialschememodification/financialschememodification'
import dingdanInfo from '../publicPage/dingdanInfo'
import financialschemeInfo from '../publicPage/financialschemeInfo'
export default {
name: 'FinancialSchemeModificationYiBan',
components: {
dingdanInfo,
financialschemeInfo
},
data() {
return {
viewTitle: '',
viewState: 1,
submitdisabled: false,
formobj: {
sid: '',
userSid: '',
orgPath: '',
applyName: '',
salesOrderSid: '',
solutionsSid: '',
applyDate: '',
deptSid: '',
dept: '',
affiliatedCompany: '',
remarks: '',
mobile: '',
address: '',
contractNo: '',
customerName: '',
files: [],
solutions: {},
taskId: '',
instanceId: ''
},
rules: {},
//
linkByParameter: {
businessSid: '',
comment: '',
instanceId: '',
taskId: '',
orgSidPath: '',
taskDefKey: '',
userSid: ''
}
}
},
created() {
console.log('url:' + window.location.href)
var one = window.location.href.indexOf('&data') + 6
const data = window.location.href.substr(one) // urlunescape()web,使
const obj = JSON.parse(decodeURIComponent(data))
console.log('iframe页面获取的obj:', obj)
//
this.linkByParameter.businessSid = obj.businessSid
this.linkByParameter.instanceId = obj.instanceId
this.linkByParameter.taskId = obj.taskId
this.linkByParameter.taskDefKey = obj.taskDefKey
this.linkByParameter.orgSidPath = window.sessionStorage.getItem('orgSidPath')
this.linkByParameter.userSid = window.sessionStorage.getItem('userSid')
//
this.showInfo(obj.businessSid)
},
mounted() {
window.parent.postMessage({
cmd: 'returnHeight',
params: {
//
code: 2,
data: 500 + 'px'
}
}, '*')
},
methods: {
showInfo(sid) {
this.viewTitle = '金融方案变更申请'
this.$nextTick(() => {
this.$refs['form_obj'].clearValidate()
})
details({ sid: sid }).then((res) => {
if (res.success) {
this.formobj = res.data
if (this.formobj.files.length > 0) {
const aa = []
this.formobj.files.forEach((e) => {
aa.push(e.url)
})
this.formobj.files = aa
}
this.$refs['divJR'].showInfo(this.formobj.solutions, '04')
}
})
},
lookSales() {
this.viewState = 2
this.$refs['divInfo'].showInfo({ sid: this.formobj.salesOrderSid })
},
resetState() {
this.viewState = 1
},
/** 确认撤回任务 */
openRevoke() {
this.$confirm('是否确认执行撤回操作', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.handleRevoke()
}).catch(() => {
this.$message({
type: 'info',
message: '已取消撤回'
})
})
},
/** 撤回任务 */
handleRevoke() {
revokeProcess(this.linkByParameter).then((response) => {
if (response.success) {
this.$notify({
title: '提示',
message: '执行成功',
type: 'success',
duration: 2000
})
this.nodeDialogVisible = false
//
window.parent.postMessage({
cmd: 'returnHeight',
params: {
//
code: 1
}
}, '*')
}
})
}
}
}
</script>
<style scoped>
.span-sty {
width: 130px !important;
}
.addinputInfo {
margin-left: 120px !important;
}
.tlineheightb {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
}
/deep/ .tlineheightb .el-form-item .el-form-item__content .addinputInfo {
line-height: 15px !important;
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
}
</style>

2
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/dingdanInfo.vue

@ -390,7 +390,7 @@ export default {
},
handleLook() {
this.viewState = 2
this.$refs['divInfo'].showInfo(this.formobj.solutionsDetailsssVo)
this.$refs['divInfo'].showInfo(this.formobj.solutionsDetailsssVo, '03')
},
//
getSummaries(param) {

51
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/financialscheme.vue

@ -321,6 +321,12 @@ import { calculate } from '@/api/salesManagement/orderManagement'
export default {
name: 'JinRongFangAn',
props: {
modelSid: {
type: String,
default: ''
}
},
data() {
return {
viewTitle: '',
@ -329,6 +335,7 @@ export default {
policy_list: [],
other_list: [],
isShowMore: false,
source: '', // (01-- 02-- 03 04)
finance: {
accessoriesAmount: '',
accessoriesAmountCb: false,
@ -401,7 +408,6 @@ export default {
vehTotalPrice: ''
},
orgPath: '',
modelSid: '',
rules: {}
}
},
@ -429,18 +435,27 @@ export default {
}
return val
},
showAdd(value, orgSidPath, modelSid) {
showAdd(value, orgSidPath, source) {
this.init()
this.modelSid = modelSid
this.source = source
this.finance = JSON.parse(JSON.stringify(value))
this.isShowMore = this.finance.isShowMore
this.orgPath = orgSidPath
if (this.finance.isPack !== '' && this.finance.isPack !== null) {
selectList({ orgPath: this.orgPath, userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack, modelSid: this.modelSid }).then((resp) => {
if (resp.success) {
this.policy_list = resp.data
}
})
// source04sid()
if (this.source == '04') {
selectList({ orgPath: this.orgPath, userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack, modelSid: this.modelSid, policySid: this.finance.policySid }).then((resp) => {
if (resp.success) {
this.policy_list = resp.data
}
})
} else {
selectList({ orgPath: this.orgPath, userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack, modelSid: this.modelSid }).then((resp) => {
if (resp.success) {
this.policy_list = resp.data
}
})
}
}
if (this.finance.policySid !== '' && this.finance.isPack !== null) {
selectListByOther({ orgPath: this.orgPath, userSid: window.sessionStorage.getItem('userSid'), sid: this.finance.policySid, modelSid: this.modelSid, period: this.finance.loanPeriod }).then((res) => {
@ -523,12 +538,19 @@ export default {
vehOtherPrice: '',
vehTotalPrice: ''
}
console.log(this.orgPath, window.sessionStorage.getItem('userSid'), this.finance.isPack, 88888)
selectList({ orgPath: this.orgPath, userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack, modelSid: this.modelSid }).then((resp) => {
if (resp.success) {
this.policy_list = resp.data
}
})
if (this.source == '04') {
selectList({ orgPath: this.orgPath, userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack, modelSid: this.modelSid, policySid: this.finance.policySid }).then((resp) => {
if (resp.success) {
this.policy_list = resp.data
}
})
} else {
selectList({ orgPath: this.orgPath, userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack, modelSid: this.modelSid }).then((resp) => {
if (resp.success) {
this.policy_list = resp.data
}
})
}
},
//
changePolicy(value) {
@ -885,7 +907,6 @@ export default {
vehTotalPrice: ''
}
this.orgPath = ''
this.modelSid = ''
this.isShowMore = false
this.$emit('doback')
}

20
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/financialschemeEdit.vue

@ -5,7 +5,7 @@
<div>金融方案</div>
<div>
<el-button type="primary" size="mini" @click="financialComputing">金融计算</el-button>
<el-button type="primary" size="small" @click="handleSave()">保存</el-button>
<el-button type="primary" size="small" v-show="source == '03'" @click="handleSave()">保存</el-button>
</div>
</div>
<el-form ref="dataForm" :model="formobj" class="formaddcopy02">
@ -312,7 +312,7 @@
</div>
</el-form>
</div>
<financialscheme v-show="viewState == 2" ref="divCount" @backData="backData" @doback="resetState"/>
<financialscheme v-bind="$attrs" v-show="viewState == 2" ref="divCount" @backData="backData" @doback="resetState"/>
</div>
</template>
<script>
@ -328,6 +328,7 @@ export default {
return {
viewTitle: '',
viewState: 1,
source: '',
formobj: {
accessoriesAmount: '',
accessoriesAmountCb: false,
@ -400,24 +401,31 @@ export default {
vehTotalPrice: ''
},
orgSidPath: '',
modelSid: '',
rules: {}
}
},
methods: {
showInfo(value, orgSidPath, modelSid) {
//
showInfo(value, orgSidPath, source) {
selectDetailss({ businessSid: value }).then((res) => {
if (res.success) {
this.formobj = res.data
this.formobj.saleOrderSid = res.data.salesOrderSid
this.modelSid = modelSid
}
})
this.source = source
this.orgSidPath = orgSidPath
},
// --
showClient(value, orgSidPath, source) {
this.formobj = value
this.orgSidPath = orgSidPath
this.source = source
this.viewState = 1
},
financialComputing() {
this.viewState = 2
this.$refs['divCount'].showAdd(this.formobj, this.orgSidPath, this.modelSid)
this.$refs['divCount'].showAdd(this.formobj, this.orgSidPath, this.source)
},
backData(value) {
this.viewState = 1

6
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/financialschemeInfo.vue

@ -2,7 +2,7 @@
<div class="app-container">
<div class="tab-header webtop">
<div>{{ viewTitle }}</div>
<div>
<div v-show="source == '03'">
<el-button type="info" size="small" icon="el-icon-close" @click="handleReturn()">关闭</el-button>
</div>
</div>
@ -322,6 +322,7 @@ export default {
viewTitle: '',
tableKey: 0,
index: 0,
source: '',
formobj: {
accessoriesAmount: '',
accessoriesAmountCb: false,
@ -396,9 +397,10 @@ export default {
}
},
methods: {
showInfo(value) {
showInfo(value, source) {
this.viewTitle = '金融方案'
this.formobj = JSON.parse(JSON.stringify(value))
this.source = source
},
handleReturn() {
this.formobj = {

2
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/xiaoshouguanliFlow/xiaoshoudingdanFlow/xiaoshoudingdan.vue

@ -465,7 +465,7 @@ export default {
},
handleLook() {
this.viewState = 2
this.$refs['divInfo'].showInfo(this.formobj.solutionsDetailsssVo)
this.$refs['divInfo'].showInfo(this.formobj.solutionsDetailsssVo, '03')
},
//
getSummaries(param) {

2
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/xiaoshouguanliFlow/xiaoshoudingdanFlow/xiaoshoudingdanByCaiGou.vue

@ -504,7 +504,7 @@ export default {
},
handleLook() {
this.viewState = 2
this.$refs['divInfo'].showInfo(this.formobj.solutionsDetailsssVo)
this.$refs['divInfo'].showInfo(this.formobj.solutionsDetailsssVo, '03')
},
//
getSummaries(param) {

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

@ -331,7 +331,7 @@
</div>
</el-form>
</el-dialog>
<financialschemeEdit ref="divAdd" v-show="viewState == 2" @doback="resetState"/>
<financialschemeEdit :modelSid="formobj.busSalesOrderModel.modelSid" ref="divAdd" v-show="viewState == 2" @doback="resetState"/>
</div>
</template>
<script>
@ -465,7 +465,7 @@ export default {
},
handleLook() {
this.viewState = 2
this.$refs['divAdd'].showInfo(this.linkByParameter.businessSid, this.formobj.orgSidPath, this.formobj.busSalesOrderModel.modelSid)
this.$refs['divAdd'].showInfo(this.linkByParameter.businessSid, this.formobj.orgSidPath, '03')
},
//
getSummaries(param) {

2
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/xiaoshouguanliFlow/xiaoshoudingdanFlow/xiaoshoudingdanInfo.vue

@ -424,7 +424,7 @@ export default {
},
handleLook() {
this.viewState = 2
this.$refs['divInfo'].showInfo(this.formobj.solutionsDetailsssVo)
this.$refs['divInfo'].showInfo(this.formobj.solutionsDetailsssVo, '03')
},
//
getSummaries(param) {

13
anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/xiaoshoudingdan.vue

@ -45,10 +45,11 @@
<el-table :key="tableKey" v-loading="listLoading" :data="list" border fit highlight-current-row style="width: 100%;" @selection-change="handleSelectionChange">
<el-table-column type="selection" align="center" width="50"/>
<el-table-column label="序号" type="index" width="80" :index="indexMethod" align="center"/>
<el-table-column width="220" label="操作" align="center">
<el-table-column width="300" label="操作" align="center">
<template slot-scope="scope">
<el-button size="small" type="primary" :disabled="scope.row.nodeState == '待提交' ? false : scope.row.nodeState == '' ? false : true" @click="toEdit(scope.row)">办理
</el-button>
<el-button size="small" type="primary" :disabled="scope.row.nodeState == '已办结' ? false : true" @click="handChange(scope.row)">金融变更</el-button>
<el-button size="small" type="primary" :disabled="scope.row.nodeState == '已办结' ? false : true" @click="handReturn(scope.row)">退车</el-button>
<el-button size="small" type="primary" @click="toInfo(scope.row)">查看</el-button>
<!-- <el-button size="small" type="primary" @click="printContract(scope.row)">打印合同</el-button>-->
@ -128,6 +129,8 @@
<confirm-lender/>
<!-- 销售订单退车 -->
<salesorderbycarAdd v-show="viewState == 5" ref="divSalesAdd" @doback="resetState" />
<!-- 金融方案变更 -->
<financialschememodificationAdd v-show="viewState == 6" ref="divFinancialAdd" @doback="resetState" />
</div>
</template>
@ -142,6 +145,7 @@ import divInfo from './xiaoshoudingdanInfo.vue'
import printContract from '@/views/xiaoshouguanli/xiaoshoudingdan/printContract'
import confirmLender from '@/views/xiaoshouguanli/xiaoshoudingdan/confirmLender'
import salesorderbycarAdd from '../xiaoshoudingdantuiche/salesorderbycarAdd'
import financialschememodificationAdd from '../../financialschememodification/financialschememodificationAdd'
export default {
name: 'xiaoshoudingdan',
@ -153,7 +157,8 @@ export default {
divInfo,
printContract,
confirmLender,
salesorderbycarAdd
salesorderbycarAdd,
financialschememodificationAdd
},
data() {
return {
@ -308,6 +313,10 @@ export default {
this.viewState = 3
this.$refs['divadd'].showEdit(row.sid)
},
handChange(row) {
this.viewState = 6
this.$refs['divFinancialAdd'].showAdd(row.sid)
},
// 退
handReturn(row) {
this.viewState = 5

2
anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/xiaoshoudingdanInfo.vue

@ -390,7 +390,7 @@ export default {
},
handleLook() {
this.viewState = 2
this.$refs['divInfo'].showInfo(this.formobj.solutionsDetailsssVo, 'xiaoshou')
this.$refs['divInfo'].showInfo(this.formobj.solutionsDetailsssVo, '03')
},
//
getSummaries(param) {

3
anrui-crm/anrui-crm-api/src/main/java/com/yxt/anrui/crm/api/crmcustomertemp/CrmCustomerTempFeign.java

@ -210,4 +210,7 @@ public interface CrmCustomerTempFeign {
@PostMapping("/updateByEntity")
public ResultBean updateByEntity(@RequestBody CrmCustomerTemp crmCustomerTemp);
@ApiOperation("根据客户sid修改身份证号码")
@PostMapping("/updateIdBySid")
ResultBean updateIdBySid(@RequestParam("idCard") String idCard,@RequestParam("custSid") String custSid);
}

5
anrui-crm/anrui-crm-api/src/main/java/com/yxt/anrui/crm/api/crmcustomertemp/CrmCustomerTempFeignFallback.java

@ -165,5 +165,10 @@ public class CrmCustomerTempFeignFallback implements CrmCustomerTempFeign {
return null;
}
@Override
public ResultBean updateIdBySid(String idCard, String custSid) {
return null;
}
}

3
anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempMapper.java

@ -9,6 +9,7 @@ import com.yxt.anrui.crm.api.crmcustomertemp.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import java.util.List;
import java.util.Map;
@ -132,4 +133,6 @@ public interface CrmCustomerTempMapper extends BaseMapper<CrmCustomerTemp> {
CrmCustomerTemp selectByCustomerNo(String customerNo);
List<CrmCustomerTemp> selectLists(@Param(Constants.WRAPPER) QueryWrapper<CrmCustomerTemp> qw);
void updateIdBySid(@Param("idCard") String idCard,@Param("custSid") String custSid);
}

6
anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempMapper.xml

@ -247,4 +247,10 @@
${ew.sqlSegment}
</where>
</select>
<update id="updateIdBySid">
update crm_customer_temp
set IDNumber = #{idCard}
where sid = #{custSid}
</update>
</mapper>

7
anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempRest.java

@ -318,5 +318,12 @@ public class CrmCustomerTempRest implements CrmCustomerTempFeign {
return rb.success();
}
@Override
public ResultBean updateIdBySid(String idCard, String custSid) {
ResultBean rb = ResultBean.fireFail();
crmCustomerTempService.updateIdBySid(idCard,custSid);
return rb.success();
}
}

4
anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempService.java

@ -1221,4 +1221,8 @@ public class CrmCustomerTempService extends MybatisBaseService<CrmCustomerTempMa
crmAppDisAndCustm.setExtra(crmExtra);
return rb.success().setMsg(resultBean.getMsg()).setData(crmAppDisAndCustm);
}
public void updateIdBySid(String idCard, String custSid) {
baseMapper.updateIdBySid(idCard,custSid);
}
}

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

@ -421,6 +421,9 @@ public class FinBillApplicationService extends MybatisBaseService<FinBillApplica
IPage page = PagerUtil.queryToPage(pq);
IPage<PcSelBillVinNoPageVo> pagging = baseMapper.getSelectVinsList(page, qw);
for (PcSelBillVinNoPageVo record : pagging.getRecords()) {
//车架号截取后八位
String vin = record.getVin();
record.setVin(vin.substring(vin.length() - 8));
//开票单位
if (StringUtils.isNotBlank(record.getPurchaseSystemSid())) {
ResultBean<FinCompanyInvoicingDetailsVo> invoicingDetailsVoResultBean = finCompanyInvoicingService.getDetailsByUseOrgAndSystem(useOrgSid, record.getPurchaseSystemSid());

9
anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loancapitalcreditresult/LoanCapitalCreditResultService.java

@ -40,10 +40,12 @@ import com.yxt.anrui.buscenter.api.bussalesordervehicle.BusSalesOrderVehicle;
import com.yxt.anrui.buscenter.api.bussalesordervehicle.BusSalesOrderVehicleFeign;
import com.yxt.anrui.portal.api.sysuser.PrivilegeQuery;
import com.yxt.anrui.portal.api.sysuser.SysUserFeign;
import com.yxt.anrui.riskcenter.api.loanfileexamine.LoanFileexamineDto;
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatefile.LoanAttachTypeEnum;
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatefile.LoanHomevisitInvestigateFileDetailsVo;
import com.yxt.anrui.riskcenter.api.loanhomevisitinvestigatefile.LoanHomevisitInvestigateFileDto;
import com.yxt.anrui.riskcenter.api.loanhomevisitprep.LoanHomevisitPrepVo;
import com.yxt.anrui.riskcenter.biz.loanfileexamine.LoanFileexamineService;
import com.yxt.anrui.riskcenter.biz.loanhomevisitinvestigatefile.LoanHomevisitInvestigateFileService;
import com.yxt.common.base.config.component.FileUploadComponent;
import org.apache.commons.lang3.StringUtils;
@ -90,6 +92,8 @@ public class LoanCapitalCreditResultService extends MybatisBaseService<LoanCapit
@Autowired
private LoanHomevisitInvestigateFileService loanHomevisitInvestigateFileService;
@Autowired
private LoanFileexamineService loanFileexamineService;
@Autowired
private BaseVehicleStateFeign baseVehicleStateFeign;
@Autowired
private BusSalesOrderVehicleFeign busSalesOrderVehicleFeign;
@ -186,6 +190,11 @@ public class LoanCapitalCreditResultService extends MybatisBaseService<LoanCapit
}
baseMapper.updateStateAndDateResult(dtoSid, dto.getCapCarefulDate(), dto.getCapCarefulResult());
busSalesOrderLoancontractFeign.updateBankConAndBusNo(dto.getLoanContractSid(), dto.getBankContractNo());
//推送放款资料审核
LoanFileexamineDto loanFileexamineDto = new LoanFileexamineDto();
loanFileexamineDto.setSaleOrderSid(dto.getSaleOrderSid());
loanFileexamineDto.setLoanContractSid(dto.getLoanContractSid());
loanFileexamineService.saveOrUpdateDto(loanFileexamineDto);
if ("通过".equals(dto.getCapCarefulResult())) {//通过推送融资放款到应收未收
LoanCapitalCreditResult loanCapitalCreditResult = fetchBySid(dtoSid);
LoanContractPush loanContractPush = new LoanContractPush();

7
anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanhomevisitinvestigate/LoanHomevisitInvestigateService.java

@ -26,6 +26,7 @@
package com.yxt.anrui.riskcenter.biz.loanhomevisitinvestigate;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.date.DateUtil;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.google.common.util.concurrent.ThreadFactoryBuilder;
@ -87,6 +88,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.concurrent.*;
@ -215,6 +217,7 @@ public class LoanHomevisitInvestigateService extends MybatisBaseService<LoanHome
if (StringUtils.isNotBlank(query.getNames())){
qw.and(wrapper -> wrapper.like("bo.contractNo", query.getNames()).or().like("bb.borrowerName", query.getNames()).or().like("li.homeVisStaffName", query.getNames()));
}
qw.orderByDesc("li.createTime");
IPage<LoanHomevisitInvestigate> page = PagerUtil.queryToPage(pq);
IPage<LoanHomevisitInvestigateVo> pagging = baseMapper.selectPageVo(page, qw);
for (LoanHomevisitInvestigateVo record : pagging.getRecords()) {
@ -366,7 +369,7 @@ public class LoanHomevisitInvestigateService extends MybatisBaseService<LoanHome
PushMessageQuery pushMessageQuery = new PushMessageQuery();
pushMessageQuery.setReceivedSids(recipientSidList);
pushMessageQuery.setModuleName("风控");
pushMessageQuery.setMsgContent("于"+dto.getTimes()+"贷款人"+loanName+"已完成家访预约工作");
pushMessageQuery.setMsgContent("贷款人" + loanName + "已完成家访预约,预约家访时间为" + dto.getTimes() + "。");
pushMessageQuery.setApp_type("2");
pushMessageQuery.setModuleSid("fec4e243-491a-11ec-94cd-fa163e0cb33c");
pushMessageQuery.setMsgTitle("预约成功提醒");
@ -1220,7 +1223,7 @@ public class LoanHomevisitInvestigateService extends MybatisBaseService<LoanHome
PushMessageQuery pushMessageQuery = new PushMessageQuery();
pushMessageQuery.setReceivedSids(receIveUserSidList);
pushMessageQuery.setModuleName("风控");
pushMessageQuery.setMsgContent(loanName+"家访考察已通过");
pushMessageQuery.setMsgContent("于" + DateUtil.formatDate(new Date()) + "贷款人" + loanName + "已完成家访工作。");
pushMessageQuery.setApp_type("2");
pushMessageQuery.setModuleSid("fec4e243-491a-11ec-94cd-fa163e0cb33c");
pushMessageQuery.setMsgTitle("家访考察通过提醒");

1
anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanhomevisitprep/LoanHomevisitPrepService.java

@ -161,6 +161,7 @@ public class LoanHomevisitPrepService extends MybatisBaseService<LoanHomevisitPr
qw.apply(StringUtils.isNotBlank(orderStartDate), "date_format (bo.createDate,'%Y-%m-%d') >= date_format('" + orderStartDate + "','%Y-%m-%d')").
apply(StringUtils.isNotBlank(orderEndDate), "date_format (bo.createDate,'%Y-%m-%d') <= date_format('" + orderEndDate + "','%Y-%m-%d')"
);
qw.orderByDesc("lp.createTime");
IPage<LoanHomevisitPrep> page = PagerUtil.queryToPage(pq);
IPage<LoanHomevisitPrepVo> pagging = baseMapper.selectPageVo(page, qw);
PagerVo<LoanHomevisitPrepVo> p = PagerUtil.pageToVo(pagging, null);

6
anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanpreloancreditapply/LoanPreloanCreditApplyService.java

@ -32,6 +32,7 @@ import com.yxt.anrui.base.api.commonappendix.CommonAppendixDto;
import com.yxt.anrui.base.api.commonappendix.CommonAppendixFeign;
import com.yxt.anrui.base.api.commonappendix.CommonAppendixSelectQuery;
import com.yxt.anrui.base.api.commonappendix.CommonAppendixVo;
import com.yxt.anrui.crm.api.crmcustomertemp.CrmCustomerTempFeign;
import com.yxt.anrui.riskcenter.api.loancreditappealapply.LoanCreditAppealApply;
import com.yxt.anrui.riskcenter.api.loanfinpolicy.LoanFinPolicy;
import com.yxt.anrui.riskcenter.api.loanpreloancreditapply.*;
@ -78,6 +79,8 @@ public class LoanPreloanCreditApplyService extends MybatisBaseService<LoanPreloa
private LoanSolutionsService loanSolutionsService;
@Autowired
private LoanFinPolicyService loanFinPolicyService;
@Autowired
private CrmCustomerTempFeign crmCustomerTempFeign;
public PagerVo<LoanPreloanCreditApplyVo> listPageVo(PagerQuery<LoanPreloanCreditApplyQuery> pq) {
LoanPreloanCreditApplyQuery query = pq.getParams();
@ -414,6 +417,9 @@ public class LoanPreloanCreditApplyService extends MybatisBaseService<LoanPreloa
public ResultBean submitSave(LoanPreloanCreditApplyDto dto) {
ResultBean rb = ResultBean.fireFail();
if (StringUtils.isNotBlank(dto.getIdCard())){
crmCustomerTempFeign.updateIdBySid(dto.getIdCard(),dto.getCustSid());
}
ResultBean<String> stringResultBean = saveOrUpdateDto(dto);
if (!stringResultBean.getSuccess()) {
return rb.setMsg("保存失败");

3
anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/autoservice/retrieval/CarListVo2.java

@ -21,4 +21,7 @@ public class CarListVo2 implements Vo {
@ApiModelProperty("实际购车人")
private DeliveredUseMessagesVo realBuyer;
private String qkKpSid;
private String qkLpSid;
}

2
anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/autoservice/retrieval/DeliveredDetailsVoQk2.java

@ -118,4 +118,6 @@ public class DeliveredDetailsVoQk2 implements Vo {
@ApiModelProperty("车辆登记合同")
private List<String> carFileList = new ArrayList<>();
}

Loading…
Cancel
Save