Browse Source

Merge remote-tracking branch 'origin/master'

zhanglei
God 2 years ago
parent
commit
1f0b9244e9
  1. 76
      anrui-base/anrui-base-biz/src/main/java/com/yxt/anrui/base/biz/commoncontract/CommonContractService.java
  2. 2
      anrui-base/anrui-base-biz/src/main/resources/ftl/existingvehicles.ftl
  3. 1573
      anrui-base/anrui-base-biz/src/main/resources/ftl/existingvehicles2.ftl
  4. 1575
      anrui-base/anrui-base-biz/src/main/resources/ftl/existingvehicles_black2.ftl
  5. 4
      anrui-base/anrui-base-biz/src/main/resources/ftl/orderacar.ftl
  6. 4
      anrui-base/anrui-base-biz/src/main/resources/ftl/orderacar_black.ftl
  7. 19
      anrui-fin/anrui-fin-api/src/main/java/com/yxt/anrui/fin/api/finselectedreceivablesdetailed/SelectCustomerVo.java
  8. 199
      anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/fincollectionconfirmation/FinCollectionConfirmationService.java
  9. 9
      anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/finselectedreceivablesdetailed/FinSelectedReceivablesDetailedMapper.java
  10. 45
      anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/finselectedreceivablesdetailed/FinSelectedReceivablesDetailedMapper.xml
  11. 21
      anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/finselectedreceivablesdetailed/FinSelectedReceivablesDetailedService.java
  12. 3
      anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/kingdee/arreceivebill/ArReceivebillCastToKingDeeBillFields.java
  13. 2
      anrui-scm/anrui-scm-ui/src/views/gongyingshang/gongyingshangAdd.vue
  14. 30
      anrui-scm/anrui-scm-ui/src/views/ruzhang/ruzhangguanli/ruzhangAdd.vue
  15. 18
      anrui-scm/anrui-scm-ui/src/views/shangzhuang/shangzhuangtaizhangguanli/shangzhuangtaizhangAdd.vue
  16. 8
      anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanAdd.vue
  17. 8
      anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanEdit.vue
  18. 38
      anrui-scm/anrui-scm-ui/src/views/workFlow/ruzhangguanliFlow/ruzhangguanli/ruzhangEdit.vue
  19. 2
      anrui-system-ui/src/views/userManage/userManageList.vue

76
anrui-base/anrui-base-biz/src/main/java/com/yxt/anrui/base/biz/commoncontract/CommonContractService.java

