diff --git a/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/WarehousingInspectionConclusionMapper.xml b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/WarehousingInspectionConclusionMapper.xml new file mode 100644 index 00000000..c58af984 --- /dev/null +++ b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/WarehousingInspectionConclusionMapper.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/WarehousingInspectionMapper.xml b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/WarehousingInspectionMapper.xml new file mode 100644 index 00000000..2285c330 --- /dev/null +++ b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/WarehousingInspectionMapper.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/WarehousingInspectionProductMapper.xml b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/WarehousingInspectionProductMapper.xml new file mode 100644 index 00000000..25dbc933 --- /dev/null +++ b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/WarehousingInspectionProductMapper.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/WarehousingInspectionVoucherMapper.xml b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/WarehousingInspectionVoucherMapper.xml new file mode 100644 index 00000000..a8826d5d --- /dev/null +++ b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/WarehousingInspectionVoucherMapper.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/WarehousingInspectionConclusionMapper.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/WarehousingInspectionConclusionMapper.java new file mode 100644 index 00000000..6f95837b --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/WarehousingInspectionConclusionMapper.java @@ -0,0 +1,16 @@ +package jnpf.mapper; + + +import jnpf.entity.WarehousingInspectionConclusionEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * warehousingInspection + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-02-23 + */ +public interface WarehousingInspectionConclusionMapper extends BaseMapper { + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/WarehousingInspectionMapper.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/WarehousingInspectionMapper.java new file mode 100644 index 00000000..3379f617 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/WarehousingInspectionMapper.java @@ -0,0 +1,16 @@ +package jnpf.mapper; + + +import jnpf.entity.WarehousingInspectionEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * warehousingInspection + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-02-23 + */ +public interface WarehousingInspectionMapper extends BaseMapper { + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/WarehousingInspectionProductMapper.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/WarehousingInspectionProductMapper.java new file mode 100644 index 00000000..59886752 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/WarehousingInspectionProductMapper.java @@ -0,0 +1,16 @@ +package jnpf.mapper; + + +import jnpf.entity.WarehousingInspectionProductEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * warehousingInspection + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-02-23 + */ +public interface WarehousingInspectionProductMapper extends BaseMapper { + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/WarehousingInspectionVoucherMapper.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/WarehousingInspectionVoucherMapper.java new file mode 100644 index 00000000..c48001d5 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/WarehousingInspectionVoucherMapper.java @@ -0,0 +1,16 @@ +package jnpf.mapper; + + +import jnpf.entity.WarehousingInspectionVoucherEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * warehousingInspection + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-02-23 + */ +public interface WarehousingInspectionVoucherMapper extends BaseMapper { + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/WarehousingInspectionConclusionService.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/WarehousingInspectionConclusionService.java new file mode 100644 index 00000000..d5012856 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/WarehousingInspectionConclusionService.java @@ -0,0 +1,18 @@ +package jnpf.service; + +import jnpf.model.warehousinginspection.*; +import jnpf.entity.*; +import java.util.*; +import com.baomidou.mybatisplus.extension.service.IService; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; + +/** + * warehousingInspection + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-02-23 + */ +public interface WarehousingInspectionConclusionService extends IService { + QueryWrapper getChild(WarehousingInspectionPagination pagination,QueryWrapper warehousingInspectionConclusionQueryWrapper); +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/WarehousingInspectionProductService.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/WarehousingInspectionProductService.java new file mode 100644 index 00000000..4a3888ce --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/WarehousingInspectionProductService.java @@ -0,0 +1,18 @@ +package jnpf.service; + +import jnpf.model.warehousinginspection.*; +import jnpf.entity.*; +import java.util.*; +import com.baomidou.mybatisplus.extension.service.IService; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; + +/** + * warehousingInspection + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-02-23 + */ +public interface WarehousingInspectionProductService extends IService { + QueryWrapper getChild(WarehousingInspectionPagination pagination,QueryWrapper warehousingInspectionProductQueryWrapper); +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/WarehousingInspectionService.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/WarehousingInspectionService.java new file mode 100644 index 00000000..9bff315e --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/WarehousingInspectionService.java @@ -0,0 +1,47 @@ +package jnpf.service; + +import jnpf.model.warehousinginspection.*; +import jnpf.entity.*; +import java.util.*; +import com.baomidou.mybatisplus.extension.service.IService; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; + +/** + * warehousingInspection + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-02-23 + */ +public interface WarehousingInspectionService extends IService { + List getList(WarehousingInspectionPagination warehousingInspectionPagination); + + List getTypeList(WarehousingInspectionPagination warehousingInspectionPagination,String dataType); + + WarehousingInspectionEntity getInfo(String id); + + void delete(WarehousingInspectionEntity entity); + + void create(WarehousingInspectionEntity entity); + + boolean update(String id, WarehousingInspectionEntity entity); + + //子表方法 + List getWarehousingInspectionVoucherList(String id,WarehousingInspectionPagination warehousingInspectionPagination); + + List getWarehousingInspectionVoucherList(String id); + + List getWarehousingInspectionProductList(String id,WarehousingInspectionPagination warehousingInspectionPagination); + + List getWarehousingInspectionProductList(String id); + + List getWarehousingInspectionConclusionList(String id,WarehousingInspectionPagination warehousingInspectionPagination); + + List getWarehousingInspectionConclusionList(String id); + + //副表数据方法 + String checkForm(WarehousingInspectionForm form,int i); + + void saveOrUpdate(WarehousingInspectionForm warehousingInspectionForm,String id, boolean isSave) throws Exception; + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/WarehousingInspectionVoucherService.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/WarehousingInspectionVoucherService.java new file mode 100644 index 00000000..3df8c9b6 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/WarehousingInspectionVoucherService.java @@ -0,0 +1,18 @@ +package jnpf.service; + +import jnpf.model.warehousinginspection.*; +import jnpf.entity.*; +import java.util.*; +import com.baomidou.mybatisplus.extension.service.IService; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; + +/** + * warehousingInspection + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-02-23 + */ +public interface WarehousingInspectionVoucherService extends IService { + QueryWrapper getChild(WarehousingInspectionPagination pagination,QueryWrapper warehousingInspectionVoucherQueryWrapper); +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/WarehousingInspectionConclusionServiceImpl.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/WarehousingInspectionConclusionServiceImpl.java new file mode 100644 index 00000000..8c336ad5 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/WarehousingInspectionConclusionServiceImpl.java @@ -0,0 +1,59 @@ +package jnpf.service.impl; + +import jnpf.entity.*; +import jnpf.mapper.WarehousingInspectionConclusionMapper; +import jnpf.service.*; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import jnpf.model.warehousinginspection.*; +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 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; +/** + * + * warehousingInspection + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-02-23 + */ +@Service +public class WarehousingInspectionConclusionServiceImpl extends ServiceImpl implements WarehousingInspectionConclusionService{ + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + //子表过滤方法 + @Override + public QueryWrapper getChild(WarehousingInspectionPagination pagination, QueryWrapper warehousingInspectionConclusionQueryWrapper){ + boolean pcPermission = true; + boolean appPermission = false; + boolean isPc = ServletUtil.getHeader("jnpf-origin").equals("pc"); + String ruleQueryJson = isPc?WarehousingInspectionConstant.getColumnData():WarehousingInspectionConstant.getAppColumnData(); + ColumnDataModel dataModel = JsonUtil.getJsonToBean(ruleQueryJson,ColumnDataModel.class); + String ruleJson = isPc?JsonUtil.getObjectToString(dataModel.getRuleList()):JsonUtil.getObjectToString(dataModel.getRuleListApp()); + if(isPc){ + } + return warehousingInspectionConclusionQueryWrapper; + } +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/WarehousingInspectionProductServiceImpl.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/WarehousingInspectionProductServiceImpl.java new file mode 100644 index 00000000..ef154282 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/WarehousingInspectionProductServiceImpl.java @@ -0,0 +1,59 @@ +package jnpf.service.impl; + +import jnpf.entity.*; +import jnpf.mapper.WarehousingInspectionProductMapper; +import jnpf.service.*; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import jnpf.model.warehousinginspection.*; +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 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; +/** + * + * warehousingInspection + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-02-23 + */ +@Service +public class WarehousingInspectionProductServiceImpl extends ServiceImpl implements WarehousingInspectionProductService{ + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + //子表过滤方法 + @Override + public QueryWrapper getChild(WarehousingInspectionPagination pagination, QueryWrapper warehousingInspectionProductQueryWrapper){ + boolean pcPermission = true; + boolean appPermission = false; + boolean isPc = ServletUtil.getHeader("jnpf-origin").equals("pc"); + String ruleQueryJson = isPc?WarehousingInspectionConstant.getColumnData():WarehousingInspectionConstant.getAppColumnData(); + ColumnDataModel dataModel = JsonUtil.getJsonToBean(ruleQueryJson,ColumnDataModel.class); + String ruleJson = isPc?JsonUtil.getObjectToString(dataModel.getRuleList()):JsonUtil.getObjectToString(dataModel.getRuleListApp()); + if(isPc){ + } + return warehousingInspectionProductQueryWrapper; + } +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/WarehousingInspectionServiceImpl.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/WarehousingInspectionServiceImpl.java new file mode 100644 index 00000000..9aec59c1 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/WarehousingInspectionServiceImpl.java @@ -0,0 +1,637 @@ +package jnpf.service.impl; + +import jnpf.entity.*; +import jnpf.mapper.WarehousingInspectionMapper; +import jnpf.service.*; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import jnpf.model.warehousinginspection.*; +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; +/** + * + * warehousingInspection + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-02-23 + */ +@Service +public class WarehousingInspectionServiceImpl extends ServiceImpl implements WarehousingInspectionService{ + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + @Autowired + private WarehousingInspectionVoucherService warehousingInspectionVoucherService; + @Autowired + private WarehousingInspectionProductService warehousingInspectionProductService; + @Autowired + private WarehousingInspectionConclusionService warehousingInspectionConclusionService; + @Override + public List getList(WarehousingInspectionPagination warehousingInspectionPagination){ + return getTypeList(warehousingInspectionPagination,warehousingInspectionPagination.getDataType()); + } + /** 列表查询 */ + @Override + public List getTypeList(WarehousingInspectionPagination warehousingInspectionPagination,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 ? WarehousingInspectionConstant.getAppColumnData() : WarehousingInspectionConstant.getColumnData(); + ColumnDataModel columnDataModel = JsonUtil.getJsonToBean(columnData, ColumnDataModel.class); + String ruleJson = !isPc ? JsonUtil.getObjectToString(columnDataModel.getRuleListApp()) : JsonUtil.getObjectToString(columnDataModel.getRuleList()); + + int total=0; + int warehousingInspectionNum =0; + QueryWrapper warehousingInspectionQueryWrapper=new QueryWrapper<>(); + int warehousingInspectionConclusionNum =0; + QueryWrapper warehousingInspectionConclusionQueryWrapper=new QueryWrapper<>(); + int warehousingInspectionProductNum =0; + QueryWrapper warehousingInspectionProductQueryWrapper=new QueryWrapper<>(); + int warehousingInspectionVoucherNum =0; + QueryWrapper warehousingInspectionVoucherQueryWrapper=new QueryWrapper<>(); + long warehousingInspectionConclusioncount = warehousingInspectionConclusionService.count(); + long warehousingInspectionProductcount = warehousingInspectionProductService.count(); + long warehousingInspectionVouchercount = warehousingInspectionVoucherService.count(); + List allSuperIDlist = new ArrayList<>(); + String superOp =""; + if (ObjectUtil.isNotEmpty(warehousingInspectionPagination.getSuperQueryJson())){ + List allSuperList = new ArrayList<>(); + List> intersectionSuperList = new ArrayList<>(); + String queryJson = warehousingInspectionPagination.getSuperQueryJson(); + SuperJsonModel superJsonModel = JsonUtil.getJsonToBean(queryJson, SuperJsonModel.class); + int superNum = 0; + QueryWrapper warehousingInspectionSuperWrapper = new QueryWrapper<>(); + warehousingInspectionSuperWrapper = generaterSwapUtil.getCondition(new QueryModel(warehousingInspectionSuperWrapper,WarehousingInspectionEntity.class,queryJson,"0")); + int warehousingInspectionNum1 = warehousingInspectionSuperWrapper.getExpression().getNormal().size(); + if (warehousingInspectionNum1>0){ + List warehousingInspectionList =this.list(warehousingInspectionSuperWrapper).stream().map(WarehousingInspectionEntity::getId).collect(Collectors.toList()); + allSuperList.addAll(warehousingInspectionList); + intersectionSuperList.add(warehousingInspectionList); + superNum++; + } + String warehousingInspectionConclusionTable = "jg_warehousing_inspection_conclusion"; + boolean warehousingInspectionConclusionHasSql = queryJson.contains(warehousingInspectionConclusionTable); + List warehousingInspectionConclusionList = generaterSwapUtil.selectIdsByChildCondition(WarehousingInspectionConstant.getTableList(), warehousingInspectionConclusionTable , queryJson, null); + if (warehousingInspectionConclusionHasSql){ + allSuperList.addAll(warehousingInspectionConclusionList); + intersectionSuperList.add(warehousingInspectionConclusionList); + superNum++; + } + String warehousingInspectionProductTable = "jg_warehousing_inspection_product"; + boolean warehousingInspectionProductHasSql = queryJson.contains(warehousingInspectionProductTable); + List warehousingInspectionProductList = generaterSwapUtil.selectIdsByChildCondition(WarehousingInspectionConstant.getTableList(), warehousingInspectionProductTable , queryJson, null); + if (warehousingInspectionProductHasSql){ + allSuperList.addAll(warehousingInspectionProductList); + intersectionSuperList.add(warehousingInspectionProductList); + superNum++; + } + String warehousingInspectionVoucherTable = "jg_warehousing_inspection_voucher"; + boolean warehousingInspectionVoucherHasSql = queryJson.contains(warehousingInspectionVoucherTable); + List warehousingInspectionVoucherList = generaterSwapUtil.selectIdsByChildCondition(WarehousingInspectionConstant.getTableList(), warehousingInspectionVoucherTable , queryJson, null); + if (warehousingInspectionVoucherHasSql){ + allSuperList.addAll(warehousingInspectionVoucherList); + intersectionSuperList.add(warehousingInspectionVoucherList); + 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 warehousingInspectionSuperWrapper = new QueryWrapper<>(); + warehousingInspectionSuperWrapper = generaterSwapUtil.getCondition(new QueryModel(warehousingInspectionSuperWrapper,WarehousingInspectionEntity.class,ruleJson,"0")); + int warehousingInspectionNum1 = warehousingInspectionSuperWrapper.getExpression().getNormal().size(); + if (warehousingInspectionNum1>0){ + List warehousingInspectionList =this.list(warehousingInspectionSuperWrapper).stream().map(WarehousingInspectionEntity::getId).collect(Collectors.toList()); + allRuleList.addAll(warehousingInspectionList); + intersectionRuleList.add(warehousingInspectionList); + ruleNum++; + } + String warehousingInspectionConclusionTable = "jg_warehousing_inspection_conclusion"; + boolean warehousingInspectionConclusionHasSql = ruleJson.contains(warehousingInspectionConclusionTable); + List warehousingInspectionConclusionList = generaterSwapUtil.selectIdsByChildCondition(WarehousingInspectionConstant.getTableList(), warehousingInspectionConclusionTable , ruleJson, null); + if (warehousingInspectionConclusionHasSql){ + allRuleList.addAll(warehousingInspectionConclusionList); + intersectionRuleList.add(warehousingInspectionConclusionList); + ruleNum++; + } + String warehousingInspectionProductTable = "jg_warehousing_inspection_product"; + boolean warehousingInspectionProductHasSql = ruleJson.contains(warehousingInspectionProductTable); + List warehousingInspectionProductList = generaterSwapUtil.selectIdsByChildCondition(WarehousingInspectionConstant.getTableList(), warehousingInspectionProductTable , ruleJson, null); + if (warehousingInspectionProductHasSql){ + allRuleList.addAll(warehousingInspectionProductList); + intersectionRuleList.add(warehousingInspectionProductList); + ruleNum++; + } + String warehousingInspectionVoucherTable = "jg_warehousing_inspection_voucher"; + boolean warehousingInspectionVoucherHasSql = ruleJson.contains(warehousingInspectionVoucherTable); + List warehousingInspectionVoucherList = generaterSwapUtil.selectIdsByChildCondition(WarehousingInspectionConstant.getTableList(), warehousingInspectionVoucherTable , ruleJson, null); + if (warehousingInspectionVoucherHasSql){ + allRuleList.addAll(warehousingInspectionVoucherList); + intersectionRuleList.add(warehousingInspectionVoucherList); + ruleNum++; + } + ruleOp = ruleNum > 0 ? ruleJsonModel.getMatchLogic() : ""; + //and or + if(ruleOp.equalsIgnoreCase("and")){ + allRuleIDlist = generaterSwapUtil.getIntersection(intersectionRuleList); + }else{ + allRuleIDlist = allRuleList; + } + } + boolean pcPermission = true; + boolean appPermission = false; + if(isPc && pcPermission){ + if (!userProvider.get().getIsAdministrator()){ + Object warehousingInspectionObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(warehousingInspectionQueryWrapper,WarehousingInspectionEntity.class,warehousingInspectionPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(warehousingInspectionObj)){ + return new ArrayList<>(); + } else { + warehousingInspectionQueryWrapper = (QueryWrapper)warehousingInspectionObj; + if( warehousingInspectionQueryWrapper.getExpression().getNormal().size()>0){ + warehousingInspectionNum++; + } + } + Object warehousingInspectionConclusionObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(warehousingInspectionConclusionQueryWrapper,WarehousingInspectionConclusionEntity.class,warehousingInspectionPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(warehousingInspectionConclusionObj)){ + return new ArrayList<>(); + } else { + warehousingInspectionConclusionQueryWrapper = (QueryWrapper)warehousingInspectionConclusionObj; + if( warehousingInspectionConclusionQueryWrapper.getExpression().getNormal().size()>0){ + warehousingInspectionConclusionNum++; + } + } + Object warehousingInspectionProductObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(warehousingInspectionProductQueryWrapper,WarehousingInspectionProductEntity.class,warehousingInspectionPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(warehousingInspectionProductObj)){ + return new ArrayList<>(); + } else { + warehousingInspectionProductQueryWrapper = (QueryWrapper)warehousingInspectionProductObj; + if( warehousingInspectionProductQueryWrapper.getExpression().getNormal().size()>0){ + warehousingInspectionProductNum++; + } + } + Object warehousingInspectionVoucherObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(warehousingInspectionVoucherQueryWrapper,WarehousingInspectionVoucherEntity.class,warehousingInspectionPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(warehousingInspectionVoucherObj)){ + return new ArrayList<>(); + } else { + warehousingInspectionVoucherQueryWrapper = (QueryWrapper)warehousingInspectionVoucherObj; + if( warehousingInspectionVoucherQueryWrapper.getExpression().getNormal().size()>0){ + warehousingInspectionVoucherNum++; + } + } + } + } + if(!isPc && appPermission){ + if (!userProvider.get().getIsAdministrator()){ + Object warehousingInspectionObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(warehousingInspectionQueryWrapper,WarehousingInspectionEntity.class,warehousingInspectionPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(warehousingInspectionObj)){ + return new ArrayList<>(); + } else { + warehousingInspectionQueryWrapper = (QueryWrapper)warehousingInspectionObj; + if( warehousingInspectionQueryWrapper.getExpression().getNormal().size()>0){ + warehousingInspectionNum++; + } + } + + + Object warehousingInspectionConclusionObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(warehousingInspectionConclusionQueryWrapper,WarehousingInspectionConclusionEntity.class,warehousingInspectionPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(warehousingInspectionConclusionObj)){ + return new ArrayList<>(); + } else { + warehousingInspectionConclusionQueryWrapper = (QueryWrapper)warehousingInspectionConclusionObj; + if( warehousingInspectionConclusionQueryWrapper.getExpression().getNormal().size()>0){ + warehousingInspectionConclusionNum++; + } + } + + + Object warehousingInspectionProductObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(warehousingInspectionProductQueryWrapper,WarehousingInspectionProductEntity.class,warehousingInspectionPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(warehousingInspectionProductObj)){ + return new ArrayList<>(); + } else { + warehousingInspectionProductQueryWrapper = (QueryWrapper)warehousingInspectionProductObj; + if( warehousingInspectionProductQueryWrapper.getExpression().getNormal().size()>0){ + warehousingInspectionProductNum++; + } + } + + + Object warehousingInspectionVoucherObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(warehousingInspectionVoucherQueryWrapper,WarehousingInspectionVoucherEntity.class,warehousingInspectionPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(warehousingInspectionVoucherObj)){ + return new ArrayList<>(); + } else { + warehousingInspectionVoucherQueryWrapper = (QueryWrapper)warehousingInspectionVoucherObj; + if( warehousingInspectionVoucherQueryWrapper.getExpression().getNormal().size()>0){ + warehousingInspectionVoucherNum++; + } + } + + + } + } + if(isPc){ + if(ObjectUtil.isNotEmpty(warehousingInspectionPagination.getInspectionCode())){ + warehousingInspectionNum++; + + String value = warehousingInspectionPagination.getInspectionCode() instanceof List ? + JsonUtil.getObjectToString(warehousingInspectionPagination.getInspectionCode()) : + String.valueOf(warehousingInspectionPagination.getInspectionCode()); + warehousingInspectionQueryWrapper.lambda().like(WarehousingInspectionEntity::getInspectionCode,value); + + } + + if(ObjectUtil.isNotEmpty(warehousingInspectionPagination.getCreatorTime())){ + warehousingInspectionNum++; + + List CreatorTimeList = JsonUtil.getJsonToList(warehousingInspectionPagination.getCreatorTime(),String.class); + Long fir = Long.valueOf(String.valueOf(CreatorTimeList.get(0))); + Long sec = Long.valueOf(String.valueOf(CreatorTimeList.get(1))); + + warehousingInspectionQueryWrapper.lambda().ge(WarehousingInspectionEntity::getCreatorTime, new Date(fir)) + .le(WarehousingInspectionEntity::getCreatorTime, DateUtil.stringToDate(DateUtil.daFormatYmd(sec) + " 23:59:59")); + + + } + + if(ObjectUtil.isNotEmpty(warehousingInspectionPagination.getInspectionType())){ + warehousingInspectionNum++; + + List idList = new ArrayList<>(); + try { + String[][] inspectionType = JsonUtil.getJsonToBean(warehousingInspectionPagination.getInspectionType(),String[][].class); + for(int i=0;i0){ + idList.add(JsonUtil.getObjectToString(Arrays.asList(inspectionType[i]))); + } + } + }catch (Exception e1){ + try { + List inspectionType = JsonUtil.getJsonToList(warehousingInspectionPagination.getInspectionType(),String.class); + if(inspectionType.size()>0){ + idList.addAll(inspectionType); + } + }catch (Exception e2){ + idList.add(String.valueOf(warehousingInspectionPagination.getInspectionType())); + } + } + warehousingInspectionQueryWrapper.lambda().and(t->{ + idList.forEach(tt->{ + t.like(WarehousingInspectionEntity::getInspectionType, tt).or(); + }); + }); + + } + + if(ObjectUtil.isNotEmpty(warehousingInspectionPagination.getBelongUserId())){ + warehousingInspectionNum++; + + List idList = new ArrayList<>(); + try { + String[][] belongUserId = JsonUtil.getJsonToBean(warehousingInspectionPagination.getBelongUserId(),String[][].class); + for(int i=0;i0){ + idList.add(JsonUtil.getObjectToString(Arrays.asList(belongUserId[i]))); + } + } + }catch (Exception e1){ + try { + List belongUserId = JsonUtil.getJsonToList(warehousingInspectionPagination.getBelongUserId(),String.class); + if(belongUserId.size()>0){ + idList.addAll(belongUserId); + } + }catch (Exception e2){ + idList.add(String.valueOf(warehousingInspectionPagination.getBelongUserId())); + } + } + warehousingInspectionQueryWrapper.lambda().and(t->{ + idList.forEach(tt->{ + t.like(WarehousingInspectionEntity::getBelongUserId, tt).or(); + }); + }); + + } + + if(ObjectUtil.isNotEmpty(warehousingInspectionPagination.getInspectionTime())){ + warehousingInspectionNum++; + + List InspectionTimeList = JsonUtil.getJsonToList(warehousingInspectionPagination.getInspectionTime(),String.class); + Long fir = Long.valueOf(String.valueOf(InspectionTimeList.get(0))); + Long sec = Long.valueOf(String.valueOf(InspectionTimeList.get(1))); + + warehousingInspectionQueryWrapper.lambda().ge(WarehousingInspectionEntity::getInspectionTime, new Date(fir)) + .le(WarehousingInspectionEntity::getInspectionTime, DateUtil.stringToDate(DateUtil.daFormatYmd(sec) + " 23:59:59")); + + + } + + } + if(warehousingInspectionConclusionNum>0){ + List warehousingInspectionConclusionIdList = warehousingInspectionConclusionService.list(warehousingInspectionConclusionQueryWrapper).stream().filter(t->StringUtil.isNotEmpty(t.getInspectionId())).map(t->t.getInspectionId()).collect(Collectors.toList()); + long count = warehousingInspectionConclusionService.count(); + if (count>0){ + intersectionList.add(warehousingInspectionConclusionIdList); + } + AllIdList.addAll(warehousingInspectionConclusionIdList); + } + total+=warehousingInspectionConclusionNum; + if(warehousingInspectionProductNum>0){ + List warehousingInspectionProductIdList = warehousingInspectionProductService.list(warehousingInspectionProductQueryWrapper).stream().filter(t->StringUtil.isNotEmpty(t.getInspectionId())).map(t->t.getInspectionId()).collect(Collectors.toList()); + long count = warehousingInspectionProductService.count(); + if (count>0){ + intersectionList.add(warehousingInspectionProductIdList); + } + AllIdList.addAll(warehousingInspectionProductIdList); + } + total+=warehousingInspectionProductNum; + if(warehousingInspectionVoucherNum>0){ + List warehousingInspectionVoucherIdList = warehousingInspectionVoucherService.list(warehousingInspectionVoucherQueryWrapper).stream().filter(t->StringUtil.isNotEmpty(t.getInspectionId())).map(t->t.getInspectionId()).collect(Collectors.toList()); + long count = warehousingInspectionVoucherService.count(); + if (count>0){ + intersectionList.add(warehousingInspectionVoucherIdList); + } + AllIdList.addAll(warehousingInspectionVoucherIdList); + } + total+=warehousingInspectionVoucherNum; + List intersection = generaterSwapUtil.getIntersection(intersectionList); + if (total>0){ + if (intersection.size()==0){ + intersection.add("jnpfNullList"); + } + warehousingInspectionQueryWrapper.lambda().in(WarehousingInspectionEntity::getId, intersection); + } + //是否有高级查询 + if (StringUtil.isNotEmpty(superOp)){ + if (allSuperIDlist.size()==0){ + allSuperIDlist.add("jnpfNullList"); + } + List finalAllSuperIDlist = allSuperIDlist; + warehousingInspectionQueryWrapper.lambda().and(t->t.in(WarehousingInspectionEntity::getId, finalAllSuperIDlist)); + } + //是否有数据过滤查询 + if (StringUtil.isNotEmpty(ruleOp)){ + if (allRuleIDlist.size()==0){ + allRuleIDlist.add("jnpfNullList"); + } + List finalAllRuleIDlist = allRuleIDlist; + warehousingInspectionQueryWrapper.lambda().and(t->t.in(WarehousingInspectionEntity::getId, finalAllRuleIDlist)); + } + //假删除标志 + warehousingInspectionQueryWrapper.lambda().isNull(WarehousingInspectionEntity::getDeleteMark); + + //排序 + if(StringUtil.isEmpty(warehousingInspectionPagination.getSidx())){ + warehousingInspectionQueryWrapper.lambda().orderByDesc(WarehousingInspectionEntity::getId); + }else{ + try { + String sidx = warehousingInspectionPagination.getSidx(); + String[] strs= sidx.split("_name"); + WarehousingInspectionEntity warehousingInspectionEntity = new WarehousingInspectionEntity(); + Field declaredField = warehousingInspectionEntity.getClass().getDeclaredField(strs[0]); + declaredField.setAccessible(true); + String value = declaredField.getAnnotation(TableField.class).value(); + warehousingInspectionQueryWrapper="asc".equals(warehousingInspectionPagination.getSort().toLowerCase())?warehousingInspectionQueryWrapper.orderByAsc(value):warehousingInspectionQueryWrapper.orderByDesc(value); + } catch (NoSuchFieldException e) { + e.printStackTrace(); + } + } + + if("0".equals(dataType)){ + if((total>0 && AllIdList.size()>0) || total==0){ + Page page=new Page<>(warehousingInspectionPagination.getCurrentPage(), warehousingInspectionPagination.getPageSize()); + IPage userIPage=this.page(page, warehousingInspectionQueryWrapper); + return warehousingInspectionPagination.setData(userIPage.getRecords(),userIPage.getTotal()); + }else{ + List list = new ArrayList(); + return warehousingInspectionPagination.setData(list, list.size()); + } + }else{ + return this.list(warehousingInspectionQueryWrapper); + } + } + @Override + public WarehousingInspectionEntity getInfo(String id){ + QueryWrapper queryWrapper=new QueryWrapper<>(); + queryWrapper.lambda().eq(WarehousingInspectionEntity::getId,id); + return this.getOne(queryWrapper); + } + @Override + public void create(WarehousingInspectionEntity entity){ + this.save(entity); + } + @Override + public boolean update(String id, WarehousingInspectionEntity entity){ + return this.updateById(entity); + } + @Override + public void delete(WarehousingInspectionEntity entity){ + if(entity!=null){ + this.removeById(entity.getId()); + } + } + /** WarehousingInspectionVoucher子表方法 */ + @Override + public List getWarehousingInspectionVoucherList(String id,WarehousingInspectionPagination warehousingInspectionPagination){ + Map newtabMap=WarehousingInspectionConstant.TABLEFIELDKEY.entrySet() + .stream().collect( Collectors.toMap(e->e.getValue(),e->e.getKey())); + String tableName="warehousingInspectionVoucher"; + tableName=newtabMap.get(tableName)==null?tableName:newtabMap.get(tableName).toString(); + QueryWrapper queryWrapper = new QueryWrapper<>(); + queryWrapper = warehousingInspectionVoucherService.getChild(warehousingInspectionPagination,queryWrapper); + queryWrapper.lambda().eq(WarehousingInspectionVoucherEntity::getInspectionId, id); + generaterSwapUtil.wrapperHandle(WarehousingInspectionConstant.getColumnData(), WarehousingInspectionConstant.getAppColumnData(), queryWrapper,WarehousingInspectionVoucherEntity.class,"sub",tableName); + return warehousingInspectionVoucherService.list(queryWrapper); + } + + /** WarehousingInspectionVoucher子表方法 */ + @Override + public List getWarehousingInspectionVoucherList(String id){ + QueryWrapper queryWrapper = new QueryWrapper<>(); + queryWrapper.lambda().eq(WarehousingInspectionVoucherEntity::getInspectionId, id); + return warehousingInspectionVoucherService.list(queryWrapper); + } + /** WarehousingInspectionProduct子表方法 */ + @Override + public List getWarehousingInspectionProductList(String id,WarehousingInspectionPagination warehousingInspectionPagination){ + Map newtabMap=WarehousingInspectionConstant.TABLEFIELDKEY.entrySet() + .stream().collect( Collectors.toMap(e->e.getValue(),e->e.getKey())); + String tableName="warehousingInspectionProduct"; + tableName=newtabMap.get(tableName)==null?tableName:newtabMap.get(tableName).toString(); + QueryWrapper queryWrapper = new QueryWrapper<>(); + queryWrapper = warehousingInspectionProductService.getChild(warehousingInspectionPagination,queryWrapper); + queryWrapper.lambda().eq(WarehousingInspectionProductEntity::getInspectionId, id); + generaterSwapUtil.wrapperHandle(WarehousingInspectionConstant.getColumnData(), WarehousingInspectionConstant.getAppColumnData(), queryWrapper,WarehousingInspectionProductEntity.class,"sub",tableName); + return warehousingInspectionProductService.list(queryWrapper); + } + + /** WarehousingInspectionProduct子表方法 */ + @Override + public List getWarehousingInspectionProductList(String id){ + QueryWrapper queryWrapper = new QueryWrapper<>(); + queryWrapper.lambda().eq(WarehousingInspectionProductEntity::getInspectionId, id); + return warehousingInspectionProductService.list(queryWrapper); + } + /** WarehousingInspectionConclusion子表方法 */ + @Override + public List getWarehousingInspectionConclusionList(String id,WarehousingInspectionPagination warehousingInspectionPagination){ + Map newtabMap=WarehousingInspectionConstant.TABLEFIELDKEY.entrySet() + .stream().collect( Collectors.toMap(e->e.getValue(),e->e.getKey())); + String tableName="warehousingInspectionConclusion"; + tableName=newtabMap.get(tableName)==null?tableName:newtabMap.get(tableName).toString(); + QueryWrapper queryWrapper = new QueryWrapper<>(); + queryWrapper = warehousingInspectionConclusionService.getChild(warehousingInspectionPagination,queryWrapper); + queryWrapper.lambda().eq(WarehousingInspectionConclusionEntity::getInspectionId, id); + generaterSwapUtil.wrapperHandle(WarehousingInspectionConstant.getColumnData(), WarehousingInspectionConstant.getAppColumnData(), queryWrapper,WarehousingInspectionConclusionEntity.class,"sub",tableName); + return warehousingInspectionConclusionService.list(queryWrapper); + } + + /** WarehousingInspectionConclusion子表方法 */ + @Override + public List getWarehousingInspectionConclusionList(String id){ + QueryWrapper queryWrapper = new QueryWrapper<>(); + queryWrapper.lambda().eq(WarehousingInspectionConclusionEntity::getInspectionId, id); + return warehousingInspectionConclusionService.list(queryWrapper); + } + /** 验证表单唯一字段,正则,非空 i-0新增-1修改*/ + @Override + public String checkForm(WarehousingInspectionForm form,int i) { + boolean isUp =StringUtil.isNotEmpty(form.getId()) && !form.getId().equals("0"); + String id=""; + String countRecover = ""; + if (isUp){ + id = form.getId(); + } + //主表字段验证 + //子表字段验证 + if (form.getWarehousingInspectionVoucherList()!=null){ + } + if (form.getWarehousingInspectionProductList()!=null){ + } + if (form.getWarehousingInspectionConclusionList()!=null){ + } + return countRecover; + } + /** + * 新增修改数据(事务回滚) + * @param id + * @param warehousingInspectionForm + * @return + */ + @Override + @Transactional + public void saveOrUpdate(WarehousingInspectionForm warehousingInspectionForm,String id, boolean isSave) throws Exception{ + UserInfo userInfo=userProvider.get(); + UserEntity userEntity = generaterSwapUtil.getUser(userInfo.getUserId()); + warehousingInspectionForm = JsonUtil.getJsonToBean( + generaterSwapUtil.swapDatetime(WarehousingInspectionConstant.getFormData(),warehousingInspectionForm),WarehousingInspectionForm.class); + WarehousingInspectionEntity entity = JsonUtil.getJsonToBean(warehousingInspectionForm, WarehousingInspectionEntity.class); + + if(isSave){ + String mainId = id ; + entity.setInspectionCode(generaterSwapUtil.getBillNumber("warehousingInspection", false)); + entity.setCreatorTime(DateUtil.getNowDate()); + entity.setCreatorUserId(userInfo.getUserId()); + entity.setLastModifyTime(null); + entity.setLastModifyUserId(null); + entity.setId(mainId); + entity.setFlowId(warehousingInspectionForm.getFlowId()); + entity.setVersion(0); + }else{ + entity.setInspectionCode(generaterSwapUtil.getBillNumber("warehousingInspection", false)); + entity.setCreatorTime(DateUtil.getNowDate()); + entity.setCreatorUserId(userInfo.getUserId()); + entity.setLastModifyTime(null); + entity.setLastModifyUserId(null); + entity.setFlowId(warehousingInspectionForm.getFlowId()); + } + this.saveOrUpdate(entity); + + //WarehousingInspectionVoucher子表数据新增修改 + if(!isSave){ + QueryWrapper WarehousingInspectionVoucherqueryWrapper = new QueryWrapper<>(); + WarehousingInspectionVoucherqueryWrapper.lambda().eq(WarehousingInspectionVoucherEntity::getInspectionId, entity.getId()); + warehousingInspectionVoucherService.remove(WarehousingInspectionVoucherqueryWrapper); + } + if (warehousingInspectionForm.getWarehousingInspectionVoucherList()!=null){ + List tableField118 = JsonUtil.getJsonToList(warehousingInspectionForm.getWarehousingInspectionVoucherList(),WarehousingInspectionVoucherEntity.class); + for(WarehousingInspectionVoucherEntity entitys : tableField118){ + entitys.setId(RandomUtil.uuId()); + entitys.setInspectionId(entity.getId()); + if(isSave){ + }else{ + } + warehousingInspectionVoucherService.saveOrUpdate(entitys); + } + } + //WarehousingInspectionProduct子表数据新增修改 + if(!isSave){ + QueryWrapper WarehousingInspectionProductqueryWrapper = new QueryWrapper<>(); + WarehousingInspectionProductqueryWrapper.lambda().eq(WarehousingInspectionProductEntity::getInspectionId, entity.getId()); + warehousingInspectionProductService.remove(WarehousingInspectionProductqueryWrapper); + } + if (warehousingInspectionForm.getWarehousingInspectionProductList()!=null){ + List tableField126 = JsonUtil.getJsonToList(warehousingInspectionForm.getWarehousingInspectionProductList(),WarehousingInspectionProductEntity.class); + for(WarehousingInspectionProductEntity entitys : tableField126){ + entitys.setId(RandomUtil.uuId()); + entitys.setInspectionId(entity.getId()); + if(isSave){ + }else{ + } + warehousingInspectionProductService.saveOrUpdate(entitys); + } + } + //WarehousingInspectionConclusion子表数据新增修改 + if(!isSave){ + QueryWrapper WarehousingInspectionConclusionqueryWrapper = new QueryWrapper<>(); + WarehousingInspectionConclusionqueryWrapper.lambda().eq(WarehousingInspectionConclusionEntity::getInspectionId, entity.getId()); + warehousingInspectionConclusionService.remove(WarehousingInspectionConclusionqueryWrapper); + } + if (warehousingInspectionForm.getWarehousingInspectionConclusionList()!=null){ + List tableField131 = JsonUtil.getJsonToList(warehousingInspectionForm.getWarehousingInspectionConclusionList(),WarehousingInspectionConclusionEntity.class); + for(WarehousingInspectionConclusionEntity entitys : tableField131){ + entitys.setId(RandomUtil.uuId()); + entitys.setInspectionId(entity.getId()); + if(isSave){ + }else{ + } + warehousingInspectionConclusionService.saveOrUpdate(entitys); + } + } + } +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/WarehousingInspectionVoucherServiceImpl.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/WarehousingInspectionVoucherServiceImpl.java new file mode 100644 index 00000000..e8358a08 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/WarehousingInspectionVoucherServiceImpl.java @@ -0,0 +1,59 @@ +package jnpf.service.impl; + +import jnpf.entity.*; +import jnpf.mapper.WarehousingInspectionVoucherMapper; +import jnpf.service.*; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import jnpf.model.warehousinginspection.*; +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 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; +/** + * + * warehousingInspection + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-02-23 + */ +@Service +public class WarehousingInspectionVoucherServiceImpl extends ServiceImpl implements WarehousingInspectionVoucherService{ + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + //子表过滤方法 + @Override + public QueryWrapper getChild(WarehousingInspectionPagination pagination, QueryWrapper warehousingInspectionVoucherQueryWrapper){ + boolean pcPermission = true; + boolean appPermission = false; + boolean isPc = ServletUtil.getHeader("jnpf-origin").equals("pc"); + String ruleQueryJson = isPc?WarehousingInspectionConstant.getColumnData():WarehousingInspectionConstant.getAppColumnData(); + ColumnDataModel dataModel = JsonUtil.getJsonToBean(ruleQueryJson,ColumnDataModel.class); + String ruleJson = isPc?JsonUtil.getObjectToString(dataModel.getRuleList()):JsonUtil.getObjectToString(dataModel.getRuleListApp()); + if(isPc){ + } + return warehousingInspectionVoucherQueryWrapper; + } +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-controller/src/main/java/jnpf/controller/WarehousingInspectionController.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-controller/src/main/java/jnpf/controller/WarehousingInspectionController.java new file mode 100644 index 00000000..d7665f59 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-controller/src/main/java/jnpf/controller/WarehousingInspectionController.java @@ -0,0 +1,493 @@ +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.warehousinginspection.*; +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; + +/** + * warehousingInspection + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-02-23 + */ +@Slf4j +@RestController +@Tag(name = "warehousingInspection" , description = "scm") +@RequestMapping("/api/scm/WarehousingInspection") +public class WarehousingInspectionController { + + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + @Autowired + private WarehousingInspectionService warehousingInspectionService; + + @Autowired + private WarehousingInspectionVoucherService warehousingInspectionVoucherService; + @Autowired + private WarehousingInspectionProductService warehousingInspectionProductService; + @Autowired + private WarehousingInspectionConclusionService warehousingInspectionConclusionService; + + + @Autowired + private ConfigValueUtil configValueUtil; + + /** + * 列表 + * + * @param warehousingInspectionPagination + * @return + */ + @Operation(summary = "获取列表") + @PostMapping("/getList") + public ActionResult list(@RequestBody WarehousingInspectionPagination warehousingInspectionPagination)throws IOException{ + List list= warehousingInspectionService.getList(warehousingInspectionPagination); + List> realList=new ArrayList<>(); + for (WarehousingInspectionEntity entity : list) { + + QueryWrapper inspectionVoucherEntityQueryWrapper =new QueryWrapper<>(); + + Map warehousingInspectionMap=JsonUtil.entityToMap(entity); + warehousingInspectionMap.put("id", warehousingInspectionMap.get("id")); + //副表数据 + //子表数据 + List warehousingInspectionVoucherList = warehousingInspectionService.getWarehousingInspectionVoucherList(entity.getId(),warehousingInspectionPagination); + warehousingInspectionMap.put("tableField118",JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(warehousingInspectionVoucherList))); + List warehousingInspectionProductList = warehousingInspectionService.getWarehousingInspectionProductList(entity.getId(),warehousingInspectionPagination); + warehousingInspectionMap.put("tableField126",JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(warehousingInspectionProductList))); + List warehousingInspectionConclusionList = warehousingInspectionService.getWarehousingInspectionConclusionList(entity.getId(),warehousingInspectionPagination); + warehousingInspectionMap.put("tableField131",JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(warehousingInspectionConclusionList))); + realList.add(warehousingInspectionMap); + } + //数据转换 + realList = generaterSwapUtil.swapDataList(realList, WarehousingInspectionConstant.getFormData(), WarehousingInspectionConstant.getColumnData(), warehousingInspectionPagination.getModuleId(),false); + + //流程状态添加 + for(Map vo:realList){ + FlowTaskEntity flowTaskEntity = generaterSwapUtil.getInfoSubmit(String.valueOf(vo.get("id")), FlowTaskEntity::getStatus); + if (flowTaskEntity!=null){ + vo.put("flowState",flowTaskEntity.getStatus()); + }else{ + vo.put("flowState",null); + } + //添加流程id + String flowId=""; + if(vo.get("flowid")!=null){ + flowId = String.valueOf(vo.get("flowid")); + } + if(vo.get("flowid".toUpperCase())!=null){ + flowId = String.valueOf(vo.get("flowid".toUpperCase())); + } + if(StringUtil.isNotEmpty(flowId)){ + vo.put("flowId" ,flowId); + } + } + //返回对象 + PageListVO vo = new PageListVO(); + vo.setList(realList); + PaginationVO page = JsonUtil.getJsonToBean(warehousingInspectionPagination, PaginationVO.class); + vo.setPagination(page); + return ActionResult.success(vo); + } + /** + * 创建 + * + * @param warehousingInspectionForm + * @return + */ + @PostMapping("/{id}") + @Operation(summary = "创建") + public ActionResult create(@PathVariable("id") String id, @RequestBody @Valid WarehousingInspectionForm warehousingInspectionForm) { + String b = warehousingInspectionService.checkForm(warehousingInspectionForm,0); + if (StringUtil.isNotEmpty(b)){ + return ActionResult.fail(b ); + } + try{ + warehousingInspectionService.saveOrUpdate(warehousingInspectionForm, id ,true); + }catch(Exception e){ + return ActionResult.fail("新增数据失败"); + } + return ActionResult.success("创建成功"); + } + /** + * 导出Excel + * + * @return + */ + @Operation(summary = "导出Excel") + @PostMapping("/Actions/Export") + public ActionResult Export(@RequestBody WarehousingInspectionPagination warehousingInspectionPagination) throws IOException { + if (StringUtil.isEmpty(warehousingInspectionPagination.getSelectKey())){ + return ActionResult.fail("请选择导出字段"); + } + List list= warehousingInspectionService.getList(warehousingInspectionPagination); + List> realList=new ArrayList<>(); + for (WarehousingInspectionEntity entity : list) { + Map warehousingInspectionMap=JsonUtil.entityToMap(entity); + warehousingInspectionMap.put("id", warehousingInspectionMap.get("id")); + //副表数据 + //子表数据 + List warehousingInspectionVoucherList = warehousingInspectionService.getWarehousingInspectionVoucherList(entity.getId(),warehousingInspectionPagination); + warehousingInspectionMap.put("tableField118",JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(warehousingInspectionVoucherList))); + List warehousingInspectionProductList = warehousingInspectionService.getWarehousingInspectionProductList(entity.getId(),warehousingInspectionPagination); + warehousingInspectionMap.put("tableField126",JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(warehousingInspectionProductList))); + List warehousingInspectionConclusionList = warehousingInspectionService.getWarehousingInspectionConclusionList(entity.getId(),warehousingInspectionPagination); + warehousingInspectionMap.put("tableField131",JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(warehousingInspectionConclusionList))); + realList.add(warehousingInspectionMap); + } + //数据转换 + realList = generaterSwapUtil.swapDataList(realList, WarehousingInspectionConstant.getFormData(), WarehousingInspectionConstant.getColumnData(), warehousingInspectionPagination.getModuleId(),false); + String[]keys=!StringUtil.isEmpty(warehousingInspectionPagination.getSelectKey())?warehousingInspectionPagination.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){ + ExcelExportEntity tableField118ExcelEntity = new ExcelExportEntity("","tableField118"); + List tableField118List = new ArrayList<>(); + ExcelExportEntity tableField126ExcelEntity = new ExcelExportEntity("","tableField126"); + List tableField126List = new ArrayList<>(); + ExcelExportEntity tableField131ExcelEntity = new ExcelExportEntity("","tableField131"); + List tableField131List = new ArrayList<>(); + for(String key:keys){ + switch(key){ + case "inspectionCode" : + entitys.add(new ExcelExportEntity("质检单编号" ,"inspectionCode")); + break; + case "creatorTime" : + entitys.add(new ExcelExportEntity("制单时间" ,"creatorTime")); + break; + case "inspectionType" : + entitys.add(new ExcelExportEntity("质检类型" ,"inspectionType")); + break; + case "belongUserId" : + entitys.add(new ExcelExportEntity("质检人员" ,"belongUserId")); + break; + case "inspectionTime" : + entitys.add(new ExcelExportEntity("质检时间" ,"inspectionTime")); + break; + case "remark" : + entitys.add(new ExcelExportEntity("备注" ,"remark")); + break; + case "creatorUserId" : + entitys.add(new ExcelExportEntity("创建用户" ,"creatorUserId")); + break; + case "lastModifyTime" : + entitys.add(new ExcelExportEntity("修改时间" ,"lastModifyTime")); + break; + case "lastModifyUserId" : + entitys.add(new ExcelExportEntity("修改用户" ,"lastModifyUserId")); + break; + case "conclusionType" : + entitys.add(new ExcelExportEntity("检测结论" ,"conclusionType")); + break; + case "conclusionRemark" : + entitys.add(new ExcelExportEntity("检验结果" ,"conclusionRemark")); + break; + case "tableField118-voucheId": + tableField118List.add(new ExcelExportEntity("凭证单据编号" ,"voucheId")); + break; + case "tableField126-productId": + tableField126List.add(new ExcelExportEntity("商品名称" ,"productId")); + break; + case "tableField131-grossWeight": + tableField131List.add(new ExcelExportEntity("毛重" ,"grossWeight")); + break; + case "tableField131-tareWeight": + tableField131List.add(new ExcelExportEntity("皮重" ,"tareWeight")); + break; + case "tableField131-buckleWeight": + tableField131List.add(new ExcelExportEntity("扣重" ,"buckleWeight")); + break; + case "tableField131-netWeight": + tableField131List.add(new ExcelExportEntity("净重(自动计算)" ,"netWeight")); + break; + case "tableField131-reduceLevel": + tableField131List.add(new ExcelExportEntity("是否降级" ,"reduceLevel")); + break; + case "tableField131-grade": + tableField131List.add(new ExcelExportEntity("等级" ,"grade")); + break; + case "tableField131-creatorUserId": + tableField131List.add(new ExcelExportEntity("创建用户" ,"creatorUserId")); + break; + default: + break; + } + } + if(tableField118List.size() > 0){ + tableField118ExcelEntity.setList(tableField118List); + entitys.add(tableField118ExcelEntity); + } + if(tableField126List.size() > 0){ + tableField126ExcelEntity.setList(tableField126List); + entitys.add(tableField126ExcelEntity); + } + if(tableField131List.size() > 0){ + tableField131ExcelEntity.setList(tableField131List); + entitys.add(tableField131ExcelEntity); + } + } + + 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(WarehousingInspectionConstant.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); + List columnIdList = new ArrayList<>(20); + int i =0; + String errInfo = ""; + for (String allId : idList){ + FlowTaskEntity taskEntity = generaterSwapUtil.getInfoSubmit(allId, FlowTaskEntity::getId, FlowTaskEntity::getStatus); + if (taskEntity==null){ + columnIdList.add(allId); + this.delete(allId); + }else if (taskEntity.getStatus().equals(0) || taskEntity.getStatus().equals(4)){ + try { + generaterSwapUtil.deleteFlowTask(taskEntity); + columnIdList.add(allId); + this.delete(allId); + i++; + } catch (WorkFlowException e) { + errInfo = e.getMessage(); + e.printStackTrace(); + } + } + } + if (i == 0 && columnIdList.size()==0){ + return ActionResult.fail("流程已发起,无法删除"); + } + if (StringUtil.isNotEmpty(errInfo)){ + return ActionResult.fail(errInfo); + } + return ActionResult.success("删除成功"); + } + /** + * 编辑 + * @param id + * @param warehousingInspectionForm + * @return + */ + @PutMapping("/{id}") + @Operation(summary = "更新") + public ActionResult update(@PathVariable("id") String id,@RequestBody @Valid WarehousingInspectionForm warehousingInspectionForm, + @RequestParam(value = "isImport", required = false) boolean isImport){ + warehousingInspectionForm.setId(id); + if (!isImport) { + String b = warehousingInspectionService.checkForm(warehousingInspectionForm,1); + if (StringUtil.isNotEmpty(b)){ + return ActionResult.fail(b ); + } + } + WarehousingInspectionEntity entity= warehousingInspectionService.getInfo(id); + if(entity!=null){ + try{ + warehousingInspectionService.saveOrUpdate(warehousingInspectionForm,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){ + WarehousingInspectionEntity entity= warehousingInspectionService.getInfo(id); + if(entity!=null){ + FlowTaskEntity taskEntity = generaterSwapUtil.getInfoSubmit(id, FlowTaskEntity::getId, FlowTaskEntity::getStatus); + if (taskEntity != null) { + try { + generaterSwapUtil.deleteFlowTask(taskEntity); + } catch (WorkFlowException e) { + e.printStackTrace(); + } + } + //假删除 + entity.setDeleteMark(1); + warehousingInspectionService.update(id,entity); + } + return ActionResult.success("删除成功"); + } + /** + * 表单信息(详情页) + * 详情页面使用-转换数据 + * @param id + * @return + */ + @Operation(summary = "表单信息(详情页)") + @GetMapping("/detail/{id}") + public ActionResult detailInfo(@PathVariable("id") String id){ + WarehousingInspectionEntity entity= warehousingInspectionService.getInfo(id); + if(entity==null){ + return ActionResult.fail("表单数据不存在!"); + } + Map warehousingInspectionMap=JsonUtil.entityToMap(entity); + warehousingInspectionMap.put("id", warehousingInspectionMap.get("id")); + //副表数据 + //子表数据 + List warehousingInspectionVoucherList = warehousingInspectionService.getWarehousingInspectionVoucherList(entity.getId()); + warehousingInspectionMap.put("tableField118",JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(warehousingInspectionVoucherList))); + List warehousingInspectionProductList = warehousingInspectionService.getWarehousingInspectionProductList(entity.getId()); + warehousingInspectionMap.put("tableField126",JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(warehousingInspectionProductList))); + List warehousingInspectionConclusionList = warehousingInspectionService.getWarehousingInspectionConclusionList(entity.getId()); + warehousingInspectionMap.put("tableField131",JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(warehousingInspectionConclusionList))); + warehousingInspectionMap = generaterSwapUtil.swapDataDetail(warehousingInspectionMap,WarehousingInspectionConstant.getFormData(),"530702377393609733",false); + return ActionResult.success(warehousingInspectionMap); + } + /** + * 获取详情(编辑页) + * 编辑页面使用-不转换数据 + * @param id + * @return + */ + @Operation(summary = "信息") + @GetMapping("/{id}") + public ActionResult info(@PathVariable("id") String id){ + WarehousingInspectionEntity entity= warehousingInspectionService.getInfo(id); + if(entity==null){ + return ActionResult.fail("表单数据不存在!"); + } + Map warehousingInspectionMap=JsonUtil.entityToMap(entity); + warehousingInspectionMap.put("id", warehousingInspectionMap.get("id")); + //副表数据 + //子表数据 + List warehousingInspectionVoucherList = warehousingInspectionService.getWarehousingInspectionVoucherList(entity.getId()); + warehousingInspectionMap.put("warehousingInspectionVoucherList",JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(warehousingInspectionVoucherList))); + List warehousingInspectionProductList = warehousingInspectionService.getWarehousingInspectionProductList(entity.getId()); + warehousingInspectionMap.put("warehousingInspectionProductList",JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(warehousingInspectionProductList))); + List warehousingInspectionConclusionList = warehousingInspectionService.getWarehousingInspectionConclusionList(entity.getId()); + warehousingInspectionMap.put("warehousingInspectionConclusionList",JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(warehousingInspectionConclusionList))); + warehousingInspectionMap = generaterSwapUtil.swapDataForm(warehousingInspectionMap,WarehousingInspectionConstant.getFormData(),WarehousingInspectionConstant.TABLEFIELDKEY,WarehousingInspectionConstant.TABLERENAMES); + return ActionResult.success(warehousingInspectionMap); + } + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/WarehousingInspectionConclusionEntity.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/WarehousingInspectionConclusionEntity.java new file mode 100644 index 00000000..eeebfcde --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/WarehousingInspectionConclusionEntity.java @@ -0,0 +1,59 @@ +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-02-23 + */ +@Data +@TableName("jg_warehousing_inspection_conclusion") +public class WarehousingInspectionConclusionEntity { + @TableId(value ="ID" ) + private String id; + @TableField("INSPECTION_ID") + private String inspectionId; + @TableField(value = "GROSS_WEIGHT" , updateStrategy = FieldStrategy.IGNORED) + private BigDecimal grossWeight; + @TableField(value = "TARE_WEIGHT" , updateStrategy = FieldStrategy.IGNORED) + private BigDecimal tareWeight; + @TableField(value = "BUCKLE_WEIGHT" , updateStrategy = FieldStrategy.IGNORED) + private BigDecimal buckleWeight; + @TableField(value = "NET_WEIGHT" , updateStrategy = FieldStrategy.IGNORED) + private BigDecimal netWeight; + @TableField("REMARK") + private String remark; + @TableField(value = "REDUCE_LEVEL" , updateStrategy = FieldStrategy.IGNORED) + private String reduceLevel; + @TableField(value = "GRADE" , updateStrategy = FieldStrategy.IGNORED) + private String grade; + @TableField("F_CREATOR_TIME") + private Date creatorTime; + @TableField(value = "F_CREATOR_USER_ID" , updateStrategy = FieldStrategy.IGNORED) + 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; +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/WarehousingInspectionEntity.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/WarehousingInspectionEntity.java new file mode 100644 index 00000000..c7fe7312 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/WarehousingInspectionEntity.java @@ -0,0 +1,61 @@ +package jnpf.entity; + +import com.baomidou.mybatisplus.annotation.*; +import lombok.Data; +import java.util.Date; +/** + * 质检单 + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-02-23 + */ +@Data +@TableName("jg_warehousing_inspection") +public class WarehousingInspectionEntity { + @TableId(value ="ID" ) + private String id; + @TableField(value = "INSPECTION_CODE" , updateStrategy = FieldStrategy.IGNORED) + private String inspectionCode; + @TableField(value = "INSPECTION_TYPE" , updateStrategy = FieldStrategy.IGNORED) + private String inspectionType; + @TableField(value = "BELONG_USER_ID" , updateStrategy = FieldStrategy.IGNORED) + private String belongUserId; + @TableField(value = "INSPECTION_TIME" , updateStrategy = FieldStrategy.IGNORED) + private Date inspectionTime; + @TableField("USEDRETURN_STATUS") + private String usedreturnStatus; + @TableField(value = "REMARK" , updateStrategy = FieldStrategy.IGNORED) + private String remark; + @TableField(value = "CONCLUSION_TYPE" , updateStrategy = FieldStrategy.IGNORED) + private String conclusionType; + @TableField(value = "CONCLUSION_REMARK" , updateStrategy = FieldStrategy.IGNORED) + private String conclusionRemark; + @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("F_VERSION") + private Integer version; + @TableField("F_FLOW_TASK_ID") + private String flowTaskId; + @TableField("F_FLOW_ID") + private String flowId; +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/WarehousingInspectionProductEntity.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/WarehousingInspectionProductEntity.java new file mode 100644 index 00000000..50ce1acf --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/WarehousingInspectionProductEntity.java @@ -0,0 +1,45 @@ +package jnpf.entity; + +import com.baomidou.mybatisplus.annotation.*; +import lombok.Data; +import java.util.Date; +/** + * 质检单商品信息 + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-02-23 + */ +@Data +@TableName("jg_warehousing_inspection_product") +public class WarehousingInspectionProductEntity { + @TableId(value ="ID" ) + private String id; + @TableField("INSPECTION_ID") + private String inspectionId; + @TableField("VOUCHE_ID") + private String voucheId; + @TableField(value = "PRODUCT_ID" , updateStrategy = FieldStrategy.IGNORED) + private String productId; + @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; +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/WarehousingInspectionVoucherEntity.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/WarehousingInspectionVoucherEntity.java new file mode 100644 index 00000000..6ea4ddf5 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/WarehousingInspectionVoucherEntity.java @@ -0,0 +1,43 @@ +package jnpf.entity; + +import com.baomidou.mybatisplus.annotation.*; +import lombok.Data; +import java.util.Date; +/** + * 质检单凭证信息 + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-02-23 + */ +@Data +@TableName("jg_warehousing_inspection_voucher") +public class WarehousingInspectionVoucherEntity { + @TableId(value ="ID" ) + private String id; + @TableField("INSPECTION_ID") + private String inspectionId; + @TableField(value = "VOUCHE_ID" , updateStrategy = FieldStrategy.IGNORED) + private String voucheId; + @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; +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/warehousinginspection/WarehousingInspectionConclusionModel.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/warehousinginspection/WarehousingInspectionConclusionModel.java new file mode 100644 index 00000000..ac0b7f93 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/warehousinginspection/WarehousingInspectionConclusionModel.java @@ -0,0 +1,43 @@ +package jnpf.model.warehousinginspection; + +import lombok.Data; +import java.util.List; +import java.util.Date; +import java.math.BigDecimal; +import com.alibaba.fastjson.annotation.JSONField; +import cn.afterturn.easypoi.excel.annotation.Excel; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * + * warehousingInspection + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-02-23 + */ +@Data +public class WarehousingInspectionConclusionModel { + /** 毛重 **/ + @JSONField(name = "grossWeight") + private String grossWeight; + /** 皮重 **/ + @JSONField(name = "tareWeight") + private String tareWeight; + /** 扣重 **/ + @JSONField(name = "buckleWeight") + private String buckleWeight; + /** 净重(自动计算) **/ + @JSONField(name = "netWeight") + private String netWeight; + /** 是否降级 **/ + @JSONField(name = "reduceLevel") + private Object reduceLevel; + + /** 等级 **/ + @JSONField(name = "grade") + private String grade; + /** 创建用户 **/ + @JSONField(name = "creatorUserId") + private String creatorUserId; +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/warehousinginspection/WarehousingInspectionConstant.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/warehousinginspection/WarehousingInspectionConstant.java new file mode 100644 index 00000000..f17c3f43 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/warehousinginspection/WarehousingInspectionConstant.java @@ -0,0 +1,41 @@ +package jnpf.model.warehousinginspection; + +import jnpf.util.JsonUtil; +import java.util.Map; + +/** + * warehousingInspection配置json + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-02-23 + */ +public class WarehousingInspectionConstant{ + /** 数据库链接 */ + public static final String DBLINKID = "0"; + /** 表别名 map */ + public static final Map TABLERENAMES = JsonUtil.getJsonToBean("{\"jg_warehousing_inspection_voucher\":\"warehousingInspectionVoucher\",\"jg_warehousing_inspection_conclusion\":\"warehousingInspectionConclusion\",\"jg_warehousing_inspection\":\"warehousingInspection\",\"jg_warehousing_inspection_product\":\"warehousingInspectionProduct\"}",Map.class); + /** 子表model map */ + public static final Map TABLEFIELDKEY = JsonUtil.getJsonToBean("{\"tableField126\":\"jg_warehousing_inspection_product\",\"tableField131\":\"jg_warehousing_inspection_conclusion\",\"tableField118\":\"jg_warehousing_inspection_voucher\"}",Map.class); + /** 整个表单配置json */ + public static final String getFormData(){ + StringBuilder sb = new StringBuilder(); +sb.append("{\"popupType\":\"general\",\"idGlobal\":142,\"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\":[{\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"groupTitle\",\"dragDisabled\":false,\"className\":[],\"label\":\"分组标题\",\"showLabel\":false,\"required\":false,\"renderKey\":1708665585063,\"tableName\":\"jg_warehousing_inspection\",\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-group\",\"tag\":\"JnpfGroupTitle\",\"span\":24},\"contentPosition\":\"left\",\"content\":\"基础信息\",\"helpMessage\":\"\"},{\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"warehousingInspection\",\"className\":[],\"label\":\"质检单编号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665599300,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"质检单\",\"tag\":\"JnpfInput\",\"span\":10},\"readonly\":true,\"__vModel__\":\"inspectionCode\",\"style\":{\"width\":\"100%\"},\"placeholder\":\"系统自动生成\"},{\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"createTime\",\"defaultValue\":\"\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"制单时间\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665647691,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-createtime\",\"tag\":\"JnpfOpenData\",\"span\":10},\"readonly\":true,\"__vModel__\":\"creatorTime\",\"style\":{\"width\":\"100%\"},\"placeholder\":\"\",\"type\":\"currTime\"},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":113,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"质检类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665744875,\"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__\":\"inspectionType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"}},{\"clearable\":true,\"__config__\":{\"formId\":114,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"userSelect\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"质检人员\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"relationField\":\"\",\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665776213,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-user\",\"defaultCurrent\":false,\"tag\":\"JnpfUserSelect\",\"regList\":[],\"span\":8},\"ableIds\":[],\"multiple\":false,\"__vModel__\":\"belongUserId\",\"style\":{\"width\":\"100%\"},\"selectType\":\"all\",\"disabled\":false,\"placeholder\":\"请选择\",\"relationField\":\"\"},{\"clearable\":true,\"__config__\":{\"endRelationField\":\"\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665793517,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":115,\"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\",\"__vModel__\":\"inspectionTime\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"type\":\"datetime\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":116,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"备注\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665811908,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"remark\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"__config__\":{\"formId\":120,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"createUser\",\"defaultValue\":\"\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"创建用户\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665879697,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-founder\",\"tag\":\"JnpfOpenData\",\"span\":24},\"readonly\":true,\"__vModel__\":\"creatorUserId\",\"style\":{\"width\":\"100%\"},\"placeholder\":\"\",\"type\":\"currUser\"},{\"__config__\":{\"formId\":122,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"modifyTime\",\"defaultValue\":\"\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"修改时间\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665884147,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-modifytime\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"__vModel__\":\"lastModifyTime\",\"style\":{\"width\":\"100%\"},\"placeholder\":\"系统自动生成\"},{\"__config__\":{\"formId\":121,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"modifyUser\",\"defaultValue\":\"\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"修改用户\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665882898,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-modifier\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"__vModel__\":\"lastModifyUserId\",\"style\":{\"width\":\"100%\"},\"placeholder\":\"系统自动生成\"},{\"__config__\":{\"formId\":117,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"groupTitle\",\"dragDisabled\":false,\"className\":[],\"label\":\"分组标题\",\"showLabel\":false,\"required\":false,\"renderKey\":1708665835269,\"tableName\":\"jg_warehousing_inspection\",\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-group\",\"tag\":\"JnpfGroupTitle\",\"span\":24},\"contentPosition\":\"left\",\"content\":\"关联信息\",\"helpMessage\":\"\"},{\"showSummary\":false,\"actionText\":\"添加\",\"tableConf\":{},\"defaultValue\":[],\"addTableConf\":{\"popupType\":\"dialog\",\"hasPage\":true,\"popupTitle\":\"选择数据\",\"pageSize\":20,\"columnOptions\":[],\"interfaceId\":\"\",\"interfaceName\":\"\",\"relationOptions\":[],\"templateJson\":[],\"popupWidth\":\"800px\"},\"thousands\":false,\"summaryField\":[],\"thousandsField\":[],\"showDeleteBtn\":true,\"addType\":0,\"__config__\":{\"formId\":118,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"table\",\"defaultValue\":[],\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"\",\"type\":\"table\",\"showLabel\":false,\"tableName\":\"jg_warehousing_inspection_voucher\",\"renderKey\":1708665847186,\"layout\":\"rowFormItem\",\"rowType\":\"table\",\"tagIcon\":\"icon-ym icon-ym-generator-table\",\"children\":[{\"popupType\":\"dialog\",\"hasPage\":false,\"clearable\":true,\"pageSize\":20,\"columnOptions\":[{\"label\":\"凭证编号\",\"value\":\"voucher_code\"},{\"label\":\"单据类型\",\"value\":\"documentTypes\"},{\"label\":\"凭证类型\",\"value\":\"voucherTypes\"},{\"label\":\"车辆信息\",\"value\":\"vehicle_number\"}],\"templateJson\":[{\"fieldName\":\"这是质检单的类型\",\"field\":\"inspectionType\",\"defaultValue\":\"\",\"jnpfKey\":\"select\",\"dataType\":\"varchar\",\"parameter\":\"inspectionType\",\"id\":\"q3dbiy1\",\"required\":1,\"relationField\":\"inspectionType\"}],\"relationField\":\"voucher_code\",\"__config__\":{\"formId\":124,\"relationTable\":\"jg_warehousing_inspection_voucher\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"popupSelect\",\"defaultValue\":\"\",\"noShow\":false,\"parentVModel\":\"tableField118\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"凭证单据编号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708667505154,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-popup\",\"isSubTable\":true,\"tag\":\"JnpfPopupSelect\",\"regList\":[],\"span\":24},\"popupTitle\":\"选择数据\",\"__vModel__\":\"voucheId\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"interfaceId\":\"530709323597241349\",\"interfaceName\":\"质检单-判断类型查询凭证\",\"popupWidth\":\"800px\",\"propsValue\":\"id\"}],\"showTitle\":true,\"complexHeaderList\":[],\"tag\":\"JnpfInputTable\",\"componentName\":\"row118\",\"span\":24},\"showAddBtn\":true,\"__vModel__\":\"tableField118\",\"disabled\":false},{\"__config__\":{\"formId\":125,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"groupTitle\",\"dragDisabled\":false,\"className\":[],\"label\":\"分组标题\",\"showLabel\":false,\"required\":false,\"renderKey\":1708668355266,\"tableName\":\"jg_warehousing_inspection\",\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-group\",\"tag\":\"JnpfGroupTitle\",\"span\":24},\"contentPosition\":\"left\",\"content\":\"商品数据\",\"helpMessage\":\"\"},{\"showSummary\":false,\"actionText\":\"添加\",\"tableConf\":{},\"defaultValue\":[],\"addTableConf\":{\"popupType\":\"dialog\",\"hasPage\":true,\"popupTitle\":\"选择数据\",\"pageSize\":20,\"columnOptions\":[],\"interfaceId\":\"\",\"interfaceName\":\"\",\"relationOptions\":[],\"templateJson\":[],\"popupWidth\":\"800px\"},\"thousands\":false,\"summaryField\":[],\"thousandsField\":[],\"showDeleteBtn\":true,\"addType\":0,\"__config__\":{\"formId\":126,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"table\",\"defaultValue\":[],\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"\",\"type\":\"table\",\"showLabel\":false,\"tableName\":\"jg_warehousing_inspection_product\",\"renderKey\":1708668363699,\"layout\":\"rowFormItem\",\"rowType\":\"table\",\"tagIcon\":\"icon-ym icon-ym-generator-table\",\"children\":[{\"popupType\":\"dialog\",\"hasPage\":true,\"clearable\":true,\"pageSize\":20,\"columnOptions\":[{\"label\":\"商品名称\",\"value\":\"name\"},{\"label\":\"规格\",\"value\":\"spec\"}],\"templateJson\":[{\"fieldName\":\"这是质检单的类型\",\"field\":\"inspectionType\",\"defaultValue\":\"\",\"jnpfKey\":\"billRule\",\"dataType\":\"int\",\"parameter\":\"inspectionType\",\"id\":\"q3dbiy1\",\"required\":1,\"relationField\":\"inspectionCode\"}],\"relationField\":\"name\",\"__config__\":{\"formId\":129,\"relationTable\":\"jg_warehousing_inspection_product\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"popupSelect\",\"defaultValue\":\"\",\"noShow\":false,\"parentVModel\":\"tableField126\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品名称\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668397166,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-popup\",\"isSubTable\":true,\"tag\":\"JnpfPopupSelect\",\"regList\":[],\"span\":24},\"popupTitle\":\"选择数据\",\"__vModel__\":\"productId\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"interfaceId\":\"530709323597241349\",\"interfaceName\":\"质检单-判断类型查询凭证\",\"popupWidth\":\"800px\",\"propsValue\":\"id\"}],\"showTitle\":true,\"complexHeaderList\":[],\"tag\":\"JnpfInputTable\",\"componentName\":\"row126\",\"span\":24},\"showAddBtn\":true,\"__vModel__\":\"tableField126\",\"disabled\":false},{\"__config__\":{\"formId\":130,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"groupTitle\",\"dragDisabled\":false,\"className\":[],\"label\":\"分组标题\",\"showLabel\":false,\"required\":false,\"renderKey\":1708668782168,\"tableName\":\"jg_warehousing_inspection\",\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-group\",\"tag\":\"JnpfGroupTitle\",\"span\":24},\"contentPosition\":\"left\",\"content\":\"检测结论\",\"helpMessage\":\"\"},{\"showSummary\":false,\"actionText\":\"添加\",\"tableConf\":{},\"defaultValue\":[],\"addTableConf\":{\"popupType\":\"dialog\",\"hasPage\":true,\"popupTitle\":\"选择数据\",\"pageSize\":20,\"columnOptions\":[],\"interfaceId\":\"\",\"interfaceName\":\"\",\"relationOptions\":[],\"templateJson\":[],\"popupWidth\":\"800px\"},\"thousands\":false,\"summaryField\":[],\"thousandsField\":[],\"showDeleteBtn\":true,\"addType\":0,\"__config__\":{\"formId\":131,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"table\",\"defaultValue\":[],\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"\",\"type\":\"table\",\"showLabel\":false,\"tableName\":\"jg_warehousing_inspection_conclusion\",\"renderKey\":1708668790389,\"layout\":\"rowFormItem\",\"rowType\":\"table\",\"tagIcon\":\"icon-ym icon-ym-generator-table\",\"children\":[{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":133,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"毛重\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668803631,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"grossWeight\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":134,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"皮重\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668814594,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"tareWeight\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":135,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"扣重\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668815516,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"buckleWeight\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":136,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"净重(自动计算)\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668816435,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"netWeight\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"defaultValue\":\"\",\"parentVModel\":\"tableField131\",\"dragDisabled\":false,\"className\":[],\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668847840,\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"isSubTable\":true,\"tag\":\"JnpfSelect\",\"formId\":138,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"label\":\"是否降级\",\"trigger\":\"change\",\"layout\":\"colFormItem\",\"propsName\":\"\",\"regList\":[],\"span\":24},\"options\":[{\"fullName\":\"是\",\"id\":\"1\"},{\"fullName\":\"否\",\"id\":\"2\"}],\"multiple\":false,\"__vModel__\":\"reduceLevel\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"}},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":139,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"等级\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668875548,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"grade\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":140,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"创建用户\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668883932,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"creatorUserId\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"}],\"showTitle\":true,\"complexHeaderList\":[],\"tag\":\"JnpfInputTable\",\"componentName\":\"row131\",\"span\":24},\"showAddBtn\":true,\"__vModel__\":\"tableField131\",\"disabled\":false},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":141,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"检测结论\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668932476,\"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__\":\"conclusionType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"}},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":142,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"检验结果\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668973828,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"conclusionRemark\",\"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\":[{\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"warehousingInspection\",\"className\":[],\"label\":\"质检单编号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665599300,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"质检单\",\"tag\":\"JnpfInput\",\"span\":10},\"readonly\":true,\"searchType\":2,\"jnpfKey\":\"billRule\",\"prop\":\"inspectionCode\",\"__vModel__\":\"inspectionCode\",\"searchMultiple\":false,\"fullName\":\"质检单编号\",\"style\":{\"width\":\"100%\"},\"label\":\"质检单编号\",\"id\":\"inspectionCode\",\"placeholder\":\"系统自动生成\"},{\"searchType\":3,\"jnpfKey\":\"createTime\",\"fullName\":\"制单时间\",\"label\":\"制单时间\",\"type\":\"currTime\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"createTime\",\"defaultValue\":\"\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"制单时间\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665647691,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-createtime\",\"tag\":\"JnpfOpenData\",\"span\":10},\"readonly\":true,\"prop\":\"creatorTime\",\"__vModel__\":\"creatorTime\",\"searchMultiple\":false,\"style\":{\"width\":\"100%\"},\"id\":\"creatorTime\",\"placeholder\":\"\"},{\"filterable\":false,\"clearable\":true,\"searchType\":1,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"质检类型\",\"label\":\"质检类型\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":113,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"质检类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665744875,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"inspectionType\",\"options\":[{\"fullName\":\"入库质检\",\"id\":\"1\"},{\"fullName\":\"出库质检\",\"id\":\"2\"}],\"__vModel__\":\"inspectionType\",\"searchMultiple\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"inspectionType\",\"placeholder\":\"请选择\",\"value\":[]},{\"clearable\":true,\"searchType\":1,\"jnpfKey\":\"userSelect\",\"ableIds\":[],\"multiple\":false,\"fullName\":\"质检人员\",\"label\":\"质检人员\",\"relationField\":\"\",\"__config__\":{\"formId\":114,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"userSelect\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"质检人员\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"relationField\":\"\",\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665776213,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-user\",\"defaultCurrent\":false,\"tag\":\"JnpfUserSelect\",\"regList\":[],\"span\":8},\"prop\":\"belongUserId\",\"__vModel__\":\"belongUserId\",\"searchMultiple\":true,\"style\":{\"width\":\"100%\"},\"selectType\":\"all\",\"disabled\":false,\"id\":\"belongUserId\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"searchType\":3,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd HH:mm\",\"fullName\":\"质检时间\",\"label\":\"质检时间\",\"type\":\"datetime\",\"__config__\":{\"endRelationField\":\"\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665793517,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":115,\"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\":\"inspectionTime\",\"__vModel__\":\"inspectionTime\",\"searchMultiple\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"inspectionTime\",\"placeholder\":\"请选择\",\"value\":[]}],\"treeInterfaceId\":\"\",\"treePropsValue\":\"id\",\"ruleList\":{\"conditionList\":[],\"matchLogic\":\"and\"},\"childTableStyle\":1,\"columnOptions\":[{\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"warehousingInspection\",\"className\":[],\"label\":\"质检单编号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665599300,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"质检单\",\"tag\":\"JnpfInput\",\"span\":10},\"readonly\":true,\"__vModel__\":\"inspectionCode\",\"fullName\":\"质检单编号\",\"style\":{\"width\":\"100%\"},\"id\":\"inspectionCode\",\"placeholder\":\"系统自动生成\"},{\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"createTime\",\"defaultValue\":\"\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"制单时间\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665647691,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-createtime\",\"tag\":\"JnpfOpenData\",\"span\":10},\"readonly\":true,\"__vModel__\":\"creatorTime\",\"fullName\":\"制单时间\",\"style\":{\"width\":\"100%\"},\"id\":\"creatorTime\",\"placeholder\":\"\",\"type\":\"currTime\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"质检类型\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":113,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"质检类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665744875,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"入库质检\",\"id\":\"1\"},{\"fullName\":\"出库质检\",\"id\":\"2\"}],\"__vModel__\":\"inspectionType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"inspectionType\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"ableIds\":[],\"multiple\":false,\"fullName\":\"质检人员\",\"relationField\":\"\",\"__config__\":{\"formId\":114,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"userSelect\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"质检人员\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"relationField\":\"\",\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665776213,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-user\",\"defaultCurrent\":false,\"tag\":\"JnpfUserSelect\",\"regList\":[],\"span\":8},\"__vModel__\":\"belongUserId\",\"style\":{\"width\":\"100%\"},\"selectType\":\"all\",\"disabled\":false,\"id\":\"belongUserId\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"format\":\"yyyy-MM-dd HH:mm\",\"fullName\":\"质检时间\",\"type\":\"datetime\",\"__config__\":{\"endRelationField\":\"\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665793517,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":115,\"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__\":\"inspectionTime\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"inspectionTime\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"备注\",\"addonAfter\":\"\",\"__config__\":{\"formId\":116,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"备注\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665811908,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"remark\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"remark\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"__config__\":{\"formId\":120,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"createUser\",\"defaultValue\":\"\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"创建用户\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665879697,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-founder\",\"tag\":\"JnpfOpenData\",\"span\":24},\"readonly\":true,\"__vModel__\":\"creatorUserId\",\"fullName\":\"创建用户\",\"style\":{\"width\":\"100%\"},\"id\":\"creatorUserId\",\"placeholder\":\"\",\"type\":\"currUser\"},{\"__config__\":{\"formId\":122,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"modifyTime\",\"defaultValue\":\"\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"修改时间\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665884147,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-modifytime\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"__vModel__\":\"lastModifyTime\",\"fullName\":\"修改时间\",\"style\":{\"width\":\"100%\"},\"id\":\"lastModifyTime\",\"placeholder\":\"系统自动生成\"},{\"__config__\":{\"formId\":121,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"modifyUser\",\"defaultValue\":\"\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"修改用户\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665882898,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-modifier\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"__vModel__\":\"lastModifyUserId\",\"fullName\":\"修改用户\",\"style\":{\"width\":\"100%\"},\"id\":\"lastModifyUserId\",\"placeholder\":\"系统自动生成\"},{\"popupType\":\"dialog\",\"hasPage\":false,\"clearable\":true,\"fullName\":\"-凭证单据编号\",\"pageSize\":20,\"columnOptions\":[{\"label\":\"凭证编号\",\"value\":\"voucher_code\"},{\"label\":\"单据类型\",\"value\":\"documentTypes\"},{\"label\":\"凭证类型\",\"value\":\"voucherTypes\"},{\"label\":\"车辆信息\",\"value\":\"vehicle_number\"}],\"templateJson\":[{\"fieldName\":\"这是质检单的类型\",\"field\":\"inspectionType\",\"defaultValue\":\"\",\"jnpfKey\":\"select\",\"dataType\":\"varchar\",\"parameter\":\"inspectionType\",\"id\":\"q3dbiy1\",\"required\":1,\"relationField\":\"inspectionType\"}],\"relationField\":\"voucher_code\",\"__config__\":{\"formId\":124,\"relationTable\":\"jg_warehousing_inspection_voucher\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"popupSelect\",\"defaultValue\":\"\",\"noShow\":false,\"parentVModel\":\"tableField118\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"凭证单据编号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708667505154,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-popup\",\"isSubTable\":true,\"tag\":\"JnpfPopupSelect\",\"regList\":[],\"span\":24},\"popupTitle\":\"选择数据\",\"__vModel__\":\"voucheId\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"tableField118-voucheId\",\"placeholder\":\"请选择\",\"interfaceId\":\"530709323597241349\",\"interfaceName\":\"质检单-判断类型查询凭证\",\"popupWidth\":\"800px\",\"propsValue\":\"id\"},{\"popupType\":\"dialog\",\"hasPage\":true,\"clearable\":true,\"fullName\":\"-商品名称\",\"pageSize\":20,\"columnOptions\":[{\"label\":\"商品名称\",\"value\":\"name\"},{\"label\":\"规格\",\"value\":\"spec\"}],\"templateJson\":[{\"fieldName\":\"这是质检单的类型\",\"field\":\"inspectionType\",\"defaultValue\":\"\",\"jnpfKey\":\"billRule\",\"dataType\":\"int\",\"parameter\":\"inspectionType\",\"id\":\"q3dbiy1\",\"required\":1,\"relationField\":\"inspectionCode\"}],\"relationField\":\"name\",\"__config__\":{\"formId\":129,\"relationTable\":\"jg_warehousing_inspection_product\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"popupSelect\",\"defaultValue\":\"\",\"noShow\":false,\"parentVModel\":\"tableField126\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品名称\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668397166,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-popup\",\"isSubTable\":true,\"tag\":\"JnpfPopupSelect\",\"regList\":[],\"span\":24},\"popupTitle\":\"选择数据\",\"__vModel__\":\"productId\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"tableField126-productId\",\"placeholder\":\"请选择\",\"interfaceId\":\"530709323597241349\",\"interfaceName\":\"质检单-判断类型查询凭证\",\"popupWidth\":\"800px\",\"propsValue\":\"id\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"-毛重\",\"addonAfter\":\"\",\"__config__\":{\"formId\":133,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"毛重\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668803631,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"grossWeight\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"tableField131-grossWeight\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"-皮重\",\"addonAfter\":\"\",\"__config__\":{\"formId\":134,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"皮重\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668814594,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"tareWeight\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"tableField131-tareWeight\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"-扣重\",\"addonAfter\":\"\",\"__config__\":{\"formId\":135,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"扣重\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668815516,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"buckleWeight\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"tableField131-buckleWeight\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"-净重(自动计算)\",\"addonAfter\":\"\",\"__config__\":{\"formId\":136,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"净重(自动计算)\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668816435,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"netWeight\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"tableField131-netWeight\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"-是否降级\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"defaultValue\":\"\",\"parentVModel\":\"tableField131\",\"dragDisabled\":false,\"className\":[],\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668847840,\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"isSubTable\":true,\"tag\":\"JnpfSelect\",\"formId\":138,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"label\":\"是否降级\",\"trigger\":\"change\",\"layout\":\"colFormItem\",\"propsName\":\"\",\"regList\":[],\"span\":24},\"options\":[{\"fullName\":\"是\",\"id\":\"1\"},{\"fullName\":\"否\",\"id\":\"2\"}],\"__vModel__\":\"reduceLevel\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"tableField131-reduceLevel\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"-等级\",\"addonAfter\":\"\",\"__config__\":{\"formId\":139,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"等级\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668875548,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"grade\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"tableField131-grade\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"-创建用户\",\"addonAfter\":\"\",\"__config__\":{\"formId\":140,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"创建用户\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668883932,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"creatorUserId\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"tableField131-creatorUserId\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"检测结论\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":141,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"检测结论\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668932476,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"合格\",\"id\":\"1\"},{\"fullName\":\"不合格\",\"id\":\"2\"}],\"__vModel__\":\"conclusionType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"conclusionType\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"检验结果\",\"addonAfter\":\"\",\"__config__\":{\"formId\":142,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"检验结果\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668973828,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"conclusionRemark\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"conclusionRemark\",\"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\":[{\"jnpfKey\":\"billRule\",\"fullName\":\"质检单编号\",\"label\":\"质检单编号\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"warehousingInspection\",\"className\":[],\"label\":\"质检单编号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665599300,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"质检单\",\"tag\":\"JnpfInput\",\"span\":10},\"readonly\":true,\"prop\":\"inspectionCode\",\"__vModel__\":\"inspectionCode\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"id\":\"inspectionCode\",\"placeholder\":\"系统自动生成\"},{\"jnpfKey\":\"createTime\",\"fullName\":\"制单时间\",\"label\":\"制单时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"currTime\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"createTime\",\"defaultValue\":\"\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"制单时间\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665647691,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-createtime\",\"tag\":\"JnpfOpenData\",\"span\":10},\"readonly\":true,\"prop\":\"creatorTime\",\"__vModel__\":\"creatorTime\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"id\":\"creatorTime\",\"placeholder\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"质检类型\",\"label\":\"质检类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":113,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"质检类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665744875,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"inspectionType\",\"options\":[{\"fullName\":\"入库质检\",\"id\":\"1\"},{\"fullName\":\"出库质检\",\"id\":\"2\"}],\"__vModel__\":\"inspectionType\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"inspectionType\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"jnpfKey\":\"userSelect\",\"ableIds\":[],\"multiple\":false,\"fullName\":\"质检人员\",\"label\":\"质检人员\",\"sortable\":false,\"align\":\"left\",\"relationField\":\"\",\"__config__\":{\"formId\":114,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"userSelect\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"质检人员\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"relationField\":\"\",\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665776213,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-user\",\"defaultCurrent\":false,\"tag\":\"JnpfUserSelect\",\"regList\":[],\"span\":8},\"prop\":\"belongUserId\",\"__vModel__\":\"belongUserId\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"selectType\":\"all\",\"disabled\":false,\"id\":\"belongUserId\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd HH:mm\",\"fullName\":\"质检时间\",\"label\":\"质检时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"datetime\",\"__config__\":{\"endRelationField\":\"\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665793517,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":115,\"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\":\"inspectionTime\",\"__vModel__\":\"inspectionTime\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"inspectionTime\",\"placeholder\":\"请选择\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":116,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"备注\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665811908,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"remark\",\"showWordLimit\":false,\"__vModel__\":\"remark\",\"checked\":false,\"disabled\":false,\"id\":\"remark\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"备注\",\"label\":\"备注\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"jnpfKey\":\"createUser\",\"fullName\":\"创建用户\",\"label\":\"创建用户\",\"sortable\":false,\"align\":\"left\",\"type\":\"currUser\",\"__config__\":{\"formId\":120,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"createUser\",\"defaultValue\":\"\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"创建用户\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665879697,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-founder\",\"tag\":\"JnpfOpenData\",\"span\":24},\"readonly\":true,\"prop\":\"creatorUserId\",\"__vModel__\":\"creatorUserId\",\"checked\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"id\":\"creatorUserId\",\"placeholder\":\"\"},{\"jnpfKey\":\"modifyTime\",\"fullName\":\"修改时间\",\"label\":\"修改时间\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":122,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"modifyTime\",\"defaultValue\":\"\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"修改时间\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665884147,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-modifytime\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"prop\":\"lastModifyTime\",\"__vModel__\":\"lastModifyTime\",\"checked\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"id\":\"lastModifyTime\",\"placeholder\":\"系统自动生成\"},{\"jnpfKey\":\"modifyUser\",\"fullName\":\"修改用户\",\"label\":\"修改用户\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":121,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"modifyUser\",\"defaultValue\":\"\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"修改用户\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665882898,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-modifier\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"prop\":\"lastModifyUserId\",\"__vModel__\":\"lastModifyUserId\",\"checked\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"id\":\"lastModifyUserId\",\"placeholder\":\"系统自动生成\"},{\"popupType\":\"dialog\",\"hasPage\":false,\"pageSize\":20,\"columnOptions\":[{\"label\":\"凭证编号\",\"value\":\"voucher_code\"},{\"label\":\"单据类型\",\"value\":\"documentTypes\"},{\"label\":\"凭证类型\",\"value\":\"voucherTypes\"},{\"label\":\"车辆信息\",\"value\":\"vehicle_number\"}],\"align\":\"left\",\"templateJson\":[{\"fieldName\":\"这是质检单的类型\",\"field\":\"inspectionType\",\"defaultValue\":\"\",\"jnpfKey\":\"select\",\"dataType\":\"varchar\",\"parameter\":\"inspectionType\",\"id\":\"q3dbiy1\",\"required\":1,\"relationField\":\"inspectionType\"}],\"__config__\":{\"formId\":124,\"relationTable\":\"jg_warehousing_inspection_voucher\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"popupSelect\",\"defaultValue\":\"\",\"noShow\":false,\"parentVModel\":\"tableField118\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"凭证单据编号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708667505154,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-popup\",\"isSubTable\":true,\"tag\":\"JnpfPopupSelect\",\"regList\":[],\"span\":24},\"prop\":\"tableField118-voucheId\",\"__vModel__\":\"voucheId\",\"checked\":false,\"disabled\":false,\"id\":\"tableField118-voucheId\",\"placeholder\":\"请选择\",\"interfaceName\":\"质检单-判断类型查询凭证\",\"popupWidth\":\"800px\",\"clearable\":true,\"jnpfKey\":\"popupSelect\",\"fullName\":\"-凭证单据编号\",\"label\":\"-凭证单据编号\",\"sortable\":false,\"relationField\":\"voucher_code\",\"popupTitle\":\"选择数据\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"interfaceHasPage\":false,\"interfaceId\":\"530709323597241349\",\"propsValue\":\"id\"},{\"popupType\":\"dialog\",\"hasPage\":true,\"pageSize\":20,\"columnOptions\":[{\"label\":\"商品名称\",\"value\":\"name\"},{\"label\":\"规格\",\"value\":\"spec\"}],\"align\":\"left\",\"templateJson\":[{\"fieldName\":\"这是质检单的类型\",\"field\":\"inspectionType\",\"defaultValue\":\"\",\"jnpfKey\":\"billRule\",\"dataType\":\"int\",\"parameter\":\"inspectionType\",\"id\":\"q3dbiy1\",\"required\":1,\"relationField\":\"inspectionCode\"}],\"__config__\":{\"formId\":129,\"relationTable\":\"jg_warehousing_inspection_product\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"popupSelect\",\"defaultValue\":\"\",\"noShow\":false,\"parentVModel\":\"tableField126\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品名称\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668397166,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-popup\",\"isSubTable\":true,\"tag\":\"JnpfPopupSelect\",\"regList\":[],\"span\":24},\"prop\":\"tableField126-productId\",\"__vModel__\":\"productId\",\"checked\":false,\"disabled\":false,\"id\":\"tableField126-productId\",\"placeholder\":\"请选择\",\"interfaceName\":\"质检单-判断类型查询凭证\",\"popupWidth\":\"800px\",\"clearable\":true,\"jnpfKey\":\"popupSelect\",\"fullName\":\"-商品名称\",\"label\":\"-商品名称\",\"sortable\":false,\"relationField\":\"name\",\"popupTitle\":\"选择数据\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"interfaceHasPage\":false,\"interfaceId\":\"530709323597241349\",\"propsValue\":\"id\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":133,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"毛重\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668803631,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"tableField131-grossWeight\",\"showWordLimit\":false,\"__vModel__\":\"grossWeight\",\"checked\":false,\"disabled\":false,\"id\":\"tableField131-grossWeight\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"-毛重\",\"label\":\"-毛重\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":134,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"皮重\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668814594,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"tableField131-tareWeight\",\"showWordLimit\":false,\"__vModel__\":\"tareWeight\",\"checked\":false,\"disabled\":false,\"id\":\"tableField131-tareWeight\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"-皮重\",\"label\":\"-皮重\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":135,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"扣重\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668815516,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"tableField131-buckleWeight\",\"showWordLimit\":false,\"__vModel__\":\"buckleWeight\",\"checked\":false,\"disabled\":false,\"id\":\"tableField131-buckleWeight\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"-扣重\",\"label\":\"-扣重\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":136,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"净重(自动计算)\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668816435,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"tableField131-netWeight\",\"showWordLimit\":false,\"__vModel__\":\"netWeight\",\"checked\":false,\"disabled\":false,\"id\":\"tableField131-netWeight\",\"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__\":{\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"defaultValue\":\"\",\"parentVModel\":\"tableField131\",\"dragDisabled\":false,\"className\":[],\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668847840,\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"isSubTable\":true,\"tag\":\"JnpfSelect\",\"formId\":138,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"label\":\"是否降级\",\"trigger\":\"change\",\"layout\":\"colFormItem\",\"propsName\":\"\",\"regList\":[],\"span\":24},\"prop\":\"tableField131-reduceLevel\",\"options\":[{\"fullName\":\"是\",\"id\":\"1\"},{\"fullName\":\"否\",\"id\":\"2\"}],\"__vModel__\":\"reduceLevel\",\"checked\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"tableField131-reduceLevel\",\"placeholder\":\"请选择\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":139,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"等级\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668875548,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"tableField131-grade\",\"showWordLimit\":false,\"__vModel__\":\"grade\",\"checked\":false,\"disabled\":false,\"id\":\"tableField131-grade\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"-等级\",\"label\":\"-等级\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":140,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"创建用户\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668883932,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"tableField131-creatorUserId\",\"showWordLimit\":false,\"__vModel__\":\"creatorUserId\",\"checked\":false,\"disabled\":false,\"id\":\"tableField131-creatorUserId\",\"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\":141,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"检测结论\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668932476,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"conclusionType\",\"options\":[{\"fullName\":\"合格\",\"id\":\"1\"},{\"fullName\":\"不合格\",\"id\":\"2\"}],\"__vModel__\":\"conclusionType\",\"checked\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"conclusionType\",\"placeholder\":\"请选择\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":142,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"检验结果\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668973828,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"conclusionRemark\",\"showWordLimit\":false,\"__vModel__\":\"conclusionRemark\",\"checked\":false,\"disabled\":false,\"id\":\"conclusionRemark\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"检验结果\",\"label\":\"检验结果\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"}],\"treeTemplateJson\":[],\"treePropsName\":\"\",\"useColumnPermission\":false,\"treePropsUrl\":\"\",\"treeRelation\":\"\",\"treeSynType\":0,\"btnsList\":[{\"icon\":\"icon-ym icon-ym-btn-add\",\"label\":\"新增\",\"value\":\"add\"},{\"icon\":\"icon-ym icon-ym-btn-download\",\"label\":\"导出\",\"value\":\"download\"},{\"icon\":\"icon-ym icon-ym-btn-clearn\",\"label\":\"批量删除\",\"value\":\"batchRemove\"}],\"useDataPermission\":true,\"columnList\":[{\"jnpfKey\":\"billRule\",\"fullName\":\"质检单编号\",\"label\":\"质检单编号\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"warehousingInspection\",\"className\":[],\"label\":\"质检单编号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665599300,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"质检单\",\"tag\":\"JnpfInput\",\"span\":10},\"readonly\":true,\"prop\":\"inspectionCode\",\"width\":0,\"__vModel__\":\"inspectionCode\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"id\":\"inspectionCode\",\"placeholder\":\"系统自动生成\"},{\"jnpfKey\":\"createTime\",\"fullName\":\"制单时间\",\"label\":\"制单时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"currTime\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"createTime\",\"defaultValue\":\"\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"制单时间\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665647691,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-createtime\",\"tag\":\"JnpfOpenData\",\"span\":10},\"readonly\":true,\"prop\":\"creatorTime\",\"width\":0,\"__vModel__\":\"creatorTime\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"id\":\"creatorTime\",\"placeholder\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"质检类型\",\"label\":\"质检类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":113,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"质检类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665744875,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"inspectionType\",\"width\":0,\"options\":[{\"fullName\":\"入库质检\",\"id\":\"1\"},{\"fullName\":\"出库质检\",\"id\":\"2\"}],\"__vModel__\":\"inspectionType\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"inspectionType\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"jnpfKey\":\"userSelect\",\"ableIds\":[],\"multiple\":false,\"fullName\":\"质检人员\",\"label\":\"质检人员\",\"sortable\":false,\"align\":\"left\",\"relationField\":\"\",\"__config__\":{\"formId\":114,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"userSelect\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"质检人员\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"relationField\":\"\",\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665776213,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-user\",\"defaultCurrent\":false,\"tag\":\"JnpfUserSelect\",\"regList\":[],\"span\":8},\"prop\":\"belongUserId\",\"width\":0,\"__vModel__\":\"belongUserId\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"selectType\":\"all\",\"disabled\":false,\"id\":\"belongUserId\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd HH:mm\",\"fullName\":\"质检时间\",\"label\":\"质检时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"datetime\",\"__config__\":{\"endRelationField\":\"\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665793517,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":115,\"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\":\"inspectionTime\",\"width\":0,\"__vModel__\":\"inspectionTime\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"inspectionTime\",\"placeholder\":\"请选择\"}],\"sort\":\"desc\",\"thousands\":false,\"hasSuperQuery\":true,\"summaryField\":[],\"parentField\":\"\",\"treePropsLabel\":\"fullName\",\"treeDataSource\":\"dictionary\",\"groupField\":\"\",\"printIds\":[],\"uploaderTemplateJson\":{},\"treeDictionary\":\"\",\"hasTreeQuery\":false,\"useFormPermission\":false,\"customBtnsList\":[],\"complexHeaderList\":[],\"useBtnPermission\":true,\"treeInterfaceName\":\"\",\"defaultSidx\":\"\"}"); return sb.toString(); + } + /** app列表字段配置json */ + public static final String getAppColumnData(){ + StringBuilder sb = new StringBuilder(); +sb.append("{\"hasPage\":true,\"useColumnPermission\":false,\"searchList\":[],\"btnsList\":[{\"icon\":\"icon-ym icon-ym-btn-add\",\"label\":\"新增\",\"value\":\"add\"}],\"useDataPermission\":false,\"ruleListApp\":{\"conditionList\":[],\"matchLogic\":\"and\"},\"columnList\":[{\"jnpfKey\":\"billRule\",\"fullName\":\"质检单编号\",\"label\":\"质检单编号\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"warehousingInspection\",\"className\":[],\"label\":\"质检单编号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665599300,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"质检单\",\"tag\":\"JnpfInput\",\"span\":10},\"readonly\":true,\"prop\":\"inspectionCode\",\"width\":0,\"__vModel__\":\"inspectionCode\",\"style\":{\"width\":\"100%\"},\"fixed\":\"none\",\"placeholder\":\"系统自动生成\",\"id\":\"inspectionCode\"},{\"jnpfKey\":\"createTime\",\"fullName\":\"制单时间\",\"label\":\"制单时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"currTime\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"createTime\",\"defaultValue\":\"\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"制单时间\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665647691,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-createtime\",\"tag\":\"JnpfOpenData\",\"span\":10},\"readonly\":true,\"prop\":\"creatorTime\",\"width\":0,\"__vModel__\":\"creatorTime\",\"style\":{\"width\":\"100%\"},\"fixed\":\"none\",\"placeholder\":\"\",\"id\":\"creatorTime\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"质检类型\",\"label\":\"质检类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":113,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"质检类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665744875,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"inspectionType\",\"width\":0,\"options\":[{\"fullName\":\"入库质检\",\"id\":\"1\"},{\"fullName\":\"出库质检\",\"id\":\"2\"}],\"__vModel__\":\"inspectionType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"fixed\":\"none\",\"placeholder\":\"请选择\",\"id\":\"inspectionType\"},{\"clearable\":true,\"jnpfKey\":\"userSelect\",\"ableIds\":[],\"multiple\":false,\"fullName\":\"质检人员\",\"label\":\"质检人员\",\"sortable\":false,\"align\":\"left\",\"relationField\":\"\",\"__config__\":{\"formId\":114,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"userSelect\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"质检人员\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"relationField\":\"\",\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665776213,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-user\",\"defaultCurrent\":false,\"tag\":\"JnpfUserSelect\",\"regList\":[],\"span\":8},\"prop\":\"belongUserId\",\"width\":0,\"__vModel__\":\"belongUserId\",\"style\":{\"width\":\"100%\"},\"selectType\":\"all\",\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"请选择\",\"id\":\"belongUserId\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd HH:mm\",\"fullName\":\"质检时间\",\"label\":\"质检时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"datetime\",\"__config__\":{\"endRelationField\":\"\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665793517,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":115,\"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\":\"inspectionTime\",\"width\":0,\"__vModel__\":\"inspectionTime\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"请选择\",\"id\":\"inspectionTime\"}],\"columnOptions\":[{\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"warehousingInspection\",\"className\":[],\"label\":\"质检单编号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665599300,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"质检单\",\"tag\":\"JnpfInput\",\"span\":10},\"readonly\":true,\"__vModel__\":\"inspectionCode\",\"fullName\":\"质检单编号\",\"style\":{\"width\":\"100%\"},\"placeholder\":\"系统自动生成\",\"id\":\"inspectionCode\"},{\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"createTime\",\"defaultValue\":\"\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"制单时间\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665647691,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-createtime\",\"tag\":\"JnpfOpenData\",\"span\":10},\"readonly\":true,\"__vModel__\":\"creatorTime\",\"fullName\":\"制单时间\",\"style\":{\"width\":\"100%\"},\"placeholder\":\"\",\"id\":\"creatorTime\",\"type\":\"currTime\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"质检类型\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":113,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"质检类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665744875,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"入库质检\",\"id\":\"1\"},{\"fullName\":\"出库质检\",\"id\":\"2\"}],\"__vModel__\":\"inspectionType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"inspectionType\"},{\"clearable\":true,\"ableIds\":[],\"multiple\":false,\"fullName\":\"质检人员\",\"relationField\":\"\",\"__config__\":{\"formId\":114,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"userSelect\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"质检人员\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"relationField\":\"\",\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665776213,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-user\",\"defaultCurrent\":false,\"tag\":\"JnpfUserSelect\",\"regList\":[],\"span\":8},\"__vModel__\":\"belongUserId\",\"style\":{\"width\":\"100%\"},\"selectType\":\"all\",\"disabled\":false,\"placeholder\":\"请选择\",\"id\":\"belongUserId\"},{\"clearable\":true,\"format\":\"yyyy-MM-dd HH:mm\",\"fullName\":\"质检时间\",\"type\":\"datetime\",\"__config__\":{\"endRelationField\":\"\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665793517,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":115,\"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__\":\"inspectionTime\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"id\":\"inspectionTime\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"备注\",\"addonAfter\":\"\",\"__config__\":{\"formId\":116,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"备注\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665811908,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"remark\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"remark\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"__config__\":{\"formId\":120,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"createUser\",\"defaultValue\":\"\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"创建用户\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665879697,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-founder\",\"tag\":\"JnpfOpenData\",\"span\":24},\"readonly\":true,\"__vModel__\":\"creatorUserId\",\"fullName\":\"创建用户\",\"style\":{\"width\":\"100%\"},\"placeholder\":\"\",\"id\":\"creatorUserId\",\"type\":\"currUser\"},{\"__config__\":{\"formId\":122,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"modifyTime\",\"defaultValue\":\"\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"修改时间\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665884147,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-modifytime\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"__vModel__\":\"lastModifyTime\",\"fullName\":\"修改时间\",\"style\":{\"width\":\"100%\"},\"placeholder\":\"系统自动生成\",\"id\":\"lastModifyTime\"},{\"__config__\":{\"formId\":121,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"modifyUser\",\"defaultValue\":\"\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"修改用户\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665882898,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-modifier\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"__vModel__\":\"lastModifyUserId\",\"fullName\":\"修改用户\",\"style\":{\"width\":\"100%\"},\"placeholder\":\"系统自动生成\",\"id\":\"lastModifyUserId\"},{\"popupType\":\"dialog\",\"hasPage\":false,\"clearable\":true,\"pageSize\":20,\"columnOptions\":[{\"label\":\"凭证编号\",\"value\":\"voucher_code\"},{\"label\":\"单据类型\",\"value\":\"documentTypes\"},{\"label\":\"凭证类型\",\"value\":\"voucherTypes\"},{\"label\":\"车辆信息\",\"value\":\"vehicle_number\"}],\"fullName\":\"-凭证单据编号\",\"templateJson\":[{\"fieldName\":\"这是质检单的类型\",\"field\":\"inspectionType\",\"defaultValue\":\"\",\"jnpfKey\":\"select\",\"dataType\":\"varchar\",\"parameter\":\"inspectionType\",\"id\":\"q3dbiy1\",\"required\":1,\"relationField\":\"inspectionType\"}],\"relationField\":\"voucher_code\",\"__config__\":{\"formId\":124,\"relationTable\":\"jg_warehousing_inspection_voucher\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"popupSelect\",\"defaultValue\":\"\",\"noShow\":false,\"parentVModel\":\"tableField118\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"凭证单据编号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708667505154,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-popup\",\"isSubTable\":true,\"tag\":\"JnpfPopupSelect\",\"regList\":[],\"span\":24},\"popupTitle\":\"选择数据\",\"__vModel__\":\"voucheId\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"interfaceId\":\"530709323597241349\",\"interfaceName\":\"质检单-判断类型查询凭证\",\"id\":\"tableField118-voucheId\",\"popupWidth\":\"800px\",\"propsValue\":\"id\"},{\"popupType\":\"dialog\",\"hasPage\":true,\"clearable\":true,\"pageSize\":20,\"columnOptions\":[{\"label\":\"商品名称\",\"value\":\"name\"},{\"label\":\"规格\",\"value\":\"spec\"}],\"fullName\":\"-商品名称\",\"templateJson\":[{\"fieldName\":\"这是质检单的类型\",\"field\":\"inspectionType\",\"defaultValue\":\"\",\"jnpfKey\":\"billRule\",\"dataType\":\"int\",\"parameter\":\"inspectionType\",\"id\":\"q3dbiy1\",\"required\":1,\"relationField\":\"inspectionCode\"}],\"relationField\":\"name\",\"__config__\":{\"formId\":129,\"relationTable\":\"jg_warehousing_inspection_product\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"popupSelect\",\"defaultValue\":\"\",\"noShow\":false,\"parentVModel\":\"tableField126\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品名称\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668397166,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-popup\",\"isSubTable\":true,\"tag\":\"JnpfPopupSelect\",\"regList\":[],\"span\":24},\"popupTitle\":\"选择数据\",\"__vModel__\":\"productId\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"interfaceId\":\"530709323597241349\",\"interfaceName\":\"质检单-判断类型查询凭证\",\"id\":\"tableField126-productId\",\"popupWidth\":\"800px\",\"propsValue\":\"id\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"-毛重\",\"addonAfter\":\"\",\"__config__\":{\"formId\":133,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"毛重\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668803631,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"grossWeight\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"tableField131-grossWeight\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"-皮重\",\"addonAfter\":\"\",\"__config__\":{\"formId\":134,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"皮重\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668814594,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"tareWeight\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"tableField131-tareWeight\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"-扣重\",\"addonAfter\":\"\",\"__config__\":{\"formId\":135,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"扣重\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668815516,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"buckleWeight\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"tableField131-buckleWeight\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"-净重(自动计算)\",\"addonAfter\":\"\",\"__config__\":{\"formId\":136,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"净重(自动计算)\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668816435,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"netWeight\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"tableField131-netWeight\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"-是否降级\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"defaultValue\":\"\",\"parentVModel\":\"tableField131\",\"dragDisabled\":false,\"className\":[],\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668847840,\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"isSubTable\":true,\"tag\":\"JnpfSelect\",\"formId\":138,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"label\":\"是否降级\",\"trigger\":\"change\",\"layout\":\"colFormItem\",\"propsName\":\"\",\"regList\":[],\"span\":24},\"options\":[{\"fullName\":\"是\",\"id\":\"1\"},{\"fullName\":\"否\",\"id\":\"2\"}],\"__vModel__\":\"reduceLevel\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"tableField131-reduceLevel\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"-等级\",\"addonAfter\":\"\",\"__config__\":{\"formId\":139,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"等级\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668875548,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"grade\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"tableField131-grade\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"-创建用户\",\"addonAfter\":\"\",\"__config__\":{\"formId\":140,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"创建用户\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668883932,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"creatorUserId\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"tableField131-creatorUserId\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"检测结论\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":141,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"检测结论\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668932476,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"合格\",\"id\":\"1\"},{\"fullName\":\"不合格\",\"id\":\"2\"}],\"__vModel__\":\"conclusionType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"conclusionType\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"检验结果\",\"addonAfter\":\"\",\"__config__\":{\"formId\":142,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"检验结果\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668973828,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"conclusionRemark\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"conclusionRemark\",\"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\":[{\"jnpfKey\":\"billRule\",\"fullName\":\"质检单编号\",\"label\":\"质检单编号\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"warehousingInspection\",\"className\":[],\"label\":\"质检单编号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665599300,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"质检单\",\"tag\":\"JnpfInput\",\"span\":10},\"readonly\":true,\"prop\":\"inspectionCode\",\"__vModel__\":\"inspectionCode\",\"checked\":true,\"style\":{\"width\":\"100%\"},\"placeholder\":\"系统自动生成\",\"id\":\"inspectionCode\"},{\"jnpfKey\":\"createTime\",\"fullName\":\"制单时间\",\"label\":\"制单时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"currTime\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"createTime\",\"defaultValue\":\"\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"制单时间\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665647691,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-createtime\",\"tag\":\"JnpfOpenData\",\"span\":10},\"readonly\":true,\"prop\":\"creatorTime\",\"__vModel__\":\"creatorTime\",\"checked\":true,\"style\":{\"width\":\"100%\"},\"placeholder\":\"\",\"id\":\"creatorTime\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"质检类型\",\"label\":\"质检类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":113,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"质检类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665744875,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"inspectionType\",\"options\":[{\"fullName\":\"入库质检\",\"id\":\"1\"},{\"fullName\":\"出库质检\",\"id\":\"2\"}],\"__vModel__\":\"inspectionType\",\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"inspectionType\"},{\"clearable\":true,\"jnpfKey\":\"userSelect\",\"ableIds\":[],\"multiple\":false,\"fullName\":\"质检人员\",\"label\":\"质检人员\",\"sortable\":false,\"align\":\"left\",\"relationField\":\"\",\"__config__\":{\"formId\":114,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"userSelect\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"质检人员\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"relationField\":\"\",\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665776213,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-user\",\"defaultCurrent\":false,\"tag\":\"JnpfUserSelect\",\"regList\":[],\"span\":8},\"prop\":\"belongUserId\",\"__vModel__\":\"belongUserId\",\"checked\":true,\"style\":{\"width\":\"100%\"},\"selectType\":\"all\",\"disabled\":false,\"placeholder\":\"请选择\",\"id\":\"belongUserId\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd HH:mm\",\"fullName\":\"质检时间\",\"label\":\"质检时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"datetime\",\"__config__\":{\"endRelationField\":\"\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665793517,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":115,\"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\":\"inspectionTime\",\"__vModel__\":\"inspectionTime\",\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"id\":\"inspectionTime\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"备注\",\"label\":\"备注\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":116,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"备注\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665811908,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"remark\",\"showWordLimit\":false,\"__vModel__\":\"remark\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"remark\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"jnpfKey\":\"createUser\",\"fullName\":\"创建用户\",\"label\":\"创建用户\",\"sortable\":false,\"align\":\"left\",\"type\":\"currUser\",\"__config__\":{\"formId\":120,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"createUser\",\"defaultValue\":\"\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"创建用户\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665879697,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-founder\",\"tag\":\"JnpfOpenData\",\"span\":24},\"readonly\":true,\"prop\":\"creatorUserId\",\"__vModel__\":\"creatorUserId\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"placeholder\":\"\",\"id\":\"creatorUserId\"},{\"jnpfKey\":\"modifyTime\",\"fullName\":\"修改时间\",\"label\":\"修改时间\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":122,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"modifyTime\",\"defaultValue\":\"\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"修改时间\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665884147,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-modifytime\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"prop\":\"lastModifyTime\",\"__vModel__\":\"lastModifyTime\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"placeholder\":\"系统自动生成\",\"id\":\"lastModifyTime\"},{\"jnpfKey\":\"modifyUser\",\"fullName\":\"修改用户\",\"label\":\"修改用户\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":121,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"modifyUser\",\"defaultValue\":\"\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"修改用户\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708665882898,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-modifier\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"prop\":\"lastModifyUserId\",\"__vModel__\":\"lastModifyUserId\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"placeholder\":\"系统自动生成\",\"id\":\"lastModifyUserId\"},{\"popupType\":\"dialog\",\"hasPage\":false,\"pageSize\":20,\"columnOptions\":[{\"label\":\"凭证编号\",\"value\":\"voucher_code\"},{\"label\":\"单据类型\",\"value\":\"documentTypes\"},{\"label\":\"凭证类型\",\"value\":\"voucherTypes\"},{\"label\":\"车辆信息\",\"value\":\"vehicle_number\"}],\"align\":\"left\",\"templateJson\":[{\"fieldName\":\"这是质检单的类型\",\"field\":\"inspectionType\",\"defaultValue\":\"\",\"jnpfKey\":\"select\",\"dataType\":\"varchar\",\"parameter\":\"inspectionType\",\"id\":\"q3dbiy1\",\"required\":1,\"relationField\":\"inspectionType\"}],\"__config__\":{\"formId\":124,\"relationTable\":\"jg_warehousing_inspection_voucher\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"popupSelect\",\"defaultValue\":\"\",\"noShow\":false,\"parentVModel\":\"tableField118\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"凭证单据编号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708667505154,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-popup\",\"isSubTable\":true,\"tag\":\"JnpfPopupSelect\",\"regList\":[],\"span\":24},\"prop\":\"tableField118-voucheId\",\"__vModel__\":\"voucheId\",\"checked\":false,\"disabled\":false,\"placeholder\":\"请选择\",\"interfaceName\":\"质检单-判断类型查询凭证\",\"id\":\"tableField118-voucheId\",\"popupWidth\":\"800px\",\"clearable\":true,\"jnpfKey\":\"popupSelect\",\"fullName\":\"-凭证单据编号\",\"label\":\"-凭证单据编号\",\"sortable\":false,\"relationField\":\"voucher_code\",\"popupTitle\":\"选择数据\",\"style\":{\"width\":\"100%\"},\"interfaceHasPage\":false,\"interfaceId\":\"530709323597241349\",\"propsValue\":\"id\"},{\"popupType\":\"dialog\",\"hasPage\":true,\"pageSize\":20,\"columnOptions\":[{\"label\":\"商品名称\",\"value\":\"name\"},{\"label\":\"规格\",\"value\":\"spec\"}],\"align\":\"left\",\"templateJson\":[{\"fieldName\":\"这是质检单的类型\",\"field\":\"inspectionType\",\"defaultValue\":\"\",\"jnpfKey\":\"billRule\",\"dataType\":\"int\",\"parameter\":\"inspectionType\",\"id\":\"q3dbiy1\",\"required\":1,\"relationField\":\"inspectionCode\"}],\"__config__\":{\"formId\":129,\"relationTable\":\"jg_warehousing_inspection_product\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"popupSelect\",\"defaultValue\":\"\",\"noShow\":false,\"parentVModel\":\"tableField126\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品名称\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668397166,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-popup\",\"isSubTable\":true,\"tag\":\"JnpfPopupSelect\",\"regList\":[],\"span\":24},\"prop\":\"tableField126-productId\",\"__vModel__\":\"productId\",\"checked\":false,\"disabled\":false,\"placeholder\":\"请选择\",\"interfaceName\":\"质检单-判断类型查询凭证\",\"id\":\"tableField126-productId\",\"popupWidth\":\"800px\",\"clearable\":true,\"jnpfKey\":\"popupSelect\",\"fullName\":\"-商品名称\",\"label\":\"-商品名称\",\"sortable\":false,\"relationField\":\"name\",\"popupTitle\":\"选择数据\",\"style\":{\"width\":\"100%\"},\"interfaceHasPage\":false,\"interfaceId\":\"530709323597241349\",\"propsValue\":\"id\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"-毛重\",\"label\":\"-毛重\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":133,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"毛重\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668803631,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"tableField131-grossWeight\",\"showWordLimit\":false,\"__vModel__\":\"grossWeight\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"tableField131-grossWeight\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"-皮重\",\"label\":\"-皮重\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":134,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"皮重\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668814594,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"tableField131-tareWeight\",\"showWordLimit\":false,\"__vModel__\":\"tareWeight\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"tableField131-tareWeight\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"-扣重\",\"label\":\"-扣重\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":135,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"扣重\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668815516,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"tableField131-buckleWeight\",\"showWordLimit\":false,\"__vModel__\":\"buckleWeight\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"tableField131-buckleWeight\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"-净重(自动计算)\",\"label\":\"-净重(自动计算)\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":136,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"净重(自动计算)\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668816435,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"tableField131-netWeight\",\"showWordLimit\":false,\"__vModel__\":\"netWeight\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"tableField131-netWeight\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"-是否降级\",\"label\":\"-是否降级\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"defaultValue\":\"\",\"parentVModel\":\"tableField131\",\"dragDisabled\":false,\"className\":[],\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668847840,\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"isSubTable\":true,\"tag\":\"JnpfSelect\",\"formId\":138,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"label\":\"是否降级\",\"trigger\":\"change\",\"layout\":\"colFormItem\",\"propsName\":\"\",\"regList\":[],\"span\":24},\"prop\":\"tableField131-reduceLevel\",\"options\":[{\"fullName\":\"是\",\"id\":\"1\"},{\"fullName\":\"否\",\"id\":\"2\"}],\"__vModel__\":\"reduceLevel\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"tableField131-reduceLevel\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"-等级\",\"label\":\"-等级\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":139,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"等级\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668875548,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"tableField131-grade\",\"showWordLimit\":false,\"__vModel__\":\"grade\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"tableField131-grade\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"-创建用户\",\"label\":\"-创建用户\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":140,\"relationTable\":\"jg_warehousing_inspection_conclusion\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"parentVModel\":\"tableField131\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"创建用户\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668883932,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"isSubTable\":true,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"tableField131-creatorUserId\",\"showWordLimit\":false,\"__vModel__\":\"creatorUserId\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"tableField131-creatorUserId\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"检测结论\",\"label\":\"检测结论\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":141,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"检测结论\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668932476,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"conclusionType\",\"options\":[{\"fullName\":\"合格\",\"id\":\"1\"},{\"fullName\":\"不合格\",\"id\":\"2\"}],\"__vModel__\":\"conclusionType\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"conclusionType\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"检验结果\",\"label\":\"检验结果\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":142,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"检验结果\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_warehousing_inspection\",\"renderKey\":1708668973828,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"conclusionRemark\",\"showWordLimit\":false,\"__vModel__\":\"conclusionRemark\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"conclusionRemark\",\"prefixIcon\":\"\",\"addonBefore\":\"\"}],\"sortList\":[],\"useFormPermission\":false,\"customBtnsList\":[],\"useBtnPermission\":false,\"defaultSidx\":\"\"}"); return sb.toString(); + } + /** 表列表 */ + public static final String getTableList(){ + StringBuilder sb = new StringBuilder(); +sb.append("[{\"relationField\":\"\",\"relationTable\":\"\",\"table\":\"jg_warehousing_inspection\",\"tableName\":\"质检单\",\"tableField\":\"\",\"typeId\":\"1\",\"fields\":[{\"columnName\":\"id\",\"field\":\"id\",\"fieldName\":\"自然主键\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":1,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"inspection_code\",\"field\":\"inspectionCode\",\"fieldName\":\"质检单编号\",\"dataType\":\"varchar\",\"dataLength\":\"64\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"inspection_type\",\"field\":\"inspectionType\",\"fieldName\":\"质检类型(1:入库质检 2:出库质检)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"belong_user_id\",\"field\":\"belongUserId\",\"fieldName\":\"质检人员id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"inspection_time\",\"field\":\"inspectionTime\",\"fieldName\":\"质检时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"usedreturn_status\",\"field\":\"usedreturnStatus\",\"fieldName\":\"单据状态(1:待提交 2:待审核 3:已驳回 4:已完成 5:已取消)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"remark\",\"field\":\"remark\",\"fieldName\":\"备注\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"conclusion_type\",\"field\":\"conclusionType\",\"fieldName\":\"检测结论(1:合格 2:不合格)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"conclusion_remark\",\"field\":\"conclusionRemark\",\"fieldName\":\"检验结果\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"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\":\"f_version\",\"field\":\"version\",\"fieldName\":\"乐观锁\",\"dataType\":\"int\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_flow_task_id\",\"field\":\"flowTaskId\",\"fieldName\":\"流程任务主键\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_flow_id\",\"field\":\"flowId\",\"fieldName\":\"流程id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0}]},{\"relationField\":\"id\",\"relationTable\":\"jg_warehousing_inspection\",\"table\":\"jg_warehousing_inspection_conclusion\",\"tableName\":\"质检单检测结论\",\"tableField\":\"inspectionId\",\"typeId\":\"0\",\"fields\":[{\"columnName\":\"id\",\"field\":\"id\",\"fieldName\":\"自然主键\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":1,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"inspection_id\",\"field\":\"inspectionId\",\"fieldName\":\"质检id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"gross_weight\",\"field\":\"grossWeight\",\"fieldName\":\"毛重\",\"dataType\":\"decimal\",\"dataLength\":\"32,6\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"tare_weight\",\"field\":\"tareWeight\",\"fieldName\":\"皮重\",\"dataType\":\"decimal\",\"dataLength\":\"32,6\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"buckle_weight\",\"field\":\"buckleWeight\",\"fieldName\":\"扣重\",\"dataType\":\"decimal\",\"dataLength\":\"32,6\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"net_weight\",\"field\":\"netWeight\",\"fieldName\":\"净重(自动计算)\",\"dataType\":\"decimal\",\"dataLength\":\"32,6\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"remark\",\"field\":\"remark\",\"fieldName\":\"备注\",\"dataType\":\"varchar\",\"dataLength\":\"128\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"reduce_level\",\"field\":\"reduceLevel\",\"fieldName\":\"是否降级(1:是 2:否)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"grade\",\"field\":\"grade\",\"fieldName\":\"等级\",\"dataType\":\"varchar\",\"dataLength\":\"64\",\"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}]},{\"relationField\":\"id\",\"relationTable\":\"jg_warehousing_inspection\",\"table\":\"jg_warehousing_inspection_product\",\"tableName\":\"质检单商品信息\",\"tableField\":\"inspectionId\",\"typeId\":\"0\",\"fields\":[{\"columnName\":\"id\",\"field\":\"id\",\"fieldName\":\"自然主键\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":1,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"inspection_id\",\"field\":\"inspectionId\",\"fieldName\":\"领用id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"vouche_id\",\"field\":\"voucheId\",\"fieldName\":\"凭证id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"product_id\",\"field\":\"productId\",\"fieldName\":\"商品id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"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}]},{\"relationField\":\"id\",\"relationTable\":\"jg_warehousing_inspection\",\"table\":\"jg_warehousing_inspection_voucher\",\"tableName\":\"质检单凭证信息\",\"tableField\":\"inspectionId\",\"typeId\":\"0\",\"fields\":[{\"columnName\":\"id\",\"field\":\"id\",\"fieldName\":\"自然主键\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":1,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"inspection_id\",\"field\":\"inspectionId\",\"fieldName\":\"质检id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"vouche_id\",\"field\":\"voucheId\",\"fieldName\":\"凭证id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"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}]}]"); return sb.toString(); + } +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/warehousinginspection/WarehousingInspectionForm.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/warehousinginspection/WarehousingInspectionForm.java new file mode 100644 index 00000000..fbcf44fc --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/warehousinginspection/WarehousingInspectionForm.java @@ -0,0 +1,68 @@ +package jnpf.model.warehousinginspection; + +import lombok.Data; +import java.util.List; +import java.math.BigDecimal; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * warehousingInspection + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-02-23 + */ +@Data +public class WarehousingInspectionForm { + /** 主键 */ + private String id; + /** 子表数据 **/ + @JsonProperty("warehousingInspectionVoucherList") + private List warehousingInspectionVoucherList; + /** 子表数据 **/ + @JsonProperty("warehousingInspectionProductList") + private List warehousingInspectionProductList; + /** 子表数据 **/ + @JsonProperty("warehousingInspectionConclusionList") + private List warehousingInspectionConclusionList; + /** 乐观锁 **/ + @JsonProperty("version") + private Integer version; + /** 流程id **/ + @JsonProperty("flowId") + private String flowId; + + /** 质检单编号 **/ + @JsonProperty("inspectionCode") + private String inspectionCode; + /** 制单时间 **/ + @JsonProperty("creatorTime") + private String creatorTime; + /** 质检类型 **/ + @JsonProperty("inspectionType") + private Object inspectionType; + /** 质检人员 **/ + @JsonProperty("belongUserId") + private Object belongUserId; + /** 质检时间 **/ + @JsonProperty("inspectionTime") + private String inspectionTime; + /** 备注 **/ + @JsonProperty("remark") + private String remark; + /** 创建用户 **/ + @JsonProperty("creatorUserId") + private String creatorUserId; + /** 修改时间 **/ + @JsonProperty("lastModifyTime") + private String lastModifyTime; + /** 修改用户 **/ + @JsonProperty("lastModifyUserId") + private String lastModifyUserId; + /** 检测结论 **/ + @JsonProperty("conclusionType") + private Object conclusionType; + /** 检验结果 **/ + @JsonProperty("conclusionRemark") + private String conclusionRemark; +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/warehousinginspection/WarehousingInspectionPagination.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/warehousinginspection/WarehousingInspectionPagination.java new file mode 100644 index 00000000..9c30f51f --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/warehousinginspection/WarehousingInspectionPagination.java @@ -0,0 +1,45 @@ +package jnpf.model.warehousinginspection; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Data; +import jnpf.base.Pagination; +import java.util.List; + +/** + * + * warehousingInspection + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-02-23 + */ +@Data +public class WarehousingInspectionPagination 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("inspectionCode") + private Object inspectionCode; + /** 制单时间 */ + @JsonProperty("creatorTime") + private Object creatorTime; + /** 质检类型 */ + @JsonProperty("inspectionType") + private Object inspectionType; + /** 质检人员 */ + @JsonProperty("belongUserId") + private Object belongUserId; + /** 质检时间 */ + @JsonProperty("inspectionTime") + private Object inspectionTime; +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/warehousinginspection/WarehousingInspectionProductModel.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/warehousinginspection/WarehousingInspectionProductModel.java new file mode 100644 index 00000000..d57483d9 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/warehousinginspection/WarehousingInspectionProductModel.java @@ -0,0 +1,24 @@ +package jnpf.model.warehousinginspection; + +import lombok.Data; +import java.util.List; +import java.util.Date; +import java.math.BigDecimal; +import com.alibaba.fastjson.annotation.JSONField; +import cn.afterturn.easypoi.excel.annotation.Excel; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * + * warehousingInspection + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-02-23 + */ +@Data +public class WarehousingInspectionProductModel { + /** 商品名称 **/ + @JSONField(name = "productId") + private String productId; +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/warehousinginspection/WarehousingInspectionVoucherModel.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/warehousinginspection/WarehousingInspectionVoucherModel.java new file mode 100644 index 00000000..21bb2e12 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/warehousinginspection/WarehousingInspectionVoucherModel.java @@ -0,0 +1,24 @@ +package jnpf.model.warehousinginspection; + +import lombok.Data; +import java.util.List; +import java.util.Date; +import java.math.BigDecimal; +import com.alibaba.fastjson.annotation.JSONField; +import cn.afterturn.easypoi.excel.annotation.Excel; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * + * warehousingInspection + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-02-23 + */ +@Data +public class WarehousingInspectionVoucherModel { + /** 凭证单据编号 **/ + @JSONField(name = "voucheId") + private String voucheId; +} diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousinginspection/columnList.js b/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousinginspection/columnList.js new file mode 100644 index 00000000..b23048a1 --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousinginspection/columnList.js @@ -0,0 +1,2 @@ +const columnList = [{"jnpfKey":"billRule","fullName":"质检单编号","label":"质检单编号","sortable":false,"align":"left","__config__":{"formId":102,"visibility":["pc","app"],"jnpfKey":"billRule","defaultValue":null,"noShow":false,"tipLabel":"","dragDisabled":false,"rule":"warehousingInspection","className":[],"label":"质检单编号","trigger":"change","showLabel":true,"required":false,"tableName":"jg_warehousing_inspection","renderKey":1708665599300,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-documents","ruleName":"质检单","tag":"JnpfInput","span":10},"readonly":true,"prop":"inspectionCode","width":0,"__vModel__":"inspectionCode","fixed":"none","style":{"width":"100%"},"id":"inspectionCode","placeholder":"系统自动生成"},{"jnpfKey":"createTime","fullName":"制单时间","label":"制单时间","sortable":false,"align":"left","type":"currTime","__config__":{"formId":103,"visibility":["pc","app"],"jnpfKey":"createTime","defaultValue":"","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"制单时间","showLabel":true,"required":false,"tableName":"jg_warehousing_inspection","renderKey":1708665647691,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-createtime","tag":"JnpfOpenData","span":10},"readonly":true,"prop":"creatorTime","width":0,"__vModel__":"creatorTime","fixed":"none","style":{"width":"100%"},"id":"creatorTime","placeholder":""},{"filterable":false,"clearable":true,"jnpfKey":"select","multiple":false,"fullName":"质检类型","label":"质检类型","sortable":false,"align":"left","props":{"label":"fullName","value":"id"},"__config__":{"formId":113,"visibility":["pc","app"],"jnpfKey":"select","defaultValue":"","noShow":false,"dataType":"static","dictionaryType":"","tipLabel":"","dragDisabled":false,"className":[],"label":"质检类型","trigger":"change","propsUrl":"","templateJson":[],"showLabel":true,"required":true,"tableName":"jg_warehousing_inspection","renderKey":1708665744875,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-select","propsName":"","tag":"JnpfSelect","regList":[],"span":8},"prop":"inspectionType","width":0,"options":[{"fullName":"入库质检","id":"1"},{"fullName":"出库质检","id":"2"}],"__vModel__":"inspectionType","fixed":"none","style":{"width":"100%"},"disabled":false,"interfaceHasPage":false,"id":"inspectionType","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"jnpfKey":"userSelect","ableIds":[],"multiple":false,"fullName":"质检人员","label":"质检人员","sortable":false,"align":"left","relationField":"","__config__":{"formId":114,"visibility":["pc","app"],"jnpfKey":"userSelect","defaultValue":null,"noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"质检人员","trigger":"change","showLabel":true,"required":true,"relationField":"","tableName":"jg_warehousing_inspection","renderKey":1708665776213,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-user","defaultCurrent":false,"tag":"JnpfUserSelect","regList":[],"span":8},"prop":"belongUserId","width":0,"__vModel__":"belongUserId","fixed":"none","style":{"width":"100%"},"selectType":"all","disabled":false,"id":"belongUserId","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"jnpfKey":"datePicker","format":"yyyy-MM-dd HH:mm","fullName":"质检时间","label":"质检时间","sortable":false,"align":"left","type":"datetime","__config__":{"endRelationField":"","defaultValue":"","dragDisabled":false,"className":[],"showLabel":true,"required":true,"tableName":"jg_warehousing_inspection","renderKey":1708665793517,"tagIcon":"icon-ym icon-ym-generator-date","startRelationField":"","defaultCurrent":false,"tag":"JnpfDatePicker","formId":115,"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":"inspectionTime","width":0,"__vModel__":"inspectionTime","fixed":"none","style":{"width":"100%"},"disabled":false,"startTime":null,"id":"inspectionTime","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/warehousing/warehousinginspection/form.vue b/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousinginspection/form.vue new file mode 100644 index 00000000..06f5aa3e --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousinginspection/form.vue @@ -0,0 +1,1010 @@ + + + + + + + diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousinginspection/form111.vue b/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousinginspection/form111.vue new file mode 100644 index 00000000..da49a091 --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousinginspection/form111.vue @@ -0,0 +1,818 @@ + + + + + + + diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousinginspection/index.vue b/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousinginspection/index.vue new file mode 100644 index 00000000..3f198e48 --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousinginspection/index.vue @@ -0,0 +1,605 @@ + + + + diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousinginspection/superQueryJson.js b/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousinginspection/superQueryJson.js new file mode 100644 index 00000000..0e308260 --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousinginspection/superQueryJson.js @@ -0,0 +1,2 @@ +const superQueryJson = [{"__config__":{"formId":102,"visibility":["pc","app"],"jnpfKey":"billRule","defaultValue":null,"noShow":false,"tipLabel":"","dragDisabled":false,"rule":"warehousingInspection","className":[],"label":"质检单编号","trigger":"change","showLabel":true,"required":false,"tableName":"jg_warehousing_inspection","renderKey":1708665599300,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-documents","ruleName":"质检单","tag":"JnpfInput","span":10},"readonly":true,"__vModel__":"inspectionCode","fullName":"质检单编号","style":{"width":"100%"},"id":"inspectionCode","placeholder":"系统自动生成"},{"__config__":{"formId":103,"visibility":["pc","app"],"jnpfKey":"createTime","defaultValue":"","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"制单时间","showLabel":true,"required":false,"tableName":"jg_warehousing_inspection","renderKey":1708665647691,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-createtime","tag":"JnpfOpenData","span":10},"readonly":true,"__vModel__":"creatorTime","fullName":"制单时间","style":{"width":"100%"},"id":"creatorTime","placeholder":"","type":"currTime"},{"filterable":false,"clearable":true,"multiple":false,"fullName":"质检类型","props":{"label":"fullName","value":"id"},"__config__":{"formId":113,"visibility":["pc","app"],"jnpfKey":"select","defaultValue":"","noShow":false,"dataType":"static","dictionaryType":"","tipLabel":"","dragDisabled":false,"className":[],"label":"质检类型","trigger":"change","propsUrl":"","templateJson":[],"showLabel":true,"required":true,"tableName":"jg_warehousing_inspection","renderKey":1708665744875,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-select","propsName":"","tag":"JnpfSelect","regList":[],"span":8},"options":[{"fullName":"入库质检","id":"1"},{"fullName":"出库质检","id":"2"}],"__vModel__":"inspectionType","style":{"width":"100%"},"disabled":false,"interfaceHasPage":false,"id":"inspectionType","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"ableIds":[],"multiple":false,"fullName":"质检人员","relationField":"","__config__":{"formId":114,"visibility":["pc","app"],"jnpfKey":"userSelect","defaultValue":null,"noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"质检人员","trigger":"change","showLabel":true,"required":true,"relationField":"","tableName":"jg_warehousing_inspection","renderKey":1708665776213,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-user","defaultCurrent":false,"tag":"JnpfUserSelect","regList":[],"span":8},"__vModel__":"belongUserId","style":{"width":"100%"},"selectType":"all","disabled":false,"id":"belongUserId","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"format":"yyyy-MM-dd HH:mm","fullName":"质检时间","type":"datetime","__config__":{"endRelationField":"","defaultValue":"","dragDisabled":false,"className":[],"showLabel":true,"required":true,"tableName":"jg_warehousing_inspection","renderKey":1708665793517,"tagIcon":"icon-ym icon-ym-generator-date","startRelationField":"","defaultCurrent":false,"tag":"JnpfDatePicker","formId":115,"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__":"inspectionTime","style":{"width":"100%"},"disabled":false,"startTime":null,"id":"inspectionTime","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":116,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"备注","trigger":"blur","showLabel":true,"required":false,"tableName":"jg_warehousing_inspection","renderKey":1708665811908,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":24},"readonly":false,"showWordLimit":false,"__vModel__":"remark","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"remark","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"__config__":{"formId":120,"visibility":["pc","app"],"jnpfKey":"createUser","defaultValue":"","noShow":true,"tipLabel":"","dragDisabled":false,"className":[],"label":"创建用户","showLabel":true,"required":false,"tableName":"jg_warehousing_inspection","renderKey":1708665879697,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-founder","tag":"JnpfOpenData","span":24},"readonly":true,"__vModel__":"creatorUserId","fullName":"创建用户","style":{"width":"100%"},"id":"creatorUserId","placeholder":"","type":"currUser"},{"__config__":{"formId":122,"visibility":["pc","app"],"jnpfKey":"modifyTime","defaultValue":"","noShow":true,"tipLabel":"","dragDisabled":false,"className":[],"label":"修改时间","showLabel":true,"required":false,"tableName":"jg_warehousing_inspection","renderKey":1708665884147,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-modifytime","tag":"JnpfInput","span":24},"readonly":true,"__vModel__":"lastModifyTime","fullName":"修改时间","style":{"width":"100%"},"id":"lastModifyTime","placeholder":"系统自动生成"},{"__config__":{"formId":121,"visibility":["pc","app"],"jnpfKey":"modifyUser","defaultValue":"","noShow":true,"tipLabel":"","dragDisabled":false,"className":[],"label":"修改用户","showLabel":true,"required":false,"tableName":"jg_warehousing_inspection","renderKey":1708665882898,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-modifier","tag":"JnpfInput","span":24},"readonly":true,"__vModel__":"lastModifyUserId","fullName":"修改用户","style":{"width":"100%"},"id":"lastModifyUserId","placeholder":"系统自动生成"},{"popupType":"dialog","hasPage":false,"clearable":true,"fullName":"-凭证单据编号","pageSize":20,"columnOptions":[{"label":"凭证编号","value":"voucher_code"},{"label":"单据类型","value":"documentTypes"},{"label":"凭证类型","value":"voucherTypes"},{"label":"车辆信息","value":"vehicle_number"}],"templateJson":[{"fieldName":"这是质检单的类型","field":"inspectionType","defaultValue":"","jnpfKey":"select","dataType":"varchar","parameter":"inspectionType","id":"q3dbiy1","required":1,"relationField":"inspectionType"}],"relationField":"voucher_code","__config__":{"formId":124,"relationTable":"jg_warehousing_inspection_voucher","visibility":["pc","app"],"jnpfKey":"popupSelect","defaultValue":"","noShow":false,"parentVModel":"tableField118","tipLabel":"","dragDisabled":false,"className":[],"label":"凭证单据编号","trigger":"change","showLabel":true,"required":true,"tableName":"jg_warehousing_inspection","renderKey":1708667505154,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-popup","isSubTable":true,"tag":"JnpfPopupSelect","regList":[],"span":24},"popupTitle":"选择数据","__vModel__":"voucheId","style":{"width":"100%"},"disabled":false,"interfaceHasPage":false,"id":"tableField118-voucheId","placeholder":"请选择","interfaceId":"530709323597241349","interfaceName":"质检单-判断类型查询凭证","popupWidth":"800px","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"},"propsValue":"id"},{"popupType":"dialog","hasPage":true,"clearable":true,"fullName":"-商品名称","pageSize":20,"columnOptions":[{"label":"商品名称","value":"name"},{"label":"规格","value":"spec"}],"templateJson":[{"fieldName":"这是质检单的类型","field":"inspectionType","defaultValue":"","jnpfKey":"billRule","dataType":"int","parameter":"inspectionType","id":"q3dbiy1","required":1,"relationField":"inspectionCode"}],"relationField":"name","__config__":{"formId":129,"relationTable":"jg_warehousing_inspection_product","visibility":["pc","app"],"jnpfKey":"popupSelect","defaultValue":"","noShow":false,"parentVModel":"tableField126","tipLabel":"","dragDisabled":false,"className":[],"label":"商品名称","trigger":"change","showLabel":true,"required":true,"tableName":"jg_warehousing_inspection","renderKey":1708668397166,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-popup","isSubTable":true,"tag":"JnpfPopupSelect","regList":[],"span":24},"popupTitle":"选择数据","__vModel__":"productId","style":{"width":"100%"},"disabled":false,"interfaceHasPage":false,"id":"tableField126-productId","placeholder":"请选择","interfaceId":"530709323597241349","interfaceName":"质检单-判断类型查询凭证","popupWidth":"800px","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"},"propsValue":"id"},{"clearable":true,"maxlength":null,"suffixIcon":"","fullName":"-毛重","addonAfter":"","__config__":{"formId":133,"relationTable":"jg_warehousing_inspection_conclusion","visibility":["pc","app"],"jnpfKey":"input","noShow":false,"parentVModel":"tableField131","tipLabel":"","dragDisabled":false,"className":[],"label":"毛重","trigger":"blur","showLabel":true,"required":false,"tableName":"jg_warehousing_inspection","renderKey":1708668803631,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"isSubTable":true,"tag":"JnpfInput","regList":[],"span":24},"readonly":false,"showWordLimit":false,"__vModel__":"grossWeight","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"tableField131-grossWeight","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":134,"relationTable":"jg_warehousing_inspection_conclusion","visibility":["pc","app"],"jnpfKey":"input","noShow":false,"parentVModel":"tableField131","tipLabel":"","dragDisabled":false,"className":[],"label":"皮重","trigger":"blur","showLabel":true,"required":false,"tableName":"jg_warehousing_inspection","renderKey":1708668814594,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"isSubTable":true,"tag":"JnpfInput","regList":[],"span":24},"readonly":false,"showWordLimit":false,"__vModel__":"tareWeight","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"tableField131-tareWeight","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":135,"relationTable":"jg_warehousing_inspection_conclusion","visibility":["pc","app"],"jnpfKey":"input","noShow":false,"parentVModel":"tableField131","tipLabel":"","dragDisabled":false,"className":[],"label":"扣重","trigger":"blur","showLabel":true,"required":false,"tableName":"jg_warehousing_inspection","renderKey":1708668815516,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"isSubTable":true,"tag":"JnpfInput","regList":[],"span":24},"readonly":false,"showWordLimit":false,"__vModel__":"buckleWeight","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"tableField131-buckleWeight","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":136,"relationTable":"jg_warehousing_inspection_conclusion","visibility":["pc","app"],"jnpfKey":"input","noShow":false,"parentVModel":"tableField131","tipLabel":"","dragDisabled":false,"className":[],"label":"净重(自动计算)","trigger":"blur","showLabel":true,"required":false,"tableName":"jg_warehousing_inspection","renderKey":1708668816435,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"isSubTable":true,"tag":"JnpfInput","regList":[],"span":24},"readonly":false,"showWordLimit":false,"__vModel__":"netWeight","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"tableField131-netWeight","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__":{"relationTable":"jg_warehousing_inspection_conclusion","defaultValue":"","parentVModel":"tableField131","dragDisabled":false,"className":[],"propsUrl":"","templateJson":[],"showLabel":true,"required":false,"tableName":"jg_warehousing_inspection","renderKey":1708668847840,"tagIcon":"icon-ym icon-ym-generator-select","isSubTable":true,"tag":"JnpfSelect","formId":138,"visibility":["pc","app"],"jnpfKey":"select","noShow":false,"dataType":"static","dictionaryType":"","tipLabel":"","label":"是否降级","trigger":"change","layout":"colFormItem","propsName":"","regList":[],"span":24},"options":[{"fullName":"是","id":"1"},{"fullName":"否","id":"2"}],"__vModel__":"reduceLevel","style":{"width":"100%"},"disabled":false,"interfaceHasPage":false,"id":"tableField131-reduceLevel","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"suffixIcon":"","fullName":"-等级","addonAfter":"","__config__":{"formId":139,"relationTable":"jg_warehousing_inspection_conclusion","visibility":["pc","app"],"jnpfKey":"input","noShow":false,"parentVModel":"tableField131","tipLabel":"","dragDisabled":false,"className":[],"label":"等级","trigger":"blur","showLabel":true,"required":false,"tableName":"jg_warehousing_inspection","renderKey":1708668875548,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"isSubTable":true,"tag":"JnpfInput","regList":[],"span":24},"readonly":false,"showWordLimit":false,"__vModel__":"grade","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"tableField131-grade","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":140,"relationTable":"jg_warehousing_inspection_conclusion","visibility":["pc","app"],"jnpfKey":"input","noShow":false,"parentVModel":"tableField131","tipLabel":"","dragDisabled":false,"className":[],"label":"创建用户","trigger":"blur","showLabel":true,"required":false,"tableName":"jg_warehousing_inspection","renderKey":1708668883932,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"isSubTable":true,"tag":"JnpfInput","regList":[],"span":24},"readonly":false,"showWordLimit":false,"__vModel__":"creatorUserId","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"tableField131-creatorUserId","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":141,"visibility":["pc","app"],"jnpfKey":"select","defaultValue":"","noShow":false,"dataType":"static","dictionaryType":"","tipLabel":"","dragDisabled":false,"className":[],"label":"检测结论","trigger":"change","propsUrl":"","templateJson":[],"showLabel":true,"required":true,"tableName":"jg_warehousing_inspection","renderKey":1708668932476,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-select","propsName":"","tag":"JnpfSelect","regList":[],"span":8},"options":[{"fullName":"合格","id":"1"},{"fullName":"不合格","id":"2"}],"__vModel__":"conclusionType","style":{"width":"100%"},"disabled":false,"interfaceHasPage":false,"id":"conclusionType","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"suffixIcon":"","fullName":"检验结果","addonAfter":"","__config__":{"formId":142,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"检验结果","trigger":"blur","showLabel":true,"required":false,"tableName":"jg_warehousing_inspection","renderKey":1708668973828,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":24},"readonly":false,"showWordLimit":false,"__vModel__":"conclusionRemark","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"conclusionRemark","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/warehousing/warehousinginventory/form.vue b/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousinginventory/form.vue index 2e87e3b1..6c95bb85 100644 --- a/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousinginventory/form.vue +++ b/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousinginventory/form.vue @@ -438,6 +438,7 @@ export default { methods: { productBatch(model, row) { + row.productId = row.id this.dataForm.warehousingInventoryProductList.push(row) this.dataForm.warehousingInventoryProductList.splice(0, 1) }, diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousingoutbound/form.vue b/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousingoutbound/form.vue index ba100399..6e5d341c 100644 --- a/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousingoutbound/form.vue +++ b/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousingoutbound/form.vue @@ -624,7 +624,7 @@ export default { warehousingoutboundproductoutboundUnitcolumnOptions: [{ "label": "单位名称", "value": "unit_name" }, { "label": "单位类型", "value": "unit_type" },], warehousingoutboundproductoutboundAreaIdcolumnOptions: [{ "label": "货区名称", "value": "name" }, { "label": "货区编码", "value": "code" },], // warehousingoutboundproductbatchNumbercolumnOptions: [{ "label": "商品名称", "value": "name" }, { "label": "批次号", "value": "batch_number" },], storage_number - warehousingoutboundproductbatchNumbercolumnOptions: [{ "label": "商品名称", "value": "name" }, { "label": "批次号", "value": "storage_number" },], + warehousingoutboundproductbatchNumbercolumnOptions: [{ "label": "商品名称", "value": "name" }, { "label": "批次号", "value": "batch_number" },], childIndex: -1, isEdit: false,