Browse Source

Merge remote-tracking branch 'origin/master'

master
dimengzhe 4 months ago
parent
commit
58556b238a
  1. 1
      anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmfinanceadjustapply/AdjustVehListVo.java
  2. 1
      anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmfinanceadjustdetails/ScmFinanceAdjustDetails.java
  3. 2
      anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmspecialrebatecheckapply/flow/GetNodeQuery.java
  4. 2
      anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmspecialrebatedistribute/flow/GetNodeQuery.java
  5. 2
      anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmspecialrebatewithapply/flow/GetNodeQuery.java
  6. 8
      anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehrebate/ScmVehRebateExcelInfo.java
  7. 2
      anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehrebatecheckapply/flow/GetNodeQuery.java
  8. 2
      anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehrebatewithapply/flow/GetNodeQuery.java
  9. 4
      anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmfinanceadjustapply/ScmFinanceAdjustApplyMapper.xml
  10. 2
      anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehrebate/ScmVehRebateMapper.java
  11. 2
      anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehrebate/ScmVehRebateMapper.xml
  12. 56
      anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehrebate/ScmVehRebateService.java
  13. BIN
      anrui-scm/anrui-scm-biz/src/main/resources/static/单车返利管理.xls
  14. 18
      anrui-scm/anrui-scm-ui/src/views/financialDiscount/differenceManagement/differenceManagementAdd.vue
  15. 19
      anrui-scm/anrui-scm-ui/src/views/financialDiscount/differenceManagement/differenceManagementInfo.vue
  16. 17
      anrui-scm/anrui-scm-ui/src/views/financialDiscount/differenceManagement/varianceDetail.vue
  17. 19
      anrui-scm/anrui-scm-ui/src/views/workFlow/chayitiaozhengFlow/differenceManagementDaiBan.vue
  18. 19
      anrui-scm/anrui-scm-ui/src/views/workFlow/chayitiaozhengFlow/differenceManagementEdit.vue
  19. 19
      anrui-scm/anrui-scm-ui/src/views/workFlow/chayitiaozhengFlow/differenceManagementYiBan.vue
  20. 4
      anrui-scm/anrui-scm-ui/src/views/workFlow/danchefanliheduiFlow/danchefanliheduiDaiBanInfo.vue
  21. 4
      anrui-scm/anrui-scm-ui/src/views/workFlow/danchefanliyutiFlow/danchefanliyutiDaiBanInfo.vue
  22. 4
      anrui-scm/anrui-scm-ui/src/views/workFlow/huikuanfanliheduiFlow/huikuanfanliheduiDanBanInfo.vue
  23. 4
      anrui-scm/anrui-scm-ui/src/views/workFlow/huikuanfanliyutiFlow/huikuanfanliyutiDanBanInfo.vue
  24. 4
      anrui-scm/anrui-scm-ui/src/views/workFlow/zhuanxiangfanlifenpeiFlow/zhuanxiangfanlifenpeiDaiBanInfo.vue
  25. 4
      anrui-scm/anrui-scm-ui/src/views/workFlow/zhuanxiangfanliheduiFlow/zhuanxiangfanliheduiDaiBanInfo.vue
  26. 4
      anrui-scm/anrui-scm-ui/src/views/workFlow/zhuanxiangfanliyutiFlow/zhuanxiangfanliyutiDaiBanInfo.vue

1
anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmfinanceadjustapply/AdjustVehListVo.java

@ -46,5 +46,6 @@ public class AdjustVehListVo {
private String nowDiffAmount; // 当前差异金额
@ApiModelProperty("单车返利管理sid")
private String rebateSid; // 单车返利管理sid
private String salesOrderSid; // 销售订单sid
}

1
anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmfinanceadjustdetails/ScmFinanceAdjustDetails.java

@ -90,5 +90,6 @@ public class ScmFinanceAdjustDetails extends BaseEntity {
private BigDecimal nowDiffAmount; // 当前差异金额
@ApiModelProperty("单车返利管理sid")
private String rebateSid; // 单车返利管理sid
private String salesOrderSid; // 销售订单sid
}

2
anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmspecialrebatecheckapply/flow/GetNodeQuery.java