@ -759,19 +759,15 @@ public class CommonContractService extends MybatisBaseService<CommonContractMapp
}*/
private String genCarSaleContract(PrintConfirmDto dto, Map<String, Object> map, AppOrderDetailsVo appOrderDetailsVo) {
String ftl = "";
if ("现车".equals(appOrderDetailsVo.getOrderType())) {
//获取模板
ftl = "existingvehicles";
} else {
//获取模板
ftl = "orderacar";
}
AppOrderPriceInfoVo priceInfo = appOrderDetailsVo.getPriceInfo();
//查询台数
String num = priceInfo.getNumber();
//单台成交价
String transactionPrice = priceInfo.getSingleFinalPrice();
String remarks = "";
if ("现车".equals(appOrderDetailsVo.getOrderType())) {
//获取模板
ftl = "existingvehicles";
AppOrderModelInfoVo orderModelInfoVo = appOrderDetailsVo.getModelInfo();
List<String> stringList = orderModelInfoVo.getVinList();
if (stringList.size() > 0) {
@ -779,6 +775,11 @@ public class CommonContractService extends MybatisBaseService<CommonContractMapp
} else {
remarks = "主车" + num + "台,单台成交价:" + transactionPrice + "元。";
}
} else {
//获取模板
ftl = "orderacar";
remarks = "主车" + num + "台,单台成交价:" + transactionPrice + "元。";
}
map.put("remarks", remarks);
InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("ftl/" + ftl + ".ftl");
@ -801,19 +802,15 @@ public class CommonContractService extends MybatisBaseService<CommonContractMapp
private String genCarSaleContract2(PrintConfirmDto dto, Map<String, Object> map, AppOrderDetailsVo appOrderDetailsVo) {
String ftl = "";
if ("现车".equals(appOrderDetailsVo.getOrderType())) {
//获取模板
ftl = "existingvehicles2";
} else {
//获取模板
ftl = "orderacar";
}
AppOrderPriceInfoVo priceInfo = appOrderDetailsVo.getPriceInfo();
//查询台数
String num = priceInfo.getNumber();
//单台成交价
String transactionPrice = priceInfo.getSingleFinalPrice();
String remarks = "";
if ("现车".equals(appOrderDetailsVo.getOrderType())) {
//获取模板
ftl = "existingvehicles";
AppOrderModelInfoVo orderModelInfoVo = appOrderDetailsVo.getModelInfo();
List<String> stringList = orderModelInfoVo.getVinList();
if (stringList.size() > 0) {
@ -821,6 +818,11 @@ public class CommonContractService extends MybatisBaseService<CommonContractMapp
} else {
remarks = "主车" + num + "台,单台成交价:" + transactionPrice + "元。";
}
} else {
//获取模板
ftl = "orderacar";
remarks = "主车" + num + "台,单台成交价:" + transactionPrice + "元。";
}
map.put("remarks", remarks);
InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("ftl/" + ftl + ".ftl");
@ -879,19 +881,7 @@ public class CommonContractService extends MybatisBaseService<CommonContractMapp
AppOrderPriceInfoVo priceInfo = appOrderDetailsVo.getPriceInfo();
//查询台数
String num = priceInfo.getNumber();
//单台成交价
String transactionPrice = priceInfo.getSingleFinalPrice();
String remarks = "";
AppOrderModelInfoVo orderModelInfoVo = appOrderDetailsVo.getModelInfo();
List<String> stringList = orderModelInfoVo.getVinList();
if ("1".equals(dto.getDiscountKey())) {
if (stringList.size() > 0) {
remarks = "主车" + num + "台,单台成交价: 元。车架号:" + String.join("、", stringList);
} else {
remarks = "主车" + num + "台,单台成交价: 元。";
}
map.put("remarks", remarks);
}
String ftl = "";
// 涉及高低开票的,需要打印两套合同,一套按照成交价打印(记账用),一套为价格空白的合同(开票用)
if ("1".equals(dto.getDiscountKey())) {
@ -899,10 +889,19 @@ public class CommonContractService extends MybatisBaseService<CommonContractMapp
if ("现车".equals(appOrderDetailsVo.getOrderType())) {
//获取模板
ftl = "existingvehicles_black";
AppOrderModelInfoVo orderModelInfoVo = appOrderDetailsVo.getModelInfo();
List<String> stringList = orderModelInfoVo.getVinList();
if (stringList.size() > 0) {
remarks = "主车" + num + "台,单台成交价: 元。车架号:" + String.join("、", stringList);
} else {
remarks = "主车" + num + "台,单台成交价: 元。";
}
} else {
// 订车获取模板
ftl = "orderacar_black";
remarks = "主车" + num + "台,单台成交价: 元。";
}
map.put("remarks", remarks);
InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("ftl/" + ftl + ".ftl");
//生成word文件名
String targetPath = docPdfComponent.getUploadTemplateUrl();
@ -931,30 +930,27 @@ public class CommonContractService extends MybatisBaseService<CommonContractMapp
AppOrderPriceInfoVo priceInfo = appOrderDetailsVo.getPriceInfo();
//查询台数
String num = priceInfo.getNumber();
//单台成交价
String transactionPrice = priceInfo.getSingleFinalPrice();
String remarks = "";
String ftl = "";
// 涉及高低开票的,需要打印两套合同,一套按照成交价打印(记账用),一套为价格空白的合同(开票用)
if ("1".equals(dto.getDiscountKey())) {
// 现车
if ("现车".equals(appOrderDetailsVo.getOrderType())) {
//获取模板
ftl = "existingvehicles_black";
AppOrderModelInfoVo orderModelInfoVo = appOrderDetailsVo.getModelInfo();
List<String> stringList = orderModelInfoVo.getVinList();
if ("1".equals(dto.getDiscountKey())) {
if (stringList.size() > 0) {
remarks = "主车" + num + "台,单台成交价: 元。车架号:" + String.join("、", stringList);
} else {
remarks = "主车" + num + "台,单台成交价: 元。";
}
map.put("remarks", remarks);
}
String ftl = "";
// 涉及高低开票的,需要打印两套合同,一套按照成交价打印(记账用),一套为价格空白的合同(开票用)
if ("1".equals(dto.getDiscountKey())) {
// 现车
if ("现车".equals(appOrderDetailsVo.getOrderType())) {
//获取模板
ftl = "existingvehicles_black2";
} else {
// 订车获取模板
ftl = "orderacar_black";
remarks = "主车" + num + "台,单台成交价: 元。";
}
map.put("remarks", remarks);
InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("ftl/" + ftl + ".ftl");
//生成word文件名
String targetPath = docPdfComponent.getUploadTemplateUrl();
@ -1674,7 +1670,8 @@ public class CommonContractService extends MybatisBaseService<CommonContractMapp
//根据车型sid查询车型的全称
BaseVehicleModel baseVehicleModel = baseVehicleModelService.fetchBySid(appOrderModelInfoVo.getModelSid());
//车型
String modelName = "车型:" + baseVehicleModel.getModelName() + "。";
String modelName1 = baseVehicleModel.getVehicleTypeValue() + baseVehicleModel.getProductLineValue() + baseVehicleModel.getDriveFormValue() + baseVehicleModel.getGearboxTypeValue() + baseVehicleModel.getVehicleVersionValue() + baseVehicleModel.getPowerValue() + baseVehicleModel.getFuelTypeValue() + baseVehicleModel.getEngineTypeValue() + baseVehicleModel.getEmissionStandardValue() + baseVehicleModel.getMarketSegmentsValue() + baseVehicleModel.getSpecifications();
String modelName = "车型:" + modelName1 + "。";
//配置
String modelConfig = "配置:" + appOrderModelInfoVo.getConfig() + "。";
//上装
@ -1708,7 +1705,6 @@ public class CommonContractService extends MybatisBaseService<CommonContractMapp
map.put("discountDetail", discountDetail);
}
//保险说明
String insuranceInfo = "保险说明:" + appOrderDetailsVo.getInsuranceInfo() + "。";
//车价合计

2
anrui-base/anrui-base-biz/src/main/resources/ftl/existingvehicles.ftl

@ -1044,6 +1044,7 @@
</w:r>
</w:p>
</#if>
<#if insuranceInfo??>
<w:p wsp:rsidR="00000000" wsp:rsidRDefault="00000000">
<w:pPr>
<w:widowControl/>
@ -1067,6 +1068,7 @@
<w:t>${insuranceInfo!}</w:t>
</w:r>
</w:p>
</#if>
<w:p wsp:rsidR="00000000" wsp:rsidRDefault="00000000">
<w:pPr>
<w:widowControl/>

1573
anrui-base/anrui-base-biz/src/main/resources/ftl/existingvehicles2.ftl

File diff suppressed because it is too large

1575
anrui-base/anrui-base-biz/src/main/resources/ftl/existingvehicles_black2.ftl

File diff suppressed because it is too large

4
anrui-base/anrui-base-biz/src/main/resources/ftl/orderacar.ftl

@ -1630,7 +1630,7 @@
</w:rPr>
<w:tab/>
</w:r>
<w:r>
<#-- <w:r>
<w:rPr>
<w:rFonts w:ascii="宋体" w:h-ansi="宋体" w:hint="fareast"/>
<wx:font wx:val="宋体"/>
@ -1656,7 +1656,7 @@
<w:sz-cs w:val="20"/>
</w:rPr>
<w:tab/>
</w:r>
</w:r>-->
<w:r>
<w:rPr>
<w:rFonts w:ascii="宋体" w:h-ansi="宋体" w:hint="fareast"/>

4
anrui-base/anrui-base-biz/src/main/resources/ftl/orderacar_black.ftl

@ -1630,7 +1630,7 @@
</w:rPr>
<w:tab/>
</w:r>
<w:r>
<#-- <w:r>
<w:rPr>
<w:rFonts w:ascii="宋体" w:h-ansi="宋体" w:hint="fareast"/>
<wx:font wx:val="宋体"/>
@ -1656,7 +1656,7 @@
<w:sz-cs w:val="20"/>
</w:rPr>
<w:tab/>
</w:r>
</w:r>-->
<w:r>
<w:rPr>
<w:rFonts w:ascii="宋体" w:h-ansi="宋体" w:hint="fareast"/>

19
anrui-fin/anrui-fin-api/src/main/java/com/yxt/anrui/fin/api/finselectedreceivablesdetailed/SelectCustomerVo.java

@ -0,0 +1,19 @@
package com.yxt.anrui.fin.api.finselectedreceivablesdetailed;
import com.yxt.common.core.vo.Vo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* @Author dimengzhe
* @Date 2023/1/4 9:45
* @Description
*/
@Data
public class SelectCustomerVo implements Vo {
private static final long serialVersionUID = 4691661516865204703L;
@ApiModelProperty("客户名称")
private String customerName;
@ApiModelProperty("客户联系方式")
private String customerPhone;
}

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

@ -53,10 +53,7 @@ import com.yxt.anrui.fin.api.fincollectionconfirmation.*;
import com.yxt.anrui.fin.api.fincollectionconfirmation.app.AppBusArrearsCarryMoneyVo;
import com.yxt.anrui.fin.api.fincollectionconfirmation.app.FinConfirmDto;
import com.yxt.anrui.fin.api.fincollectionconfirmation.app.FinSelectDto;
import com.yxt.anrui.fin.api.finselectedreceivablesdetailed.AppFinSelectedReceivablesDetailedDto;
import com.yxt.anrui.fin.api.finselectedreceivablesdetailed.FinSelectedReceivablesDetailed;
import com.yxt.anrui.fin.api.finselectedreceivablesdetailed.FinSelectedReceivablesDetailedDto;
import com.yxt.anrui.fin.api.finselectedreceivablesdetailed.FinSelectedReceivablesDetailedVo;
import com.yxt.anrui.fin.api.finselectedreceivablesdetailed.*;
import com.yxt.anrui.fin.api.finuncollectedreceivablesdetailed.AppFinUncollectedReceivablesDetailedVo;
import com.yxt.anrui.fin.api.finuncollectedreceivablesdetailed.FinUncollectedReceivablesDetailed;
import com.yxt.anrui.fin.api.kingdee.arreceivebill.ARReceivebill;
@ -1290,8 +1287,69 @@ public class FinCollectionConfirmationService extends MybatisBaseService<FinColl
List<ARReceivebill.FRECEIVEBILLENTRY> fEntityList = new ArrayList<>();
ARReceivebill.FRECEIVEBILLENTRY freceivebillentry = new ARReceivebill.FRECEIVEBILLENTRY();
//推送车款
List<FinSelectedReceivablesDetailedVo> finSelectedReceivablesDetailedVos1 = finSelectedReceivablesDetailedService.fetchByAuditState1(sid, 1, "车款");
List<FinSelectedReceivablesDetailedVo> voListv = finSelectedReceivablesDetailedService.selectDetailsList(sid, 1, "车款");
//查询是否含有车架号
List<String> stringsVin = voListv.stream().filter(v->StringUtils.isNotBlank(v.getVIN())).map(v->v.getVIN()).collect(Collectors.toList());
stringsVin.removeAll(Collections.singleton(null));
if(finSelectedReceivablesDetailedVos1.size()>0){
if (!stringsVin.isEmpty()) {
//查询根据客户名称和手机号有哪些客户
List<SelectCustomerVo> customerList = finSelectedReceivablesDetailedService.selectCustomerList(sid, 1, "车款");
for (SelectCustomerVo vo : customerList) {
BdCustomer bdCustomer = createBdCustomer(confirmation.getUseOrgSid(), vo.getCustomerName(), vo.getCustomerPhone());
ResultBean resultBeanMiddle = bdCustomerService.draftBdCustomer(bdCustomer);
//往来单位
arReceivebill.setFCONTACTUNIT(bdCustomer.getFNumber());
fEntityList = new ArrayList<>();
//查询该客户的车架号不为空的情况
List<FinSelectedReceivablesDetailedVo> vinListVo = finSelectedReceivablesDetailedService.selectVinListVo(sid, 1, "车款", vo.getCustomerName(), vo.getCustomerPhone());
for (FinSelectedReceivablesDetailedVo vvvv : vinListVo) {
freceivebillentry = new ARReceivebill.FRECEIVEBILLENTRY();
//结算方式
freceivebillentry.setFSETTLETYPEIDKey(confirmation.getCollectionTypeKey());
freceivebillentry.setFSETTLETYPEIDType("customerPayType");
//收款金额
freceivebillentry.setFRECTOTALAMOUNTFOR(vvvv.getSubscriptionMoney());
//登记日期
freceivebillentry.setFPOSTDATE(confirmation.getCollectionDate());
freceivebillentry.setF_PAEZ_Base1(vvvv.getVIN().substring(vvvv.getVIN().length()-8));
//收款用途
freceivebillentry.setFPURPOSEIDKey("001");
freceivebillentry.setFPURPOSEIDType("cw_skyt");
freceivebillentry.setFACCOUNTID(confirmation.getCollectionBankNum());
fEntityList.add(freceivebillentry);
}
//查询该客户的车架号为空的情况
FinSelectedReceivablesDetailedVo vvVo = finSelectedReceivablesDetailedService.fetchByAuditStateV(sid, 1, "车款", vo.getCustomerName(), vo.getCustomerPhone());
freceivebillentry = new ARReceivebill.FRECEIVEBILLENTRY();
//结算方式
freceivebillentry.setFSETTLETYPEIDKey(confirmation.getCollectionTypeKey());
freceivebillentry.setFSETTLETYPEIDType("customerPayType");
//收款金额
freceivebillentry.setFRECTOTALAMOUNTFOR(vvVo.getSumAll());
//登记日期
freceivebillentry.setFPOSTDATE(confirmation.getCollectionDate());
//收款用途
freceivebillentry.setFPURPOSEIDKey("001");
freceivebillentry.setFPURPOSEIDType("cw_skyt");
freceivebillentry.setFACCOUNTID(confirmation.getCollectionBankNum());
fEntityList.add(freceivebillentry);
//项目类别key、value
arReceivebill.setF_PAEZ_AssistantType("cw_sklb");
FinUncollectedReceivablesDetailed finUncollectedReceivablesDetailed = finUncollectedReceivablesDetailedService.fetchBySid(vvVo.getReceivablesSid());
if ("1".equals(finUncollectedReceivablesDetailed.getPayTypeKey())) {
arReceivebill.setF_PAEZ_AssistantKey("001");
} else if ("2".equals(finUncollectedReceivablesDetailed.getPayTypeKey())) {
arReceivebill.setF_PAEZ_AssistantKey("002");
}
arReceivebill.setFRECEIVEBILLENTRY(fEntityList);
ResultBean resultBean1 = arReceivebillService.draftArReceivebill(arReceivebill);
}
} else {
fEntityList = new ArrayList<>();
freceivebillentry = new ARReceivebill.FRECEIVEBILLENTRY();
finSelectedReceivablesDetailedVos1.removeAll(Collections.singleton(null));
if (!finSelectedReceivablesDetailedVos1.isEmpty()) {
for (FinSelectedReceivablesDetailedVo finSelectedReceivablesDetailedVo : finSelectedReceivablesDetailedVos1) {
@ -1303,7 +1361,6 @@ public class FinCollectionConfirmationService extends MybatisBaseService<FinColl
//结算方式
freceivebillentry.setFSETTLETYPEIDKey(confirmation.getCollectionTypeKey());
freceivebillentry.setFSETTLETYPEIDType("customerPayType");
// BigDecimal bigAll = finSelectedReceivablesDetailedVos1.stream().map(FinSelectedReceivablesDetailedVo::getSubscriptionMoney).map(BigDecimal::new).reduce(BigDecimal.ZERO, BigDecimal::add);
//收款金额
freceivebillentry.setFRECTOTALAMOUNTFOR(finSelectedReceivablesDetailedVo.getSumAll());
//登记日期
@ -1321,16 +1378,108 @@ public class FinCollectionConfirmationService extends MybatisBaseService<FinColl
} else if ("2".equals(finUncollectedReceivablesDetailed.getPayTypeKey())) {
arReceivebill.setF_PAEZ_AssistantKey("002");
}
arReceivebill.setFRECEIVEBILLENTRY(fEntityList);
ResultBean resultBean1 = arReceivebillService.draftArReceivebill(arReceivebill);
}
}
}
}
/* List<FinSelectedReceivablesDetailedVo> finSelectedReceivablesDetailedVos1 = finSelectedReceivablesDetailedService.fetchByAuditState1(sid, 1, "车款");
finSelectedReceivablesDetailedVos1.removeAll(Collections.singleton(null));
if (!finSelectedReceivablesDetailedVos1.isEmpty()) {
for (FinSelectedReceivablesDetailedVo finSelectedReceivablesDetailedVo : finSelectedReceivablesDetailedVos1) {
//先推送客户
BdCustomer bdCustomer = createBdCustomer(confirmation.getUseOrgSid(), finSelectedReceivablesDetailedVo.getCustomerName(), finSelectedReceivablesDetailedVo.getCustomerPhone());
ResultBean resultBeanMiddle = bdCustomerService.draftBdCustomer(bdCustomer);
//往来单位
arReceivebill.setFCONTACTUNIT(bdCustomer.getFNumber());
//结算方式
freceivebillentry.setFSETTLETYPEIDKey(confirmation.getCollectionTypeKey());
freceivebillentry.setFSETTLETYPEIDType("customerPayType");
//收款金额
freceivebillentry.setFRECTOTALAMOUNTFOR(finSelectedReceivablesDetailedVo.getSumAll());
//登记日期
freceivebillentry.setFPOSTDATE(confirmation.getCollectionDate());
//收款用途
freceivebillentry.setFPURPOSEIDKey("001");
freceivebillentry.setFPURPOSEIDType("cw_skyt");
freceivebillentry.setFACCOUNTID(confirmation.getCollectionBankNum());
fEntityList.add(freceivebillentry);
//项目类别key、value
arReceivebill.setF_PAEZ_AssistantType("cw_sklb");
FinUncollectedReceivablesDetailed finUncollectedReceivablesDetailed = finUncollectedReceivablesDetailedService.fetchBySid(finSelectedReceivablesDetailedVos1.get(0).getReceivablesSid());
if ("1".equals(finUncollectedReceivablesDetailed.getPayTypeKey())) {
arReceivebill.setF_PAEZ_AssistantKey("001");
} else if ("2".equals(finUncollectedReceivablesDetailed.getPayTypeKey())) {
arReceivebill.setF_PAEZ_AssistantKey("002");
}
arReceivebill.setFRECEIVEBILLENTRY(fEntityList);
ResultBean resultBean1 = arReceivebillService.draftArReceivebill(arReceivebill);
}
}*/
//推送订金
List<FinSelectedReceivablesDetailedVo> finSelectedReceivablesDetailedVos2 = finSelectedReceivablesDetailedService.fetchByAuditState1(sid, 1, "订金");
if(finSelectedReceivablesDetailedVos2.size()>0){
voListv = finSelectedReceivablesDetailedService.selectDetailsList(sid, 1, "订金");
//查询是否含有车架号
stringsVin = voListv.stream().filter(v->StringUtils.isNotBlank(v.getVIN())).map(v->v.getVIN()).collect(Collectors.toList());
stringsVin.removeAll(Collections.singleton(null));
if (!stringsVin.isEmpty()) {
//查询根据客户名称和手机号有哪些客户
List<SelectCustomerVo> customerList = finSelectedReceivablesDetailedService.selectCustomerList(sid, 1, "订金");
for (SelectCustomerVo vo : customerList) {
//先推送客户
BdCustomer bdCustomer = createBdCustomer(confirmation.getUseOrgSid(), vo.getCustomerName(), vo.getCustomerPhone());
ResultBean resultBeanMiddle = bdCustomerService.draftBdCustomer(bdCustomer);
//往来单位
arReceivebill.setFCONTACTUNIT(bdCustomer.getFNumber());
fEntityList = new ArrayList<>();
//查询该客户的车架号不为空的情况
List<FinSelectedReceivablesDetailedVo> vinListVo = finSelectedReceivablesDetailedService.selectVinListVo(sid, 1, "订金", vo.getCustomerName(), vo.getCustomerPhone());
for (FinSelectedReceivablesDetailedVo vvvv : vinListVo) {
freceivebillentry = new ARReceivebill.FRECEIVEBILLENTRY();
//结算方式
freceivebillentry.setFSETTLETYPEIDKey(confirmation.getCollectionTypeKey());
freceivebillentry.setFSETTLETYPEIDType("customerPayType");
//收款金额
freceivebillentry.setFRECTOTALAMOUNTFOR(vvvv.getSubscriptionMoney());
//登记日期
freceivebillentry.setFPOSTDATE(confirmation.getCollectionDate());
freceivebillentry.setF_PAEZ_Base1(vvvv.getVIN().substring(vvvv.getVIN().length()-8));
//收款用途
freceivebillentry.setFPURPOSEIDKey("002");
freceivebillentry.setFPURPOSEIDType("cw_skyt");
freceivebillentry.setFACCOUNTID(confirmation.getCollectionBankNum());
fEntityList.add(freceivebillentry);
}
//查询该客户的车架号为空的情况
FinSelectedReceivablesDetailedVo vvVo = finSelectedReceivablesDetailedService.fetchByAuditStateV(sid, 1, "订金", vo.getCustomerName(), vo.getCustomerPhone());
freceivebillentry = new ARReceivebill.FRECEIVEBILLENTRY();
//结算方式
freceivebillentry.setFSETTLETYPEIDKey(confirmation.getCollectionTypeKey());
freceivebillentry.setFSETTLETYPEIDType("customerPayType");
//收款金额
freceivebillentry.setFRECTOTALAMOUNTFOR(vvVo.getSumAll());
//登记日期
freceivebillentry.setFPOSTDATE(confirmation.getCollectionDate());
//收款用途
freceivebillentry.setFPURPOSEIDKey("002");
freceivebillentry.setFPURPOSEIDType("cw_skyt");
freceivebillentry.setFACCOUNTID(confirmation.getCollectionBankNum());
fEntityList.add(freceivebillentry);
//项目类别key、value
arReceivebill.setF_PAEZ_AssistantType("cw_sklb");
arReceivebill.setF_PAEZ_AssistantKey("006");
arReceivebill.setFRECEIVEBILLENTRY(fEntityList);
ResultBean resultBean1 = arReceivebillService.draftArReceivebill(arReceivebill);
}
} else {
fEntityList = new ArrayList<>();
freceivebillentry = new ARReceivebill.FRECEIVEBILLENTRY();
finSelectedReceivablesDetailedVos2.removeAll(Collections.singleton(null));
@ -1360,8 +1509,43 @@ public class FinCollectionConfirmationService extends MybatisBaseService<FinColl
arReceivebill.setF_PAEZ_AssistantKey("006");
ResultBean resultBean2 = arReceivebillService.draftArReceivebill(arReceivebill);
}
}
}
}
//推送订金
/*List<FinSelectedReceivablesDetailedVo> finSelectedReceivablesDetailedVos2 = finSelectedReceivablesDetailedService.fetchByAuditState1(sid, 1, "订金");
fEntityList = new ArrayList<>();
freceivebillentry = new ARReceivebill.FRECEIVEBILLENTRY();
finSelectedReceivablesDetailedVos2.removeAll(Collections.singleton(null));
if (!finSelectedReceivablesDetailedVos2.isEmpty()) {
for (FinSelectedReceivablesDetailedVo finSelectedReceivablesDetailedVo : finSelectedReceivablesDetailedVos2) {
//先推送客户
BdCustomer bdCustomer = createBdCustomer(confirmation.getUseOrgSid(), finSelectedReceivablesDetailedVo.getCustomerName(), finSelectedReceivablesDetailedVo.getCustomerPhone());
ResultBean resultBeanMiddle = bdCustomerService.draftBdCustomer(bdCustomer);
//往来单位
arReceivebill.setFCONTACTUNIT(bdCustomer.getFNumber());
//结算方式
freceivebillentry.setFSETTLETYPEIDKey(confirmation.getCollectionTypeKey());
freceivebillentry.setFSETTLETYPEIDType("customerPayType");
//收款金额
freceivebillentry.setFRECTOTALAMOUNTFOR(finSelectedReceivablesDetailedVo.getSumAll());
//登记日期
freceivebillentry.setFPOSTDATE(confirmation.getCollectionDate());
//收款用途
freceivebillentry.setFPURPOSEIDKey("002");
freceivebillentry.setFPURPOSEIDType("cw_skyt");
freceivebillentry.setFACCOUNTID(confirmation.getCollectionBankNum());
fEntityList.add(freceivebillentry);
arReceivebill.setFRECEIVEBILLENTRY(fEntityList);
//项目类别key、value
arReceivebill.setF_PAEZ_AssistantType("cw_sklb");
arReceivebill.setF_PAEZ_AssistantKey("006");
ResultBean resultBean2 = arReceivebillService.draftArReceivebill(arReceivebill);
}
}*/
//简易订单-订金收取
if (finSelectedReceivablesDetailedVos1.isEmpty() && finSelectedReceivablesDetailedVos2.isEmpty()) {
//先推送客户
@ -1526,6 +1710,7 @@ public class FinCollectionConfirmationService extends MybatisBaseService<FinColl
ResultBean deleteResult = baseVehicleTempstateFeign.delByBusSid(sid);*/
return rb.success().setMsg("款项确认成功");
}
//组装客户推送
private BdCustomer createBdCustomer(String useOrgSid, String name, String mobile) {
BdCustomer bdCustomer = new BdCustomer();

9
anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/finselectedreceivablesdetailed/FinSelectedReceivablesDetailedMapper.java

@ -35,6 +35,7 @@ import com.yxt.anrui.fin.api.fincollectionconfirmation.AppFinSelectedReceivables
import com.yxt.anrui.fin.api.fincollectionconfirmation.app.AppBusArrearsCarryMoneyVo;
import com.yxt.anrui.fin.api.finselectedreceivablesdetailed.FinSelectedReceivablesDetailed;
import com.yxt.anrui.fin.api.finselectedreceivablesdetailed.FinSelectedReceivablesDetailedVo;
import com.yxt.anrui.fin.api.finselectedreceivablesdetailed.SelectCustomerVo;
import com.yxt.anrui.fin.api.finuncollectedreceivablesdetailed.AppFinUncollectedReceivablesDetailedVo;
import org.apache.ibatis.annotations.*;
@ -107,4 +108,12 @@ public interface FinSelectedReceivablesDetailedMapper extends BaseMapper<FinSele
List<FinSelectedReceivablesDetailed> getList(@Param("list") List<String> sidsList);
List<FinSelectedReceivablesDetailedVo> fetchByAuditState1(@Param("sid") String sid, @Param("state") int i, @Param("type") String type);
List<SelectCustomerVo> selectCustomerList(@Param("sid") String sid, @Param("state") int i, @Param("type") String type);
List<FinSelectedReceivablesDetailedVo> selectDetailsList(@Param("sid") String sid, @Param("state") int i, @Param("type") String type);
List<FinSelectedReceivablesDetailedVo> selectVinListVo(@Param("sid") String sid, @Param("state") int i, @Param("type") String type, @Param("customerName") String customerName, @Param("customerPhone") String customerPhone);
FinSelectedReceivablesDetailedVo fetchByAuditStateV(@Param("sid") String sid, @Param("state") int i, @Param("type") String type, @Param("customerName") String customerName, @Param("customerPhone") String customerPhone);
}

45
anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/finselectedreceivablesdetailed/FinSelectedReceivablesDetailedMapper.xml

@ -45,7 +45,8 @@
, #{name}
, '%')
</if>
and length(furd.busVinSid)>0
and length(furd.busVinSid)
>0
</where>
order by furd.contractNo desc
</select>
@ -131,4 +132,46 @@
and receivablesName = #{type}
group by concat(customerName, customerPhone)
</select>
<select id="selectCustomerList" resultType="com.yxt.anrui.fin.api.finselectedreceivablesdetailed.SelectCustomerVo">
select customerName, customerPhone
from fin_selected_receivables_detailed
where collSid = #{sid}
and auditState = #{state}
and receivablesName = #{type}
group by concat(customerName, customerPhone)
</select>
<select id="selectDetailsList"
resultType="com.yxt.anrui.fin.api.finselectedreceivablesdetailed.FinSelectedReceivablesDetailedVo">
select *
from fin_selected_receivables_detailed
where collSid = #{sid}
and auditState = #{state}
and receivablesName = #{type}
</select>
<select id="selectVinListVo"
resultType="com.yxt.anrui.fin.api.finselectedreceivablesdetailed.FinSelectedReceivablesDetailedVo">
select *
from fin_selected_receivables_detailed
where collSid = #{sid}
and auditState = #{state}
and receivablesName = #{type}
and customerName = #{customerName}
and customerPhone = #{customerPhone}
and length(VIN) > 0
</select>
<select id="fetchByAuditStateV"
resultType="com.yxt.anrui.fin.api.finselectedreceivablesdetailed.FinSelectedReceivablesDetailedVo">
select *, sum(subscriptionMoney) as sumAll
from fin_selected_receivables_detailed
where collSid = #{sid}
and auditState = #{state}
and receivablesName = #{type}
and customerName = #{customerName}
and customerPhone = #{customerPhone}
and length(VIN) = 0
</select>
</mapper>

21
anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/finselectedreceivablesdetailed/FinSelectedReceivablesDetailedService.java

@ -31,10 +31,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yxt.anrui.fin.api.fincollectionconfirmation.AppFinSelectedReceivablesPaymentDetailsQuery;
import com.yxt.anrui.fin.api.fincollectionconfirmation.AppFinSelectedReceivablesPaymentDetailsVo;
import com.yxt.anrui.fin.api.fincollectionconfirmation.app.AppBusArrearsCarryMoneyVo;
import com.yxt.anrui.fin.api.finselectedreceivablesdetailed.FinSelectedReceivablesDetailed;
import com.yxt.anrui.fin.api.finselectedreceivablesdetailed.FinSelectedReceivablesDetailedDto;
import com.yxt.anrui.fin.api.finselectedreceivablesdetailed.FinSelectedReceivablesDetailedQuery;
import com.yxt.anrui.fin.api.finselectedreceivablesdetailed.FinSelectedReceivablesDetailedVo;
import com.yxt.anrui.fin.api.finselectedreceivablesdetailed.*;
import com.yxt.anrui.fin.api.finuncollectedreceivablesdetailed.AppFinUncollectedReceivablesDetailedVo;
import com.yxt.common.base.service.MybatisBaseService;
import com.yxt.common.base.utils.PagerUtil;
@ -228,4 +225,20 @@ public class FinSelectedReceivablesDetailedService extends MybatisBaseService<Fi
public List<FinSelectedReceivablesDetailedVo> fetchByAuditState1(String sid, int i, String type) {
return baseMapper.fetchByAuditState1(sid, i, type);
}
public List<SelectCustomerVo> selectCustomerList(String sid, int i, String type) {
return baseMapper.selectCustomerList(sid, i, type);
}
public List<FinSelectedReceivablesDetailedVo> selectDetailsList(String sid, int i, String type) {
return baseMapper.selectDetailsList(sid, i, type);
}
public List<FinSelectedReceivablesDetailedVo> selectVinListVo(String sid, int i, String type, String customerName, String customerPhone) {
return baseMapper.selectVinListVo(sid, i, type,customerName,customerPhone);
}
public FinSelectedReceivablesDetailedVo fetchByAuditStateV(String sid, int i, String type, String customerName, String customerPhone) {
return baseMapper.fetchByAuditStateV(sid, i, type,customerName,customerPhone);
}
}

