diff --git a/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/MeasureApplyLogMapper.xml b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/MeasureApplyLogMapper.xml new file mode 100644 index 0000000..298ca19 --- /dev/null +++ b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/MeasureApplyLogMapper.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/MeasureLogMapper.xml b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/MeasureLogMapper.xml new file mode 100644 index 0000000..79b0e29 --- /dev/null +++ b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/MeasureLogMapper.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/MeasurePoundMapper.xml b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/MeasurePoundMapper.xml new file mode 100644 index 0000000..c9a1e62 --- /dev/null +++ b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/MeasurePoundMapper.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/mapper/MeasureApplyLogMapper.java b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/mapper/MeasureApplyLogMapper.java new file mode 100644 index 0000000..0ddebdf --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/mapper/MeasureApplyLogMapper.java @@ -0,0 +1,16 @@ +package jnpf.mapper; + + +import jnpf.entity.MeasureApplyLogEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * measureApplyLog + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-08-02 + */ +public interface MeasureApplyLogMapper extends BaseMapper { + +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/mapper/MeasureLogMapper.java b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/mapper/MeasureLogMapper.java new file mode 100644 index 0000000..1dcde43 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/mapper/MeasureLogMapper.java @@ -0,0 +1,16 @@ +package jnpf.mapper; + + +import jnpf.entity.MeasureLogEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * measureLog + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-08-02 + */ +public interface MeasureLogMapper extends BaseMapper { + +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/mapper/MeasurePoundMapper.java b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/mapper/MeasurePoundMapper.java new file mode 100644 index 0000000..9ab9cbc --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/mapper/MeasurePoundMapper.java @@ -0,0 +1,16 @@ +package jnpf.mapper; + + +import jnpf.entity.MeasurePoundEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * measurePound + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-08-02 + */ +public interface MeasurePoundMapper extends BaseMapper { + +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/MeasureApplyLogService.java b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/MeasureApplyLogService.java new file mode 100644 index 0000000..e278031 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/MeasureApplyLogService.java @@ -0,0 +1,35 @@ +package jnpf.service; + +import jnpf.model.measureapplylog.*; +import jnpf.entity.*; +import java.util.*; +import com.baomidou.mybatisplus.extension.service.IService; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; + +/** + * measureApplyLog + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-08-02 + */ +public interface MeasureApplyLogService extends IService { + List getList(MeasureApplyLogPagination measureApplyLogPagination); + + List getTypeList(MeasureApplyLogPagination measureApplyLogPagination,String dataType); + + MeasureApplyLogEntity getInfo(String id); + + void delete(MeasureApplyLogEntity entity); + + void create(MeasureApplyLogEntity entity); + + boolean update(String id, MeasureApplyLogEntity entity); + + //子表方法 + //副表数据方法 + String checkForm(MeasureApplyLogForm form,int i); + + void saveOrUpdate(MeasureApplyLogForm measureApplyLogForm,String id, boolean isSave) throws Exception; + +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/MeasureLogService.java b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/MeasureLogService.java new file mode 100644 index 0000000..4f7dbb2 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/MeasureLogService.java @@ -0,0 +1,35 @@ +package jnpf.service; + +import jnpf.model.measurelog.*; +import jnpf.entity.*; +import java.util.*; +import com.baomidou.mybatisplus.extension.service.IService; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; + +/** + * measureLog + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-08-02 + */ +public interface MeasureLogService extends IService { + List getList(MeasureLogPagination measureLogPagination); + + List getTypeList(MeasureLogPagination measureLogPagination,String dataType); + + MeasureLogEntity getInfo(String id); + + void delete(MeasureLogEntity entity); + + void create(MeasureLogEntity entity); + + boolean update(String id, MeasureLogEntity entity); + + //子表方法 + //副表数据方法 + String checkForm(MeasureLogForm form,int i); + + void saveOrUpdate(MeasureLogForm measureLogForm,String id, boolean isSave) throws Exception; + +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/MeasurePoundService.java b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/MeasurePoundService.java new file mode 100644 index 0000000..cc41c24 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/MeasurePoundService.java @@ -0,0 +1,35 @@ +package jnpf.service; + +import jnpf.model.measurepound.*; +import jnpf.entity.*; +import java.util.*; +import com.baomidou.mybatisplus.extension.service.IService; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; + +/** + * measurePound + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-08-02 + */ +public interface MeasurePoundService extends IService { + List getList(MeasurePoundPagination measurePoundPagination); + + List getTypeList(MeasurePoundPagination measurePoundPagination,String dataType); + + MeasurePoundEntity getInfo(String id); + + void delete(MeasurePoundEntity entity); + + void create(MeasurePoundEntity entity); + + boolean update(String id, MeasurePoundEntity entity); + + //子表方法 + //副表数据方法 + String checkForm(MeasurePoundForm form,int i); + + void saveOrUpdate(MeasurePoundForm measurePoundForm,String id, boolean isSave) throws Exception; + +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/MeasureApplyLogServiceImpl.java b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/MeasureApplyLogServiceImpl.java new file mode 100644 index 0000000..6425be8 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/MeasureApplyLogServiceImpl.java @@ -0,0 +1,301 @@ +package jnpf.service.impl; + +import jnpf.entity.*; +import jnpf.mapper.MeasureApplyLogMapper; +import jnpf.service.*; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import jnpf.model.measureapplylog.*; +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; +/** + * + * measureApplyLog + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-08-02 + */ +@Service +public class MeasureApplyLogServiceImpl extends ServiceImpl implements MeasureApplyLogService{ + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + @Override + public List getList(MeasureApplyLogPagination measureApplyLogPagination){ + return getTypeList(measureApplyLogPagination,measureApplyLogPagination.getDataType()); + } + /** 列表查询 */ + @Override + public List getTypeList(MeasureApplyLogPagination measureApplyLogPagination,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 ? MeasureApplyLogConstant.getAppColumnData() : MeasureApplyLogConstant.getColumnData(); + ColumnDataModel columnDataModel = JsonUtil.getJsonToBean(columnData, ColumnDataModel.class); + String ruleJson = !isPc ? JsonUtil.getObjectToString(columnDataModel.getRuleListApp()) : JsonUtil.getObjectToString(columnDataModel.getRuleList()); + + int total=0; + int measureApplyLogNum =0; + QueryWrapper measureApplyLogQueryWrapper=new QueryWrapper<>(); + List allSuperIDlist = new ArrayList<>(); + String superOp =""; + if (ObjectUtil.isNotEmpty(measureApplyLogPagination.getSuperQueryJson())){ + List allSuperList = new ArrayList<>(); + List> intersectionSuperList = new ArrayList<>(); + String queryJson = measureApplyLogPagination.getSuperQueryJson(); + SuperJsonModel superJsonModel = JsonUtil.getJsonToBean(queryJson, SuperJsonModel.class); + int superNum = 0; + QueryWrapper measureApplyLogSuperWrapper = new QueryWrapper<>(); + measureApplyLogSuperWrapper = generaterSwapUtil.getCondition(new QueryModel(measureApplyLogSuperWrapper,MeasureApplyLogEntity.class,queryJson,"0")); + int measureApplyLogNum1 = measureApplyLogSuperWrapper.getExpression().getNormal().size(); + if (measureApplyLogNum1>0){ + List measureApplyLogList =this.list(measureApplyLogSuperWrapper).stream().map(MeasureApplyLogEntity::getId).collect(Collectors.toList()); + allSuperList.addAll(measureApplyLogList); + intersectionSuperList.add(measureApplyLogList); + 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 measureApplyLogSuperWrapper = new QueryWrapper<>(); + measureApplyLogSuperWrapper = generaterSwapUtil.getCondition(new QueryModel(measureApplyLogSuperWrapper,MeasureApplyLogEntity.class,ruleJson,"0")); + int measureApplyLogNum1 = measureApplyLogSuperWrapper.getExpression().getNormal().size(); + if (measureApplyLogNum1>0){ + List measureApplyLogList =this.list(measureApplyLogSuperWrapper).stream().map(MeasureApplyLogEntity::getId).collect(Collectors.toList()); + allRuleList.addAll(measureApplyLogList); + intersectionRuleList.add(measureApplyLogList); + ruleNum++; + } + ruleOp = ruleNum > 0 ? ruleJsonModel.getMatchLogic() : ""; + //and or + if(ruleOp.equalsIgnoreCase("and")){ + allRuleIDlist = generaterSwapUtil.getIntersection(intersectionRuleList); + }else{ + allRuleIDlist = allRuleList; + } + } + boolean pcPermission = false; + boolean appPermission = false; + if(isPc && pcPermission){ + if (!userProvider.get().getIsAdministrator()){ + Object measureApplyLogObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(measureApplyLogQueryWrapper,MeasureApplyLogEntity.class,measureApplyLogPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(measureApplyLogObj)){ + return new ArrayList<>(); + } else { + measureApplyLogQueryWrapper = (QueryWrapper)measureApplyLogObj; + if( measureApplyLogQueryWrapper.getExpression().getNormal().size()>0){ + measureApplyLogNum++; + } + } + } + } + if(!isPc && appPermission){ + if (!userProvider.get().getIsAdministrator()){ + Object measureApplyLogObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(measureApplyLogQueryWrapper,MeasureApplyLogEntity.class,measureApplyLogPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(measureApplyLogObj)){ + return new ArrayList<>(); + } else { + measureApplyLogQueryWrapper = (QueryWrapper)measureApplyLogObj; + if( measureApplyLogQueryWrapper.getExpression().getNormal().size()>0){ + measureApplyLogNum++; + } + } + + + } + } + if(isPc){ + if(ObjectUtil.isNotEmpty(measureApplyLogPagination.getMerchantName())){ + measureApplyLogNum++; + + String value = measureApplyLogPagination.getMerchantName() instanceof List ? + JsonUtil.getObjectToString(measureApplyLogPagination.getMerchantName()) : + String.valueOf(measureApplyLogPagination.getMerchantName()); + measureApplyLogQueryWrapper.lambda().like(MeasureApplyLogEntity::getMerchantName,value); + + } + + if(ObjectUtil.isNotEmpty(measureApplyLogPagination.getCargoType())){ + measureApplyLogNum++; + + List idList = new ArrayList<>(); + try { + String[][] cargoType = JsonUtil.getJsonToBean(measureApplyLogPagination.getCargoType(),String[][].class); + for(int i=0;i0){ + idList.add(JsonUtil.getObjectToString(Arrays.asList(cargoType[i]))); + } + } + }catch (Exception e1){ + try { + List cargoType = JsonUtil.getJsonToList(measureApplyLogPagination.getCargoType(),String.class); + if(cargoType.size()>0){ + idList.addAll(cargoType); + } + }catch (Exception e2){ + idList.add(String.valueOf(measureApplyLogPagination.getCargoType())); + } + } + measureApplyLogQueryWrapper.lambda().and(t->{ + idList.forEach(tt->{ + t.like(MeasureApplyLogEntity::getCargoType, tt).or(); + }); + }); + + } + + } + List intersection = generaterSwapUtil.getIntersection(intersectionList); + if (total>0){ + if (intersection.size()==0){ + intersection.add("jnpfNullList"); + } + measureApplyLogQueryWrapper.lambda().in(MeasureApplyLogEntity::getId, intersection); + } + //是否有高级查询 + if (StringUtil.isNotEmpty(superOp)){ + if (allSuperIDlist.size()==0){ + allSuperIDlist.add("jnpfNullList"); + } + List finalAllSuperIDlist = allSuperIDlist; + measureApplyLogQueryWrapper.lambda().and(t->t.in(MeasureApplyLogEntity::getId, finalAllSuperIDlist)); + } + //是否有数据过滤查询 + if (StringUtil.isNotEmpty(ruleOp)){ + if (allRuleIDlist.size()==0){ + allRuleIDlist.add("jnpfNullList"); + } + List finalAllRuleIDlist = allRuleIDlist; + measureApplyLogQueryWrapper.lambda().and(t->t.in(MeasureApplyLogEntity::getId, finalAllRuleIDlist)); + } + + //排序 + if(StringUtil.isEmpty(measureApplyLogPagination.getSidx())){ + measureApplyLogQueryWrapper.lambda().orderByDesc(MeasureApplyLogEntity::getId); + }else{ + try { + String sidx = measureApplyLogPagination.getSidx(); + String[] strs= sidx.split("_name"); + MeasureApplyLogEntity measureApplyLogEntity = new MeasureApplyLogEntity(); + Field declaredField = measureApplyLogEntity.getClass().getDeclaredField(strs[0]); + declaredField.setAccessible(true); + String value = declaredField.getAnnotation(TableField.class).value(); + measureApplyLogQueryWrapper="asc".equals(measureApplyLogPagination.getSort().toLowerCase())?measureApplyLogQueryWrapper.orderByAsc(value):measureApplyLogQueryWrapper.orderByDesc(value); + } catch (NoSuchFieldException e) { + e.printStackTrace(); + } + } + + if("0".equals(dataType)){ + if((total>0 && AllIdList.size()>0) || total==0){ + Page page=new Page<>(measureApplyLogPagination.getCurrentPage(), measureApplyLogPagination.getPageSize()); + IPage userIPage=this.page(page, measureApplyLogQueryWrapper); + return measureApplyLogPagination.setData(userIPage.getRecords(),userIPage.getTotal()); + }else{ + List list = new ArrayList(); + return measureApplyLogPagination.setData(list, list.size()); + } + }else{ + return this.list(measureApplyLogQueryWrapper); + } + } + @Override + public MeasureApplyLogEntity getInfo(String id){ + QueryWrapper queryWrapper=new QueryWrapper<>(); + queryWrapper.lambda().eq(MeasureApplyLogEntity::getId,id); + return this.getOne(queryWrapper); + } + @Override + public void create(MeasureApplyLogEntity entity){ + this.save(entity); + } + @Override + public boolean update(String id, MeasureApplyLogEntity entity){ + return this.updateById(entity); + } + @Override + public void delete(MeasureApplyLogEntity entity){ + if(entity!=null){ + this.removeById(entity.getId()); + } + } + /** 验证表单唯一字段,正则,非空 i-0新增-1修改*/ + @Override + public String checkForm(MeasureApplyLogForm form,int i) { + boolean isUp =StringUtil.isNotEmpty(form.getId()) && !form.getId().equals("0"); + String id=""; + String countRecover = ""; + if (isUp){ + id = form.getId(); + } + //主表字段验证 + if(StringUtil.isNotEmpty(form.getApply())){ + if(!Pattern.compile("^[1-9]\\d{5}(18|19|([23]\\d))\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$").matcher(String.valueOf(form.getApply())).matches()){ + return "请输入正确的身份证号码"; + } + } + return countRecover; + } + /** + * 新增修改数据(事务回滚) + * @param id + * @param measureApplyLogForm + * @return + */ + @Override + @Transactional + public void saveOrUpdate(MeasureApplyLogForm measureApplyLogForm,String id, boolean isSave) throws Exception{ + UserInfo userInfo=userProvider.get(); + UserEntity userEntity = generaterSwapUtil.getUser(userInfo.getUserId()); + measureApplyLogForm = JsonUtil.getJsonToBean( + generaterSwapUtil.swapDatetime(MeasureApplyLogConstant.getFormData(),measureApplyLogForm),MeasureApplyLogForm.class); + MeasureApplyLogEntity entity = JsonUtil.getJsonToBean(measureApplyLogForm, MeasureApplyLogEntity.class); + + if(isSave){ + String mainId = RandomUtil.uuId() ; + entity.setId(mainId); + }else{ + } + this.saveOrUpdate(entity); + + } +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/MeasureLogServiceImpl.java b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/MeasureLogServiceImpl.java new file mode 100644 index 0000000..3455a6b --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/MeasureLogServiceImpl.java @@ -0,0 +1,270 @@ +package jnpf.service.impl; + +import jnpf.entity.*; +import jnpf.mapper.MeasureLogMapper; +import jnpf.service.*; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import jnpf.model.measurelog.*; +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; +/** + * + * measureLog + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-08-02 + */ +@Service +public class MeasureLogServiceImpl extends ServiceImpl implements MeasureLogService{ + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + @Override + public List getList(MeasureLogPagination measureLogPagination){ + return getTypeList(measureLogPagination,measureLogPagination.getDataType()); + } + /** 列表查询 */ + @Override + public List getTypeList(MeasureLogPagination measureLogPagination,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 ? MeasureLogConstant.getAppColumnData() : MeasureLogConstant.getColumnData(); + ColumnDataModel columnDataModel = JsonUtil.getJsonToBean(columnData, ColumnDataModel.class); + String ruleJson = !isPc ? JsonUtil.getObjectToString(columnDataModel.getRuleListApp()) : JsonUtil.getObjectToString(columnDataModel.getRuleList()); + + int total=0; + int measureLogNum =0; + QueryWrapper measureLogQueryWrapper=new QueryWrapper<>(); + List allSuperIDlist = new ArrayList<>(); + String superOp =""; + if (ObjectUtil.isNotEmpty(measureLogPagination.getSuperQueryJson())){ + List allSuperList = new ArrayList<>(); + List> intersectionSuperList = new ArrayList<>(); + String queryJson = measureLogPagination.getSuperQueryJson(); + SuperJsonModel superJsonModel = JsonUtil.getJsonToBean(queryJson, SuperJsonModel.class); + int superNum = 0; + QueryWrapper measureLogSuperWrapper = new QueryWrapper<>(); + measureLogSuperWrapper = generaterSwapUtil.getCondition(new QueryModel(measureLogSuperWrapper,MeasureLogEntity.class,queryJson,"0")); + int measureLogNum1 = measureLogSuperWrapper.getExpression().getNormal().size(); + if (measureLogNum1>0){ + List measureLogList =this.list(measureLogSuperWrapper).stream().map(MeasureLogEntity::getId).collect(Collectors.toList()); + allSuperList.addAll(measureLogList); + intersectionSuperList.add(measureLogList); + 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 measureLogSuperWrapper = new QueryWrapper<>(); + measureLogSuperWrapper = generaterSwapUtil.getCondition(new QueryModel(measureLogSuperWrapper,MeasureLogEntity.class,ruleJson,"0")); + int measureLogNum1 = measureLogSuperWrapper.getExpression().getNormal().size(); + if (measureLogNum1>0){ + List measureLogList =this.list(measureLogSuperWrapper).stream().map(MeasureLogEntity::getId).collect(Collectors.toList()); + allRuleList.addAll(measureLogList); + intersectionRuleList.add(measureLogList); + ruleNum++; + } + ruleOp = ruleNum > 0 ? ruleJsonModel.getMatchLogic() : ""; + //and or + if(ruleOp.equalsIgnoreCase("and")){ + allRuleIDlist = generaterSwapUtil.getIntersection(intersectionRuleList); + }else{ + allRuleIDlist = allRuleList; + } + } + boolean pcPermission = false; + boolean appPermission = false; + if(isPc && pcPermission){ + if (!userProvider.get().getIsAdministrator()){ + Object measureLogObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(measureLogQueryWrapper,MeasureLogEntity.class,measureLogPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(measureLogObj)){ + return new ArrayList<>(); + } else { + measureLogQueryWrapper = (QueryWrapper)measureLogObj; + if( measureLogQueryWrapper.getExpression().getNormal().size()>0){ + measureLogNum++; + } + } + } + } + if(!isPc && appPermission){ + if (!userProvider.get().getIsAdministrator()){ + Object measureLogObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(measureLogQueryWrapper,MeasureLogEntity.class,measureLogPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(measureLogObj)){ + return new ArrayList<>(); + } else { + measureLogQueryWrapper = (QueryWrapper)measureLogObj; + if( measureLogQueryWrapper.getExpression().getNormal().size()>0){ + measureLogNum++; + } + } + + + } + } + if(isPc){ + if(ObjectUtil.isNotEmpty(measureLogPagination.getDocumentNo())){ + measureLogNum++; + + String value = measureLogPagination.getDocumentNo() instanceof List ? + JsonUtil.getObjectToString(measureLogPagination.getDocumentNo()) : + String.valueOf(measureLogPagination.getDocumentNo()); + measureLogQueryWrapper.lambda().like(MeasureLogEntity::getDocumentNo,value); + + } + + } + List intersection = generaterSwapUtil.getIntersection(intersectionList); + if (total>0){ + if (intersection.size()==0){ + intersection.add("jnpfNullList"); + } + measureLogQueryWrapper.lambda().in(MeasureLogEntity::getId, intersection); + } + //是否有高级查询 + if (StringUtil.isNotEmpty(superOp)){ + if (allSuperIDlist.size()==0){ + allSuperIDlist.add("jnpfNullList"); + } + List finalAllSuperIDlist = allSuperIDlist; + measureLogQueryWrapper.lambda().and(t->t.in(MeasureLogEntity::getId, finalAllSuperIDlist)); + } + //是否有数据过滤查询 + if (StringUtil.isNotEmpty(ruleOp)){ + if (allRuleIDlist.size()==0){ + allRuleIDlist.add("jnpfNullList"); + } + List finalAllRuleIDlist = allRuleIDlist; + measureLogQueryWrapper.lambda().and(t->t.in(MeasureLogEntity::getId, finalAllRuleIDlist)); + } + //假删除标志 + measureLogQueryWrapper.lambda().isNull(MeasureLogEntity::getDeleteMark); + + //排序 + if(StringUtil.isEmpty(measureLogPagination.getSidx())){ + measureLogQueryWrapper.lambda().orderByDesc(MeasureLogEntity::getId); + }else{ + try { + String sidx = measureLogPagination.getSidx(); + String[] strs= sidx.split("_name"); + MeasureLogEntity measureLogEntity = new MeasureLogEntity(); + Field declaredField = measureLogEntity.getClass().getDeclaredField(strs[0]); + declaredField.setAccessible(true); + String value = declaredField.getAnnotation(TableField.class).value(); + measureLogQueryWrapper="asc".equals(measureLogPagination.getSort().toLowerCase())?measureLogQueryWrapper.orderByAsc(value):measureLogQueryWrapper.orderByDesc(value); + } catch (NoSuchFieldException e) { + e.printStackTrace(); + } + } + + if("0".equals(dataType)){ + if((total>0 && AllIdList.size()>0) || total==0){ + Page page=new Page<>(measureLogPagination.getCurrentPage(), measureLogPagination.getPageSize()); + IPage userIPage=this.page(page, measureLogQueryWrapper); + return measureLogPagination.setData(userIPage.getRecords(),userIPage.getTotal()); + }else{ + List list = new ArrayList(); + return measureLogPagination.setData(list, list.size()); + } + }else{ + return this.list(measureLogQueryWrapper); + } + } + @Override + public MeasureLogEntity getInfo(String id){ + QueryWrapper queryWrapper=new QueryWrapper<>(); + queryWrapper.lambda().eq(MeasureLogEntity::getId,id); + return this.getOne(queryWrapper); + } + @Override + public void create(MeasureLogEntity entity){ + this.save(entity); + } + @Override + public boolean update(String id, MeasureLogEntity entity){ + return this.updateById(entity); + } + @Override + public void delete(MeasureLogEntity entity){ + if(entity!=null){ + this.removeById(entity.getId()); + } + } + /** 验证表单唯一字段,正则,非空 i-0新增-1修改*/ + @Override + public String checkForm(MeasureLogForm form,int i) { + boolean isUp =StringUtil.isNotEmpty(form.getId()) && !form.getId().equals("0"); + String id=""; + String countRecover = ""; + if (isUp){ + id = form.getId(); + } + //主表字段验证 + return countRecover; + } + /** + * 新增修改数据(事务回滚) + * @param id + * @param measureLogForm + * @return + */ + @Override + @Transactional + public void saveOrUpdate(MeasureLogForm measureLogForm,String id, boolean isSave) throws Exception{ + UserInfo userInfo=userProvider.get(); + UserEntity userEntity = generaterSwapUtil.getUser(userInfo.getUserId()); + measureLogForm = JsonUtil.getJsonToBean( + generaterSwapUtil.swapDatetime(MeasureLogConstant.getFormData(),measureLogForm),MeasureLogForm.class); + MeasureLogEntity entity = JsonUtil.getJsonToBean(measureLogForm, MeasureLogEntity.class); + + if(isSave){ + String mainId = RandomUtil.uuId() ; + entity.setId(mainId); + entity.setVersion(0); + }else{ + } + this.saveOrUpdate(entity); + + } +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/MeasurePoundServiceImpl.java b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/MeasurePoundServiceImpl.java new file mode 100644 index 0000000..0de2549 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/MeasurePoundServiceImpl.java @@ -0,0 +1,312 @@ +package jnpf.service.impl; + +import jnpf.entity.*; +import jnpf.mapper.MeasurePoundMapper; +import jnpf.service.*; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import jnpf.model.measurepound.*; +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; +/** + * + * measurePound + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-08-02 + */ +@Service +public class MeasurePoundServiceImpl extends ServiceImpl implements MeasurePoundService{ + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + @Override + public List getList(MeasurePoundPagination measurePoundPagination){ + return getTypeList(measurePoundPagination,measurePoundPagination.getDataType()); + } + /** 列表查询 */ + @Override + public List getTypeList(MeasurePoundPagination measurePoundPagination,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 ? MeasurePoundConstant.getAppColumnData() : MeasurePoundConstant.getColumnData(); + ColumnDataModel columnDataModel = JsonUtil.getJsonToBean(columnData, ColumnDataModel.class); + String ruleJson = !isPc ? JsonUtil.getObjectToString(columnDataModel.getRuleListApp()) : JsonUtil.getObjectToString(columnDataModel.getRuleList()); + + int total=0; + int measurePoundNum =0; + QueryWrapper measurePoundQueryWrapper=new QueryWrapper<>(); + List allSuperIDlist = new ArrayList<>(); + String superOp =""; + if (ObjectUtil.isNotEmpty(measurePoundPagination.getSuperQueryJson())){ + List allSuperList = new ArrayList<>(); + List> intersectionSuperList = new ArrayList<>(); + String queryJson = measurePoundPagination.getSuperQueryJson(); + SuperJsonModel superJsonModel = JsonUtil.getJsonToBean(queryJson, SuperJsonModel.class); + int superNum = 0; + QueryWrapper measurePoundSuperWrapper = new QueryWrapper<>(); + measurePoundSuperWrapper = generaterSwapUtil.getCondition(new QueryModel(measurePoundSuperWrapper,MeasurePoundEntity.class,queryJson,"0")); + int measurePoundNum1 = measurePoundSuperWrapper.getExpression().getNormal().size(); + if (measurePoundNum1>0){ + List measurePoundList =this.list(measurePoundSuperWrapper).stream().map(MeasurePoundEntity::getId).collect(Collectors.toList()); + allSuperList.addAll(measurePoundList); + intersectionSuperList.add(measurePoundList); + 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 measurePoundSuperWrapper = new QueryWrapper<>(); + measurePoundSuperWrapper = generaterSwapUtil.getCondition(new QueryModel(measurePoundSuperWrapper,MeasurePoundEntity.class,ruleJson,"0")); + int measurePoundNum1 = measurePoundSuperWrapper.getExpression().getNormal().size(); + if (measurePoundNum1>0){ + List measurePoundList =this.list(measurePoundSuperWrapper).stream().map(MeasurePoundEntity::getId).collect(Collectors.toList()); + allRuleList.addAll(measurePoundList); + intersectionRuleList.add(measurePoundList); + ruleNum++; + } + ruleOp = ruleNum > 0 ? ruleJsonModel.getMatchLogic() : ""; + //and or + if(ruleOp.equalsIgnoreCase("and")){ + allRuleIDlist = generaterSwapUtil.getIntersection(intersectionRuleList); + }else{ + allRuleIDlist = allRuleList; + } + } + boolean pcPermission = false; + boolean appPermission = false; + if(isPc && pcPermission){ + if (!userProvider.get().getIsAdministrator()){ + Object measurePoundObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(measurePoundQueryWrapper,MeasurePoundEntity.class,measurePoundPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(measurePoundObj)){ + return new ArrayList<>(); + } else { + measurePoundQueryWrapper = (QueryWrapper)measurePoundObj; + if( measurePoundQueryWrapper.getExpression().getNormal().size()>0){ + measurePoundNum++; + } + } + } + } + if(!isPc && appPermission){ + if (!userProvider.get().getIsAdministrator()){ + Object measurePoundObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(measurePoundQueryWrapper,MeasurePoundEntity.class,measurePoundPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(measurePoundObj)){ + return new ArrayList<>(); + } else { + measurePoundQueryWrapper = (QueryWrapper)measurePoundObj; + if( measurePoundQueryWrapper.getExpression().getNormal().size()>0){ + measurePoundNum++; + } + } + + + } + } + if(isPc){ + if(ObjectUtil.isNotEmpty(measurePoundPagination.getPoundDate())){ + measurePoundNum++; + + List PoundDateList = JsonUtil.getJsonToList(measurePoundPagination.getPoundDate(),String.class); + Long fir = Long.valueOf(String.valueOf(PoundDateList.get(0))); + Long sec = Long.valueOf(String.valueOf(PoundDateList.get(1))); + + measurePoundQueryWrapper.lambda().ge(MeasurePoundEntity::getPoundDate, new Date(fir)) + .le(MeasurePoundEntity::getPoundDate, DateUtil.stringToDate(DateUtil.daFormatYmd(sec) + " 23:59:59")); + + + } + + if(ObjectUtil.isNotEmpty(measurePoundPagination.getMerchantName())){ + measurePoundNum++; + + String value = measurePoundPagination.getMerchantName() instanceof List ? + JsonUtil.getObjectToString(measurePoundPagination.getMerchantName()) : + String.valueOf(measurePoundPagination.getMerchantName()); + measurePoundQueryWrapper.lambda().like(MeasurePoundEntity::getMerchantName,value); + + } + + if(ObjectUtil.isNotEmpty(measurePoundPagination.getPoundType())){ + measurePoundNum++; + + List idList = new ArrayList<>(); + try { + String[][] poundType = JsonUtil.getJsonToBean(measurePoundPagination.getPoundType(),String[][].class); + for(int i=0;i0){ + idList.add(JsonUtil.getObjectToString(Arrays.asList(poundType[i]))); + } + } + }catch (Exception e1){ + try { + List poundType = JsonUtil.getJsonToList(measurePoundPagination.getPoundType(),String.class); + if(poundType.size()>0){ + idList.addAll(poundType); + } + }catch (Exception e2){ + idList.add(String.valueOf(measurePoundPagination.getPoundType())); + } + } + measurePoundQueryWrapper.lambda().and(t->{ + idList.forEach(tt->{ + t.like(MeasurePoundEntity::getPoundType, tt).or(); + }); + }); + + } + + } + List intersection = generaterSwapUtil.getIntersection(intersectionList); + if (total>0){ + if (intersection.size()==0){ + intersection.add("jnpfNullList"); + } + measurePoundQueryWrapper.lambda().in(MeasurePoundEntity::getId, intersection); + } + //是否有高级查询 + if (StringUtil.isNotEmpty(superOp)){ + if (allSuperIDlist.size()==0){ + allSuperIDlist.add("jnpfNullList"); + } + List finalAllSuperIDlist = allSuperIDlist; + measurePoundQueryWrapper.lambda().and(t->t.in(MeasurePoundEntity::getId, finalAllSuperIDlist)); + } + //是否有数据过滤查询 + if (StringUtil.isNotEmpty(ruleOp)){ + if (allRuleIDlist.size()==0){ + allRuleIDlist.add("jnpfNullList"); + } + List finalAllRuleIDlist = allRuleIDlist; + measurePoundQueryWrapper.lambda().and(t->t.in(MeasurePoundEntity::getId, finalAllRuleIDlist)); + } + //假删除标志 + measurePoundQueryWrapper.lambda().isNull(MeasurePoundEntity::getDeleteMark); + + //排序 + if(StringUtil.isEmpty(measurePoundPagination.getSidx())){ + measurePoundQueryWrapper.lambda().orderByDesc(MeasurePoundEntity::getId); + }else{ + try { + String sidx = measurePoundPagination.getSidx(); + String[] strs= sidx.split("_name"); + MeasurePoundEntity measurePoundEntity = new MeasurePoundEntity(); + Field declaredField = measurePoundEntity.getClass().getDeclaredField(strs[0]); + declaredField.setAccessible(true); + String value = declaredField.getAnnotation(TableField.class).value(); + measurePoundQueryWrapper="asc".equals(measurePoundPagination.getSort().toLowerCase())?measurePoundQueryWrapper.orderByAsc(value):measurePoundQueryWrapper.orderByDesc(value); + } catch (NoSuchFieldException e) { + e.printStackTrace(); + } + } + + if("0".equals(dataType)){ + if((total>0 && AllIdList.size()>0) || total==0){ + Page page=new Page<>(measurePoundPagination.getCurrentPage(), measurePoundPagination.getPageSize()); + IPage userIPage=this.page(page, measurePoundQueryWrapper); + return measurePoundPagination.setData(userIPage.getRecords(),userIPage.getTotal()); + }else{ + List list = new ArrayList(); + return measurePoundPagination.setData(list, list.size()); + } + }else{ + return this.list(measurePoundQueryWrapper); + } + } + @Override + public MeasurePoundEntity getInfo(String id){ + QueryWrapper queryWrapper=new QueryWrapper<>(); + queryWrapper.lambda().eq(MeasurePoundEntity::getId,id); + return this.getOne(queryWrapper); + } + @Override + public void create(MeasurePoundEntity entity){ + this.save(entity); + } + @Override + public boolean update(String id, MeasurePoundEntity entity){ + return this.updateById(entity); + } + @Override + public void delete(MeasurePoundEntity entity){ + if(entity!=null){ + this.removeById(entity.getId()); + } + } + /** 验证表单唯一字段,正则,非空 i-0新增-1修改*/ + @Override + public String checkForm(MeasurePoundForm form,int i) { + boolean isUp =StringUtil.isNotEmpty(form.getId()) && !form.getId().equals("0"); + String id=""; + String countRecover = ""; + if (isUp){ + id = form.getId(); + } + //主表字段验证 + return countRecover; + } + /** + * 新增修改数据(事务回滚) + * @param id + * @param measurePoundForm + * @return + */ + @Override + @Transactional + public void saveOrUpdate(MeasurePoundForm measurePoundForm,String id, boolean isSave) throws Exception{ + UserInfo userInfo=userProvider.get(); + UserEntity userEntity = generaterSwapUtil.getUser(userInfo.getUserId()); + measurePoundForm = JsonUtil.getJsonToBean( + generaterSwapUtil.swapDatetime(MeasurePoundConstant.getFormData(),measurePoundForm),MeasurePoundForm.class); + MeasurePoundEntity entity = JsonUtil.getJsonToBean(measurePoundForm, MeasurePoundEntity.class); + + if(isSave){ + String mainId = RandomUtil.uuId() ; + entity.setId(mainId); + entity.setVersion(0); + }else{ + } + this.saveOrUpdate(entity); + + } +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-controller/src/main/java/jnpf/controller/MeasureApplyLogController.java b/jnpf-java-boot/jnpf-example/jnpf-example-controller/src/main/java/jnpf/controller/MeasureApplyLogController.java new file mode 100644 index 0000000..f3b8b57 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-controller/src/main/java/jnpf/controller/MeasureApplyLogController.java @@ -0,0 +1,327 @@ +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.measureapplylog.*; +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; + +/** + * measureApplyLog + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-08-02 + */ +@Slf4j +@RestController +@Tag(name = "measureApplyLog" , description = "example") +@RequestMapping("/api/example/MeasureApplyLog") +public class MeasureApplyLogController { + + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + @Autowired + private MeasureApplyLogService measureApplyLogService; + + + + @Autowired + private ConfigValueUtil configValueUtil; + + /** + * 列表 + * + * @param measureApplyLogPagination + * @return + */ + @Operation(summary = "获取列表") + @PostMapping("/getList") + public ActionResult list(@RequestBody MeasureApplyLogPagination measureApplyLogPagination)throws IOException{ + List list= measureApplyLogService.getList(measureApplyLogPagination); + List> realList=new ArrayList<>(); + for (MeasureApplyLogEntity entity : list) { + Map measureApplyLogMap=JsonUtil.entityToMap(entity); + measureApplyLogMap.put("id", measureApplyLogMap.get("id")); + //副表数据 + //子表数据 + realList.add(measureApplyLogMap); + } + //数据转换 + realList = generaterSwapUtil.swapDataList(realList, MeasureApplyLogConstant.getFormData(), MeasureApplyLogConstant.getColumnData(), measureApplyLogPagination.getModuleId(),false); + + //返回对象 + PageListVO vo = new PageListVO(); + vo.setList(realList); + PaginationVO page = JsonUtil.getJsonToBean(measureApplyLogPagination, PaginationVO.class); + vo.setPagination(page); + return ActionResult.success(vo); + } + /** + * 创建 + * + * @param measureApplyLogForm + * @return + */ + @PostMapping() + @Operation(summary = "创建") + public ActionResult create(@RequestBody @Valid MeasureApplyLogForm measureApplyLogForm) { + String b = measureApplyLogService.checkForm(measureApplyLogForm,0); + if (StringUtil.isNotEmpty(b)){ + return ActionResult.fail(b ); + } + try{ + measureApplyLogService.saveOrUpdate(measureApplyLogForm, null ,true); + }catch(Exception e){ + return ActionResult.fail("新增数据失败"); + } + return ActionResult.success("创建成功"); + } + /** + * 导出Excel + * + * @return + */ + @Operation(summary = "导出Excel") + @PostMapping("/Actions/Export") + public ActionResult Export(@RequestBody MeasureApplyLogPagination measureApplyLogPagination) throws IOException { + if (StringUtil.isEmpty(measureApplyLogPagination.getSelectKey())){ + return ActionResult.fail("请选择导出字段"); + } + List list= measureApplyLogService.getList(measureApplyLogPagination); + List> realList=new ArrayList<>(); + for (MeasureApplyLogEntity entity : list) { + Map measureApplyLogMap=JsonUtil.entityToMap(entity); + measureApplyLogMap.put("id", measureApplyLogMap.get("id")); + //副表数据 + //子表数据 + realList.add(measureApplyLogMap); + } + //数据转换 + realList = generaterSwapUtil.swapDataList(realList, MeasureApplyLogConstant.getFormData(), MeasureApplyLogConstant.getColumnData(), measureApplyLogPagination.getModuleId(),false); + String[]keys=!StringUtil.isEmpty(measureApplyLogPagination.getSelectKey())?measureApplyLogPagination.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 "applyName" : + entitys.add(new ExcelExportEntity("姓名" ,"applyName")); + break; + case "apply" : + entitys.add(new ExcelExportEntity("身份证号" ,"apply")); + break; + case "merchantName" : + entitys.add(new ExcelExportEntity("商户" ,"merchantName")); + break; + case "cargoType" : + entitys.add(new ExcelExportEntity("货物类型" ,"cargoType")); + 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(MeasureApplyLogConstant.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 id + * @param measureApplyLogForm + * @return + */ + @PutMapping("/{id}") + @Operation(summary = "更新") + public ActionResult update(@PathVariable("id") String id,@RequestBody @Valid MeasureApplyLogForm measureApplyLogForm, + @RequestParam(value = "isImport", required = false) boolean isImport){ + measureApplyLogForm.setId(id); + if (!isImport) { + String b = measureApplyLogService.checkForm(measureApplyLogForm,1); + if (StringUtil.isNotEmpty(b)){ + return ActionResult.fail(b ); + } + } + MeasureApplyLogEntity entity= measureApplyLogService.getInfo(id); + if(entity!=null){ + try{ + measureApplyLogService.saveOrUpdate(measureApplyLogForm,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){ + MeasureApplyLogEntity entity= measureApplyLogService.getInfo(id); + if(entity!=null){ + //主表数据删除 + measureApplyLogService.delete(entity); + } + return ActionResult.success("删除成功"); + } + /** + * 表单信息(详情页) + * 详情页面使用-转换数据 + * @param id + * @return + */ + @Operation(summary = "表单信息(详情页)") + @GetMapping("/detail/{id}") + public ActionResult detailInfo(@PathVariable("id") String id){ + MeasureApplyLogEntity entity= measureApplyLogService.getInfo(id); + if(entity==null){ + return ActionResult.fail("表单数据不存在!"); + } + Map measureApplyLogMap=JsonUtil.entityToMap(entity); + measureApplyLogMap.put("id", measureApplyLogMap.get("id")); + //副表数据 + //子表数据 + measureApplyLogMap = generaterSwapUtil.swapDataDetail(measureApplyLogMap,MeasureApplyLogConstant.getFormData(),"589104056488692549",false); + return ActionResult.success(measureApplyLogMap); + } + /** + * 获取详情(编辑页) + * 编辑页面使用-不转换数据 + * @param id + * @return + */ + @Operation(summary = "信息") + @GetMapping("/{id}") + public ActionResult info(@PathVariable("id") String id){ + MeasureApplyLogEntity entity= measureApplyLogService.getInfo(id); + if(entity==null){ + return ActionResult.fail("表单数据不存在!"); + } + Map measureApplyLogMap=JsonUtil.entityToMap(entity); + measureApplyLogMap.put("id", measureApplyLogMap.get("id")); + //副表数据 + //子表数据 + measureApplyLogMap = generaterSwapUtil.swapDataForm(measureApplyLogMap,MeasureApplyLogConstant.getFormData(),MeasureApplyLogConstant.TABLEFIELDKEY,MeasureApplyLogConstant.TABLERENAMES); + return ActionResult.success(measureApplyLogMap); + } + +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-controller/src/main/java/jnpf/controller/MeasureLogController.java b/jnpf-java-boot/jnpf-example/jnpf-example-controller/src/main/java/jnpf/controller/MeasureLogController.java new file mode 100644 index 0000000..b2063ef --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-controller/src/main/java/jnpf/controller/MeasureLogController.java @@ -0,0 +1,328 @@ +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.measurelog.*; +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; + +/** + * measureLog + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-08-02 + */ +@Slf4j +@RestController +@Tag(name = "measureLog" , description = "example") +@RequestMapping("/api/example/MeasureLog") +public class MeasureLogController { + + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + @Autowired + private MeasureLogService measureLogService; + + + + @Autowired + private ConfigValueUtil configValueUtil; + + /** + * 列表 + * + * @param measureLogPagination + * @return + */ + @Operation(summary = "获取列表") + @PostMapping("/getList") + public ActionResult list(@RequestBody MeasureLogPagination measureLogPagination)throws IOException{ + List list= measureLogService.getList(measureLogPagination); + List> realList=new ArrayList<>(); + for (MeasureLogEntity entity : list) { + Map measureLogMap=JsonUtil.entityToMap(entity); + measureLogMap.put("id", measureLogMap.get("id")); + //副表数据 + //子表数据 + realList.add(measureLogMap); + } + //数据转换 + realList = generaterSwapUtil.swapDataList(realList, MeasureLogConstant.getFormData(), MeasureLogConstant.getColumnData(), measureLogPagination.getModuleId(),false); + + //返回对象 + PageListVO vo = new PageListVO(); + vo.setList(realList); + PaginationVO page = JsonUtil.getJsonToBean(measureLogPagination, PaginationVO.class); + vo.setPagination(page); + return ActionResult.success(vo); + } + /** + * 创建 + * + * @param measureLogForm + * @return + */ + @PostMapping() + @Operation(summary = "创建") + public ActionResult create(@RequestBody @Valid MeasureLogForm measureLogForm) { + String b = measureLogService.checkForm(measureLogForm,0); + if (StringUtil.isNotEmpty(b)){ + return ActionResult.fail(b ); + } + try{ + measureLogService.saveOrUpdate(measureLogForm, null ,true); + }catch(Exception e){ + return ActionResult.fail("新增数据失败"); + } + return ActionResult.success("创建成功"); + } + /** + * 导出Excel + * + * @return + */ + @Operation(summary = "导出Excel") + @PostMapping("/Actions/Export") + public ActionResult Export(@RequestBody MeasureLogPagination measureLogPagination) throws IOException { + if (StringUtil.isEmpty(measureLogPagination.getSelectKey())){ + return ActionResult.fail("请选择导出字段"); + } + List list= measureLogService.getList(measureLogPagination); + List> realList=new ArrayList<>(); + for (MeasureLogEntity entity : list) { + Map measureLogMap=JsonUtil.entityToMap(entity); + measureLogMap.put("id", measureLogMap.get("id")); + //副表数据 + //子表数据 + realList.add(measureLogMap); + } + //数据转换 + realList = generaterSwapUtil.swapDataList(realList, MeasureLogConstant.getFormData(), MeasureLogConstant.getColumnData(), measureLogPagination.getModuleId(),false); + String[]keys=!StringUtil.isEmpty(measureLogPagination.getSelectKey())?measureLogPagination.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 "documentNo" : + entitys.add(new ExcelExportEntity("流水号" ,"documentNo")); + break; + case "siteCode" : + entitys.add(new ExcelExportEntity("站点编码" ,"siteCode")); + break; + case "siteName" : + entitys.add(new ExcelExportEntity("站点名称" ,"siteName")); + break; + case "applyNo" : + entitys.add(new ExcelExportEntity("申请单号" ,"applyNo")); + 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(MeasureLogConstant.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 id + * @param measureLogForm + * @return + */ + @PutMapping("/{id}") + @Operation(summary = "更新") + public ActionResult update(@PathVariable("id") String id,@RequestBody @Valid MeasureLogForm measureLogForm, + @RequestParam(value = "isImport", required = false) boolean isImport){ + measureLogForm.setId(id); + if (!isImport) { + String b = measureLogService.checkForm(measureLogForm,1); + if (StringUtil.isNotEmpty(b)){ + return ActionResult.fail(b ); + } + } + MeasureLogEntity entity= measureLogService.getInfo(id); + if(entity!=null){ + try{ + measureLogService.saveOrUpdate(measureLogForm,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){ + MeasureLogEntity entity= measureLogService.getInfo(id); + if(entity!=null){ + //假删除 + entity.setDeleteMark(1); + measureLogService.update(id,entity); + } + return ActionResult.success("删除成功"); + } + /** + * 表单信息(详情页) + * 详情页面使用-转换数据 + * @param id + * @return + */ + @Operation(summary = "表单信息(详情页)") + @GetMapping("/detail/{id}") + public ActionResult detailInfo(@PathVariable("id") String id){ + MeasureLogEntity entity= measureLogService.getInfo(id); + if(entity==null){ + return ActionResult.fail("表单数据不存在!"); + } + Map measureLogMap=JsonUtil.entityToMap(entity); + measureLogMap.put("id", measureLogMap.get("id")); + //副表数据 + //子表数据 + measureLogMap = generaterSwapUtil.swapDataDetail(measureLogMap,MeasureLogConstant.getFormData(),"589111214320126789",false); + return ActionResult.success(measureLogMap); + } + /** + * 获取详情(编辑页) + * 编辑页面使用-不转换数据 + * @param id + * @return + */ + @Operation(summary = "信息") + @GetMapping("/{id}") + public ActionResult info(@PathVariable("id") String id){ + MeasureLogEntity entity= measureLogService.getInfo(id); + if(entity==null){ + return ActionResult.fail("表单数据不存在!"); + } + Map measureLogMap=JsonUtil.entityToMap(entity); + measureLogMap.put("id", measureLogMap.get("id")); + //副表数据 + //子表数据 + measureLogMap = generaterSwapUtil.swapDataForm(measureLogMap,MeasureLogConstant.getFormData(),MeasureLogConstant.TABLEFIELDKEY,MeasureLogConstant.TABLERENAMES); + return ActionResult.success(measureLogMap); + } + +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-controller/src/main/java/jnpf/controller/MeasurePoundController.java b/jnpf-java-boot/jnpf-example/jnpf-example-controller/src/main/java/jnpf/controller/MeasurePoundController.java new file mode 100644 index 0000000..80c6870 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-controller/src/main/java/jnpf/controller/MeasurePoundController.java @@ -0,0 +1,375 @@ +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.measurepound.*; +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; + +/** + * measurePound + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-08-02 + */ +@Slf4j +@RestController +@Tag(name = "measurePound" , description = "example") +@RequestMapping("/api/example/MeasurePound") +public class MeasurePoundController { + + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + @Autowired + private MeasurePoundService measurePoundService; + + + + @Autowired + private ConfigValueUtil configValueUtil; + + /** + * 列表 + * + * @param measurePoundPagination + * @return + */ + @Operation(summary = "获取列表") + @PostMapping("/getList") + public ActionResult list(@RequestBody MeasurePoundPagination measurePoundPagination)throws IOException{ + List list= measurePoundService.getList(measurePoundPagination); + List> realList=new ArrayList<>(); + for (MeasurePoundEntity entity : list) { + Map measurePoundMap=JsonUtil.entityToMap(entity); + measurePoundMap.put("id", measurePoundMap.get("id")); + //副表数据 + //子表数据 + realList.add(measurePoundMap); + } + //数据转换 + realList = generaterSwapUtil.swapDataList(realList, MeasurePoundConstant.getFormData(), MeasurePoundConstant.getColumnData(), measurePoundPagination.getModuleId(),false); + + //返回对象 + PageListVO vo = new PageListVO(); + vo.setList(realList); + PaginationVO page = JsonUtil.getJsonToBean(measurePoundPagination, PaginationVO.class); + vo.setPagination(page); + return ActionResult.success(vo); + } + /** + * 创建 + * + * @param measurePoundForm + * @return + */ + @PostMapping() + @Operation(summary = "创建") + public ActionResult create(@RequestBody @Valid MeasurePoundForm measurePoundForm) { + String b = measurePoundService.checkForm(measurePoundForm,0); + if (StringUtil.isNotEmpty(b)){ + return ActionResult.fail(b ); + } + try{ + measurePoundService.saveOrUpdate(measurePoundForm, null ,true); + }catch(Exception e){ + return ActionResult.fail("新增数据失败"); + } + return ActionResult.success("创建成功"); + } + /** + * 导出Excel + * + * @return + */ + @Operation(summary = "导出Excel") + @PostMapping("/Actions/Export") + public ActionResult Export(@RequestBody MeasurePoundPagination measurePoundPagination) throws IOException { + if (StringUtil.isEmpty(measurePoundPagination.getSelectKey())){ + return ActionResult.fail("请选择导出字段"); + } + List list= measurePoundService.getList(measurePoundPagination); + List> realList=new ArrayList<>(); + for (MeasurePoundEntity entity : list) { + Map measurePoundMap=JsonUtil.entityToMap(entity); + measurePoundMap.put("id", measurePoundMap.get("id")); + //副表数据 + //子表数据 + realList.add(measurePoundMap); + } + //数据转换 + realList = generaterSwapUtil.swapDataList(realList, MeasurePoundConstant.getFormData(), MeasurePoundConstant.getColumnData(), measurePoundPagination.getModuleId(),false); + String[]keys=!StringUtil.isEmpty(measurePoundPagination.getSelectKey())?measurePoundPagination.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 "poundNo" : + entitys.add(new ExcelExportEntity("磅单号" ,"poundNo")); + break; + case "status" : + entitys.add(new ExcelExportEntity("磅单状态" ,"status")); + break; + case "applyNo" : + entitys.add(new ExcelExportEntity("申请单号" ,"applyNo")); + break; + case "merchantName" : + entitys.add(new ExcelExportEntity("商户名称" ,"merchantName")); + break; + case "poundType" : + entitys.add(new ExcelExportEntity("磅单类型" ,"poundType")); + break; + case "vehicle" : + entitys.add(new ExcelExportEntity("车牌号" ,"vehicle")); + break; + case "cargoType" : + entitys.add(new ExcelExportEntity("货物类型" ,"cargoType")); + break; + case "grossWeight" : + entitys.add(new ExcelExportEntity("毛重" ,"grossWeight")); + break; + case "tareWeight" : + entitys.add(new ExcelExportEntity("皮重" ,"tareWeight")); + break; + case "netWeight" : + entitys.add(new ExcelExportEntity("净重" ,"netWeight")); + break; + case "poundDate" : + entitys.add(new ExcelExportEntity("磅单时间" ,"poundDate")); + break; + case "confirmer" : + entitys.add(new ExcelExportEntity("确认人" ,"confirmer")); + break; + case "confirmDate" : + entitys.add(new ExcelExportEntity("确认时间" ,"confirmDate")); + 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(MeasurePoundConstant.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 measurePoundForm + * @return + */ + @PutMapping("/{id}") + @Operation(summary = "更新") + public ActionResult update(@PathVariable("id") String id,@RequestBody @Valid MeasurePoundForm measurePoundForm, + @RequestParam(value = "isImport", required = false) boolean isImport){ + measurePoundForm.setId(id); + if (!isImport) { + String b = measurePoundService.checkForm(measurePoundForm,1); + if (StringUtil.isNotEmpty(b)){ + return ActionResult.fail(b ); + } + } + MeasurePoundEntity entity= measurePoundService.getInfo(id); + if(entity!=null){ + try{ + measurePoundService.saveOrUpdate(measurePoundForm,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){ + MeasurePoundEntity entity= measurePoundService.getInfo(id); + if(entity!=null){ + //假删除 + entity.setDeleteMark(1); + measurePoundService.update(id,entity); + } + return ActionResult.success("删除成功"); + } + /** + * 表单信息(详情页) + * 详情页面使用-转换数据 + * @param id + * @return + */ + @Operation(summary = "表单信息(详情页)") + @GetMapping("/detail/{id}") + public ActionResult detailInfo(@PathVariable("id") String id){ + MeasurePoundEntity entity= measurePoundService.getInfo(id); + if(entity==null){ + return ActionResult.fail("表单数据不存在!"); + } + Map measurePoundMap=JsonUtil.entityToMap(entity); + measurePoundMap.put("id", measurePoundMap.get("id")); + //副表数据 + //子表数据 + measurePoundMap = generaterSwapUtil.swapDataDetail(measurePoundMap,MeasurePoundConstant.getFormData(),"589085812277119749",false); + return ActionResult.success(measurePoundMap); + } + /** + * 获取详情(编辑页) + * 编辑页面使用-不转换数据 + * @param id + * @return + */ + @Operation(summary = "信息") + @GetMapping("/{id}") + public ActionResult info(@PathVariable("id") String id){ + MeasurePoundEntity entity= measurePoundService.getInfo(id); + if(entity==null){ + return ActionResult.fail("表单数据不存在!"); + } + Map measurePoundMap=JsonUtil.entityToMap(entity); + measurePoundMap.put("id", measurePoundMap.get("id")); + //副表数据 + //子表数据 + measurePoundMap = generaterSwapUtil.swapDataForm(measurePoundMap,MeasurePoundConstant.getFormData(),MeasurePoundConstant.TABLEFIELDKEY,MeasurePoundConstant.TABLERENAMES); + return ActionResult.success(measurePoundMap); + } + +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/entity/MeasureApplyLogEntity.java b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/entity/MeasureApplyLogEntity.java new file mode 100644 index 0000000..4061a81 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/entity/MeasureApplyLogEntity.java @@ -0,0 +1,80 @@ +package jnpf.entity; + +import com.baomidou.mybatisplus.annotation.*; +import lombok.Data; +import java.util.Date; +import java.math.BigDecimal; +import java.math.BigDecimal; +import java.math.BigDecimal; +/** + * 计量申请记录 + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-08-02 + */ +@Data +@TableName("yq_measure_apply_log") +public class MeasureApplyLogEntity { + @TableId(value ="ID" ) + private String id; + @TableField("MEASURE_APPLY_CODE") + private String measureApplyCode; + @TableField("STATUS") + private String status; + @TableField("VEHICLE") + private String vehicle; + @TableField(value = "CARGO_TYPE" , updateStrategy = FieldStrategy.IGNORED) + private String cargoType; + @TableField("MERCHANT_ID") + private String merchantId; + @TableField(value = "MERCHANT_NAME" , updateStrategy = FieldStrategy.IGNORED) + private String merchantName; + @TableField(value = "APPLY" , updateStrategy = FieldStrategy.IGNORED) + private String apply; + @TableField(value = "APPLY_NAME" , updateStrategy = FieldStrategy.IGNORED) + private String applyName; + @TableField("APPLY_DATE") + private Date applyDate; + @TableField("SITE_ID") + private String siteId; + @TableField("SITE_CODE") + private String siteCode; + @TableField("SITE_NAME") + private String siteName; + @TableField("GROSS_WEIGHT") + private BigDecimal grossWeight; + @TableField("TARE_WEIGHT") + private BigDecimal tareWeight; + @TableField("NET_WEIGHT") + private BigDecimal netWeight; + @TableField("REMARK") + private String remark; + @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-example/jnpf-example-entity/src/main/java/jnpf/entity/MeasureLogEntity.java b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/entity/MeasureLogEntity.java new file mode 100644 index 0000000..d0cb0c8 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/entity/MeasureLogEntity.java @@ -0,0 +1,66 @@ +package jnpf.entity; + +import com.baomidou.mybatisplus.annotation.*; +import lombok.Data; +import java.util.Date; +import java.math.BigDecimal; +/** + * 计量记录 + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-08-02 + */ +@Data +@TableName("yq_measure_log") +public class MeasureLogEntity { + @TableId(value ="ID" ) + private String id; + @TableField(value = "DOCUMENT_NO" , updateStrategy = FieldStrategy.IGNORED) + private String documentNo; + @TableField("SITE_ID") + private String siteId; + @TableField(value = "SITE_CODE" , updateStrategy = FieldStrategy.IGNORED) + private String siteCode; + @TableField(value = "SITE_NAME" , updateStrategy = FieldStrategy.IGNORED) + private String siteName; + @TableField("APPLY_ID") + private String applyId; + @TableField(value = "APPLY_NO" , updateStrategy = FieldStrategy.IGNORED) + private String applyNo; + @TableField("WEIGHT") + private BigDecimal weight; + @TableField("WEIGHT_DATE") + private Date weightDate; + @TableField("STATUS") + private String status; + @TableField("REMARK") + private String remark; + @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-example/jnpf-example-entity/src/main/java/jnpf/entity/MeasurePoundEntity.java b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/entity/MeasurePoundEntity.java new file mode 100644 index 0000000..5e4a25e --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/entity/MeasurePoundEntity.java @@ -0,0 +1,85 @@ +package jnpf.entity; + +import com.baomidou.mybatisplus.annotation.*; +import lombok.Data; +import java.util.Date; +import java.math.BigDecimal; +import java.math.BigDecimal; +import java.math.BigDecimal; +import java.math.BigDecimal; +/** + * 计量磅单 + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-08-02 + */ +@Data +@TableName("yq_measure_pound") +public class MeasurePoundEntity { + @TableId(value ="ID" ) + private String id; + @TableField(value = "POUND_NO" , updateStrategy = FieldStrategy.IGNORED) + private String poundNo; + @TableField("APPLY_ID") + private String applyId; + @TableField(value = "APPLY_NO" , updateStrategy = FieldStrategy.IGNORED) + private String applyNo; + @TableField("MERCHANT_ID") + private String merchantId; + @TableField(value = "MERCHANT_NAME" , updateStrategy = FieldStrategy.IGNORED) + private String merchantName; + @TableField(value = "POUND_TYPE" , updateStrategy = FieldStrategy.IGNORED) + private String poundType; + @TableField(value = "VEHICLE" , updateStrategy = FieldStrategy.IGNORED) + private String vehicle; + @TableField(value = "CARGO_TYPE" , updateStrategy = FieldStrategy.IGNORED) + private String cargoType; + @TableField(value = "GROSS_WEIGHT" , updateStrategy = FieldStrategy.IGNORED) + private BigDecimal grossWeight; + @TableField(value = "TARE_WEIGHT" , updateStrategy = FieldStrategy.IGNORED) + private BigDecimal tareWeight; + @TableField("BUCKLE_WEIGHT") + private BigDecimal buckleWeight; + @TableField(value = "NET_WEIGHT" , updateStrategy = FieldStrategy.IGNORED) + private BigDecimal netWeight; + @TableField("POUND_USER") + private String poundUser; + @TableField(value = "POUND_DATE" , updateStrategy = FieldStrategy.IGNORED) + private Date poundDate; + @TableField(value = "STATUS" , updateStrategy = FieldStrategy.IGNORED) + private String status; + @TableField(value = "CONFIRMER" , updateStrategy = FieldStrategy.IGNORED) + private String confirmer; + @TableField(value = "CONFIRM_DATE" , updateStrategy = FieldStrategy.IGNORED) + private Date confirmDate; + @TableField("REMARK") + private String remark; + @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-example/jnpf-example-entity/src/main/java/jnpf/model/measureapplylog/MeasureApplyLogConstant.java b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measureapplylog/MeasureApplyLogConstant.java new file mode 100644 index 0000000..f8b56bc --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measureapplylog/MeasureApplyLogConstant.java @@ -0,0 +1,41 @@ +package jnpf.model.measureapplylog; + +import jnpf.util.JsonUtil; +import java.util.Map; + +/** + * measureApplyLog配置json + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-08-02 + */ +public class MeasureApplyLogConstant{ + /** 数据库链接 */ + public static final String DBLINKID = "0"; + /** 表别名 map */ + public static final Map TABLERENAMES = JsonUtil.getJsonToBean("{\"yq_measure_apply_log\":\"measureApplyLog\"}",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\":\"general\",\"idGlobal\":105,\"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\":false,\"classJson\":\"\",\"drawerWidth\":\"600px\",\"printButtonText\":\"打 印\",\"formRef\":\"formRef\",\"gutter\":15,\"logicalDelete\":false,\"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\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722588504781,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"applyName\",\"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\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589177166,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^[1-9]\\\\d{5}(18|19|([23]\\\\d))\\\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\\\d{3}[0-9Xx]$/\",\"message\":\"请输入正确的身份证号码\"}],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"apply\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商户\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589351592,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"merchantName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"货物类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589368643,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":12},\"options\":[{\"fullName\":\"货物1\",\"id\":\"10\"},{\"fullName\":\"货物2\",\"id\":\"20\"}],\"multiple\":false,\"__vModel__\":\"cargoType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"}}],\"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\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商户\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589351592,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"merchantName\",\"showWordLimit\":false,\"__vModel__\":\"merchantName\",\"searchMultiple\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"merchantName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"searchType\":1,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"货物类型\",\"label\":\"货物类型\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"货物类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589368643,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":12},\"prop\":\"cargoType\",\"options\":[{\"fullName\":\"货物1\",\"id\":\"10\"},{\"fullName\":\"货物2\",\"id\":\"20\"}],\"__vModel__\":\"cargoType\",\"searchMultiple\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"cargoType\",\"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\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722588504781,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"applyName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"applyName\",\"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\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589177166,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^[1-9]\\\\d{5}(18|19|([23]\\\\d))\\\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\\\d{3}[0-9Xx]$/\",\"message\":\"请输入正确的身份证号码\"}],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"apply\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"apply\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"商户\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商户\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589351592,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"merchantName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"merchantName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"货物类型\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"货物类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589368643,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":12},\"options\":[{\"fullName\":\"货物1\",\"id\":\"10\"},{\"fullName\":\"货物2\",\"id\":\"20\"}],\"__vModel__\":\"cargoType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"cargoType\",\"placeholder\":\"请选择\"}],\"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\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722588504781,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"applyName\",\"showWordLimit\":false,\"__vModel__\":\"applyName\",\"checked\":true,\"disabled\":false,\"id\":\"applyName\",\"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\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589177166,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^[1-9]\\\\d{5}(18|19|([23]\\\\d))\\\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\\\d{3}[0-9Xx]$/\",\"message\":\"请输入正确的身份证号码\"}],\"span\":12},\"readonly\":false,\"prop\":\"apply\",\"showWordLimit\":false,\"__vModel__\":\"apply\",\"checked\":true,\"disabled\":false,\"id\":\"apply\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"身份证号\",\"label\":\"身份证号\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商户\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589351592,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"merchantName\",\"showWordLimit\":false,\"__vModel__\":\"merchantName\",\"checked\":true,\"disabled\":false,\"id\":\"merchantName\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"商户\",\"label\":\"商户\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"货物类型\",\"label\":\"货物类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"货物类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589368643,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":12},\"prop\":\"cargoType\",\"options\":[{\"fullName\":\"货物1\",\"id\":\"10\"},{\"fullName\":\"货物2\",\"id\":\"20\"}],\"__vModel__\":\"cargoType\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"cargoType\",\"placeholder\":\"请选择\"}],\"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\"}],\"useDataPermission\":false,\"columnList\":[{\"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\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722588504781,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"applyName\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"applyName\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"applyName\",\"placeholder\":\"请输入\",\"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\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589177166,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^[1-9]\\\\d{5}(18|19|([23]\\\\d))\\\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\\\d{3}[0-9Xx]$/\",\"message\":\"请输入正确的身份证号码\"}],\"span\":12},\"readonly\":false,\"prop\":\"apply\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"apply\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"apply\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"商户\",\"label\":\"商户\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商户\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589351592,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"merchantName\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"merchantName\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"merchantName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"货物类型\",\"label\":\"货物类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"货物类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589368643,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":12},\"prop\":\"cargoType\",\"width\":0,\"options\":[{\"fullName\":\"货物1\",\"id\":\"10\"},{\"fullName\":\"货物2\",\"id\":\"20\"}],\"__vModel__\":\"cargoType\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"cargoType\",\"placeholder\":\"请选择\"}],\"sort\":\"desc\",\"thousands\":false,\"hasSuperQuery\":true,\"summaryField\":[],\"parentField\":\"\",\"treePropsLabel\":\"fullName\",\"treeDataSource\":\"dictionary\",\"groupField\":\"\",\"printIds\":[],\"uploaderTemplateJson\":{},\"treeDictionary\":\"\",\"hasTreeQuery\":false,\"useFormPermission\":false,\"customBtnsList\":[],\"complexHeaderList\":[],\"useBtnPermission\":false,\"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\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"姓名\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722588504781,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"applyName\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"applyName\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"applyName\",\"placeholder\":\"请输入\",\"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\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589177166,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^[1-9]\\\\d{5}(18|19|([23]\\\\d))\\\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\\\d{3}[0-9Xx]$/\",\"message\":\"请输入正确的身份证号码\"}],\"span\":12},\"readonly\":false,\"prop\":\"apply\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"apply\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"apply\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"商户\",\"label\":\"商户\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商户\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589351592,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"merchantName\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"merchantName\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"merchantName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"货物类型\",\"label\":\"货物类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"货物类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589368643,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":12},\"prop\":\"cargoType\",\"width\":0,\"options\":[{\"fullName\":\"货物1\",\"id\":\"10\"},{\"fullName\":\"货物2\",\"id\":\"20\"}],\"__vModel__\":\"cargoType\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"cargoType\",\"placeholder\":\"请选择\"}],\"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\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722588504781,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"applyName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"applyName\",\"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\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589177166,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^[1-9]\\\\d{5}(18|19|([23]\\\\d))\\\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\\\d{3}[0-9Xx]$/\",\"message\":\"请输入正确的身份证号码\"}],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"apply\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"apply\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"商户\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商户\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589351592,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"merchantName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"merchantName\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"货物类型\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"货物类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589368643,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":12},\"options\":[{\"fullName\":\"货物1\",\"id\":\"10\"},{\"fullName\":\"货物2\",\"id\":\"20\"}],\"__vModel__\":\"cargoType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"cargoType\"}],\"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\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722588504781,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"applyName\",\"showWordLimit\":false,\"__vModel__\":\"applyName\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"applyName\",\"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\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589177166,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^[1-9]\\\\d{5}(18|19|([23]\\\\d))\\\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\\\d{3}[0-9Xx]$/\",\"message\":\"请输入正确的身份证号码\"}],\"span\":12},\"readonly\":false,\"prop\":\"apply\",\"showWordLimit\":false,\"__vModel__\":\"apply\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"apply\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"商户\",\"label\":\"商户\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商户\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589351592,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"merchantName\",\"showWordLimit\":false,\"__vModel__\":\"merchantName\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"merchantName\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"货物类型\",\"label\":\"货物类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"货物类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_apply_log\",\"renderKey\":1722589368643,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":12},\"prop\":\"cargoType\",\"options\":[{\"fullName\":\"货物1\",\"id\":\"10\"},{\"fullName\":\"货物2\",\"id\":\"20\"}],\"__vModel__\":\"cargoType\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"cargoType\"}],\"sortList\":[],\"useFormPermission\":false,\"customBtnsList\":[],\"useBtnPermission\":false,\"defaultSidx\":\"\"}"); return sb.toString(); + } + /** 表列表 */ + public static final String getTableList(){ + StringBuilder sb = new StringBuilder(); +sb.append("[{\"relationField\":\"\",\"relationTable\":\"\",\"table\":\"yq_measure_apply_log\",\"tableName\":\"计量申请记录\",\"tableField\":\"\",\"typeId\":\"1\",\"fields\":[{\"columnName\":\"id\",\"field\":\"id\",\"fieldName\":\"主键ID\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":1,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"measure_apply_code\",\"field\":\"measureApplyCode\",\"fieldName\":\"计量申请单\",\"dataType\":\"varchar\",\"dataLength\":\"20\",\"primaryKey\":0,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"status\",\"field\":\"status\",\"fieldName\":\"单据状态(1,已确认2,已使用)\",\"dataType\":\"varchar\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"vehicle\",\"field\":\"vehicle\",\"fieldName\":\"车牌号\",\"dataType\":\"varchar\",\"dataLength\":\"20\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"cargo_type\",\"field\":\"cargoType\",\"fieldName\":\"货物类型(10,货物1 20,货物2)\",\"dataType\":\"varchar\",\"dataLength\":\"2\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"merchant_id\",\"field\":\"merchantId\",\"fieldName\":\"商户id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"merchant_name\",\"field\":\"merchantName\",\"fieldName\":\"商户名称\",\"dataType\":\"varchar\",\"dataLength\":\"512\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"apply\",\"field\":\"apply\",\"fieldName\":\"申请人\",\"dataType\":\"varchar\",\"dataLength\":\"20\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"apply_name\",\"field\":\"applyName\",\"fieldName\":\"申请人姓名\",\"dataType\":\"varchar\",\"dataLength\":\"20\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"apply_date\",\"field\":\"applyDate\",\"fieldName\":\"申请时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"site_id\",\"field\":\"siteId\",\"fieldName\":\"站点id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"site_code\",\"field\":\"siteCode\",\"fieldName\":\"站点编码\",\"dataType\":\"varchar\",\"dataLength\":\"10\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"site_name\",\"field\":\"siteName\",\"fieldName\":\"站点名称\",\"dataType\":\"varchar\",\"dataLength\":\"32\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"gross_weight\",\"field\":\"grossWeight\",\"fieldName\":\"毛重\",\"dataType\":\"decimal\",\"dataLength\":\"20,3\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"tare_weight\",\"field\":\"tareWeight\",\"fieldName\":\"皮重\",\"dataType\":\"decimal\",\"dataLength\":\"20,3\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"net_weight\",\"field\":\"netWeight\",\"fieldName\":\"净重\",\"dataType\":\"decimal\",\"dataLength\":\"20,3\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"remark\",\"field\":\"remark\",\"fieldName\":\"备注\",\"dataType\":\"varchar\",\"dataLength\":\"512\",\"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\":\"组织id\",\"dataType\":\"varchar\",\"dataLength\":\"512\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_version\",\"field\":\"version\",\"fieldName\":\"乐观锁\",\"dataType\":\"int\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0}]}]"); return sb.toString(); + } +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measureapplylog/MeasureApplyLogForm.java b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measureapplylog/MeasureApplyLogForm.java new file mode 100644 index 0000000..a56f387 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measureapplylog/MeasureApplyLogForm.java @@ -0,0 +1,32 @@ +package jnpf.model.measureapplylog; + +import lombok.Data; +import java.util.List; +import java.math.BigDecimal; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * measureApplyLog + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-08-02 + */ +@Data +public class MeasureApplyLogForm { + /** 主键 */ + private String id; + + /** 姓名 **/ + @JsonProperty("applyName") + private String applyName; + /** 身份证号 **/ + @JsonProperty("apply") + private String apply; + /** 商户 **/ + @JsonProperty("merchantName") + private String merchantName; + /** 货物类型 **/ + @JsonProperty("cargoType") + private Object cargoType; +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measureapplylog/MeasureApplyLogPagination.java b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measureapplylog/MeasureApplyLogPagination.java new file mode 100644 index 0000000..898c41f --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measureapplylog/MeasureApplyLogPagination.java @@ -0,0 +1,36 @@ +package jnpf.model.measureapplylog; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Data; +import jnpf.base.Pagination; +import java.util.List; + +/** + * + * measureApplyLog + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-08-02 + */ +@Data +public class MeasureApplyLogPagination 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("merchantName") + private Object merchantName; + /** 货物类型 */ + @JsonProperty("cargoType") + private Object cargoType; +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measurelog/MeasureLogConstant.java b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measurelog/MeasureLogConstant.java new file mode 100644 index 0000000..369899a --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measurelog/MeasureLogConstant.java @@ -0,0 +1,41 @@ +package jnpf.model.measurelog; + +import jnpf.util.JsonUtil; +import java.util.Map; + +/** + * measureLog配置json + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-08-02 + */ +public class MeasureLogConstant{ + /** 数据库链接 */ + public static final String DBLINKID = "0"; + /** 表别名 map */ + public static final Map TABLERENAMES = JsonUtil.getJsonToBean("{\"yq_measure_log\":\"measureLog\"}",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\":\"general\",\"idGlobal\":104,\"formBtns\":false,\"labelWidth\":100,\"classNames\":[],\"className\":[],\"fullScreenWidth\":\"100%\",\"hasConfirmAndAddBtn\":false,\"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\":\"800px\",\"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\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591373747,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"documentNo\",\"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\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591412451,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"siteCode\",\"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\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591420011,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"siteName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"申请单号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591423984,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"applyNo\",\"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\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591373747,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"documentNo\",\"showWordLimit\":false,\"__vModel__\":\"documentNo\",\"searchMultiple\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"documentNo\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"}],\"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\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591373747,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"documentNo\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"documentNo\",\"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\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591412451,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"siteCode\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"siteCode\",\"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\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591420011,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"siteName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"siteName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"申请单号\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"申请单号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591423984,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"applyNo\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"applyNo\",\"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\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591373747,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"documentNo\",\"showWordLimit\":false,\"__vModel__\":\"documentNo\",\"checked\":true,\"disabled\":false,\"id\":\"documentNo\",\"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\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591412451,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"siteCode\",\"showWordLimit\":false,\"__vModel__\":\"siteCode\",\"checked\":true,\"disabled\":false,\"id\":\"siteCode\",\"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\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591420011,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"siteName\",\"showWordLimit\":false,\"__vModel__\":\"siteName\",\"checked\":true,\"disabled\":false,\"id\":\"siteName\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"站点名称\",\"label\":\"站点名称\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"申请单号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591423984,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"applyNo\",\"showWordLimit\":false,\"__vModel__\":\"applyNo\",\"checked\":true,\"disabled\":false,\"id\":\"applyNo\",\"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\"}],\"useDataPermission\":false,\"columnList\":[{\"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\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591373747,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"documentNo\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"documentNo\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"documentNo\",\"placeholder\":\"请输入\",\"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\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591412451,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"siteCode\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"siteCode\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"siteCode\",\"placeholder\":\"请输入\",\"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\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591420011,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"siteName\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"siteName\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"siteName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"申请单号\",\"label\":\"申请单号\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"申请单号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591423984,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"applyNo\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"applyNo\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"applyNo\",\"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\":false,\"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\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"流水号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591373747,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"documentNo\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"documentNo\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"documentNo\",\"placeholder\":\"请输入\",\"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\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591412451,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"siteCode\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"siteCode\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"siteCode\",\"placeholder\":\"请输入\",\"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\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591420011,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"siteName\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"siteName\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"siteName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"申请单号\",\"label\":\"申请单号\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"申请单号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591423984,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"applyNo\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"applyNo\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"applyNo\",\"placeholder\":\"请输入\",\"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\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591373747,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"documentNo\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"documentNo\",\"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\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591412451,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"siteCode\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"siteCode\",\"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\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591420011,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"siteName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"siteName\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"申请单号\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"申请单号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591423984,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"applyNo\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"applyNo\",\"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\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591373747,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"documentNo\",\"showWordLimit\":false,\"__vModel__\":\"documentNo\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"documentNo\",\"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\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591412451,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"siteCode\",\"showWordLimit\":false,\"__vModel__\":\"siteCode\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"siteCode\",\"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\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591420011,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"siteName\",\"showWordLimit\":false,\"__vModel__\":\"siteName\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"siteName\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"申请单号\",\"label\":\"申请单号\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"申请单号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_log\",\"renderKey\":1722591423984,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"prop\":\"applyNo\",\"showWordLimit\":false,\"__vModel__\":\"applyNo\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"applyNo\",\"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\":\"yq_measure_log\",\"tableName\":\"计量记录\",\"tableField\":\"\",\"typeId\":\"1\",\"fields\":[{\"columnName\":\"id\",\"field\":\"id\",\"fieldName\":\"主键ID\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":1,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"document_no\",\"field\":\"documentNo\",\"fieldName\":\"流水号\",\"dataType\":\"varchar\",\"dataLength\":\"20\",\"primaryKey\":0,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"site_id\",\"field\":\"siteId\",\"fieldName\":\"站点id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"site_code\",\"field\":\"siteCode\",\"fieldName\":\"站点编码\",\"dataType\":\"varchar\",\"dataLength\":\"10\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"site_name\",\"field\":\"siteName\",\"fieldName\":\"站点名称\",\"dataType\":\"varchar\",\"dataLength\":\"32\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"apply_id\",\"field\":\"applyId\",\"fieldName\":\"申请单id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"apply_no\",\"field\":\"applyNo\",\"fieldName\":\"申请单号\",\"dataType\":\"varchar\",\"dataLength\":\"20\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"weight\",\"field\":\"weight\",\"fieldName\":\"称重重量\",\"dataType\":\"decimal\",\"dataLength\":\"20,3\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"weight_date\",\"field\":\"weightDate\",\"fieldName\":\"称重时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"status\",\"field\":\"status\",\"fieldName\":\"状态(1,未使用2,已使用)\",\"dataType\":\"varchar\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"remark\",\"field\":\"remark\",\"fieldName\":\"备注\",\"dataType\":\"varchar\",\"dataLength\":\"512\",\"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\":\"组织id\",\"dataType\":\"varchar\",\"dataLength\":\"512\",\"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-example/jnpf-example-entity/src/main/java/jnpf/model/measurelog/MeasureLogForm.java b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measurelog/MeasureLogForm.java new file mode 100644 index 0000000..bd4b8b7 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measurelog/MeasureLogForm.java @@ -0,0 +1,35 @@ +package jnpf.model.measurelog; + +import lombok.Data; +import java.util.List; +import java.math.BigDecimal; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * measureLog + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-08-02 + */ +@Data +public class MeasureLogForm { + /** 主键 */ + private String id; + /** 乐观锁 **/ + @JsonProperty("version") + private Integer version; + + /** 流水号 **/ + @JsonProperty("documentNo") + private String documentNo; + /** 站点编码 **/ + @JsonProperty("siteCode") + private String siteCode; + /** 站点名称 **/ + @JsonProperty("siteName") + private String siteName; + /** 申请单号 **/ + @JsonProperty("applyNo") + private String applyNo; +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measurelog/MeasureLogPagination.java b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measurelog/MeasureLogPagination.java new file mode 100644 index 0000000..71bcc3a --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measurelog/MeasureLogPagination.java @@ -0,0 +1,33 @@ +package jnpf.model.measurelog; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Data; +import jnpf.base.Pagination; +import java.util.List; + +/** + * + * measureLog + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-08-02 + */ +@Data +public class MeasureLogPagination 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("documentNo") + private Object documentNo; +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measurepound/MeasurePoundConstant.java b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measurepound/MeasurePoundConstant.java new file mode 100644 index 0000000..c84ccd9 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measurepound/MeasurePoundConstant.java @@ -0,0 +1,41 @@ +package jnpf.model.measurepound; + +import jnpf.util.JsonUtil; +import java.util.Map; + +/** + * measurePound配置json + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-08-02 + */ +public class MeasurePoundConstant{ + /** 数据库链接 */ + public static final String DBLINKID = "0"; + /** 表别名 map */ + public static final Map TABLERENAMES = JsonUtil.getJsonToBean("{\"yq_measure_pound\":\"measurePound\"}",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\":\"general\",\"idGlobal\":114,\"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\":\"1000px\",\"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\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584825830,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"poundNo\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"磅单状态\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584842075,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"已确认\",\"id\":\"1\"},{\"fullName\":\"未确认\",\"id\":\"2\"}],\"multiple\":false,\"__vModel__\":\"status\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"}},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"申请单号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584881831,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"applyNo\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商户名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584889887,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"merchantName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"磅单类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584897087,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"进货\",\"id\":\"1\"},{\"fullName\":\"出货\",\"id\":\"2\"}],\"multiple\":false,\"__vModel__\":\"poundType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"}},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"车牌号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584918406,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"vehicle\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":107,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"货物类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584944948,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"成品\",\"id\":\"1\"},{\"fullName\":\"半成品\",\"id\":\"2\"}],\"multiple\":false,\"__vModel__\":\"cargoType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"}},{\"step-strictly\":false,\"controls\":false,\"thousands\":false,\"isAmountChinese\":false,\"__config__\":{\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"毛重\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585033481,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":8},\"__vModel__\":\"grossWeight\",\"style\":{},\"step\":1,\"disabled\":false,\"placeholder\":\"数字文本\",\"controlsPosition\":\"\"},{\"step-strictly\":false,\"controls\":false,\"thousands\":false,\"isAmountChinese\":false,\"__config__\":{\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"皮重\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585044136,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":8},\"__vModel__\":\"tareWeight\",\"style\":{},\"step\":1,\"disabled\":false,\"placeholder\":\"数字文本\",\"controlsPosition\":\"\"},{\"step-strictly\":false,\"controls\":false,\"thousands\":false,\"isAmountChinese\":false,\"__config__\":{\"formId\":110,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"净重\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585044626,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":8},\"__vModel__\":\"netWeight\",\"style\":{},\"step\":1,\"disabled\":false,\"placeholder\":\"数字文本\",\"controlsPosition\":\"\"},{\"clearable\":true,\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585067980,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":true,\"tag\":\"JnpfDatePicker\",\"formId\":112,\"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-dd HH:mm:ss\",\"__vModel__\":\"poundDate\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"type\":\"datetime\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":113,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"确认人\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585095472,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"confirmer\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"__config__\":{\"endRelationField\":\"\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585101376,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":true,\"tag\":\"JnpfDatePicker\",\"formId\":114,\"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-dd HH:mm:ss\",\"__vModel__\":\"confirmDate\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"type\":\"datetime\"}],\"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\":3,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd HH:mm:ss\",\"fullName\":\"磅单时间\",\"label\":\"磅单时间\",\"type\":\"datetime\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585067980,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":true,\"tag\":\"JnpfDatePicker\",\"formId\":112,\"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\":\"poundDate\",\"__vModel__\":\"poundDate\",\"searchMultiple\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"poundDate\",\"placeholder\":\"请选择\",\"value\":[]},{\"clearable\":true,\"searchType\":2,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"商户名称\",\"label\":\"商户名称\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商户名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584889887,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"merchantName\",\"showWordLimit\":false,\"__vModel__\":\"merchantName\",\"searchMultiple\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"merchantName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"searchType\":1,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"磅单类型\",\"label\":\"磅单类型\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"磅单类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584897087,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"poundType\",\"options\":[{\"fullName\":\"进货\",\"id\":\"1\"},{\"fullName\":\"出货\",\"id\":\"2\"}],\"__vModel__\":\"poundType\",\"searchMultiple\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"poundType\",\"placeholder\":\"请选择\"}],\"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\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584825830,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"poundNo\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"poundNo\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"磅单状态\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"磅单状态\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584842075,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"已确认\",\"id\":\"1\"},{\"fullName\":\"未确认\",\"id\":\"2\"}],\"__vModel__\":\"status\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"status\",\"placeholder\":\"请选择\"},{\"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\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584881831,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"applyNo\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"applyNo\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"商户名称\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商户名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584889887,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"merchantName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"merchantName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"磅单类型\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"磅单类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584897087,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"进货\",\"id\":\"1\"},{\"fullName\":\"出货\",\"id\":\"2\"}],\"__vModel__\":\"poundType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"poundType\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"车牌号\",\"addonAfter\":\"\",\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"车牌号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584918406,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"vehicle\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"vehicle\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"货物类型\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":107,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"货物类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584944948,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"成品\",\"id\":\"1\"},{\"fullName\":\"半成品\",\"id\":\"2\"}],\"__vModel__\":\"cargoType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"cargoType\",\"placeholder\":\"请选择\"},{\"step-strictly\":false,\"controls\":false,\"fullName\":\"毛重\",\"thousands\":false,\"isAmountChinese\":false,\"__config__\":{\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"毛重\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585033481,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":8},\"__vModel__\":\"grossWeight\",\"style\":{},\"step\":1,\"disabled\":false,\"id\":\"grossWeight\",\"placeholder\":\"数字文本\",\"controlsPosition\":\"\"},{\"step-strictly\":false,\"controls\":false,\"fullName\":\"皮重\",\"thousands\":false,\"isAmountChinese\":false,\"__config__\":{\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"皮重\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585044136,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":8},\"__vModel__\":\"tareWeight\",\"style\":{},\"step\":1,\"disabled\":false,\"id\":\"tareWeight\",\"placeholder\":\"数字文本\",\"controlsPosition\":\"\"},{\"step-strictly\":false,\"controls\":false,\"fullName\":\"净重\",\"thousands\":false,\"isAmountChinese\":false,\"__config__\":{\"formId\":110,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"净重\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585044626,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":8},\"__vModel__\":\"netWeight\",\"style\":{},\"step\":1,\"disabled\":false,\"id\":\"netWeight\",\"placeholder\":\"数字文本\",\"controlsPosition\":\"\"},{\"clearable\":true,\"format\":\"yyyy-MM-dd HH:mm:ss\",\"fullName\":\"磅单时间\",\"type\":\"datetime\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585067980,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":true,\"tag\":\"JnpfDatePicker\",\"formId\":112,\"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__\":\"poundDate\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"poundDate\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"确认人\",\"addonAfter\":\"\",\"__config__\":{\"formId\":113,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"确认人\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585095472,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"confirmer\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"confirmer\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"format\":\"yyyy-MM-dd HH:mm:ss\",\"fullName\":\"确认时间\",\"type\":\"datetime\",\"__config__\":{\"endRelationField\":\"\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585101376,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":true,\"tag\":\"JnpfDatePicker\",\"formId\":114,\"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__\":\"confirmDate\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"confirmDate\",\"placeholder\":\"请选择\"}],\"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\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584825830,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"poundNo\",\"showWordLimit\":false,\"__vModel__\":\"poundNo\",\"checked\":true,\"disabled\":false,\"id\":\"poundNo\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"磅单号\",\"label\":\"磅单号\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"磅单状态\",\"label\":\"磅单状态\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"磅单状态\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584842075,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"status\",\"options\":[{\"fullName\":\"已确认\",\"id\":\"1\"},{\"fullName\":\"未确认\",\"id\":\"2\"}],\"__vModel__\":\"status\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"status\",\"placeholder\":\"请选择\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"申请单号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584881831,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"applyNo\",\"showWordLimit\":false,\"__vModel__\":\"applyNo\",\"checked\":true,\"disabled\":false,\"id\":\"applyNo\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"申请单号\",\"label\":\"申请单号\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商户名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584889887,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"merchantName\",\"showWordLimit\":false,\"__vModel__\":\"merchantName\",\"checked\":true,\"disabled\":false,\"id\":\"merchantName\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"商户名称\",\"label\":\"商户名称\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"磅单类型\",\"label\":\"磅单类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"磅单类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584897087,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"poundType\",\"options\":[{\"fullName\":\"进货\",\"id\":\"1\"},{\"fullName\":\"出货\",\"id\":\"2\"}],\"__vModel__\":\"poundType\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"poundType\",\"placeholder\":\"请选择\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"车牌号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584918406,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"vehicle\",\"showWordLimit\":false,\"__vModel__\":\"vehicle\",\"checked\":true,\"disabled\":false,\"id\":\"vehicle\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"车牌号\",\"label\":\"车牌号\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"货物类型\",\"label\":\"货物类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":107,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"货物类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584944948,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"cargoType\",\"options\":[{\"fullName\":\"成品\",\"id\":\"1\"},{\"fullName\":\"半成品\",\"id\":\"2\"}],\"__vModel__\":\"cargoType\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"cargoType\",\"placeholder\":\"请选择\"},{\"step-strictly\":false,\"controls\":false,\"jnpfKey\":\"inputNumber\",\"fullName\":\"毛重\",\"label\":\"毛重\",\"sortable\":false,\"align\":\"left\",\"thousands\":false,\"isAmountChinese\":false,\"__config__\":{\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"毛重\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585033481,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":8},\"prop\":\"grossWeight\",\"__vModel__\":\"grossWeight\",\"checked\":true,\"fixed\":\"none\",\"style\":{},\"step\":1,\"disabled\":false,\"id\":\"grossWeight\",\"placeholder\":\"数字文本\",\"controlsPosition\":\"\"},{\"step-strictly\":false,\"controls\":false,\"jnpfKey\":\"inputNumber\",\"fullName\":\"皮重\",\"label\":\"皮重\",\"sortable\":false,\"align\":\"left\",\"thousands\":false,\"isAmountChinese\":false,\"__config__\":{\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"皮重\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585044136,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":8},\"prop\":\"tareWeight\",\"__vModel__\":\"tareWeight\",\"checked\":true,\"fixed\":\"none\",\"style\":{},\"step\":1,\"disabled\":false,\"id\":\"tareWeight\",\"placeholder\":\"数字文本\",\"controlsPosition\":\"\"},{\"step-strictly\":false,\"controls\":false,\"jnpfKey\":\"inputNumber\",\"fullName\":\"净重\",\"label\":\"净重\",\"sortable\":false,\"align\":\"left\",\"thousands\":false,\"isAmountChinese\":false,\"__config__\":{\"formId\":110,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"净重\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585044626,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":8},\"prop\":\"netWeight\",\"__vModel__\":\"netWeight\",\"checked\":true,\"fixed\":\"none\",\"style\":{},\"step\":1,\"disabled\":false,\"id\":\"netWeight\",\"placeholder\":\"数字文本\",\"controlsPosition\":\"\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd HH:mm:ss\",\"fullName\":\"磅单时间\",\"label\":\"磅单时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"datetime\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585067980,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":true,\"tag\":\"JnpfDatePicker\",\"formId\":112,\"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\":\"poundDate\",\"__vModel__\":\"poundDate\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"poundDate\",\"placeholder\":\"请选择\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":113,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"确认人\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585095472,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"confirmer\",\"showWordLimit\":false,\"__vModel__\":\"confirmer\",\"checked\":true,\"disabled\":false,\"id\":\"confirmer\",\"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 HH:mm:ss\",\"fullName\":\"确认时间\",\"label\":\"确认时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"datetime\",\"__config__\":{\"endRelationField\":\"\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585101376,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":true,\"tag\":\"JnpfDatePicker\",\"formId\":114,\"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\":\"confirmDate\",\"__vModel__\":\"confirmDate\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"confirmDate\",\"placeholder\":\"请选择\"}],\"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\":false,\"columnList\":[{\"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\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584825830,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"poundNo\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"poundNo\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"poundNo\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"磅单状态\",\"label\":\"磅单状态\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"磅单状态\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584842075,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"status\",\"width\":0,\"options\":[{\"fullName\":\"已确认\",\"id\":\"1\"},{\"fullName\":\"未确认\",\"id\":\"2\"}],\"__vModel__\":\"status\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"status\",\"placeholder\":\"请选择\"},{\"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\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584881831,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"applyNo\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"applyNo\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"applyNo\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"商户名称\",\"label\":\"商户名称\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商户名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584889887,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"merchantName\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"merchantName\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"merchantName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"磅单类型\",\"label\":\"磅单类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"磅单类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584897087,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"poundType\",\"width\":0,\"options\":[{\"fullName\":\"进货\",\"id\":\"1\"},{\"fullName\":\"出货\",\"id\":\"2\"}],\"__vModel__\":\"poundType\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"poundType\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"车牌号\",\"label\":\"车牌号\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"车牌号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584918406,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"vehicle\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"vehicle\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"vehicle\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"货物类型\",\"label\":\"货物类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":107,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"货物类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584944948,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"cargoType\",\"width\":0,\"options\":[{\"fullName\":\"成品\",\"id\":\"1\"},{\"fullName\":\"半成品\",\"id\":\"2\"}],\"__vModel__\":\"cargoType\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"cargoType\",\"placeholder\":\"请选择\"},{\"step-strictly\":false,\"controls\":false,\"jnpfKey\":\"inputNumber\",\"fullName\":\"毛重\",\"label\":\"毛重\",\"sortable\":false,\"align\":\"left\",\"thousands\":false,\"isAmountChinese\":false,\"__config__\":{\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"毛重\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585033481,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":8},\"prop\":\"grossWeight\",\"width\":0,\"__vModel__\":\"grossWeight\",\"fixed\":\"none\",\"style\":{},\"step\":1,\"disabled\":false,\"id\":\"grossWeight\",\"placeholder\":\"数字文本\",\"controlsPosition\":\"\"},{\"step-strictly\":false,\"controls\":false,\"jnpfKey\":\"inputNumber\",\"fullName\":\"皮重\",\"label\":\"皮重\",\"sortable\":false,\"align\":\"left\",\"thousands\":false,\"isAmountChinese\":false,\"__config__\":{\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"皮重\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585044136,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":8},\"prop\":\"tareWeight\",\"width\":0,\"__vModel__\":\"tareWeight\",\"fixed\":\"none\",\"style\":{},\"step\":1,\"disabled\":false,\"id\":\"tareWeight\",\"placeholder\":\"数字文本\",\"controlsPosition\":\"\"},{\"step-strictly\":false,\"controls\":false,\"jnpfKey\":\"inputNumber\",\"fullName\":\"净重\",\"label\":\"净重\",\"sortable\":false,\"align\":\"left\",\"thousands\":false,\"isAmountChinese\":false,\"__config__\":{\"formId\":110,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"净重\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585044626,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":8},\"prop\":\"netWeight\",\"width\":0,\"__vModel__\":\"netWeight\",\"fixed\":\"none\",\"style\":{},\"step\":1,\"disabled\":false,\"id\":\"netWeight\",\"placeholder\":\"数字文本\",\"controlsPosition\":\"\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd HH:mm:ss\",\"fullName\":\"磅单时间\",\"label\":\"磅单时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"datetime\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585067980,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":true,\"tag\":\"JnpfDatePicker\",\"formId\":112,\"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\":\"poundDate\",\"width\":0,\"__vModel__\":\"poundDate\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"poundDate\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"确认人\",\"label\":\"确认人\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":113,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"确认人\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585095472,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"confirmer\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"confirmer\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"confirmer\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd HH:mm:ss\",\"fullName\":\"确认时间\",\"label\":\"确认时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"datetime\",\"__config__\":{\"endRelationField\":\"\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585101376,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":true,\"tag\":\"JnpfDatePicker\",\"formId\":114,\"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\":\"confirmDate\",\"width\":0,\"__vModel__\":\"confirmDate\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"confirmDate\",\"placeholder\":\"请选择\"}],\"sort\":\"desc\",\"thousands\":false,\"hasSuperQuery\":true,\"summaryField\":[],\"parentField\":\"\",\"treePropsLabel\":\"fullName\",\"treeDataSource\":\"dictionary\",\"groupField\":\"\",\"printIds\":[],\"uploaderTemplateJson\":{},\"treeDictionary\":\"\",\"hasTreeQuery\":false,\"useFormPermission\":false,\"customBtnsList\":[],\"complexHeaderList\":[],\"useBtnPermission\":false,\"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\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"磅单号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584825830,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"poundNo\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"poundNo\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"请输入\",\"id\":\"poundNo\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"磅单状态\",\"label\":\"磅单状态\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"磅单状态\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584842075,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"status\",\"width\":0,\"options\":[{\"fullName\":\"已确认\",\"id\":\"1\"},{\"fullName\":\"未确认\",\"id\":\"2\"}],\"__vModel__\":\"status\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"fixed\":\"none\",\"placeholder\":\"请选择\",\"id\":\"status\"},{\"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\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584881831,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"applyNo\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"applyNo\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"请输入\",\"id\":\"applyNo\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"商户名称\",\"label\":\"商户名称\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商户名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584889887,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"merchantName\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"merchantName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"请输入\",\"id\":\"merchantName\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"磅单类型\",\"label\":\"磅单类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"磅单类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584897087,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"poundType\",\"width\":0,\"options\":[{\"fullName\":\"进货\",\"id\":\"1\"},{\"fullName\":\"出货\",\"id\":\"2\"}],\"__vModel__\":\"poundType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"fixed\":\"none\",\"placeholder\":\"请选择\",\"id\":\"poundType\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"车牌号\",\"label\":\"车牌号\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"车牌号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584918406,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"vehicle\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"vehicle\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"请输入\",\"id\":\"vehicle\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"货物类型\",\"label\":\"货物类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":107,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"货物类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584944948,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"cargoType\",\"width\":0,\"options\":[{\"fullName\":\"成品\",\"id\":\"1\"},{\"fullName\":\"半成品\",\"id\":\"2\"}],\"__vModel__\":\"cargoType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"fixed\":\"none\",\"placeholder\":\"请选择\",\"id\":\"cargoType\"},{\"step-strictly\":false,\"controls\":false,\"jnpfKey\":\"inputNumber\",\"fullName\":\"毛重\",\"label\":\"毛重\",\"sortable\":false,\"align\":\"left\",\"thousands\":false,\"isAmountChinese\":false,\"__config__\":{\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"毛重\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585033481,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":8},\"prop\":\"grossWeight\",\"width\":0,\"__vModel__\":\"grossWeight\",\"style\":{},\"step\":1,\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"数字文本\",\"id\":\"grossWeight\",\"controlsPosition\":\"\"},{\"step-strictly\":false,\"controls\":false,\"jnpfKey\":\"inputNumber\",\"fullName\":\"皮重\",\"label\":\"皮重\",\"sortable\":false,\"align\":\"left\",\"thousands\":false,\"isAmountChinese\":false,\"__config__\":{\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"皮重\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585044136,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":8},\"prop\":\"tareWeight\",\"width\":0,\"__vModel__\":\"tareWeight\",\"style\":{},\"step\":1,\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"数字文本\",\"id\":\"tareWeight\",\"controlsPosition\":\"\"},{\"step-strictly\":false,\"controls\":false,\"jnpfKey\":\"inputNumber\",\"fullName\":\"净重\",\"label\":\"净重\",\"sortable\":false,\"align\":\"left\",\"thousands\":false,\"isAmountChinese\":false,\"__config__\":{\"formId\":110,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"净重\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585044626,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":8},\"prop\":\"netWeight\",\"width\":0,\"__vModel__\":\"netWeight\",\"style\":{},\"step\":1,\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"数字文本\",\"id\":\"netWeight\",\"controlsPosition\":\"\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd HH:mm:ss\",\"fullName\":\"磅单时间\",\"label\":\"磅单时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"datetime\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585067980,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":true,\"tag\":\"JnpfDatePicker\",\"formId\":112,\"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\":\"poundDate\",\"width\":0,\"__vModel__\":\"poundDate\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"请选择\",\"id\":\"poundDate\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"确认人\",\"label\":\"确认人\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":113,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"确认人\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585095472,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"confirmer\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"confirmer\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"请输入\",\"id\":\"confirmer\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd HH:mm:ss\",\"fullName\":\"确认时间\",\"label\":\"确认时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"datetime\",\"__config__\":{\"endRelationField\":\"\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585101376,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":true,\"tag\":\"JnpfDatePicker\",\"formId\":114,\"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\":\"confirmDate\",\"width\":0,\"__vModel__\":\"confirmDate\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"请选择\",\"id\":\"confirmDate\"}],\"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\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584825830,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"poundNo\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"poundNo\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"磅单状态\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"磅单状态\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584842075,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"已确认\",\"id\":\"1\"},{\"fullName\":\"未确认\",\"id\":\"2\"}],\"__vModel__\":\"status\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"status\"},{\"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\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584881831,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"applyNo\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"applyNo\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"商户名称\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商户名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584889887,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"merchantName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"merchantName\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"磅单类型\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"磅单类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584897087,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"进货\",\"id\":\"1\"},{\"fullName\":\"出货\",\"id\":\"2\"}],\"__vModel__\":\"poundType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"poundType\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"车牌号\",\"addonAfter\":\"\",\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"车牌号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584918406,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"vehicle\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"vehicle\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"货物类型\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":107,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"货物类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584944948,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"成品\",\"id\":\"1\"},{\"fullName\":\"半成品\",\"id\":\"2\"}],\"__vModel__\":\"cargoType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"cargoType\"},{\"step-strictly\":false,\"controls\":false,\"fullName\":\"毛重\",\"thousands\":false,\"isAmountChinese\":false,\"__config__\":{\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"毛重\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585033481,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":8},\"__vModel__\":\"grossWeight\",\"style\":{},\"step\":1,\"disabled\":false,\"placeholder\":\"数字文本\",\"id\":\"grossWeight\",\"controlsPosition\":\"\"},{\"step-strictly\":false,\"controls\":false,\"fullName\":\"皮重\",\"thousands\":false,\"isAmountChinese\":false,\"__config__\":{\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"皮重\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585044136,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":8},\"__vModel__\":\"tareWeight\",\"style\":{},\"step\":1,\"disabled\":false,\"placeholder\":\"数字文本\",\"id\":\"tareWeight\",\"controlsPosition\":\"\"},{\"step-strictly\":false,\"controls\":false,\"fullName\":\"净重\",\"thousands\":false,\"isAmountChinese\":false,\"__config__\":{\"formId\":110,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"净重\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585044626,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":8},\"__vModel__\":\"netWeight\",\"style\":{},\"step\":1,\"disabled\":false,\"placeholder\":\"数字文本\",\"id\":\"netWeight\",\"controlsPosition\":\"\"},{\"clearable\":true,\"format\":\"yyyy-MM-dd HH:mm:ss\",\"fullName\":\"磅单时间\",\"type\":\"datetime\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585067980,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":true,\"tag\":\"JnpfDatePicker\",\"formId\":112,\"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__\":\"poundDate\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"id\":\"poundDate\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"确认人\",\"addonAfter\":\"\",\"__config__\":{\"formId\":113,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"确认人\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585095472,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"confirmer\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"confirmer\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"format\":\"yyyy-MM-dd HH:mm:ss\",\"fullName\":\"确认时间\",\"type\":\"datetime\",\"__config__\":{\"endRelationField\":\"\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585101376,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":true,\"tag\":\"JnpfDatePicker\",\"formId\":114,\"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__\":\"confirmDate\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"id\":\"confirmDate\"}],\"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\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584825830,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"poundNo\",\"showWordLimit\":false,\"__vModel__\":\"poundNo\",\"showPassword\":false,\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"poundNo\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"磅单状态\",\"label\":\"磅单状态\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"磅单状态\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584842075,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"status\",\"options\":[{\"fullName\":\"已确认\",\"id\":\"1\"},{\"fullName\":\"未确认\",\"id\":\"2\"}],\"__vModel__\":\"status\",\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"status\"},{\"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\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584881831,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"applyNo\",\"showWordLimit\":false,\"__vModel__\":\"applyNo\",\"showPassword\":false,\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"applyNo\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"商户名称\",\"label\":\"商户名称\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商户名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584889887,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"merchantName\",\"showWordLimit\":false,\"__vModel__\":\"merchantName\",\"showPassword\":false,\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"merchantName\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"磅单类型\",\"label\":\"磅单类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"磅单类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584897087,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"poundType\",\"options\":[{\"fullName\":\"进货\",\"id\":\"1\"},{\"fullName\":\"出货\",\"id\":\"2\"}],\"__vModel__\":\"poundType\",\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"poundType\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"车牌号\",\"label\":\"车牌号\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"车牌号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584918406,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"vehicle\",\"showWordLimit\":false,\"__vModel__\":\"vehicle\",\"showPassword\":false,\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"vehicle\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"货物类型\",\"label\":\"货物类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":107,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"货物类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722584944948,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"cargoType\",\"options\":[{\"fullName\":\"成品\",\"id\":\"1\"},{\"fullName\":\"半成品\",\"id\":\"2\"}],\"__vModel__\":\"cargoType\",\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"cargoType\"},{\"step-strictly\":false,\"controls\":false,\"jnpfKey\":\"inputNumber\",\"fullName\":\"毛重\",\"label\":\"毛重\",\"sortable\":false,\"align\":\"left\",\"thousands\":false,\"isAmountChinese\":false,\"__config__\":{\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"毛重\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585033481,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":8},\"prop\":\"grossWeight\",\"__vModel__\":\"grossWeight\",\"checked\":true,\"style\":{},\"step\":1,\"disabled\":false,\"placeholder\":\"数字文本\",\"id\":\"grossWeight\",\"controlsPosition\":\"\"},{\"step-strictly\":false,\"controls\":false,\"jnpfKey\":\"inputNumber\",\"fullName\":\"皮重\",\"label\":\"皮重\",\"sortable\":false,\"align\":\"left\",\"thousands\":false,\"isAmountChinese\":false,\"__config__\":{\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"皮重\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585044136,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":8},\"prop\":\"tareWeight\",\"__vModel__\":\"tareWeight\",\"checked\":true,\"style\":{},\"step\":1,\"disabled\":false,\"placeholder\":\"数字文本\",\"id\":\"tareWeight\",\"controlsPosition\":\"\"},{\"step-strictly\":false,\"controls\":false,\"jnpfKey\":\"inputNumber\",\"fullName\":\"净重\",\"label\":\"净重\",\"sortable\":false,\"align\":\"left\",\"thousands\":false,\"isAmountChinese\":false,\"__config__\":{\"formId\":110,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"净重\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585044626,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":8},\"prop\":\"netWeight\",\"__vModel__\":\"netWeight\",\"checked\":true,\"style\":{},\"step\":1,\"disabled\":false,\"placeholder\":\"数字文本\",\"id\":\"netWeight\",\"controlsPosition\":\"\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd HH:mm:ss\",\"fullName\":\"磅单时间\",\"label\":\"磅单时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"datetime\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585067980,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":true,\"tag\":\"JnpfDatePicker\",\"formId\":112,\"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\":\"poundDate\",\"__vModel__\":\"poundDate\",\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"id\":\"poundDate\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"确认人\",\"label\":\"确认人\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":113,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"确认人\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585095472,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"confirmer\",\"showWordLimit\":false,\"__vModel__\":\"confirmer\",\"showPassword\":false,\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"confirmer\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd HH:mm:ss\",\"fullName\":\"确认时间\",\"label\":\"确认时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"datetime\",\"__config__\":{\"endRelationField\":\"\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_measure_pound\",\"renderKey\":1722585101376,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":true,\"tag\":\"JnpfDatePicker\",\"formId\":114,\"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\":\"confirmDate\",\"__vModel__\":\"confirmDate\",\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"id\":\"confirmDate\"}],\"sortList\":[],\"useFormPermission\":false,\"customBtnsList\":[],\"useBtnPermission\":false,\"defaultSidx\":\"\"}"); return sb.toString(); + } + /** 表列表 */ + public static final String getTableList(){ + StringBuilder sb = new StringBuilder(); +sb.append("[{\"relationField\":\"\",\"relationTable\":\"\",\"table\":\"yq_measure_pound\",\"tableName\":\"计量磅单\",\"tableField\":\"\",\"typeId\":\"1\",\"fields\":[{\"columnName\":\"id\",\"field\":\"id\",\"fieldName\":\"主键ID\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":1,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"pound_no\",\"field\":\"poundNo\",\"fieldName\":\"磅单号\",\"dataType\":\"varchar\",\"dataLength\":\"20\",\"primaryKey\":0,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"apply_id\",\"field\":\"applyId\",\"fieldName\":\"申请单id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"apply_no\",\"field\":\"applyNo\",\"fieldName\":\"申请单号\",\"dataType\":\"varchar\",\"dataLength\":\"20\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"merchant_id\",\"field\":\"merchantId\",\"fieldName\":\"商户id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"merchant_name\",\"field\":\"merchantName\",\"fieldName\":\"商户名称\",\"dataType\":\"varchar\",\"dataLength\":\"512\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"pound_type\",\"field\":\"poundType\",\"fieldName\":\"磅单类型(1,进货2,出货)\",\"dataType\":\"varchar\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"vehicle\",\"field\":\"vehicle\",\"fieldName\":\"车牌号\",\"dataType\":\"varchar\",\"dataLength\":\"20\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"cargo_type\",\"field\":\"cargoType\",\"fieldName\":\"货物类型\",\"dataType\":\"varchar\",\"dataLength\":\"10\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"gross_weight\",\"field\":\"grossWeight\",\"fieldName\":\"毛重\",\"dataType\":\"decimal\",\"dataLength\":\"32,3\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"tare_weight\",\"field\":\"tareWeight\",\"fieldName\":\"皮重\",\"dataType\":\"decimal\",\"dataLength\":\"32,3\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"buckle_weight\",\"field\":\"buckleWeight\",\"fieldName\":\"扣重\",\"dataType\":\"decimal\",\"dataLength\":\"32,3\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"net_weight\",\"field\":\"netWeight\",\"fieldName\":\"净重\",\"dataType\":\"decimal\",\"dataLength\":\"32,3\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"pound_user\",\"field\":\"poundUser\",\"fieldName\":\"磅单人\",\"dataType\":\"varchar\",\"dataLength\":\"20\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"pound_date\",\"field\":\"poundDate\",\"fieldName\":\"磅单时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"status\",\"field\":\"status\",\"fieldName\":\"磅单状态(1,已确认2,未确认)\",\"dataType\":\"varchar\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"confirmer\",\"field\":\"confirmer\",\"fieldName\":\"确认人\",\"dataType\":\"varchar\",\"dataLength\":\"512\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"confirm_date\",\"field\":\"confirmDate\",\"fieldName\":\"确认时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"remark\",\"field\":\"remark\",\"fieldName\":\"备注\",\"dataType\":\"varchar\",\"dataLength\":\"512\",\"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\":\"组织id\",\"dataType\":\"varchar\",\"dataLength\":\"512\",\"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-example/jnpf-example-entity/src/main/java/jnpf/model/measurepound/MeasurePoundForm.java b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measurepound/MeasurePoundForm.java new file mode 100644 index 0000000..7edabf3 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measurepound/MeasurePoundForm.java @@ -0,0 +1,62 @@ +package jnpf.model.measurepound; + +import lombok.Data; +import java.util.List; +import java.math.BigDecimal; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * measurePound + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-08-02 + */ +@Data +public class MeasurePoundForm { + /** 主键 */ + private String id; + /** 乐观锁 **/ + @JsonProperty("version") + private Integer version; + + /** 磅单号 **/ + @JsonProperty("poundNo") + private String poundNo; + /** 磅单状态 **/ + @JsonProperty("status") + private Object status; + /** 申请单号 **/ + @JsonProperty("applyNo") + private String applyNo; + /** 商户名称 **/ + @JsonProperty("merchantName") + private String merchantName; + /** 磅单类型 **/ + @JsonProperty("poundType") + private Object poundType; + /** 车牌号 **/ + @JsonProperty("vehicle") + private String vehicle; + /** 货物类型 **/ + @JsonProperty("cargoType") + private Object cargoType; + /** 毛重 **/ + @JsonProperty("grossWeight") + private BigDecimal grossWeight; + /** 皮重 **/ + @JsonProperty("tareWeight") + private BigDecimal tareWeight; + /** 净重 **/ + @JsonProperty("netWeight") + private BigDecimal netWeight; + /** 磅单时间 **/ + @JsonProperty("poundDate") + private String poundDate; + /** 确认人 **/ + @JsonProperty("confirmer") + private String confirmer; + /** 确认时间 **/ + @JsonProperty("confirmDate") + private String confirmDate; +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measurepound/MeasurePoundPagination.java b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measurepound/MeasurePoundPagination.java new file mode 100644 index 0000000..5dc9164 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/measurepound/MeasurePoundPagination.java @@ -0,0 +1,39 @@ +package jnpf.model.measurepound; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Data; +import jnpf.base.Pagination; +import java.util.List; + +/** + * + * measurePound + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-08-02 + */ +@Data +public class MeasurePoundPagination 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("poundDate") + private Object poundDate; + /** 商户名称 */ + @JsonProperty("merchantName") + private Object merchantName; + /** 磅单类型 */ + @JsonProperty("poundType") + private Object poundType; +} diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/measureapplylog/Detail.vue b/jnpf-java-boot/jnpf-web/src/views/scm/measureapplylog/Detail.vue new file mode 100644 index 0000000..76bbabb --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/measureapplylog/Detail.vue @@ -0,0 +1,114 @@ + + diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/measureapplylog/columnList.js b/jnpf-java-boot/jnpf-web/src/views/scm/measureapplylog/columnList.js new file mode 100644 index 0000000..58093a3 --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/measureapplylog/columnList.js @@ -0,0 +1,2 @@ +const columnList = [{"clearable":true,"maxlength":null,"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":false,"tableName":"yq_measure_apply_log","renderKey":1722588504781,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":12},"readonly":false,"prop":"applyName","showWordLimit":false,"width":0,"__vModel__":"applyName","showPassword":false,"fixed":"none","style":{"width":"100%"},"disabled":false,"id":"applyName","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"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":false,"tableName":"yq_measure_apply_log","renderKey":1722589177166,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[{"pattern":"/^[1-9]\\d{5}(18|19|([23]\\d))\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$/","message":"请输入正确的身份证号码"}],"span":12},"readonly":false,"prop":"apply","showWordLimit":false,"width":0,"__vModel__":"apply","showPassword":false,"fixed":"none","style":{"width":"100%"},"disabled":false,"id":"apply","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"jnpfKey":"input","suffixIcon":"","fullName":"商户","label":"商户","sortable":false,"align":"left","addonAfter":"","__config__":{"formId":104,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"商户","trigger":"blur","showLabel":true,"required":false,"tableName":"yq_measure_apply_log","renderKey":1722589351592,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":12},"readonly":false,"prop":"merchantName","showWordLimit":false,"width":0,"__vModel__":"merchantName","showPassword":false,"fixed":"none","style":{"width":"100%"},"disabled":false,"id":"merchantName","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"filterable":false,"clearable":true,"jnpfKey":"select","multiple":false,"fullName":"货物类型","label":"货物类型","sortable":false,"align":"left","props":{"label":"fullName","value":"id"},"__config__":{"formId":105,"visibility":["pc","app"],"jnpfKey":"select","defaultValue":"","noShow":false,"dataType":"static","dictionaryType":"","tipLabel":"","dragDisabled":false,"className":[],"label":"货物类型","trigger":"change","propsUrl":"","templateJson":[],"showLabel":true,"required":false,"tableName":"yq_measure_apply_log","renderKey":1722589368643,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-select","propsName":"","tag":"JnpfSelect","regList":[],"span":12},"prop":"cargoType","width":0,"options":[{"fullName":"货物1","id":"10"},{"fullName":"货物2","id":"20"}],"__vModel__":"cargoType","fixed":"none","style":{"width":"100%"},"disabled":false,"interfaceHasPage":false,"id":"cargoType","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}}] +export default columnList \ No newline at end of file diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/measureapplylog/form.vue b/jnpf-java-boot/jnpf-web/src/views/scm/measureapplylog/form.vue new file mode 100644 index 0000000..6e94884 --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/measureapplylog/form.vue @@ -0,0 +1,473 @@ + + + diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/measureapplylog/index.vue b/jnpf-java-boot/jnpf-web/src/views/scm/measureapplylog/index.vue new file mode 100644 index 0000000..8258a7e --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/measureapplylog/index.vue @@ -0,0 +1,508 @@ + + + diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/measureapplylog/superQueryJson.js b/jnpf-java-boot/jnpf-web/src/views/scm/measureapplylog/superQueryJson.js new file mode 100644 index 0000000..e6b5adc --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/measureapplylog/superQueryJson.js @@ -0,0 +1,2 @@ +const superQueryJson = [{"clearable":true,"maxlength":null,"suffixIcon":"","fullName":"姓名","addonAfter":"","__config__":{"formId":101,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"姓名","trigger":"blur","showLabel":true,"required":false,"tableName":"yq_measure_apply_log","renderKey":1722588504781,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":12},"readonly":false,"showWordLimit":false,"__vModel__":"applyName","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"applyName","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"suffixIcon":"","fullName":"身份证号","addonAfter":"","__config__":{"formId":102,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"身份证号","trigger":"blur","showLabel":true,"required":false,"tableName":"yq_measure_apply_log","renderKey":1722589177166,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[{"pattern":"/^[1-9]\\d{5}(18|19|([23]\\d))\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$/","message":"请输入正确的身份证号码"}],"span":12},"readonly":false,"showWordLimit":false,"__vModel__":"apply","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"apply","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"suffixIcon":"","fullName":"商户","addonAfter":"","__config__":{"formId":104,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"商户","trigger":"blur","showLabel":true,"required":false,"tableName":"yq_measure_apply_log","renderKey":1722589351592,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":12},"readonly":false,"showWordLimit":false,"__vModel__":"merchantName","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"merchantName","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"filterable":false,"clearable":true,"multiple":false,"fullName":"货物类型","props":{"label":"fullName","value":"id"},"__config__":{"formId":105,"visibility":["pc","app"],"jnpfKey":"select","defaultValue":"","noShow":false,"dataType":"static","dictionaryType":"","tipLabel":"","dragDisabled":false,"className":[],"label":"货物类型","trigger":"change","propsUrl":"","templateJson":[],"showLabel":true,"required":false,"tableName":"yq_measure_apply_log","renderKey":1722589368643,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-select","propsName":"","tag":"JnpfSelect","regList":[],"span":12},"options":[{"fullName":"货物1","id":"10"},{"fullName":"货物2","id":"20"}],"__vModel__":"cargoType","style":{"width":"100%"},"disabled":false,"interfaceHasPage":false,"id":"cargoType","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}}] +export default superQueryJson \ No newline at end of file diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/measurelog/Detail.vue b/jnpf-java-boot/jnpf-web/src/views/scm/measurelog/Detail.vue new file mode 100644 index 0000000..eb619a5 --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/measurelog/Detail.vue @@ -0,0 +1,114 @@ + + diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/measurelog/columnList.js b/jnpf-java-boot/jnpf-web/src/views/scm/measurelog/columnList.js new file mode 100644 index 0000000..5670066 --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/measurelog/columnList.js @@ -0,0 +1,2 @@ +const columnList = [{"clearable":true,"maxlength":null,"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":false,"tableName":"yq_measure_log","renderKey":1722591373747,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":12},"readonly":false,"prop":"documentNo","showWordLimit":false,"width":0,"__vModel__":"documentNo","showPassword":false,"fixed":"none","style":{"width":"100%"},"disabled":false,"id":"documentNo","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"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":false,"tableName":"yq_measure_log","renderKey":1722591412451,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":12},"readonly":false,"prop":"siteCode","showWordLimit":false,"width":0,"__vModel__":"siteCode","showPassword":false,"fixed":"none","style":{"width":"100%"},"disabled":false,"id":"siteCode","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"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":false,"tableName":"yq_measure_log","renderKey":1722591420011,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":12},"readonly":false,"prop":"siteName","showWordLimit":false,"width":0,"__vModel__":"siteName","showPassword":false,"fixed":"none","style":{"width":"100%"},"disabled":false,"id":"siteName","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"jnpfKey":"input","suffixIcon":"","fullName":"申请单号","label":"申请单号","sortable":false,"align":"left","addonAfter":"","__config__":{"formId":104,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"申请单号","trigger":"blur","showLabel":true,"required":false,"tableName":"yq_measure_log","renderKey":1722591423984,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":12},"readonly":false,"prop":"applyNo","showWordLimit":false,"width":0,"__vModel__":"applyNo","showPassword":false,"fixed":"none","style":{"width":"100%"},"disabled":false,"id":"applyNo","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}}] +export default columnList \ No newline at end of file diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/measurelog/form.vue b/jnpf-java-boot/jnpf-web/src/views/scm/measurelog/form.vue new file mode 100644 index 0000000..51302ae --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/measurelog/form.vue @@ -0,0 +1,444 @@ + + + diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/measurelog/index.vue b/jnpf-java-boot/jnpf-web/src/views/scm/measurelog/index.vue new file mode 100644 index 0000000..888f7cd --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/measurelog/index.vue @@ -0,0 +1,486 @@ + + + diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/measurelog/superQueryJson.js b/jnpf-java-boot/jnpf-web/src/views/scm/measurelog/superQueryJson.js new file mode 100644 index 0000000..d8c9e28 --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/measurelog/superQueryJson.js @@ -0,0 +1,2 @@ +const superQueryJson = [{"clearable":true,"maxlength":null,"suffixIcon":"","fullName":"流水号","addonAfter":"","__config__":{"formId":101,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"流水号","trigger":"blur","showLabel":true,"required":false,"tableName":"yq_measure_log","renderKey":1722591373747,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":12},"readonly":false,"showWordLimit":false,"__vModel__":"documentNo","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"documentNo","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"suffixIcon":"","fullName":"站点编码","addonAfter":"","__config__":{"formId":102,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"站点编码","trigger":"blur","showLabel":true,"required":false,"tableName":"yq_measure_log","renderKey":1722591412451,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":12},"readonly":false,"showWordLimit":false,"__vModel__":"siteCode","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"siteCode","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"suffixIcon":"","fullName":"站点名称","addonAfter":"","__config__":{"formId":103,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"站点名称","trigger":"blur","showLabel":true,"required":false,"tableName":"yq_measure_log","renderKey":1722591420011,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":12},"readonly":false,"showWordLimit":false,"__vModel__":"siteName","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"siteName","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"suffixIcon":"","fullName":"申请单号","addonAfter":"","__config__":{"formId":104,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"申请单号","trigger":"blur","showLabel":true,"required":false,"tableName":"yq_measure_log","renderKey":1722591423984,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":12},"readonly":false,"showWordLimit":false,"__vModel__":"applyNo","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"applyNo","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}}] +export default superQueryJson \ No newline at end of file diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/measurepound/Detail.vue b/jnpf-java-boot/jnpf-web/src/views/scm/measurepound/Detail.vue new file mode 100644 index 0000000..a8d502a --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/measurepound/Detail.vue @@ -0,0 +1,190 @@ + + diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/measurepound/columnList.js b/jnpf-java-boot/jnpf-web/src/views/scm/measurepound/columnList.js new file mode 100644 index 0000000..97c17da --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/measurepound/columnList.js @@ -0,0 +1,2 @@ +const columnList = [{"clearable":true,"maxlength":null,"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":false,"tableName":"yq_measure_pound","renderKey":1722584825830,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":8},"readonly":false,"prop":"poundNo","showWordLimit":false,"width":0,"__vModel__":"poundNo","showPassword":false,"fixed":"none","style":{"width":"100%"},"disabled":false,"id":"poundNo","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"filterable":false,"clearable":true,"jnpfKey":"select","multiple":false,"fullName":"磅单状态","label":"磅单状态","sortable":false,"align":"left","props":{"label":"fullName","value":"id"},"__config__":{"formId":102,"visibility":["pc","app"],"jnpfKey":"select","defaultValue":"","noShow":false,"dataType":"static","dictionaryType":"","tipLabel":"","dragDisabled":false,"className":[],"label":"磅单状态","trigger":"change","propsUrl":"","templateJson":[],"showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722584842075,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-select","propsName":"","tag":"JnpfSelect","regList":[],"span":8},"prop":"status","width":0,"options":[{"fullName":"已确认","id":"1"},{"fullName":"未确认","id":"2"}],"__vModel__":"status","fixed":"none","style":{"width":"100%"},"disabled":false,"interfaceHasPage":false,"id":"status","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"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":false,"tableName":"yq_measure_pound","renderKey":1722584881831,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":8},"readonly":false,"prop":"applyNo","showWordLimit":false,"width":0,"__vModel__":"applyNo","showPassword":false,"fixed":"none","style":{"width":"100%"},"disabled":false,"id":"applyNo","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"jnpfKey":"input","suffixIcon":"","fullName":"商户名称","label":"商户名称","sortable":false,"align":"left","addonAfter":"","__config__":{"formId":104,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"商户名称","trigger":"blur","showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722584889887,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":8},"readonly":false,"prop":"merchantName","showWordLimit":false,"width":0,"__vModel__":"merchantName","showPassword":false,"fixed":"none","style":{"width":"100%"},"disabled":false,"id":"merchantName","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"filterable":false,"clearable":true,"jnpfKey":"select","multiple":false,"fullName":"磅单类型","label":"磅单类型","sortable":false,"align":"left","props":{"label":"fullName","value":"id"},"__config__":{"formId":105,"visibility":["pc","app"],"jnpfKey":"select","defaultValue":"","noShow":false,"dataType":"static","dictionaryType":"","tipLabel":"","dragDisabled":false,"className":[],"label":"磅单类型","trigger":"change","propsUrl":"","templateJson":[],"showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722584897087,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-select","propsName":"","tag":"JnpfSelect","regList":[],"span":8},"prop":"poundType","width":0,"options":[{"fullName":"进货","id":"1"},{"fullName":"出货","id":"2"}],"__vModel__":"poundType","fixed":"none","style":{"width":"100%"},"disabled":false,"interfaceHasPage":false,"id":"poundType","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"jnpfKey":"input","suffixIcon":"","fullName":"车牌号","label":"车牌号","sortable":false,"align":"left","addonAfter":"","__config__":{"formId":106,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"车牌号","trigger":"blur","showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722584918406,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":8},"readonly":false,"prop":"vehicle","showWordLimit":false,"width":0,"__vModel__":"vehicle","showPassword":false,"fixed":"none","style":{"width":"100%"},"disabled":false,"id":"vehicle","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"filterable":false,"clearable":true,"jnpfKey":"select","multiple":false,"fullName":"货物类型","label":"货物类型","sortable":false,"align":"left","props":{"label":"fullName","value":"id"},"__config__":{"formId":107,"visibility":["pc","app"],"jnpfKey":"select","defaultValue":"","noShow":false,"dataType":"static","dictionaryType":"","tipLabel":"","dragDisabled":false,"className":[],"label":"货物类型","trigger":"change","propsUrl":"","templateJson":[],"showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722584944948,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-select","propsName":"","tag":"JnpfSelect","regList":[],"span":8},"prop":"cargoType","width":0,"options":[{"fullName":"成品","id":"1"},{"fullName":"半成品","id":"2"}],"__vModel__":"cargoType","fixed":"none","style":{"width":"100%"},"disabled":false,"interfaceHasPage":false,"id":"cargoType","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"step-strictly":false,"controls":false,"jnpfKey":"inputNumber","fullName":"毛重","label":"毛重","sortable":false,"align":"left","thousands":false,"isAmountChinese":false,"addonAfter":null,"__config__":{"formId":108,"visibility":["pc","app"],"jnpfKey":"inputNumber","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"毛重","trigger":["blur","change"],"showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722585033481,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-number","tag":"JnpfInputNumber","regList":[],"span":8},"prop":"grossWeight","width":0,"__vModel__":"grossWeight","fixed":"none","style":{"width":null},"step":1,"disabled":false,"id":"grossWeight","placeholder":"数字文本","controlsPosition":"","addonBefore":null,"on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"step-strictly":false,"controls":false,"jnpfKey":"inputNumber","fullName":"皮重","label":"皮重","sortable":false,"align":"left","thousands":false,"isAmountChinese":false,"addonAfter":null,"__config__":{"formId":109,"visibility":["pc","app"],"jnpfKey":"inputNumber","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"皮重","trigger":["blur","change"],"showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722585044136,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-number","tag":"JnpfInputNumber","regList":[],"span":8},"prop":"tareWeight","width":0,"__vModel__":"tareWeight","fixed":"none","style":{"width":null},"step":1,"disabled":false,"id":"tareWeight","placeholder":"数字文本","controlsPosition":"","addonBefore":null,"on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"step-strictly":false,"controls":false,"jnpfKey":"inputNumber","fullName":"净重","label":"净重","sortable":false,"align":"left","thousands":false,"isAmountChinese":false,"addonAfter":null,"__config__":{"formId":110,"visibility":["pc","app"],"jnpfKey":"inputNumber","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"净重","trigger":["blur","change"],"showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722585044626,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-number","tag":"JnpfInputNumber","regList":[],"span":8},"prop":"netWeight","width":0,"__vModel__":"netWeight","fixed":"none","style":{"width":null},"step":1,"disabled":false,"id":"netWeight","placeholder":"数字文本","controlsPosition":"","addonBefore":null,"on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"jnpfKey":"datePicker","format":"yyyy-MM-dd HH:mm:ss","fullName":"磅单时间","label":"磅单时间","sortable":false,"align":"left","type":"datetime","__config__":{"endRelationField":"","defaultValue":null,"dragDisabled":false,"className":[],"showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722585067980,"tagIcon":"icon-ym icon-ym-generator-date","startRelationField":"","defaultCurrent":true,"tag":"JnpfDatePicker","formId":112,"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":"poundDate","width":0,"__vModel__":"poundDate","fixed":"none","style":{"width":"100%"},"disabled":false,"startTime":null,"id":"poundDate","placeholder":"请选择","endTime":null,"on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"jnpfKey":"input","suffixIcon":"","fullName":"确认人","label":"确认人","sortable":false,"align":"left","addonAfter":"","__config__":{"formId":113,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"确认人","trigger":"blur","showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722585095472,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":8},"readonly":false,"prop":"confirmer","showWordLimit":false,"width":0,"__vModel__":"confirmer","showPassword":false,"fixed":"none","style":{"width":"100%"},"disabled":false,"id":"confirmer","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"jnpfKey":"datePicker","format":"yyyy-MM-dd HH:mm:ss","fullName":"确认时间","label":"确认时间","sortable":false,"align":"left","type":"datetime","__config__":{"endRelationField":"","defaultValue":"","dragDisabled":false,"className":[],"showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722585101376,"tagIcon":"icon-ym icon-ym-generator-date","startRelationField":"","defaultCurrent":true,"tag":"JnpfDatePicker","formId":114,"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":"confirmDate","width":0,"__vModel__":"confirmDate","fixed":"none","style":{"width":"100%"},"disabled":false,"startTime":null,"id":"confirmDate","placeholder":"请选择","endTime":null,"on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}}] +export default columnList \ No newline at end of file diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/measurepound/form.vue b/jnpf-java-boot/jnpf-web/src/views/scm/measurepound/form.vue new file mode 100644 index 0000000..e5ffb11 --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/measurepound/form.vue @@ -0,0 +1,616 @@ + + + diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/measurepound/index.vue b/jnpf-java-boot/jnpf-web/src/views/scm/measurepound/index.vue new file mode 100644 index 0000000..3be382d --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/measurepound/index.vue @@ -0,0 +1,616 @@ + + + diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/measurepound/superQueryJson.js b/jnpf-java-boot/jnpf-web/src/views/scm/measurepound/superQueryJson.js new file mode 100644 index 0000000..5e1d627 --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/measurepound/superQueryJson.js @@ -0,0 +1,2 @@ +const superQueryJson = [{"clearable":true,"maxlength":null,"suffixIcon":"","fullName":"磅单号","addonAfter":"","__config__":{"formId":101,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"磅单号","trigger":"blur","showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722584825830,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":8},"readonly":false,"showWordLimit":false,"__vModel__":"poundNo","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"poundNo","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"filterable":false,"clearable":true,"multiple":false,"fullName":"磅单状态","props":{"label":"fullName","value":"id"},"__config__":{"formId":102,"visibility":["pc","app"],"jnpfKey":"select","defaultValue":"","noShow":false,"dataType":"static","dictionaryType":"","tipLabel":"","dragDisabled":false,"className":[],"label":"磅单状态","trigger":"change","propsUrl":"","templateJson":[],"showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722584842075,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-select","propsName":"","tag":"JnpfSelect","regList":[],"span":8},"options":[{"fullName":"已确认","id":"1"},{"fullName":"未确认","id":"2"}],"__vModel__":"status","style":{"width":"100%"},"disabled":false,"interfaceHasPage":false,"id":"status","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"suffixIcon":"","fullName":"申请单号","addonAfter":"","__config__":{"formId":103,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"申请单号","trigger":"blur","showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722584881831,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":8},"readonly":false,"showWordLimit":false,"__vModel__":"applyNo","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"applyNo","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"suffixIcon":"","fullName":"商户名称","addonAfter":"","__config__":{"formId":104,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"商户名称","trigger":"blur","showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722584889887,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":8},"readonly":false,"showWordLimit":false,"__vModel__":"merchantName","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"merchantName","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"filterable":false,"clearable":true,"multiple":false,"fullName":"磅单类型","props":{"label":"fullName","value":"id"},"__config__":{"formId":105,"visibility":["pc","app"],"jnpfKey":"select","defaultValue":"","noShow":false,"dataType":"static","dictionaryType":"","tipLabel":"","dragDisabled":false,"className":[],"label":"磅单类型","trigger":"change","propsUrl":"","templateJson":[],"showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722584897087,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-select","propsName":"","tag":"JnpfSelect","regList":[],"span":8},"options":[{"fullName":"进货","id":"1"},{"fullName":"出货","id":"2"}],"__vModel__":"poundType","style":{"width":"100%"},"disabled":false,"interfaceHasPage":false,"id":"poundType","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"suffixIcon":"","fullName":"车牌号","addonAfter":"","__config__":{"formId":106,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"车牌号","trigger":"blur","showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722584918406,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":8},"readonly":false,"showWordLimit":false,"__vModel__":"vehicle","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"vehicle","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"filterable":false,"clearable":true,"multiple":false,"fullName":"货物类型","props":{"label":"fullName","value":"id"},"__config__":{"formId":107,"visibility":["pc","app"],"jnpfKey":"select","defaultValue":"","noShow":false,"dataType":"static","dictionaryType":"","tipLabel":"","dragDisabled":false,"className":[],"label":"货物类型","trigger":"change","propsUrl":"","templateJson":[],"showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722584944948,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-select","propsName":"","tag":"JnpfSelect","regList":[],"span":8},"options":[{"fullName":"成品","id":"1"},{"fullName":"半成品","id":"2"}],"__vModel__":"cargoType","style":{"width":"100%"},"disabled":false,"interfaceHasPage":false,"id":"cargoType","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"step-strictly":false,"controls":false,"fullName":"毛重","thousands":false,"isAmountChinese":false,"addonAfter":null,"__config__":{"formId":108,"visibility":["pc","app"],"jnpfKey":"inputNumber","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"毛重","trigger":["blur","change"],"showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722585033481,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-number","tag":"JnpfInputNumber","regList":[],"span":8},"__vModel__":"grossWeight","style":{"width":null},"step":1,"disabled":false,"id":"grossWeight","placeholder":"数字文本","controlsPosition":"","addonBefore":null,"on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"step-strictly":false,"controls":false,"fullName":"皮重","thousands":false,"isAmountChinese":false,"addonAfter":null,"__config__":{"formId":109,"visibility":["pc","app"],"jnpfKey":"inputNumber","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"皮重","trigger":["blur","change"],"showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722585044136,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-number","tag":"JnpfInputNumber","regList":[],"span":8},"__vModel__":"tareWeight","style":{"width":null},"step":1,"disabled":false,"id":"tareWeight","placeholder":"数字文本","controlsPosition":"","addonBefore":null,"on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"step-strictly":false,"controls":false,"fullName":"净重","thousands":false,"isAmountChinese":false,"addonAfter":null,"__config__":{"formId":110,"visibility":["pc","app"],"jnpfKey":"inputNumber","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"净重","trigger":["blur","change"],"showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722585044626,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-number","tag":"JnpfInputNumber","regList":[],"span":8},"__vModel__":"netWeight","style":{"width":null},"step":1,"disabled":false,"id":"netWeight","placeholder":"数字文本","controlsPosition":"","addonBefore":null,"on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"format":"yyyy-MM-dd HH:mm:ss","fullName":"磅单时间","type":"datetime","__config__":{"endRelationField":"","defaultValue":null,"dragDisabled":false,"className":[],"showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722585067980,"tagIcon":"icon-ym icon-ym-generator-date","startRelationField":"","defaultCurrent":true,"tag":"JnpfDatePicker","formId":112,"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__":"poundDate","style":{"width":"100%"},"disabled":false,"startTime":null,"id":"poundDate","placeholder":"请选择","endTime":null,"on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"suffixIcon":"","fullName":"确认人","addonAfter":"","__config__":{"formId":113,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"确认人","trigger":"blur","showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722585095472,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":8},"readonly":false,"showWordLimit":false,"__vModel__":"confirmer","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"confirmer","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"format":"yyyy-MM-dd HH:mm:ss","fullName":"确认时间","type":"datetime","__config__":{"endRelationField":"","defaultValue":"","dragDisabled":false,"className":[],"showLabel":true,"required":false,"tableName":"yq_measure_pound","renderKey":1722585101376,"tagIcon":"icon-ym icon-ym-generator-date","startRelationField":"","defaultCurrent":true,"tag":"JnpfDatePicker","formId":114,"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__":"confirmDate","style":{"width":"100%"},"disabled":false,"startTime":null,"id":"confirmDate","placeholder":"请选择","endTime":null,"on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}}] +export default superQueryJson \ No newline at end of file diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/measuresiteconfig/index.vue b/jnpf-java-boot/jnpf-web/src/views/scm/measuresiteconfig/index.vue index 12ee67a..75ec073 100644 --- a/jnpf-java-boot/jnpf-web/src/views/scm/measuresiteconfig/index.vue +++ b/jnpf-java-boot/jnpf-web/src/views/scm/measuresiteconfig/index.vue @@ -38,7 +38,7 @@ 导出 @@ -204,7 +204,7 @@ export default { isLeaf: "isLeaf" }, list: [], - listLoading: true, + listLoading: false, multipleSelection: [], total: 0, queryData: {}, @@ -400,7 +400,7 @@ export default { }, async initSearchDataAndListData() { await this.initSearchData(); - this.initData(); + // this.initData(); }, //初始化查询的默认数据 async initSearchData() {},