diff --git a/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/SubjectDutyMapper.xml b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/SubjectDutyMapper.xml new file mode 100644 index 00000000..74af0c4a --- /dev/null +++ b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/SubjectDutyMapper.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/SubjectDutyMapper.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/SubjectDutyMapper.java new file mode 100644 index 00000000..13e6b61a --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/SubjectDutyMapper.java @@ -0,0 +1,16 @@ +package jnpf.mapper; + + +import jnpf.entity.SubjectDutyEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * subjectDuty + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-08-01 + */ +public interface SubjectDutyMapper extends BaseMapper { + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/SubjectDutyService.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/SubjectDutyService.java new file mode 100644 index 00000000..0679dd56 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/SubjectDutyService.java @@ -0,0 +1,35 @@ +package jnpf.service; + +import jnpf.model.subjectduty.*; +import jnpf.entity.*; +import java.util.*; +import com.baomidou.mybatisplus.extension.service.IService; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; + +/** + * subjectDuty + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-08-01 + */ +public interface SubjectDutyService extends IService { + List getList(SubjectDutyPagination subjectDutyPagination); + + List getTypeList(SubjectDutyPagination subjectDutyPagination,String dataType); + + SubjectDutyEntity getInfo(String id); + + void delete(SubjectDutyEntity entity); + + void create(SubjectDutyEntity entity); + + boolean update(String id, SubjectDutyEntity entity); + + //子表方法 + //副表数据方法 + String checkForm(SubjectDutyForm form,int i); + + void saveOrUpdate(SubjectDutyForm subjectDutyForm,String id, boolean isSave) throws Exception; + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/SubjectDutyServiceImpl.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/SubjectDutyServiceImpl.java new file mode 100644 index 00000000..ed1ecc05 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/SubjectDutyServiceImpl.java @@ -0,0 +1,302 @@ +package jnpf.service.impl; + +import jnpf.entity.*; +import jnpf.mapper.SubjectDutyMapper; +import jnpf.service.*; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import jnpf.model.subjectduty.*; +import java.math.BigDecimal; +import cn.hutool.core.util.ObjectUtil; +import jnpf.permission.model.authorize.AuthorizeConditionModel; +import jnpf.util.GeneraterSwapUtil; +import jnpf.database.model.superQuery.SuperQueryJsonModel; +import jnpf.database.model.superQuery.ConditionJsonModel; +import jnpf.database.model.superQuery.SuperQueryConditionModel; +import java.lang.reflect.Field; +import com.baomidou.mybatisplus.annotation.TableField; +import java.util.regex.Pattern; +import jnpf.model.QueryModel; +import java.util.stream.Collectors; +import jnpf.base.model.ColumnDataModel; +import org.springframework.stereotype.Service; +import com.baomidou.mybatisplus.core.metadata.IPage; +import jnpf.database.model.superQuery.SuperJsonModel; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.transaction.annotation.Transactional; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import java.text.SimpleDateFormat; +import jnpf.util.*; +import java.util.*; +import jnpf.base.UserInfo; +import jnpf.permission.entity.UserEntity; +/** + * + * subjectDuty + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-08-01 + */ +@Service +public class SubjectDutyServiceImpl extends ServiceImpl implements SubjectDutyService{ + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + @Override + public List getList(SubjectDutyPagination subjectDutyPagination){ + return getTypeList(subjectDutyPagination,subjectDutyPagination.getDataType()); + } + /** 列表查询 */ + @Override + public List getTypeList(SubjectDutyPagination subjectDutyPagination,String dataType){ + String userId=userProvider.get().getUserId(); + List AllIdList =new ArrayList(); + List> intersectionList =new ArrayList<>(); + boolean isPc = ServletUtil.getHeader("jnpf-origin").equals("pc"); + String columnData = !isPc ? SubjectDutyConstant.getAppColumnData() : SubjectDutyConstant.getColumnData(); + ColumnDataModel columnDataModel = JsonUtil.getJsonToBean(columnData, ColumnDataModel.class); + String ruleJson = !isPc ? JsonUtil.getObjectToString(columnDataModel.getRuleListApp()) : JsonUtil.getObjectToString(columnDataModel.getRuleList()); + + int total=0; + int subjectDutyNum =0; + QueryWrapper subjectDutyQueryWrapper=new QueryWrapper<>(); + List allSuperIDlist = new ArrayList<>(); + String superOp =""; + if (ObjectUtil.isNotEmpty(subjectDutyPagination.getSuperQueryJson())){ + List allSuperList = new ArrayList<>(); + List> intersectionSuperList = new ArrayList<>(); + String queryJson = subjectDutyPagination.getSuperQueryJson(); + SuperJsonModel superJsonModel = JsonUtil.getJsonToBean(queryJson, SuperJsonModel.class); + int superNum = 0; + QueryWrapper subjectDutySuperWrapper = new QueryWrapper<>(); + subjectDutySuperWrapper = generaterSwapUtil.getCondition(new QueryModel(subjectDutySuperWrapper,SubjectDutyEntity.class,queryJson,"0")); + int subjectDutyNum1 = subjectDutySuperWrapper.getExpression().getNormal().size(); + if (subjectDutyNum1>0){ + List subjectDutyList =this.list(subjectDutySuperWrapper).stream().map(SubjectDutyEntity::getId).collect(Collectors.toList()); + allSuperList.addAll(subjectDutyList); + intersectionSuperList.add(subjectDutyList); + superNum++; + } + superOp = superNum > 0 ? superJsonModel.getMatchLogic() : ""; + //and or + if(superOp.equalsIgnoreCase("and")){ + allSuperIDlist = generaterSwapUtil.getIntersection(intersectionSuperList); + }else{ + allSuperIDlist = allSuperList; + } + } + List allRuleIDlist = new ArrayList<>(); + String ruleOp =""; + if (ObjectUtil.isNotEmpty(ruleJson)){ + List allRuleList = new ArrayList<>(); + List> intersectionRuleList = new ArrayList<>(); + SuperJsonModel ruleJsonModel = JsonUtil.getJsonToBean(ruleJson, SuperJsonModel.class); + int ruleNum = 0; + QueryWrapper subjectDutySuperWrapper = new QueryWrapper<>(); + subjectDutySuperWrapper = generaterSwapUtil.getCondition(new QueryModel(subjectDutySuperWrapper,SubjectDutyEntity.class,ruleJson,"0")); + int subjectDutyNum1 = subjectDutySuperWrapper.getExpression().getNormal().size(); + if (subjectDutyNum1>0){ + List subjectDutyList =this.list(subjectDutySuperWrapper).stream().map(SubjectDutyEntity::getId).collect(Collectors.toList()); + allRuleList.addAll(subjectDutyList); + intersectionRuleList.add(subjectDutyList); + ruleNum++; + } + ruleOp = ruleNum > 0 ? ruleJsonModel.getMatchLogic() : ""; + //and or + if(ruleOp.equalsIgnoreCase("and")){ + allRuleIDlist = generaterSwapUtil.getIntersection(intersectionRuleList); + }else{ + allRuleIDlist = allRuleList; + } + } + boolean pcPermission = true; + boolean appPermission = false; + if(isPc && pcPermission){ + if (!userProvider.get().getIsAdministrator()){ + Object subjectDutyObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(subjectDutyQueryWrapper,SubjectDutyEntity.class,subjectDutyPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(subjectDutyObj)){ + return new ArrayList<>(); + } else { + subjectDutyQueryWrapper = (QueryWrapper)subjectDutyObj; + if( subjectDutyQueryWrapper.getExpression().getNormal().size()>0){ + subjectDutyNum++; + } + } + } + } + if(!isPc && appPermission){ + if (!userProvider.get().getIsAdministrator()){ + Object subjectDutyObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(subjectDutyQueryWrapper,SubjectDutyEntity.class,subjectDutyPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(subjectDutyObj)){ + return new ArrayList<>(); + } else { + subjectDutyQueryWrapper = (QueryWrapper)subjectDutyObj; + if( subjectDutyQueryWrapper.getExpression().getNormal().size()>0){ + subjectDutyNum++; + } + } + + + } + } + if(isPc){ + if(ObjectUtil.isNotEmpty(subjectDutyPagination.getSubject())){ + subjectDutyNum++; + + String value = subjectDutyPagination.getSubject() instanceof List ? + JsonUtil.getObjectToString(subjectDutyPagination.getSubject()) : + String.valueOf(subjectDutyPagination.getSubject()); + subjectDutyQueryWrapper.lambda().like(SubjectDutyEntity::getSubject,value); + + } + + if(ObjectUtil.isNotEmpty(subjectDutyPagination.getSettlement())){ + subjectDutyNum++; + + String value = subjectDutyPagination.getSettlement() instanceof List ? + JsonUtil.getObjectToString(subjectDutyPagination.getSettlement()) : + String.valueOf(subjectDutyPagination.getSettlement()); + subjectDutyQueryWrapper.lambda().like(SubjectDutyEntity::getSettlement,value); + + } + + if(ObjectUtil.isNotEmpty(subjectDutyPagination.getMouth())){ + subjectDutyNum++; + + List MouthList = JsonUtil.getJsonToList(subjectDutyPagination.getMouth(),String.class); + Long fir = Long.valueOf(String.valueOf(MouthList.get(0))); + Long sec = Long.valueOf(String.valueOf(MouthList.get(1))); + + subjectDutyQueryWrapper.lambda().ge(SubjectDutyEntity::getMouth, new Date(fir)) + .le(SubjectDutyEntity::getMouth, DateUtil.stringToDate(DateUtil.daFormatYmd(sec) + " 23:59:59")); + + + } + + } + List intersection = generaterSwapUtil.getIntersection(intersectionList); + if (total>0){ + if (intersection.size()==0){ + intersection.add("jnpfNullList"); + } + subjectDutyQueryWrapper.lambda().in(SubjectDutyEntity::getId, intersection); + } + //是否有高级查询 + if (StringUtil.isNotEmpty(superOp)){ + if (allSuperIDlist.size()==0){ + allSuperIDlist.add("jnpfNullList"); + } + List finalAllSuperIDlist = allSuperIDlist; + subjectDutyQueryWrapper.lambda().and(t->t.in(SubjectDutyEntity::getId, finalAllSuperIDlist)); + } + //是否有数据过滤查询 + if (StringUtil.isNotEmpty(ruleOp)){ + if (allRuleIDlist.size()==0){ + allRuleIDlist.add("jnpfNullList"); + } + List finalAllRuleIDlist = allRuleIDlist; + subjectDutyQueryWrapper.lambda().and(t->t.in(SubjectDutyEntity::getId, finalAllRuleIDlist)); + } + //假删除标志 + subjectDutyQueryWrapper.lambda().isNull(SubjectDutyEntity::getDeleteMark); + + //排序 + if(StringUtil.isEmpty(subjectDutyPagination.getSidx())){ + subjectDutyQueryWrapper.lambda().orderByDesc(SubjectDutyEntity::getId); + }else{ + try { + String sidx = subjectDutyPagination.getSidx(); + String[] strs= sidx.split("_name"); + SubjectDutyEntity subjectDutyEntity = new SubjectDutyEntity(); + Field declaredField = subjectDutyEntity.getClass().getDeclaredField(strs[0]); + declaredField.setAccessible(true); + String value = declaredField.getAnnotation(TableField.class).value(); + subjectDutyQueryWrapper="asc".equals(subjectDutyPagination.getSort().toLowerCase())?subjectDutyQueryWrapper.orderByAsc(value):subjectDutyQueryWrapper.orderByDesc(value); + } catch (NoSuchFieldException e) { + e.printStackTrace(); + } + } + + if("0".equals(dataType)){ + if((total>0 && AllIdList.size()>0) || total==0){ + Page page=new Page<>(subjectDutyPagination.getCurrentPage(), subjectDutyPagination.getPageSize()); + IPage userIPage=this.page(page, subjectDutyQueryWrapper); + return subjectDutyPagination.setData(userIPage.getRecords(),userIPage.getTotal()); + }else{ + List list = new ArrayList(); + return subjectDutyPagination.setData(list, list.size()); + } + }else{ + return this.list(subjectDutyQueryWrapper); + } + } + @Override + public SubjectDutyEntity getInfo(String id){ + QueryWrapper queryWrapper=new QueryWrapper<>(); + queryWrapper.lambda().eq(SubjectDutyEntity::getId,id); + return this.getOne(queryWrapper); + } + @Override + public void create(SubjectDutyEntity entity){ + this.save(entity); + } + @Override + public boolean update(String id, SubjectDutyEntity entity){ + return this.updateById(entity); + } + @Override + public void delete(SubjectDutyEntity entity){ + if(entity!=null){ + this.removeById(entity.getId()); + } + } + /** 验证表单唯一字段,正则,非空 i-0新增-1修改*/ + @Override + public String checkForm(SubjectDutyForm form,int i) { + boolean isUp =StringUtil.isNotEmpty(form.getId()) && !form.getId().equals("0"); + String id=""; + String countRecover = ""; + if (isUp){ + id = form.getId(); + } + //主表字段验证 + if(StringUtil.isEmpty(form.getSubject())){ + return "供应商名称不能为空"; + } + if(StringUtil.isEmpty(form.getAmount())){ + return "当月供货金额(不含税)不能为空"; + } + if(StringUtil.isEmpty(form.getSettlement())){ + return "当月供货量(吨)不能为空"; + } + return countRecover; + } + /** + * 新增修改数据(事务回滚) + * @param id + * @param subjectDutyForm + * @return + */ + @Override + @Transactional + public void saveOrUpdate(SubjectDutyForm subjectDutyForm,String id, boolean isSave) throws Exception{ + UserInfo userInfo=userProvider.get(); + UserEntity userEntity = generaterSwapUtil.getUser(userInfo.getUserId()); + subjectDutyForm = JsonUtil.getJsonToBean( + generaterSwapUtil.swapDatetime(SubjectDutyConstant.getFormData(),subjectDutyForm),SubjectDutyForm.class); + SubjectDutyEntity entity = JsonUtil.getJsonToBean(subjectDutyForm, SubjectDutyEntity.class); + + if(isSave){ + String mainId = RandomUtil.uuId() ; + entity.setId(mainId); + entity.setVersion(0); + }else{ + } + this.saveOrUpdate(entity); + + } +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/WarehousingStorageServiceImpl.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/WarehousingStorageServiceImpl.java index 38cd3503..976a7858 100644 --- a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/WarehousingStorageServiceImpl.java +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/WarehousingStorageServiceImpl.java @@ -531,23 +531,23 @@ public class WarehousingStorageServiceImpl extends ServiceImpl0){ - return "凭证入库数量不能小于商品数量"; - - } +// BigDecimal maxNum = BigDecimal.ZERO; +// BigDecimal netWeightNum = BigDecimal.ZERO; +// +// for (WarehousingStorageProductModel warehousingStorageProductModel : form.getWarehousingStorageProductList()) { +// maxNum = maxNum.add( new BigDecimal(warehousingStorageProductModel.getStorageNumber())) ; +// } +// for (WarehousingStoragePoundlistModel warehousingStoragePoundlistModel : form.getWarehousingStoragePoundlistList()) { +// netWeightNum = netWeightNum.add( warehousingStoragePoundlistModel.getNetWeight()) ; +// } +// BigDecimal result = maxNum.subtract(netWeightNum); +// +// if (result.compareTo(BigDecimal.ZERO)<0){ +// return "凭证入库数量不能大于商品数量"; +// }else if (result.compareTo(BigDecimal.ZERO)>0){ +// return "凭证入库数量不能小于商品数量"; +// +// } return countRecover; } /** @@ -669,36 +669,36 @@ public class WarehousingStorageServiceImpl extends ServiceImpl tableField114 = JsonUtil.getJsonToList(warehousingStorageForm.getWarehousingStoragePoundlistList(),WarehousingStoragePoundlistEntity.class); - for(WarehousingStoragePoundlistEntity entitys : tableField114){ - //采购入库时,在凭证子表里添加商品子表id;以便于凭证和商品对应容易查询 - if (entity.getWarehousingStorageType().equals("1")) { - QueryWrapper productQueryWrapper = new QueryWrapper<>(); - productQueryWrapper.lambda().eq(WarehousingStorageProductEntity::getProductId, entitys.getProductId()); - productQueryWrapper.lambda().eq(WarehousingStorageProductEntity::getStorageUnit, entitys.getUnit()); - productQueryWrapper.lambda().eq(WarehousingStorageProductEntity::getWarehousingStorageId, entity.getId()); - List warehousingStorageProductEntity = warehousingStorageProductService.list(productQueryWrapper); - for (WarehousingStorageProductEntity product : warehousingStorageProductEntity) { - entitys.setStorageProductId(product.getId()); - } - } - entitys.setId(RandomUtil.uuId()); - entitys.setWarehousingStorageId(entity.getId()); - if(isSave){ - - }else{ - - } - warehousingStoragePoundlistService.saveOrUpdate(entitys); - //将凭证改为已被使用状态 - if (StringUtils.isNotEmpty(entitys.getVoucherId())){ - VoucherEntity voucherEntity = voucherMapper.selectById(entitys.getVoucherId()); - voucherEntity.setIsUsed("2"); - voucherMapper.updateById(voucherEntity); - } - } - } +// if (warehousingStorageForm.getWarehousingStoragePoundlistList()!=null){ +// List tableField114 = JsonUtil.getJsonToList(warehousingStorageForm.getWarehousingStoragePoundlistList(),WarehousingStoragePoundlistEntity.class); +// for(WarehousingStoragePoundlistEntity entitys : tableField114){ +// //采购入库时,在凭证子表里添加商品子表id;以便于凭证和商品对应容易查询 +// if (entity.getWarehousingStorageType().equals("1")) { +// QueryWrapper productQueryWrapper = new QueryWrapper<>(); +// productQueryWrapper.lambda().eq(WarehousingStorageProductEntity::getProductId, entitys.getProductId()); +// productQueryWrapper.lambda().eq(WarehousingStorageProductEntity::getStorageUnit, entitys.getUnit()); +// productQueryWrapper.lambda().eq(WarehousingStorageProductEntity::getWarehousingStorageId, entity.getId()); +// List warehousingStorageProductEntity = warehousingStorageProductService.list(productQueryWrapper); +// for (WarehousingStorageProductEntity product : warehousingStorageProductEntity) { +// entitys.setStorageProductId(product.getId()); +// } +// } +// entitys.setId(RandomUtil.uuId()); +// entitys.setWarehousingStorageId(entity.getId()); +// if(isSave){ +// +// }else{ +// +// } +// warehousingStoragePoundlistService.saveOrUpdate(entitys); +// //将凭证改为已被使用状态 +// if (StringUtils.isNotEmpty(entitys.getVoucherId())){ +// VoucherEntity voucherEntity = voucherMapper.selectById(entitys.getVoucherId()); +// voucherEntity.setIsUsed("2"); +// voucherMapper.updateById(voucherEntity); +// } +// } +// } } /** diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-controller/src/main/java/jnpf/controller/SubjectDutyController.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-controller/src/main/java/jnpf/controller/SubjectDutyController.java new file mode 100644 index 00000000..10664eca --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-controller/src/main/java/jnpf/controller/SubjectDutyController.java @@ -0,0 +1,357 @@ +package jnpf.controller; + +import cn.hutool.core.util.ObjectUtil; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.tags.Tag; +import jnpf.base.ActionResult; +import jnpf.base.UserInfo; +import jnpf.exception.DataException; +import jnpf.permission.entity.UserEntity; +import jnpf.service.*; +import jnpf.entity.*; +import jnpf.util.*; +import jnpf.model.subjectduty.*; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; +import javax.validation.Valid; +import java.util.*; +import jnpf.annotation.JnpfField; +import jnpf.base.vo.PageListVO; +import jnpf.base.vo.PaginationVO; +import jnpf.base.vo.DownloadVO; +import jnpf.config.ConfigValueUtil; +import jnpf.base.entity.ProvinceEntity; +import java.io.IOException; +import java.util.stream.Collectors; +import jnpf.engine.entity.FlowTaskEntity; +import jnpf.exception.WorkFlowException; +import org.springframework.web.multipart.MultipartFile; +import cn.afterturn.easypoi.excel.ExcelExportUtil; +import cn.afterturn.easypoi.excel.ExcelImportUtil; +import cn.afterturn.easypoi.excel.entity.ExportParams; +import cn.afterturn.easypoi.excel.entity.ImportParams; +import cn.afterturn.easypoi.excel.entity.params.ExcelExportEntity; +import cn.afterturn.easypoi.excel.entity.enmus.ExcelType; +import org.apache.poi.hssf.usermodel.HSSFWorkbook; +import org.apache.poi.ss.usermodel.Workbook; +import java.io.File; +import jnpf.onlinedev.model.ExcelImFieldModel; +import jnpf.onlinedev.model.OnlineImport.ImportDataModel; +import jnpf.onlinedev.model.OnlineImport.ImportFormCheckUniqueModel; +import jnpf.onlinedev.model.OnlineImport.ExcelImportModel; +import jnpf.onlinedev.model.OnlineImport.VisualImportModel; +import cn.xuyanwu.spring.file.storage.FileInfo; +import lombok.Cleanup; +import jnpf.model.visualJson.config.HeaderModel; +import jnpf.base.model.ColumnDataModel; +import jnpf.base.util.VisualUtils; +import org.springframework.transaction.annotation.Transactional; + +/** + * subjectDuty + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-08-01 + */ +@Slf4j +@RestController +@Tag(name = "subjectDuty" , description = "scm") +@RequestMapping("/api/scm/SubjectDuty") +public class SubjectDutyController { + + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + @Autowired + private SubjectDutyService subjectDutyService; + + + + @Autowired + private ConfigValueUtil configValueUtil; + + /** + * 列表 + * + * @param subjectDutyPagination + * @return + */ + @Operation(summary = "获取列表") + @PostMapping("/getList") + public ActionResult list(@RequestBody SubjectDutyPagination subjectDutyPagination)throws IOException{ + List list= subjectDutyService.getList(subjectDutyPagination); + List> realList=new ArrayList<>(); + for (SubjectDutyEntity entity : list) { + Map subjectDutyMap=JsonUtil.entityToMap(entity); + subjectDutyMap.put("id", subjectDutyMap.get("id")); + //副表数据 + //子表数据 + realList.add(subjectDutyMap); + } + //数据转换 + realList = generaterSwapUtil.swapDataList(realList, SubjectDutyConstant.getFormData(), SubjectDutyConstant.getColumnData(), subjectDutyPagination.getModuleId(),false); + + //返回对象 + PageListVO vo = new PageListVO(); + vo.setList(realList); + PaginationVO page = JsonUtil.getJsonToBean(subjectDutyPagination, PaginationVO.class); + vo.setPagination(page); + return ActionResult.success(vo); + } + /** + * 创建 + * + * @param subjectDutyForm + * @return + */ + @PostMapping() + @Operation(summary = "创建") + public ActionResult create(@RequestBody @Valid SubjectDutyForm subjectDutyForm) { + String b = subjectDutyService.checkForm(subjectDutyForm,0); + if (StringUtil.isNotEmpty(b)){ + return ActionResult.fail(b ); + } + try{ + subjectDutyService.saveOrUpdate(subjectDutyForm, null ,true); + }catch(Exception e){ + return ActionResult.fail("新增数据失败"); + } + return ActionResult.success("创建成功"); + } + /** + * 导出Excel + * + * @return + */ + @Operation(summary = "导出Excel") + @PostMapping("/Actions/Export") + public ActionResult Export(@RequestBody SubjectDutyPagination subjectDutyPagination) throws IOException { + if (StringUtil.isEmpty(subjectDutyPagination.getSelectKey())){ + return ActionResult.fail("请选择导出字段"); + } + List list= subjectDutyService.getList(subjectDutyPagination); + List> realList=new ArrayList<>(); + for (SubjectDutyEntity entity : list) { + Map subjectDutyMap=JsonUtil.entityToMap(entity); + subjectDutyMap.put("id", subjectDutyMap.get("id")); + //副表数据 + //子表数据 + realList.add(subjectDutyMap); + } + //数据转换 + realList = generaterSwapUtil.swapDataList(realList, SubjectDutyConstant.getFormData(), SubjectDutyConstant.getColumnData(), subjectDutyPagination.getModuleId(),false); + String[]keys=!StringUtil.isEmpty(subjectDutyPagination.getSelectKey())?subjectDutyPagination.getSelectKey():new String[0]; + UserInfo userInfo=userProvider.get(); + DownloadVO vo=this.creatModelExcel(configValueUtil.getTemporaryFilePath(),realList,keys,userInfo); + return ActionResult.success(vo); + } + + /** + * 导出表格方法 + */ + public DownloadVO creatModelExcel(String path,List>list,String[]keys,UserInfo userInfo){ + DownloadVO vo=DownloadVO.builder().build(); + List entitys=new ArrayList<>(); + if(keys.length>0){ + for(String key:keys){ + switch(key){ + case "subject" : + entitys.add(new ExcelExportEntity("供应商名称" ,"subject")); + break; + case "amount" : + entitys.add(new ExcelExportEntity("当月供货金额(不含税)" ,"amount")); + break; + case "settlement" : + entitys.add(new ExcelExportEntity("当月供货量(吨)" ,"settlement")); + break; + case "pdf" : + entitys.add(new ExcelExportEntity("横版完税证明(图片、PDF格式)" ,"pdf")); + break; + case "mouth" : + entitys.add(new ExcelExportEntity("月份" ,"mouth")); + break; + case "reason" : + entitys.add(new ExcelExportEntity("未提供完税证明的原因分析" ,"reason")); + break; + case "remark" : + entitys.add(new ExcelExportEntity("备注" ,"remark")); + break; + default: + break; + } + } + } + + ExportParams exportParams = new ExportParams(null, "表单信息"); + exportParams.setType(ExcelType.XSSF); + try{ + @Cleanup Workbook workbook = new HSSFWorkbook(); + if (entitys.size()>0){ + if (list.size()==0){ + list.add(new HashMap<>()); + } + //去除空数据 + List> dataList = new ArrayList<>(); + for (Map map : list) { + int i = 0; + for (String key : keys) { + //子表 + if (key.toLowerCase().startsWith("tablefield")) { + String tableField = key.substring(0, key.indexOf("-" )); + String field = key.substring(key.indexOf("-" ) + 1); + Object o = map.get(tableField); + if (o != null) { + List> childList = (List>) o; + for (Map childMap : childList) { + if (childMap.get(field) != null) { + i++; + } + } + } + } else { + Object o = map.get(key); + if (o != null) { + i++; + } + } + } + if (i > 0) { + dataList.add(map); + } + } + //复杂表头-表头和数据处理 + ColumnDataModel columnDataModel = JsonUtil.getJsonToBean(SubjectDutyConstant.getColumnData(), ColumnDataModel.class); + List complexHeaderList = columnDataModel.getComplexHeaderList(); + if (!Objects.equals(columnDataModel.getType(), 3) && !Objects.equals(columnDataModel.getType(), 5)) { + entitys = VisualUtils.complexHeaderHandel(entitys, complexHeaderList); + dataList = VisualUtils.complexHeaderDataHandel(dataList, complexHeaderList); + } + + workbook = ExcelExportUtil.exportExcel(exportParams, entitys, dataList); + } + String fileName = "表单信息" + DateUtil.dateNow("yyyyMMdd") + "_" + RandomUtil.uuId() + ".xlsx"; + MultipartFile multipartFile = ExcelUtil.workbookToCommonsMultipartFile(workbook, fileName); + String temporaryFilePath = configValueUtil.getTemporaryFilePath(); + FileInfo fileInfo = FileUploadUtils.uploadFile(multipartFile, temporaryFilePath, fileName); + vo.setName(fileInfo.getFilename()); + vo.setUrl(UploaderUtil.uploaderFile(fileInfo.getFilename() + "#" + "Temporary") + "&name=" + fileName); + } catch (Exception e) { + log.error("信息导出Excel错误:{}", e.getMessage()); + e.printStackTrace(); + } + return vo; + } + /** + * 批量删除 + * @param ids + * @return + */ + @DeleteMapping("/batchRemove") + @Transactional + @Operation(summary = "批量删除") + public ActionResult batchRemove(@RequestBody String ids){ + List idList = JsonUtil.getJsonToList(ids, String.class); + int i =0; + for (String allId : idList){ + this.delete(allId); + i++; + } + if (i == 0 ){ + return ActionResult.fail("删除失败"); + } + return ActionResult.success("删除成功"); + } + /** + * 编辑 + * @param id + * @param subjectDutyForm + * @return + */ + @PutMapping("/{id}") + @Operation(summary = "更新") + public ActionResult update(@PathVariable("id") String id,@RequestBody @Valid SubjectDutyForm subjectDutyForm, + @RequestParam(value = "isImport", required = false) boolean isImport){ + subjectDutyForm.setId(id); + if (!isImport) { + String b = subjectDutyService.checkForm(subjectDutyForm,1); + if (StringUtil.isNotEmpty(b)){ + return ActionResult.fail(b ); + } + } + SubjectDutyEntity entity= subjectDutyService.getInfo(id); + if(entity!=null){ + try{ + subjectDutyService.saveOrUpdate(subjectDutyForm,id,false); + }catch(Exception e){ + return ActionResult.fail("修改数据失败"); + } + return ActionResult.success("更新成功"); + }else{ + return ActionResult.fail("更新失败,数据不存在"); + } + } + /** + * 删除 + * @param id + * @return + */ + @Operation(summary = "删除") + @DeleteMapping("/{id}") + @Transactional + public ActionResult delete(@PathVariable("id") String id){ + SubjectDutyEntity entity= subjectDutyService.getInfo(id); + if(entity!=null){ + //假删除 + entity.setDeleteMark(1); + subjectDutyService.update(id,entity); + } + return ActionResult.success("删除成功"); + } + /** + * 表单信息(详情页) + * 详情页面使用-转换数据 + * @param id + * @return + */ + @Operation(summary = "表单信息(详情页)") + @GetMapping("/detail/{id}") + public ActionResult detailInfo(@PathVariable("id") String id){ + SubjectDutyEntity entity= subjectDutyService.getInfo(id); + if(entity==null){ + return ActionResult.fail("表单数据不存在!"); + } + Map subjectDutyMap=JsonUtil.entityToMap(entity); + subjectDutyMap.put("id", subjectDutyMap.get("id")); + //副表数据 + //子表数据 + subjectDutyMap = generaterSwapUtil.swapDataDetail(subjectDutyMap,SubjectDutyConstant.getFormData(),"588627114215912773",false); + return ActionResult.success(subjectDutyMap); + } + /** + * 获取详情(编辑页) + * 编辑页面使用-不转换数据 + * @param id + * @return + */ + @Operation(summary = "信息") + @GetMapping("/{id}") + public ActionResult info(@PathVariable("id") String id){ + SubjectDutyEntity entity= subjectDutyService.getInfo(id); + if(entity==null){ + return ActionResult.fail("表单数据不存在!"); + } + Map subjectDutyMap=JsonUtil.entityToMap(entity); + subjectDutyMap.put("id", subjectDutyMap.get("id")); + //副表数据 + //子表数据 + subjectDutyMap = generaterSwapUtil.swapDataForm(subjectDutyMap,SubjectDutyConstant.getFormData(),SubjectDutyConstant.TABLEFIELDKEY,SubjectDutyConstant.TABLERENAMES); + return ActionResult.success(subjectDutyMap); + } + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/SubjectDutyEntity.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/SubjectDutyEntity.java new file mode 100644 index 00000000..8a63aff7 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/SubjectDutyEntity.java @@ -0,0 +1,61 @@ +package jnpf.entity; + +import com.baomidou.mybatisplus.annotation.*; +import lombok.Data; +import java.util.Date; +import java.math.BigDecimal; +import java.math.BigDecimal; +/** + * 供应商完税证明记录 + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-08-01 + */ +@Data +@TableName("jg_subject_duty") +public class SubjectDutyEntity { + @TableId(value ="ID" ) + private String id; + @TableField(value = "SUBJECT" , updateStrategy = FieldStrategy.IGNORED) + private String subject; + @TableField(value = "AMOUNT" , updateStrategy = FieldStrategy.IGNORED) + private BigDecimal amount; + @TableField(value = "SETTLEMENT" , updateStrategy = FieldStrategy.IGNORED) + private BigDecimal settlement; + @TableField(value = "PDF" , updateStrategy = FieldStrategy.IGNORED) + private String pdf; + @TableField(value = "REASON" , updateStrategy = FieldStrategy.IGNORED) + private String reason; + @TableField(value = "REMARK" , updateStrategy = FieldStrategy.IGNORED) + private String remark; + @TableField(value = "MOUTH" , updateStrategy = FieldStrategy.IGNORED) + private Date mouth; + @TableField("F_CREATOR_TIME") + private Date creatorTime; + @TableField("F_CREATOR_USER_ID") + private String creatorUserId; + @TableField("F_LAST_MODIFY_TIME") + private Date lastModifyTime; + @TableField("F_LAST_MODIFY_USER_ID") + private String lastModifyUserId; + @TableField("F_DELETE_TIME") + private Date deleteTime; + @TableField("F_DELETE_USER_ID") + private String deleteUserId; + @TableField("F_DELETE_MARK") + private Integer deleteMark; + @TableField("F_TENANT_ID") + private String tenantId; + @TableField("COMPANY_ID") + private String companyId; + @TableField("DEPARTMENT_ID") + private String departmentId; + @TableField("ORGANIZE_JSON_ID") + private String organizeJsonId; + @TableField("F_VERSION") + private Integer version; + @TableField("F_FLOW_ID") + private String flowId; +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/subjectduty/SubjectDutyConstant.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/subjectduty/SubjectDutyConstant.java new file mode 100644 index 00000000..aec64507 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/subjectduty/SubjectDutyConstant.java @@ -0,0 +1,41 @@ +package jnpf.model.subjectduty; + +import jnpf.util.JsonUtil; +import java.util.Map; + +/** + * subjectDuty配置json + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-08-01 + */ +public class SubjectDutyConstant{ + /** 数据库链接 */ + public static final String DBLINKID = "0"; + /** 表别名 map */ + public static final Map TABLERENAMES = JsonUtil.getJsonToBean("{\"jg_subject_duty\":\"subjectDuty\"}",Map.class); + /** 子表model map */ + public static final Map TABLEFIELDKEY = JsonUtil.getJsonToBean("{}",Map.class); + /** 整个表单配置json */ + public static final String getFormData(){ + StringBuilder sb = new StringBuilder(); +sb.append("{\"popupType\":\"fullScreen\",\"idGlobal\":109,\"formBtns\":false,\"labelWidth\":100,\"classNames\":[],\"className\":[],\"fullScreenWidth\":\"100%\",\"hasConfirmAndAddBtn\":true,\"labelPosition\":\"right\",\"printId\":\"\",\"disabled\":false,\"formModel\":\"dataForm\",\"cancelButtonText\":\"取 消\",\"confirmButtonText\":\"确 定\",\"hasCancelBtn\":true,\"primaryKeyPolicy\":1,\"confirmAndAddText\":\"确定并继续操作\",\"hasPrintBtn\":false,\"concurrencyLock\":true,\"classJson\":\"\",\"drawerWidth\":\"600px\",\"printButtonText\":\"打 印\",\"formRef\":\"formRef\",\"gutter\":15,\"logicalDelete\":true,\"size\":\"small\",\"formRules\":\"rules\",\"generalWidth\":\"600px\",\"hasConfirmBtn\":true,\"formStyle\":\"\",\"fields\":[{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"供应商名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476066687,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"subject\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"当月供货金额(不含税)\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476081020,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"amount\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"当月供货量(吨)\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476092093,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"settlement\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"buttonText\":\"点击上传\",\"showTip\":false,\"isAccount\":0,\"pathType\":\"defaultPath\",\"accept\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"uploadFile\",\"defaultValue\":[],\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"横版完税证明(图片、PDF格式)\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476112083,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-upload\",\"tag\":\"JnpfUploadFile\",\"regList\":[],\"span\":24},\"folder\":\"\",\"fileSize\":10,\"limit\":9,\"__vModel__\":\"pdf\",\"sizeUnit\":\"MB\",\"tipText\":\"\",\"disabled\":false},{\"clearable\":true,\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476186055,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"月份\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"format\":\"yyyy-MM\",\"__vModel__\":\"mouth\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"type\":\"month\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":107,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"未提供完税证明的原因分析\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476156696,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"reason\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"备注\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476168122,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"remark\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"}],\"span\":24}"); return sb.toString(); + } + /** 列表字段配置json */ + public static final String getColumnData(){ + StringBuilder sb = new StringBuilder(); +sb.append("{\"showSummary\":false,\"hasPage\":true,\"searchList\":[{\"clearable\":true,\"searchType\":2,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"供应商名称\",\"label\":\"供应商名称\",\"addonAfter\":\"\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"供应商名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476066687,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"subject\",\"showWordLimit\":false,\"__vModel__\":\"subject\",\"searchMultiple\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"subject\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"searchType\":2,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"当月供货量(吨)\",\"label\":\"当月供货量(吨)\",\"addonAfter\":\"\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"当月供货量(吨)\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476092093,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"settlement\",\"showWordLimit\":false,\"__vModel__\":\"settlement\",\"searchMultiple\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"settlement\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"searchType\":3,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd\",\"fullName\":\"月份\",\"label\":\"月份\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476186055,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"月份\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"mouth\",\"__vModel__\":\"mouth\",\"searchMultiple\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"mouth\",\"placeholder\":\"请选择\",\"value\":[]}],\"treeInterfaceId\":\"\",\"treePropsValue\":\"id\",\"ruleList\":{\"conditionList\":[],\"matchLogic\":\"and\"},\"childTableStyle\":1,\"columnOptions\":[{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"供应商名称\",\"addonAfter\":\"\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"供应商名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476066687,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"subject\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"subject\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"当月供货金额(不含税)\",\"addonAfter\":\"\",\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"当月供货金额(不含税)\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476081020,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"amount\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"amount\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"当月供货量(吨)\",\"addonAfter\":\"\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"当月供货量(吨)\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476092093,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"settlement\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"settlement\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"format\":\"yyyy-MM-dd\",\"fullName\":\"月份\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476186055,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"月份\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"__vModel__\":\"mouth\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"mouth\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"未提供完税证明的原因分析\",\"addonAfter\":\"\",\"__config__\":{\"formId\":107,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"未提供完税证明的原因分析\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476156696,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"reason\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"reason\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"备注\",\"addonAfter\":\"\",\"__config__\":{\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"备注\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476168122,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"remark\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"remark\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"}],\"pageSize\":20,\"treePropsChildren\":\"children\",\"type\":1,\"columnBtnsList\":[{\"icon\":\"icon-ym icon-ym-btn-edit\",\"label\":\"编辑\",\"value\":\"edit\"},{\"icon\":\"icon-ym icon-ym-btn-clearn\",\"label\":\"删除\",\"value\":\"remove\"},{\"icon\":\"icon-ym icon-ym-generator-menu\",\"label\":\"详情\",\"value\":\"detail\"}],\"thousandsField\":[],\"treeTitle\":\"左侧标题\",\"defaultColumnList\":[{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"供应商名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476066687,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"subject\",\"showWordLimit\":false,\"__vModel__\":\"subject\",\"checked\":true,\"disabled\":false,\"id\":\"subject\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"供应商名称\",\"label\":\"供应商名称\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"当月供货金额(不含税)\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476081020,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"amount\",\"showWordLimit\":false,\"__vModel__\":\"amount\",\"checked\":true,\"disabled\":false,\"id\":\"amount\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"当月供货金额(不含税)\",\"label\":\"当月供货金额(不含税)\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"当月供货量(吨)\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476092093,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"settlement\",\"showWordLimit\":false,\"__vModel__\":\"settlement\",\"checked\":true,\"disabled\":false,\"id\":\"settlement\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"当月供货量(吨)\",\"label\":\"当月供货量(吨)\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd\",\"fullName\":\"月份\",\"label\":\"月份\",\"sortable\":false,\"align\":\"left\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476186055,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"月份\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"mouth\",\"__vModel__\":\"mouth\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"mouth\",\"placeholder\":\"请选择\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":107,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"未提供完税证明的原因分析\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476156696,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"reason\",\"showWordLimit\":false,\"__vModel__\":\"reason\",\"checked\":true,\"disabled\":false,\"id\":\"reason\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"未提供完税证明的原因分析\",\"label\":\"未提供完税证明的原因分析\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"备注\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476168122,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"remark\",\"showWordLimit\":false,\"__vModel__\":\"remark\",\"checked\":true,\"disabled\":false,\"id\":\"remark\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"备注\",\"label\":\"备注\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"}],\"treeTemplateJson\":[],\"treePropsName\":\"\",\"useColumnPermission\":false,\"treePropsUrl\":\"\",\"treeRelation\":\"\",\"treeSynType\":0,\"btnsList\":[{\"icon\":\"icon-ym icon-ym-btn-add\",\"label\":\"新增\",\"value\":\"add\"},{\"icon\":\"icon-ym icon-ym-btn-download\",\"label\":\"导出\",\"value\":\"download\"},{\"icon\":\"icon-ym icon-ym-btn-clearn\",\"label\":\"批量删除\",\"value\":\"batchRemove\"}],\"useDataPermission\":true,\"columnList\":[{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"供应商名称\",\"label\":\"供应商名称\",\"sortable\":false,\"align\":\"center\",\"addonAfter\":\"\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"供应商名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476066687,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"subject\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"subject\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"subject\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd\",\"fullName\":\"月份\",\"label\":\"月份\",\"sortable\":false,\"align\":\"center\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476186055,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"月份\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"mouth\",\"width\":0,\"__vModel__\":\"mouth\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"mouth\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"当月供货金额(不含税)\",\"label\":\"当月供货金额(不含税)\",\"sortable\":false,\"align\":\"center\",\"addonAfter\":\"\",\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"当月供货金额(不含税)\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476081020,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"amount\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"amount\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"amount\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"当月供货量(吨)\",\"label\":\"当月供货量(吨)\",\"sortable\":false,\"align\":\"center\",\"addonAfter\":\"\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"当月供货量(吨)\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476092093,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"settlement\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"settlement\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"settlement\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"未提供完税证明的原因分析\",\"label\":\"未提供完税证明的原因分析\",\"sortable\":false,\"align\":\"center\",\"addonAfter\":\"\",\"__config__\":{\"formId\":107,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"未提供完税证明的原因分析\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476156696,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"reason\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"reason\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"reason\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"备注\",\"label\":\"备注\",\"sortable\":false,\"align\":\"center\",\"addonAfter\":\"\",\"__config__\":{\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"备注\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476168122,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"remark\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"remark\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"remark\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"}],\"sort\":\"desc\",\"thousands\":false,\"hasSuperQuery\":true,\"summaryField\":[],\"parentField\":\"\",\"treePropsLabel\":\"fullName\",\"treeDataSource\":\"dictionary\",\"groupField\":\"\",\"printIds\":[],\"uploaderTemplateJson\":{},\"treeDictionary\":\"\",\"hasTreeQuery\":false,\"useFormPermission\":false,\"customBtnsList\":[],\"complexHeaderList\":[],\"useBtnPermission\":true,\"treeInterfaceName\":\"\",\"defaultSidx\":\"\"}"); return sb.toString(); + } + /** app列表字段配置json */ + public static final String getAppColumnData(){ + StringBuilder sb = new StringBuilder(); +sb.append("{\"hasPage\":true,\"useColumnPermission\":false,\"searchList\":[],\"btnsList\":[{\"icon\":\"icon-ym icon-ym-btn-add\",\"label\":\"新增\",\"value\":\"add\"}],\"useDataPermission\":false,\"ruleListApp\":{\"conditionList\":[],\"matchLogic\":\"and\"},\"columnList\":[{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"供应商名称\",\"label\":\"供应商名称\",\"sortable\":false,\"align\":\"center\",\"addonAfter\":\"\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"供应商名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476066687,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"subject\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"subject\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"请输入\",\"id\":\"subject\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd\",\"fullName\":\"月份\",\"label\":\"月份\",\"sortable\":false,\"align\":\"center\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476186055,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"月份\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"mouth\",\"width\":0,\"__vModel__\":\"mouth\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"请选择\",\"id\":\"mouth\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"当月供货金额(不含税)\",\"label\":\"当月供货金额(不含税)\",\"sortable\":false,\"align\":\"center\",\"addonAfter\":\"\",\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"当月供货金额(不含税)\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476081020,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"amount\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"amount\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"请输入\",\"id\":\"amount\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"当月供货量(吨)\",\"label\":\"当月供货量(吨)\",\"sortable\":false,\"align\":\"center\",\"addonAfter\":\"\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"当月供货量(吨)\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476092093,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"settlement\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"settlement\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"请输入\",\"id\":\"settlement\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"未提供完税证明的原因分析\",\"label\":\"未提供完税证明的原因分析\",\"sortable\":false,\"align\":\"center\",\"addonAfter\":\"\",\"__config__\":{\"formId\":107,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"未提供完税证明的原因分析\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476156696,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"reason\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"reason\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"请输入\",\"id\":\"reason\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"备注\",\"label\":\"备注\",\"sortable\":false,\"align\":\"center\",\"addonAfter\":\"\",\"__config__\":{\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"备注\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476168122,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"remark\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"remark\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"请输入\",\"id\":\"remark\",\"prefixIcon\":\"\",\"addonBefore\":\"\"}],\"columnOptions\":[{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"供应商名称\",\"addonAfter\":\"\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"供应商名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476066687,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"subject\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"subject\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"当月供货金额(不含税)\",\"addonAfter\":\"\",\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"当月供货金额(不含税)\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476081020,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"amount\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"amount\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"当月供货量(吨)\",\"addonAfter\":\"\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"当月供货量(吨)\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476092093,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"settlement\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"settlement\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"format\":\"yyyy-MM-dd\",\"fullName\":\"月份\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476186055,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"月份\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"__vModel__\":\"mouth\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"id\":\"mouth\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"未提供完税证明的原因分析\",\"addonAfter\":\"\",\"__config__\":{\"formId\":107,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"未提供完税证明的原因分析\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476156696,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"reason\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"reason\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"备注\",\"addonAfter\":\"\",\"__config__\":{\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"备注\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476168122,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"remark\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"remark\",\"prefixIcon\":\"\",\"addonBefore\":\"\"}],\"pageSize\":20,\"sort\":\"desc\",\"thousands\":false,\"columnBtnsList\":[{\"icon\":\"icon-ym icon-ym-btn-edit\",\"label\":\"编辑\",\"value\":\"edit\"},{\"icon\":\"icon-ym icon-ym-btn-clearn\",\"label\":\"删除\",\"value\":\"remove\"},{\"icon\":\"icon-ym icon-ym-generator-menu\",\"label\":\"详情\",\"value\":\"detail\"}],\"loading\":false,\"hasSuperQuery\":false,\"thousandsField\":[],\"defaultColumnList\":[{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"供应商名称\",\"label\":\"供应商名称\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"供应商名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476066687,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"subject\",\"showWordLimit\":false,\"__vModel__\":\"subject\",\"showPassword\":false,\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"subject\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"当月供货金额(不含税)\",\"label\":\"当月供货金额(不含税)\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"当月供货金额(不含税)\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476081020,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"amount\",\"showWordLimit\":false,\"__vModel__\":\"amount\",\"showPassword\":false,\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"amount\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"当月供货量(吨)\",\"label\":\"当月供货量(吨)\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"当月供货量(吨)\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476092093,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"settlement\",\"showWordLimit\":false,\"__vModel__\":\"settlement\",\"showPassword\":false,\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"settlement\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd\",\"fullName\":\"月份\",\"label\":\"月份\",\"sortable\":false,\"align\":\"left\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476186055,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"月份\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"mouth\",\"__vModel__\":\"mouth\",\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"id\":\"mouth\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"未提供完税证明的原因分析\",\"label\":\"未提供完税证明的原因分析\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":107,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"未提供完税证明的原因分析\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476156696,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"reason\",\"showWordLimit\":false,\"__vModel__\":\"reason\",\"showPassword\":false,\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"reason\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"备注\",\"label\":\"备注\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"备注\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_subject_duty\",\"renderKey\":1722476168122,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"remark\",\"showWordLimit\":false,\"__vModel__\":\"remark\",\"showPassword\":false,\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"remark\",\"prefixIcon\":\"\",\"addonBefore\":\"\"}],\"sortList\":[],\"useFormPermission\":false,\"customBtnsList\":[],\"useBtnPermission\":false,\"defaultSidx\":\"\"}"); return sb.toString(); + } + /** 表列表 */ + public static final String getTableList(){ + StringBuilder sb = new StringBuilder(); +sb.append("[{\"relationField\":\"\",\"relationTable\":\"\",\"table\":\"jg_subject_duty\",\"tableName\":\"供应商完税证明记录\",\"tableField\":\"\",\"typeId\":\"1\",\"fields\":[{\"columnName\":\"id\",\"field\":\"id\",\"fieldName\":\"自然主键\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":1,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"subject\",\"field\":\"subject\",\"fieldName\":\"供应商名称\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"amount\",\"field\":\"amount\",\"fieldName\":\"当月供货金额(不含税)\",\"dataType\":\"decimal\",\"dataLength\":\"32,6\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"settlement\",\"field\":\"settlement\",\"fieldName\":\"当月供货量(吨)\",\"dataType\":\"decimal\",\"dataLength\":\"32,6\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"PDF\",\"field\":\"pdf\",\"fieldName\":\"横版完税证明(图片、PDF格式)\",\"dataType\":\"text\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"reason\",\"field\":\"reason\",\"fieldName\":\"未提供完税证明的原因分析\",\"dataType\":\"text\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"remark\",\"field\":\"remark\",\"fieldName\":\"备注\",\"dataType\":\"text\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"mouth\",\"field\":\"mouth\",\"fieldName\":\"月份\",\"dataType\":\"date\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_creator_time\",\"field\":\"creatorTime\",\"fieldName\":\"创建时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_creator_user_id\",\"field\":\"creatorUserId\",\"fieldName\":\"创建用户\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_last_modify_time\",\"field\":\"lastModifyTime\",\"fieldName\":\"修改时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_last_modify_user_id\",\"field\":\"lastModifyUserId\",\"fieldName\":\"修改用户\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_delete_time\",\"field\":\"deleteTime\",\"fieldName\":\"删除时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_delete_user_id\",\"field\":\"deleteUserId\",\"fieldName\":\"删除用户\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_delete_mark\",\"field\":\"deleteMark\",\"fieldName\":\"删除标志\",\"dataType\":\"int\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_tenant_id\",\"field\":\"tenantId\",\"fieldName\":\"租户id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"company_id\",\"field\":\"companyId\",\"fieldName\":\"公司id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"department_id\",\"field\":\"departmentId\",\"fieldName\":\"部门id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"organize_json_id\",\"field\":\"organizeJsonId\",\"fieldName\":\"\",\"dataType\":\"varchar\",\"dataLength\":\"1000\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_version\",\"field\":\"version\",\"fieldName\":\"乐观锁\",\"dataType\":\"int\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_flow_id\",\"field\":\"flowId\",\"fieldName\":\"流程id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0}]}]"); return sb.toString(); + } +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/subjectduty/SubjectDutyForm.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/subjectduty/SubjectDutyForm.java new file mode 100644 index 00000000..c9659872 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/subjectduty/SubjectDutyForm.java @@ -0,0 +1,44 @@ +package jnpf.model.subjectduty; + +import lombok.Data; +import java.util.List; +import java.math.BigDecimal; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * subjectDuty + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-08-01 + */ +@Data +public class SubjectDutyForm { + /** 主键 */ + private String id; + /** 乐观锁 **/ + @JsonProperty("version") + private Integer version; + + /** 供应商名称 **/ + @JsonProperty("subject") + private String subject; + /** 当月供货金额(不含税) **/ + @JsonProperty("amount") + private String amount; + /** 当月供货量(吨) **/ + @JsonProperty("settlement") + private String settlement; + /** 横版完税证明(图片、PDF格式) **/ + @JsonProperty("pdf") + private Object pdf; + /** 月份 **/ + @JsonProperty("mouth") + private String mouth; + /** 未提供完税证明的原因分析 **/ + @JsonProperty("reason") + private String reason; + /** 备注 **/ + @JsonProperty("remark") + private String remark; +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/subjectduty/SubjectDutyPagination.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/subjectduty/SubjectDutyPagination.java new file mode 100644 index 00000000..0ffeccda --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/subjectduty/SubjectDutyPagination.java @@ -0,0 +1,39 @@ +package jnpf.model.subjectduty; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Data; +import jnpf.base.Pagination; +import java.util.List; + +/** + * + * subjectDuty + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-08-01 + */ +@Data +public class SubjectDutyPagination extends Pagination { + /** 查询key */ + private String[] selectKey; + /** json */ + private String json; + /** 数据类型 0-当前页,1-全部数据 */ + private String dataType; + /** 高级查询 */ + private String superQueryJson; + /** 功能id */ + private String moduleId; + /** 菜单id */ + private String menuId; + /** 供应商名称 */ + @JsonProperty("subject") + private Object subject; + /** 当月供货量(吨) */ + @JsonProperty("settlement") + private Object settlement; + /** 月份 */ + @JsonProperty("mouth") + private Object mouth; +} diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/subjectbasicexclusive/subjectbasiccustomer/form.vue b/jnpf-java-boot/jnpf-web/src/views/scm/subjectbasicexclusive/subjectbasiccustomer/form.vue index 1d15d403..ad296efa 100644 --- a/jnpf-java-boot/jnpf-web/src/views/scm/subjectbasicexclusive/subjectbasiccustomer/form.vue +++ b/jnpf-java-boot/jnpf-web/src/views/scm/subjectbasicexclusive/subjectbasiccustomer/form.vue @@ -36,7 +36,7 @@ + 规格 + + + + + 单位 + + + + @@ -366,18 +319,18 @@ - +
添加 -
+ - + -->
@@ -396,9 +349,9 @@ width="200" fixed="left" align="center"> + *商品名称 +