@ -19,6 +19,8 @@ public class GetNodeQuery implements Query {
@ApiModelProperty(value = "环节定义id")
@NotBlank(message = "参数错误:taskDefKey")
private String taskDefKey;
@ApiModelProperty(value = "业务sid")
private String businessSid;
@ApiModelProperty(value = "分支字段及业务字段")
private Map<String, Object> formVariables;

2
anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmspecialrebatedistribute/flow/GetNodeQuery.java

@ -19,6 +19,8 @@ public class GetNodeQuery implements Query {
@ApiModelProperty(value = "环节定义id")
@NotBlank(message = "参数错误:taskDefKey")
private String taskDefKey;
@ApiModelProperty(value = "业务sid")
private String businessSid;
@ApiModelProperty(value = "分支字段及业务字段")
private Map<String, Object> formVariables;

2
anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmspecialrebatewithapply/flow/GetNodeQuery.java

@ -19,6 +19,8 @@ public class GetNodeQuery implements Query {
@ApiModelProperty(value = "环节定义id")
@NotBlank(message = "参数错误:taskDefKey")
private String taskDefKey;
@ApiModelProperty(value = "业务sid")
private String businessSid;
@ApiModelProperty(value = "分支字段及业务字段")
private Map<String, Object> formVariables;

8
anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehrebate/ScmVehRebateExcelInfo.java

@ -3,8 +3,6 @@ package com.yxt.anrui.scm.api.scmvehrebate;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
@Data
public class ScmVehRebateExcelInfo {
@ -14,10 +12,12 @@ public class ScmVehRebateExcelInfo {
private String rebateTypeValue;
@ApiModelProperty("返利名称")
private String rebateName;
@ApiModelProperty("计算方式")
private String calculationModeValue;
@ApiModelProperty("计算标准")
private String calculationStandard;
@ApiModelProperty("返利金额")
private String estimateRebate;
// @ApiModelProperty("返利金额")
// private String estimateRebate;
@ApiModelProperty("其中待支付费用")
private String expectTreatCost;
@ApiModelProperty("其中抵顶费用")

2
anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehrebatecheckapply/flow/GetNodeQuery.java

@ -19,6 +19,8 @@ public class GetNodeQuery implements Query {
@ApiModelProperty(value = "环节定义id")
@NotBlank(message = "参数错误:taskDefKey")
private String taskDefKey;
@ApiModelProperty(value = "业务sid")
private String businessSid;
@ApiModelProperty(value = "分支字段及业务字段")
private Map<String, Object> formVariables;

2
anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehrebatewithapply/flow/GetNodeQuery.java

@ -19,6 +19,8 @@ public class GetNodeQuery implements Query {
@ApiModelProperty(value = "环节定义id")
@NotBlank(message = "参数错误:taskDefKey")
private String taskDefKey;
@ApiModelProperty(value = "业务sid")
private String businessSid;
@ApiModelProperty(value = "分支字段及业务字段")
private Map<String, Object> formVariables;

4
anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmfinanceadjustapply/ScmFinanceAdjustApplyMapper.xml

@ -42,7 +42,7 @@
</select>
<select id="getAdjustVehList"
resultType="com.yxt.anrui.scm.api.scmfinanceadjustapply.AdjustVehListVo">
SELECT n.*,bo.contractNo,bo.customerSid,bo.customerName,
SELECT n.*,bo.contractNo,bo.customerSid,bo.customerName,bo.sid salesOrderSid,
CASE
WHEN n.alreadyMoney = 0 THEN'未调整'
WHEN n.alreadyMoney != 0 AND n.nowDiffAmount != 0 THEN '部分调整'
@ -79,7 +79,7 @@
<select id="finAdjustList"
resultType="com.yxt.anrui.scm.api.scmfinanceadjustapply.AdjustVehListVo">
SELECT n.*,
bo.contractNo,bo.customerSid,bo.customerName,
bo.contractNo,bo.customerSid,bo.customerName,bo.sid salesOrderSid,
CASE
WHEN n.alreadyMoney = 0 THEN'未调整'
WHEN n.alreadyMoney != 0 AND n.nowDiffAmount != 0 THEN '部分调整'

2
anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehrebate/ScmVehRebateMapper.java

@ -69,7 +69,7 @@ public interface ScmVehRebateMapper extends BaseMapper<ScmVehRebate> {
void updateTwoExcelInfo(@Param("secondaryUploadDate") String secondaryUploadDate, @Param("secondaryUploadMoney") String secondaryUploadMoney, @Param("secondTreatCost") String secondTreatCost, @Param("secondSuppCost") String secondSuppCost, @Param("secondSuppRemark") String secondSuppRemark, @Param("adjustmentRemarks") String adjustmentRemarks, @Param("isAdjustment") String isAdjustment, @Param("adjustmentMoney") String adjustmentMoney, @Param("diffAmount") String diffAmount, @Param("sid") String sid);
ScmVehRebateVo selectByVinNoAndOrgSid(@Param("vinNo") String vinNo, @Param("rebateTypeValue") String rebateTypeValue, @Param("rebateName") String rebateName, @Param("palceGenDate") String palceGenDate, @Param("estimateRebate") String estimateRebate, @Param("useOrgSid") String useOrgSid);
ScmVehRebateVo selectByVinNoAndOrgSid(@Param("vinNo") String vinNo, @Param("rebateTypeValue") String rebateTypeValue, @Param("rebateName") String rebateName, @Param("palceGenDate") String palceGenDate, @Param("calculationModeValue") String calculationModeValue, @Param("useOrgSid") String useOrgSid);
@Update("update scm_veh_rebate set adjustmentState = #{adjustmentState} where sid = #{vehRebateSid}")
void updateAdjustmentState(@Param("vehRebateSid") String vehRebateSid, @Param("adjustmentState") int adjustmentState);

2
anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehrebate/ScmVehRebateMapper.xml

@ -46,7 +46,7 @@
AND rebateTypeValue = #{rebateTypeValue}
AND rebateName = #{rebateName}
AND palceGenDate = #{palceGenDate}
AND estimateRebate = #{estimateRebate}
AND calculationModeValue = #{calculationModeValue}
AND createOrgSid = #{useOrgSid}
</select>

56
anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehrebate/ScmVehRebateService.java

@ -26,7 +26,6 @@
package com.yxt.anrui.scm.biz.scmvehrebate;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
@ -39,16 +38,13 @@ import com.yxt.anrui.portal.api.sysorganization.SysOrganizationVo;
import com.yxt.anrui.portal.api.sysstafforg.SysStaffOrgFeign;
import com.yxt.anrui.portal.api.sysuser.PrivilegeQuery;
import com.yxt.anrui.portal.api.sysuser.SysUserFeign;
import com.yxt.anrui.scm.api.scmcollectionrebate.ScmCollectionRebateVo;
import com.yxt.anrui.scm.api.scmspecialrebate.ScmSpecialRebateExcelVo;
import com.yxt.anrui.scm.api.scmvehrebate.*;
import org.apache.commons.lang3.StringUtils;
import com.yxt.common.base.service.MybatisBaseService;
import com.yxt.common.base.utils.PagerUtil;
import com.yxt.common.core.query.PagerQuery;
import com.yxt.common.core.result.ResultBean;
import com.yxt.common.core.vo.PagerVo;
import org.apache.commons.lang3.StringUtils;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row;
@ -661,7 +657,15 @@ public class ScmVehRebateService extends MybatisBaseService<ScmVehRebateMapper,
scmVehRebate.setRebateTypeValue(info.getRebateTypeValue());
scmVehRebate.setRebateName(info.getRebateName());
scmVehRebate.setCalculationStandard(info.getCalculationStandard());
scmVehRebate.setEstimateRebate(info.getEstimateRebate());
if (StringUtils.isNotBlank(info.getCalculationModeValue())) {
String calculationModeValue = info.getCalculationModeValue();
if (calculationModeValue.equals("比例")) {
scmVehRebate.setCalculationModeKey("001");
} else {
scmVehRebate.setCalculationModeKey("002");
}
scmVehRebate.setCalculationModeValue(info.getCalculationModeValue());
}
scmVehRebate.setPalceGenDate(info.getPalceGenDate());
scmVehRebate.setExpectTreatCost(new BigDecimal(info.getExpectTreatCost()));
scmVehRebate.setExpectSuppCost(new BigDecimal(info.getExpectSuppCost()));
@ -716,10 +720,10 @@ public class ScmVehRebateService extends MybatisBaseService<ScmVehRebateMapper,
importVo.setRebateName(temp);
break;
case 3:
importVo.setCalculationStandard(temp);
importVo.setCalculationModeValue(temp);
break;
case 4:
importVo.setEstimateRebate(temp);
importVo.setCalculationStandard(temp);
break;
case 5:
importVo.setExpectTreatCost(temp);
@ -757,10 +761,10 @@ public class ScmVehRebateService extends MybatisBaseService<ScmVehRebateMapper,
word = "返利名称";
break;
case 3:
word = "计算标准";
word = "计算方式(固定金额、比例)";
break;
case 4:
word = "返利金额";
word = "计算标准";
break;
case 5:
word = "其中待支付费用";
@ -788,7 +792,7 @@ public class ScmVehRebateService extends MybatisBaseService<ScmVehRebateMapper,
}
if (!importVoList.isEmpty()) {
for (ScmVehRebateExcelInfo excelInfo : importVoList) {
ScmVehRebateVo scmVehRebateVo = baseMapper.selectByVinNoAndOrgSid(excelInfo.getVinNo(), excelInfo.getRebateTypeValue(), excelInfo.getRebateName(), excelInfo.getPalceGenDate(), excelInfo.getEstimateRebate(), useOrgSid);
ScmVehRebateVo scmVehRebateVo = baseMapper.selectByVinNoAndOrgSid(excelInfo.getVinNo(), excelInfo.getRebateTypeValue(), excelInfo.getRebateName(), excelInfo.getPalceGenDate(), excelInfo.getCalculationModeValue(), useOrgSid);
if (scmVehRebateVo != null) {
checkWord.add("车架号为" + excelInfo.getVinNo() + "的单车返利信息已存在");
break;
@ -830,23 +834,27 @@ public class ScmVehRebateService extends MybatisBaseService<ScmVehRebateMapper,
checkWord.add("返利名称不能为空");
break;
}
if (StringUtils.isBlank(excelInfo.getCalculationStandard())) {
checkWord.add("计算标准不能为空");
if (StringUtils.isBlank(excelInfo.getCalculationModeValue())) {
checkWord.add("计算方式不能为空");
break;
}
if (StringUtils.isBlank(excelInfo.getEstimateRebate())) {
checkWord.add("返利金额不能为空");
if (StringUtils.isBlank(excelInfo.getCalculationStandard())) {
checkWord.add("计算标准不能为空");
break;
}
if (StringUtils.isNotBlank(excelInfo.getEstimateRebate())) {
String estimateRebate = excelInfo.getEstimateRebate();
Pattern pattern = Pattern.compile("^\\d+(.\\d{1,2})?$");
boolean matches = pattern.matcher(estimateRebate).matches();
if (!matches) {
checkWord.add("返利金额必须为数字");
break;
}
}
// if (StringUtils.isBlank(excelInfo.getEstimateRebate())) {
// checkWord.add("返利金额不能为空");
// break;
// }
// if (StringUtils.isNotBlank(excelInfo.getEstimateRebate())) {
// String estimateRebate = excelInfo.getEstimateRebate();
// Pattern pattern = Pattern.compile("^\\d+(.\\d{1,2})?$");
// boolean matches = pattern.matcher(estimateRebate).matches();
// if (!matches) {
// checkWord.add("返利金额必须为数字");
// break;
// }
// }
if (StringUtils.isBlank(excelInfo.getExpectTreatCost())) {
checkWord.add("其中待支付费用不能为空");
break;

BIN
anrui-scm/anrui-scm-biz/src/main/resources/static/单车返利管理.xls

Binary file not shown.

18
anrui-scm/anrui-scm-ui/src/views/financialDiscount/differenceManagement/differenceManagementAdd.vue

@ -80,7 +80,11 @@
<el-table-column prop="vehModelName" label="车型" align="center" min-width="160" />
<el-table-column prop="vinNo" label="车架号" align="center" width="140" />
<el-table-column prop="customerName" label="客户名称" align="center" width="120" />
<el-table-column prop="contractNo" label="合同编号" align="center" width="170" />
<el-table-column prop="contractNo" label="合同编号" align="center" width="170">
<template slot-scope="scope">
<span class="bluezi" @click="lookSales(scope.row.salesOrderSid)">{{ scope.row.contractNo }}</span>
</template>
</el-table-column>
<el-table-column prop="estimateRebate" label="订单贴息金额" align="center" width="150" />
<el-table-column prop="uploadMoney" label="上传贴息金额" align="center" width="150" />
<el-table-column prop="adjustmentMoney" label="差额" align="center" width="100" />
@ -114,7 +118,10 @@
</el-form>
</div>
</div>
<!-- 选择金融差异调整 -->
<chooseAdjustment v-show="viewState == 2" ref="divChoose" @backData="backData" @doback="resetState" />
<!-- 查看销售订单详情 -->
<saleOrder v-show="viewState == 3" ref="divSales" @doback="resetState" />
</div>
</template>
@ -123,12 +130,14 @@ import req from '@/api/financialDiscount/financialDiscount'
import { getOrgSidByPath, fetchBySid, selectSysUserList, typeValues, selectStaffListByUseOrgSid } from '@/api/cheliang/dictcommons'
import uploadImg from '@/components/uploadFile/uploadImg'
import chooseAdjustment from './relation/chooseAdjustment'
import saleOrder from '@/components/publicPage/saleOrder'
export default {
name: 'DifferenceManagementAdd',
components: {
uploadImg,
chooseAdjustment
chooseAdjustment,
saleOrder
},
data() {
return {
@ -299,6 +308,7 @@ export default {
customerSid: e.customerSid,
customerName: e.customerName,
contractNo: e.contractNo,
salesOrderSid: e.salesOrderSid,
estimateRebate: e.estimateRebate,
uploadMoney: e.uploadMoney,
adjustmentMoney: e.adjustmentMoney,
@ -312,6 +322,10 @@ export default {
handleDelete(index) {
this.formobj.list.splice(index, 1)
},
lookSales(sid) {
this.viewState = 3
this.$refs['divSales'].showInfo(sid)
},
resetState() {
this.viewState = 1
},

19
anrui-scm/anrui-scm-ui/src/views/financialDiscount/differenceManagement/differenceManagementInfo.vue

@ -58,7 +58,11 @@
<el-table-column prop="vehModelName" label="车型" align="center" min-width="160" />
<el-table-column prop="vinNo" label="车架号" align="center" width="140" />
<el-table-column prop="customerName" label="客户名称" align="center" width="120" />
<el-table-column prop="contractNo" label="合同编号" align="center" width="170" />
<el-table-column prop="contractNo" label="合同编号" align="center" width="170">
<template slot-scope="scope">
<span class="bluezi" @click="lookSales(scope.row.salesOrderSid)">{{ scope.row.contractNo }}</span>
</template>
</el-table-column>
<el-table-column prop="estimateRebate" label="订单贴息金额" align="center" width="150" />
<el-table-column prop="uploadMoney" label="上传贴息金额" align="center" width="150" />
<el-table-column prop="adjustmentMoney" label="差额" align="center" width="100" />
@ -82,14 +86,20 @@
</el-form>
</div>
</div>
<!-- 查看销售订单详情 -->
<saleOrder v-show="viewState == 3" ref="divSales" @doback="resetState" />
</div>
</template>
<script>
import req from '@/api/financialDiscount/financialDiscount'
import saleOrder from '@/components/publicPage/saleOrder'
export default {
name: 'DifferenceManagementInfo',
components: {
saleOrder
},
data() {
return {
viewTitle: '',
@ -140,6 +150,13 @@ export default {
}
})
},
lookSales(sid) {
this.viewState = 3
this.$refs['divSales'].showInfo(sid)
},
resetState() {
this.viewState = 1
},
getSummaries(param) {
const { columns, data } = param
const sums = []

17
anrui-scm/anrui-scm-ui/src/views/financialDiscount/differenceManagement/varianceDetail.vue

@ -74,6 +74,11 @@
<el-table-column prop="adjustmentMoney" label="差额" align="center" width="100" />
<el-table-column prop="nowAdjustmentMoney" label="本次调整" align="center" width="100" />
<el-table-column prop="nowDiffAmount" label="本次调整后差额" align="center" width="140" />
<el-table-column prop="billNo" label="审批编号" align="center" width="180">
<template slot-scope="scope">
<span class="bluezi" @click="lookInfo(scope.row.applySid)">{{ scope.row.billNo }}</span>
</template>
</el-table-column>
<el-table-column prop="adjustTime" label="调整时间" align="center" width="100" />
<el-table-column prop="adjustWay" label="调整方式" align="center" width="100" />
<el-table-column prop="remarks" label="调整说明" align="center" min-width="200" />
@ -85,6 +90,7 @@
</div>
</div>
</div>
<differenceManagementInfo v-show="viewState == 2" ref="divInfo" @doback="resetState" />
</div>
</template>
@ -92,12 +98,14 @@
import req from '@/api/financialDiscount/financialDiscount'
import Pagination from '@/components/pagination'
import ButtonBar from '@/components/ButtonBar'
import differenceManagementInfo from './differenceManagementInfo'
export default {
name: 'VarianceDetail',
components: {
Pagination,
ButtonBar
ButtonBar,
differenceManagementInfo
},
data() {
return {
@ -242,6 +250,13 @@ export default {
}
this.getList()
},
lookInfo(value) {
this.viewState = 2
this.$refs['divInfo'].showInfo({ sid: value })
},
resetState() {
this.viewState = 1
},
handleClick() {
this.$parent.resetState()
this.$parent.handleReset()

19
anrui-scm/anrui-scm-ui/src/views/workFlow/chayitiaozhengFlow/differenceManagementDaiBan.vue

@ -61,7 +61,11 @@
<el-table-column prop="vehModelName" label="车型" align="center" min-width="160" />
<el-table-column prop="vinNo" label="车架号" align="center" width="140" />
<el-table-column prop="customerName" label="客户名称" align="center" width="120" />
<el-table-column prop="contractNo" label="合同编号" align="center" width="170" />
<el-table-column prop="contractNo" label="合同编号" align="center" width="170">
<template slot-scope="scope">
<span class="bluezi" @click="lookSales(scope.row.salesOrderSid)">{{ scope.row.contractNo }}</span>
</template>
</el-table-column>
<el-table-column prop="estimateRebate" label="订单贴息金额" align="center" width="150" />
<el-table-column prop="uploadMoney" label="上传贴息金额" align="center" width="150" />
<el-table-column prop="adjustmentMoney" label="差额" align="center" width="100" />
@ -85,6 +89,8 @@
</el-form>
</div>
</div>
<!-- 查看销售订单详情 -->
<saleOrder v-show="viewState == 3" ref="divSales" @doback="resetState" />
<!-- 选择待办人 的弹出框-->
<el-dialog title="填写审批意见" :visible.sync="nodeDialogVisible" width="80%">
<el-form class="formadd" >
@ -129,9 +135,13 @@
<script>
import req from '@/api/financialDiscount/financialDiscount'
import { selectStaffListss } from '@/api/Common/dictcommons'
import saleOrder from '../../workFlow/publicPage/xiaoshoudingdanInfo'
export default {
name: 'DifferenceManagementDaiBan',
components: {
saleOrder
},
data() {
return {
viewTitle: '',
@ -251,6 +261,13 @@ export default {
}
})
},
lookSales(sid) {
this.viewState = 3
this.$refs['divSales'].showInfo(sid)
},
resetState() {
this.viewState = 1
},
getSummaries(param) {
const { columns, data } = param
const sums = []

19
anrui-scm/anrui-scm-ui/src/views/workFlow/chayitiaozhengFlow/differenceManagementEdit.vue

@ -79,7 +79,11 @@
<el-table-column prop="vehModelName" label="车型" align="center" min-width="160" />
<el-table-column prop="vinNo" label="车架号" align="center" width="140" />
<el-table-column prop="customerName" label="客户名称" align="center" width="120" />
<el-table-column prop="contractNo" label="合同编号" align="center" width="170" />
<el-table-column prop="contractNo" label="合同编号" align="center" width="170">
<template slot-scope="scope">
<span class="bluezi" @click="lookSales(scope.row.salesOrderSid)">{{ scope.row.contractNo }}</span>
</template>
</el-table-column>
<el-table-column prop="estimateRebate" label="订单贴息金额" align="center" width="150" />
<el-table-column prop="uploadMoney" label="上传贴息金额" align="center" width="150" />
<el-table-column prop="adjustmentMoney" label="差额" align="center" width="100" />
@ -114,20 +118,24 @@
</div>
</div>
<chooseAdjustment v-show="viewState == 2" ref="divChoose" @backData="backData" @doback="resetState" />
<!-- 查看销售订单详情 -->
<saleOrder v-show="viewState == 3" ref="divSales" @doback="resetState" />
</div>
</template>
<script>
import req from '@/api/financialDiscount/financialDiscount'
import { getOrgSidByPath, fetchBySid, selectSysUserList, typeValues, selectStaffListByUseOrgSid } from '@/api/cheliang/dictcommons'
import { selectSysUserList, typeValues, selectStaffListByUseOrgSid } from '@/api/cheliang/dictcommons'
import uploadImg from '@/components/uploadFile/uploadImg'
import chooseAdjustment from './relation/chooseAdjustment'
import saleOrder from '../../workFlow/publicPage/xiaoshoudingdanInfo'
export default {
name: 'DifferenceManagementEdit',
components: {
uploadImg,
chooseAdjustment
chooseAdjustment,
saleOrder
},
data() {
return {
@ -282,6 +290,7 @@ export default {
customerSid: e.customerSid,
customerName: e.customerName,
contractNo: e.contractNo,
salesOrderSid: e.salesOrderSid,
estimateRebate: e.estimateRebate,
uploadMoney: e.uploadMoney,
adjustmentMoney: e.adjustmentMoney,
@ -295,6 +304,10 @@ export default {
handleDelete(index) {
this.formobj.list.splice(index, 1)
},
lookSales(sid) {
this.viewState = 3
this.$refs['divSales'].showInfo(sid)
},
resetState() {
this.viewState = 1
},

19
anrui-scm/anrui-scm-ui/src/views/workFlow/chayitiaozhengFlow/differenceManagementYiBan.vue

@ -58,7 +58,11 @@
<el-table-column prop="vehModelName" label="车型" align="center" min-width="160" />
<el-table-column prop="vinNo" label="车架号" align="center" width="140" />
<el-table-column prop="customerName" label="客户名称" align="center" width="120" />
<el-table-column prop="contractNo" label="合同编号" align="center" width="170" />
<el-table-column prop="contractNo" label="合同编号" align="center" width="170">
<template slot-scope="scope">
<span class="bluezi" @click="lookSales(scope.row.salesOrderSid)">{{ scope.row.contractNo }}</span>
</template>
</el-table-column>
<el-table-column prop="estimateRebate" label="订单贴息金额" align="center" width="150" />
<el-table-column prop="uploadMoney" label="上传贴息金额" align="center" width="150" />
<el-table-column prop="adjustmentMoney" label="差额" align="center" width="100" />
@ -82,14 +86,20 @@
</el-form>
</div>
</div>
<!-- 查看销售订单详情 -->
<saleOrder v-show="viewState == 3" ref="divSales" @doback="resetState" />
</div>
</template>
<script>
import req from '@/api/financialDiscount/financialDiscount'
import saleOrder from '../../workFlow/publicPage/xiaoshoudingdanInfo'
export default {
name: 'DifferenceManagementYiBan',
components: {
saleOrder
},
data() {
return {
viewTitle: '',
@ -175,6 +185,13 @@ export default {
}
})
},
lookSales(sid) {
this.viewState = 3
this.$refs['divSales'].showInfo(sid)
},
resetState() {
this.viewState = 1
},
getSummaries(param) {
const { columns, data } = param
const sums = []

4
anrui-scm/anrui-scm-ui/src/views/workFlow/danchefanliheduiFlow/danchefanliheduiDaiBanInfo.vue

@ -259,7 +259,7 @@ export default {
this.operation = val
this.currentLink = true
this.dialogList.comment = '同意'
req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey }).then((resp) => {
req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey, businessSid: this.linkByParameter.businessSid }).then((resp) => {
if (resp.success) {
var arr = resp.data
this.nextNode = arr[0]
@ -273,7 +273,7 @@ export default {
this.operation = val
this.currentLink = true
this.dialogList.comment = ''
req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey }).then((resp) => {
req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey, businessSid: this.linkByParameter.businessSid }).then((resp) => {
if (resp.success) {
var arr = resp.data
this.nextNode = arr[0]

4
anrui-scm/anrui-scm-ui/src/views/workFlow/danchefanliyutiFlow/danchefanliyutiDaiBanInfo.vue

@ -194,7 +194,7 @@ export default {
this.operation = val
this.currentLink = true
this.dialogList.comment = '同意'
req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey }).then((resp) => {
req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey, businessSid: this.linkByParameter.businessSid }).then((resp) => {
if (resp.success) {
var arr = resp.data
this.nextNode = arr[0]
@ -208,7 +208,7 @@ export default {
this.operation = val
this.currentLink = true
this.dialogList.comment = ''
req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey }).then((resp) => {
req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey, businessSid: this.linkByParameter.businessSid }).then((resp) => {
if (resp.success) {
var arr = resp.data
this.nextNode = arr[0]

4
anrui-scm/anrui-scm-ui/src/views/workFlow/huikuanfanliheduiFlow/huikuanfanliheduiDanBanInfo.vue

@ -178,7 +178,7 @@ export default {
this.operation = val
this.currentLink = true
this.dialogList.comment = '同意'
req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey }).then((resp) => {
req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey, businessSid: this.linkByParameter.businessSid }).then((resp) => {
if (resp.success) {
var arr = resp.data
this.nextNode = arr[0]
@ -192,7 +192,7 @@ export default {
this.operation = val
this.currentLink = true
this.dialogList.comment = ''
req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey }).then((resp) => {
req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey, businessSid: this.linkByParameter.businessSid }).then((resp) => {
if (resp.success) {
var arr = resp.data
this.nextNode = arr[0]

4
anrui-scm/anrui-scm-ui/src/views/workFlow/huikuanfanliyutiFlow/huikuanfanliyutiDanBanInfo.vue

@ -195,7 +195,7 @@ export default {
this.operation = val
this.currentLink = true
this.dialogList.comment = '同意'
req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey }).then((resp) => {
req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey, businessSid: this.linkByParameter.businessSid }).then((resp) => {
if (resp.success) {
var arr = resp.data
this.nextNode = arr[0]
@ -209,7 +209,7 @@ export default {
this.operation = val
this.currentLink = true
this.dialogList.comment = ''
req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey }).then((resp) => {
req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey, businessSid: this.linkByParameter.businessSid }).then((resp) => {
if (resp.success) {
var arr = resp.data
this.nextNode = arr[0]

4
anrui-scm/anrui-scm-ui/src/views/workFlow/zhuanxiangfanlifenpeiFlow/zhuanxiangfanlifenpeiDaiBanInfo.vue

@ -223,7 +223,7 @@ export default {
this.operation = val
this.currentLink = true
this.dialogList.comment = '同意'
req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey }).then((resp) => {
req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey, businessSid: this.linkByParameter.businessSid }).then((resp) => {
if (resp.success) {
var arr = resp.data
this.nextNode = arr[0]
@ -237,7 +237,7 @@ export default {
this.operation = val
this.currentLink = true
this.dialogList.comment = ''
req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey }).then((resp) => {
req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey, businessSid: this.linkByParameter.businessSid }).then((resp) => {
if (resp.success) {
var arr = resp.data
this.nextNode = arr[0]

4
anrui-scm/anrui-scm-ui/src/views/workFlow/zhuanxiangfanliheduiFlow/zhuanxiangfanliheduiDaiBanInfo.vue

@ -258,7 +258,7 @@ export default {
this.operation = val
this.currentLink = true
this.dialogList.comment = '同意'
req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey }).then((resp) => {
req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey, businessSid: this.linkByParameter.businessSid }).then((resp) => {
if (resp.success) {
var arr = resp.data
this.nextNode = arr[0]
@ -272,7 +272,7 @@ export default {
this.operation = val
this.currentLink = true
this.dialogList.comment = ''
req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey }).then((resp) => {
req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey, businessSid: this.linkByParameter.businessSid }).then((resp) => {
if (resp.success) {
var arr = resp.data
this.nextNode = arr[0]

4
anrui-scm/anrui-scm-ui/src/views/workFlow/zhuanxiangfanliyutiFlow/zhuanxiangfanliyutiDaiBanInfo.vue

@ -266,7 +266,7 @@ export default {
this.operation = val
this.currentLink = true
this.dialogList.comment = '同意'
req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey }).then((resp) => {
req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey, businessSid: this.linkByParameter.businessSid }).then((resp) => {
if (resp.success) {
var arr = resp.data
this.nextNode = arr[0]
@ -280,7 +280,7 @@ export default {
this.operation = val
this.currentLink = true
this.dialogList.comment = ''
req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey }).then((resp) => {
req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey, businessSid: this.linkByParameter.businessSid }).then((resp) => {
if (resp.success) {
var arr = resp.data
this.nextNode = arr[0]

Loading…
Cancel
Save