3
anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/kingdee/arreceivebill/ArReceivebillCastToKingDeeBillFields.java

@ -29,7 +29,9 @@ public class ArReceivebillCastToKingDeeBillFields {
String readJsonFile = KingDeeUtils.readJsonFile("com/yxt/anrui/fin/biz/kingdee/arreceivebill/data.json");
String fEntityData_ = KingDeeUtils.readJsonFile("com/yxt/anrui/fin/biz/kingdee/arreceivebill/data_data.json");
String fEntityModel_ = KingDeeUtils.readJsonFile("com/yxt/anrui/fin/biz/kingdee/arreceivebill/data_model.json");
/*
String fPAYBILLENTRY_ = KingDeeUtils.readJsonFile("com/yxt/anrui/fin/biz/kingdee/arreceivebill/data_FRECEIVEBILLENTRY.json");
*/
//模板字符创转json
JSONObject jsonObj= JSONObject.parseObject(readJsonFile, Feature.OrderedField);
@ -42,6 +44,7 @@ public class ArReceivebillCastToKingDeeBillFields {
//对模板字段赋值 根据传递进来的map数据的集合进行赋值
for(int i=0;i<vehicleList.size();i++){
String fPAYBILLENTRY_ = KingDeeUtils.readJsonFile("com/yxt/anrui/fin/biz/kingdee/arreceivebill/data_FRECEIVEBILLENTRY.json");
Map<String,String> params=vehicleList.get(i);
Map<String,String> map_fEntityDetail_=new HashMap<>();
for (Map.Entry<String, String> entry : params.entrySet()) {

2
anrui-scm/anrui-scm-ui/src/views/gongyingshang/gongyingshangAdd.vue

@ -38,7 +38,7 @@
</el-col>
<el-col :span="8">
<el-form-item prop="manufacturerCode">
<el-input v-model="baseManufacturerDto.manufacturerCode" :disabled="!isShow" maxlength="20" placeholder="" class="addinputw" clearable/>
<el-input v-model="baseManufacturerDto.manufacturerCode" :disabled="!isShow" maxlength="20" placeholder="请填写金蝶供应商编码,如无请自己创建编码" class="addinputw" clearable/>
</el-form-item>
</el-col>
<el-col :span="4" class="tleftb">

30
anrui-scm/anrui-scm-ui/src/views/ruzhang/ruzhangguanli/ruzhangAdd.vue

@ -34,7 +34,7 @@
<el-row>
<el-col :span="12">
<div class="span-sty spanOneWidth"><span>采购订单编号</span></div>
<el-form-item><span class="addinputInfo addinputwOne">{{ formobj.purchaseOrderNo }}</span></el-form-item>
<el-form-item><el-input v-model="formobj.purchaseOrderNo" placeholder="" clearable class="addinputw addinputwOne"/></el-form-item>
</el-col>
<el-col :span="12">
<div class="span-sty spanOneWidth"><span>内部编码</span></div>
@ -706,7 +706,15 @@ export default {
saveEdit() {
this.getUrl()
if (this.formobj.departureDate === '') {
alert('厂家发车日期不能为空!')
this.$message({ showClose: true, type: 'error', message: '厂家发车日期不能为空' })
return
}
if (this.formobj.onceFreight === '') {
this.$message({ showClose: true, type: 'error', message: '一次运费不能为空' })
return
}
if (this.formobj.onceFreight == 0) {
this.$message({ showClose: true, type: 'error', message: '因一次运费不能为零,请完善一次运费' })
return
}
if (this.freightChecked) {
@ -746,6 +754,8 @@ export default {
if (resp.success) {
this.$message({ showClose: true, type: 'success', message: '保存成功' })
this.handleReturn('true')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false
@ -757,6 +767,10 @@ export default {
},
submitVehicleApply() {
this.getUrl()
if (this.formobj.purchaseOrderNo === '') {
this.$message({ showClose: true, type: 'error', message: '采购订单编号不能为空' })
return
}
if (this.formobj.priceDate === '' || this.formobj.priceDate === null) {
this.$message({ showClose: true, type: 'error', message: '厂家入库日期不能为空' })
return
@ -765,6 +779,14 @@ export default {
this.$message({ showClose: true, type: 'error', message: '物流发车日期不能为空' })
return
}
if (this.formobj.onceFreight === '') {
this.$message({ showClose: true, type: 'error', message: '一次运费不能为空' })
return
}
if (this.formobj.onceFreight == 0) {
this.$message({ showClose: true, type: 'error', message: '因一次运费不能为零,请完善一次运费' })
return
}
if (this.freightChecked) {
this.formobj.deductionFreight = 0
} else {
@ -822,6 +844,8 @@ export default {
message: '提交成功'
})
this.handleReturn('true')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false
@ -843,6 +867,8 @@ export default {
message: '提交成功'
})
this.handleReturn('true')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false

18
anrui-scm/anrui-scm-ui/src/views/shangzhuang/shangzhuangtaizhangguanli/shangzhuangtaizhangAdd.vue

@ -96,7 +96,7 @@
<div class="headline">主车信息</div>
<el-row>
<el-col :span="12">
<div class="span-sty spanOneWidth"><span>主车车架号</span></div>
<div class="span-sty spanOneWidth"><span><span class="icon">*</span>主车车架号</span></div>
<el-form-item>
<el-select v-model="formobj.vinNo" @change="changeVinNo" filterable placeholder="请选择" class="addinputw addinputwTwo">
<el-option v-for="item in vinNo_list" :key="item.vinNo" :label="item.vinNo" :value="item.vinNo">
@ -122,11 +122,11 @@
<div class="headline">上装价格信息</div>
<el-row>
<el-col :span="12">
<div class="span-sty spanOneWidth"><span>厂家结算价()</span></div>
<div class="span-sty spanOneWidth"><span><span class="icon">*</span>厂家结算价()</span></div>
<el-form-item><el-input v-model="formobj.costPrice" class="addinputw addinputwTwo" @keyup.native="formobj.costPrice = oninput(formobj.costPrice,2)" placeholder="" clearable></el-input></el-form-item>
</el-col>
<el-col :span="12">
<div class="span-sty spanOneWidth"><span>销售指导价()</span></div>
<div class="span-sty spanOneWidth"><span><span class="icon">*</span>销售指导价()</span></div>
<el-form-item><el-input v-model="formobj.guidePrice" class="addinputw addinputwTwo" @keyup.native="formobj.guidePrice = oninput(formobj.guidePrice,2)" placeholder="" clearable></el-input></el-form-item>
</el-col>
</el-row>
@ -287,6 +287,18 @@ export default {
this.$message({ showClose: true, type: 'error', message: '请选择上装配置' })
return
}
if (this.formobj.vinNo === '') {
this.$message({ showClose: true, type: 'error', message: '主车车架号不能为空' })
return
}
if (this.formobj.costPrice === '') {
this.$message({ showClose: true, type: 'error', message: '厂家结算价不能为空' })
return
}
if (this.formobj.guidePrice === '') {
this.$message({ showClose: true, type: 'error', message: '销售指导价不能为空' })
return
}
this.$refs['form_obj'].validate((valid) => {
if (valid) {
this.submitdisabled = true

8
anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanAdd.vue

@ -501,6 +501,8 @@ export default {
message: resp.msg
})
this.handleReturn('true')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false
@ -532,6 +534,10 @@ export default {
this.$message({ showClose: true, type: 'error', message: '请检查采购车型列表中厂家回款通路不能为空' })
return
}
if (this.formobj.busVehicleApplyDetailList[i].vehicleNo === '' || this.formobj.busVehicleApplyDetailList[i].vehicleNo === null) {
this.$message({ showClose: true, type: 'error', message: '请检查采购车型列表中车辆型号不能为空' })
return
}
}
}
this.$refs['form_obj'].validate((valid) => {
@ -545,6 +551,8 @@ export default {
message: '提交成功'
})
this.handleReturn('true')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false

8
anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanEdit.vue

@ -481,6 +481,8 @@ export default {
}
}, '*')
// this.handleReturn('true')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false
@ -512,6 +514,10 @@ export default {
this.$message({ showClose: true, type: 'error', message: '请检查采购车型列表中厂家回款通路不能为空' })
return
}
if (this.formobj.busVehicleApplyDetailList[i].vehicleNo === '' || this.formobj.busVehicleApplyDetailList[i].vehicleNo === null) {
this.$message({ showClose: true, type: 'error', message: '请检查采购车型列表中车辆型号不能为空' })
return
}
}
}
this.$refs['form_obj'].validate((valid) => {
@ -532,6 +538,8 @@ export default {
code: 1
}
}, '*')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false

38
anrui-scm/anrui-scm-ui/src/views/workFlow/ruzhangguanliFlow/ruzhangguanli/ruzhangEdit.vue

@ -33,7 +33,7 @@
<el-row>
<el-col :span="12">
<div class="span-sty spanOneWidth"><span>采购订单编号</span></div>
<el-form-item><span class="addinputInfo addinputwOne">{{ formobj.purchaseOrderNo }}</span></el-form-item>
<el-form-item><el-input v-model="formobj.purchaseOrderNo" placeholder="" clearable class="addinputw addinputwOne"/></el-form-item>
</el-col>
<el-col :span="12">
<div class="span-sty spanOneWidth"><span>内部编码</span></div>
@ -720,7 +720,15 @@ export default {
saveEdit() {
this.getUrl()
if (this.formobj.departureDate === '') {
alert('厂家发车日期不能为空!')
this.$message({ showClose: true, type: 'error', message: '厂家发车日期不能为空' })
return
}
if (this.formobj.onceFreight === '') {
this.$message({ showClose: true, type: 'error', message: '一次运费不能为空' })
return
}
if (this.formobj.onceFreight == 0) {
this.$message({ showClose: true, type: 'error', message: '因一次运费不能为零,请完善一次运费' })
return
}
if (this.freightChecked) {
@ -757,11 +765,6 @@ export default {
if (valid) {
this.submitdisabled = true
req.saveOrUpdate(this.formobj).then((resp) => {
/* this.$message({
showClose: true,
type: 'success',
message: resp.msg
})*/
if (resp.success) {
// ()
window.parent.postMessage({
@ -771,9 +774,10 @@ export default {
code: 1
}
}, '*')
} else {
this.submitdisabled = false
}
})
.catch(() => {
}).catch(() => {
this.submitdisabled = false
})
} else {
@ -783,6 +787,10 @@ export default {
},
submitVehicleApply() {
this.getUrl()
if (this.formobj.purchaseOrderNo === '') {
this.$message({ showClose: true, type: 'error', message: '采购订单编号不能为空' })
return
}
if (this.formobj.priceDate === '' || this.formobj.priceDate === null) {
this.$message({ showClose: true, type: 'error', message: '厂家入库日期不能为空' })
return
@ -791,6 +799,14 @@ export default {
this.$message({ showClose: true, type: 'error', message: '物流发车日期不能为空' })
return
}
if (this.formobj.onceFreight === '') {
this.$message({ showClose: true, type: 'error', message: '一次运费不能为空' })
return
}
if (this.formobj.onceFreight == 0) {
this.$message({ showClose: true, type: 'error', message: '因一次运费不能为零,请完善一次运费' })
return
}
if (this.freightChecked) {
this.formobj.deductionFreight = 0
} else {
@ -855,6 +871,8 @@ export default {
code: 1
}
}, '*')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false
@ -883,6 +901,8 @@ export default {
code: 1
}
}, '*')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false

2
anrui-system-ui/src/views/userManage/userManageList.vue

@ -70,7 +70,7 @@
<el-dialog title="设置角色" :visible.sync="roleDialog" width="30%">
<el-form :model="roleForm" :rules="rules" ref="roleForm">
<el-form-item label="角色名称" :label-width="formLabelWidth" prop="roleSid">
<el-select v-model="roleForm.roleSid" placeholder="请选择" multiple>
<el-select v-model="roleForm.roleSid" placeholder="请选择" filterable multiple>
<el-option v-for="(item,i) in roleList" :key="i" :label="item.name" :value="item.sid"></el-option>
</el-select>
<!--<el-button type="primary" size='mini' @click="toNav('RoleAdminister')" style="margin-left: 10px;" circle icon="el-icon-plus"></el-button>-->

Loading…
Cancel
Save