From cdfb15d5fa2b9958162393d423b669b78fe1228a Mon Sep 17 00:00:00 2001 From: mhsnet Date: Wed, 31 Jan 2024 16:56:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E5=88=97=E8=A1=A8=E5=88=9D?= =?UTF-8?q?=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/scm/ProductBusinessMapper.xml | 7 + .../mapper/scm/ProductUnitMapper.xml | 7 + .../mapper/scm/ProductWarehouseMapper.xml | 7 + .../jnpf/mapper/ProductBusinessMapper.java | 16 + .../java/jnpf/mapper/ProductUnitMapper.java | 16 + .../jnpf/mapper/ProductWarehouseMapper.java | 16 + .../jnpf/service/ProductBusinessService.java | 18 + .../java/jnpf/service/ProductUnitService.java | 18 + .../jnpf/service/ProductWarehouseService.java | 41 + .../impl/ProductBusinessServiceImpl.java | 59 + .../service/impl/ProductUnitServiceImpl.java | 59 + .../impl/ProductWarehouseServiceImpl.java | 496 +++++++ .../ProductWarehouseController.java | 250 ++++ .../jnpf/entity/ProductBusinessEntity.java | 39 + .../java/jnpf/entity/ProductUnitEntity.java | 89 ++ .../jnpf/entity/ProductWarehouseEntity.java | 219 +++ .../ProductBusinessModel.java | 25 + .../productwarehouse/ProductUnitModel.java | 29 + .../ProductWarehouseConstant.java | 41 + .../ProductWarehouseForm.java | 110 ++ .../ProductWarehousePagination.java | 42 + .../views/scm/productWarehouse/columnList.js | 2 + .../src/views/scm/productWarehouse/form.vue | 1304 +++++++++++++++++ .../src/views/scm/productWarehouse/index.vue | 611 ++++++++ .../scm/productWarehouse/superQueryJson.js | 2 + 25 files changed, 3523 insertions(+) create mode 100644 jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/ProductBusinessMapper.xml create mode 100644 jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/ProductUnitMapper.xml create mode 100644 jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/ProductWarehouseMapper.xml create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/ProductBusinessMapper.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/ProductUnitMapper.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/ProductWarehouseMapper.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/ProductBusinessService.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/ProductUnitService.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/ProductWarehouseService.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/ProductBusinessServiceImpl.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/ProductUnitServiceImpl.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/ProductWarehouseServiceImpl.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-controller/src/main/java/jnpf/controller/ProductWarehouseController.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/ProductBusinessEntity.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/ProductUnitEntity.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/ProductWarehouseEntity.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/productwarehouse/ProductBusinessModel.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/productwarehouse/ProductUnitModel.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/productwarehouse/ProductWarehouseConstant.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/productwarehouse/ProductWarehouseForm.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/productwarehouse/ProductWarehousePagination.java create mode 100644 jnpf-java-boot/jnpf-web/src/views/scm/productWarehouse/columnList.js create mode 100644 jnpf-java-boot/jnpf-web/src/views/scm/productWarehouse/form.vue create mode 100644 jnpf-java-boot/jnpf-web/src/views/scm/productWarehouse/index.vue create mode 100644 jnpf-java-boot/jnpf-web/src/views/scm/productWarehouse/superQueryJson.js diff --git a/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/ProductBusinessMapper.xml b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/ProductBusinessMapper.xml new file mode 100644 index 00000000..86bad9ca --- /dev/null +++ b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/ProductBusinessMapper.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/ProductUnitMapper.xml b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/ProductUnitMapper.xml new file mode 100644 index 00000000..57159767 --- /dev/null +++ b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/ProductUnitMapper.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/ProductWarehouseMapper.xml b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/ProductWarehouseMapper.xml new file mode 100644 index 00000000..ff63c03e --- /dev/null +++ b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/ProductWarehouseMapper.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/ProductBusinessMapper.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/ProductBusinessMapper.java new file mode 100644 index 00000000..b163c2fa --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/ProductBusinessMapper.java @@ -0,0 +1,16 @@ +package jnpf.mapper; + + +import jnpf.entity.ProductBusinessEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * productWarehouse + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-31 + */ +public interface ProductBusinessMapper extends BaseMapper { + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/ProductUnitMapper.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/ProductUnitMapper.java new file mode 100644 index 00000000..47401933 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/ProductUnitMapper.java @@ -0,0 +1,16 @@ +package jnpf.mapper; + + +import jnpf.entity.ProductUnitEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * productWarehouse + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-31 + */ +public interface ProductUnitMapper extends BaseMapper { + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/ProductWarehouseMapper.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/ProductWarehouseMapper.java new file mode 100644 index 00000000..5bd2ade5 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/ProductWarehouseMapper.java @@ -0,0 +1,16 @@ +package jnpf.mapper; + + +import jnpf.entity.ProductWarehouseEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * productWarehouse + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-31 + */ +public interface ProductWarehouseMapper extends BaseMapper { + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/ProductBusinessService.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/ProductBusinessService.java new file mode 100644 index 00000000..9d6da189 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/ProductBusinessService.java @@ -0,0 +1,18 @@ +package jnpf.service; + +import jnpf.model.productwarehouse.*; +import jnpf.entity.*; +import java.util.*; +import com.baomidou.mybatisplus.extension.service.IService; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; + +/** + * productWarehouse + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-31 + */ +public interface ProductBusinessService extends IService { + QueryWrapper getChild(ProductWarehousePagination pagination,QueryWrapper productBusinessQueryWrapper); +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/ProductUnitService.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/ProductUnitService.java new file mode 100644 index 00000000..784ff0dc --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/ProductUnitService.java @@ -0,0 +1,18 @@ +package jnpf.service; + +import jnpf.model.productwarehouse.*; +import jnpf.entity.*; +import java.util.*; +import com.baomidou.mybatisplus.extension.service.IService; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; + +/** + * productWarehouse + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-31 + */ +public interface ProductUnitService extends IService { + QueryWrapper getChild(ProductWarehousePagination pagination,QueryWrapper productUnitQueryWrapper); +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/ProductWarehouseService.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/ProductWarehouseService.java new file mode 100644 index 00000000..21830cc0 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/ProductWarehouseService.java @@ -0,0 +1,41 @@ +package jnpf.service; + +import jnpf.model.productwarehouse.*; +import jnpf.entity.*; +import java.util.*; +import com.baomidou.mybatisplus.extension.service.IService; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; + +/** + * productWarehouse + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-31 + */ +public interface ProductWarehouseService extends IService { + List getList(ProductWarehousePagination productWarehousePagination); + + List getTypeList(ProductWarehousePagination productWarehousePagination,String dataType); + + ProductWarehouseEntity getInfo(String id); + + void delete(ProductWarehouseEntity entity); + + void create(ProductWarehouseEntity entity); + + boolean update(String id, ProductWarehouseEntity entity); + + //子表方法 + List getProductUnitList(String id,ProductWarehousePagination productWarehousePagination); + + List getProductUnitList(String id); + + //副表数据方法 + ProductBusinessEntity getProductBusiness(String id); + + String checkForm(ProductWarehouseForm form,int i); + + void saveOrUpdate(ProductWarehouseForm productWarehouseForm,String id, boolean isSave) throws Exception; + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/ProductBusinessServiceImpl.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/ProductBusinessServiceImpl.java new file mode 100644 index 00000000..d41f48ba --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/ProductBusinessServiceImpl.java @@ -0,0 +1,59 @@ +package jnpf.service.impl; + +import jnpf.entity.*; +import jnpf.mapper.ProductBusinessMapper; +import jnpf.service.*; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import jnpf.model.productwarehouse.*; +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; +/** + * + * productWarehouse + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-31 + */ +@Service +public class ProductBusinessServiceImpl extends ServiceImpl implements ProductBusinessService{ + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + //子表过滤方法 + @Override + public QueryWrapper getChild(ProductWarehousePagination pagination, QueryWrapper productBusinessQueryWrapper){ + boolean pcPermission = false; + boolean appPermission = false; + boolean isPc = ServletUtil.getHeader("jnpf-origin").equals("pc"); + String ruleQueryJson = isPc?ProductWarehouseConstant.getColumnData():ProductWarehouseConstant.getAppColumnData(); + ColumnDataModel dataModel = JsonUtil.getJsonToBean(ruleQueryJson,ColumnDataModel.class); + String ruleJson = isPc?JsonUtil.getObjectToString(dataModel.getRuleList()):JsonUtil.getObjectToString(dataModel.getRuleListApp()); + if(isPc){ + } + return productBusinessQueryWrapper; + } +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/ProductUnitServiceImpl.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/ProductUnitServiceImpl.java new file mode 100644 index 00000000..af7cac89 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/ProductUnitServiceImpl.java @@ -0,0 +1,59 @@ +package jnpf.service.impl; + +import jnpf.entity.*; +import jnpf.mapper.ProductUnitMapper; +import jnpf.service.*; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import jnpf.model.productwarehouse.*; +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; +/** + * + * productWarehouse + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-31 + */ +@Service +public class ProductUnitServiceImpl extends ServiceImpl implements ProductUnitService{ + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + //子表过滤方法 + @Override + public QueryWrapper getChild(ProductWarehousePagination pagination, QueryWrapper productUnitQueryWrapper){ + boolean pcPermission = false; + boolean appPermission = false; + boolean isPc = ServletUtil.getHeader("jnpf-origin").equals("pc"); + String ruleQueryJson = isPc?ProductWarehouseConstant.getColumnData():ProductWarehouseConstant.getAppColumnData(); + ColumnDataModel dataModel = JsonUtil.getJsonToBean(ruleQueryJson,ColumnDataModel.class); + String ruleJson = isPc?JsonUtil.getObjectToString(dataModel.getRuleList()):JsonUtil.getObjectToString(dataModel.getRuleListApp()); + if(isPc){ + } + return productUnitQueryWrapper; + } +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/ProductWarehouseServiceImpl.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/ProductWarehouseServiceImpl.java new file mode 100644 index 00000000..7fba415a --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/ProductWarehouseServiceImpl.java @@ -0,0 +1,496 @@ +package jnpf.service.impl; + +import jnpf.entity.*; +import jnpf.mapper.ProductWarehouseMapper; +import jnpf.service.*; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import jnpf.model.productwarehouse.*; +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; +/** + * + * productWarehouse + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-31 + */ +@Service +public class ProductWarehouseServiceImpl extends ServiceImpl implements ProductWarehouseService{ + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + @Autowired + private ProductBusinessService productBusinessService; + @Autowired + private ProductUnitService productUnitService; + @Override + public List getList(ProductWarehousePagination productWarehousePagination){ + return getTypeList(productWarehousePagination,productWarehousePagination.getDataType()); + } + /** 列表查询 */ + @Override + public List getTypeList(ProductWarehousePagination productWarehousePagination,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 ? ProductWarehouseConstant.getAppColumnData() : ProductWarehouseConstant.getColumnData(); + ColumnDataModel columnDataModel = JsonUtil.getJsonToBean(columnData, ColumnDataModel.class); + String ruleJson = !isPc ? JsonUtil.getObjectToString(columnDataModel.getRuleListApp()) : JsonUtil.getObjectToString(columnDataModel.getRuleList()); + + int total=0; + int productWarehouseNum =0; + QueryWrapper productWarehouseQueryWrapper=new QueryWrapper<>(); + int productBusinessNum =0; + QueryWrapper productBusinessQueryWrapper=new QueryWrapper<>(); + int productUnitNum =0; + QueryWrapper productUnitQueryWrapper=new QueryWrapper<>(); + long productBusinesscount = productBusinessService.count(); + long productUnitcount = productUnitService.count(); + List allSuperIDlist = new ArrayList<>(); + String superOp =""; + if (ObjectUtil.isNotEmpty(productWarehousePagination.getSuperQueryJson())){ + List allSuperList = new ArrayList<>(); + List> intersectionSuperList = new ArrayList<>(); + String queryJson = productWarehousePagination.getSuperQueryJson(); + SuperJsonModel superJsonModel = JsonUtil.getJsonToBean(queryJson, SuperJsonModel.class); + int superNum = 0; + QueryWrapper productWarehouseSuperWrapper = new QueryWrapper<>(); + productWarehouseSuperWrapper = generaterSwapUtil.getCondition(new QueryModel(productWarehouseSuperWrapper,ProductWarehouseEntity.class,queryJson,"0")); + int productWarehouseNum1 = productWarehouseSuperWrapper.getExpression().getNormal().size(); + if (productWarehouseNum1>0){ + List productWarehouseList =this.list(productWarehouseSuperWrapper).stream().map(ProductWarehouseEntity::getId).collect(Collectors.toList()); + allSuperList.addAll(productWarehouseList); + intersectionSuperList.add(productWarehouseList); + superNum++; + } + String productBusinessTable = "jg_product_business"; + boolean productBusinessHasSql = queryJson.contains(productBusinessTable); + List productBusinessList = generaterSwapUtil.selectIdsByChildCondition(ProductWarehouseConstant.getTableList(), productBusinessTable , queryJson, null); + if (productBusinessHasSql){ + allSuperList.addAll(productBusinessList); + intersectionSuperList.add(productBusinessList); + superNum++; + } + String productUnitTable = "jg_product_unit"; + boolean productUnitHasSql = queryJson.contains(productUnitTable); + List productUnitList = generaterSwapUtil.selectIdsByChildCondition(ProductWarehouseConstant.getTableList(), productUnitTable , queryJson, null); + if (productUnitHasSql){ + allSuperList.addAll(productUnitList); + intersectionSuperList.add(productUnitList); + 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 productWarehouseSuperWrapper = new QueryWrapper<>(); + productWarehouseSuperWrapper = generaterSwapUtil.getCondition(new QueryModel(productWarehouseSuperWrapper,ProductWarehouseEntity.class,ruleJson,"0")); + int productWarehouseNum1 = productWarehouseSuperWrapper.getExpression().getNormal().size(); + if (productWarehouseNum1>0){ + List productWarehouseList =this.list(productWarehouseSuperWrapper).stream().map(ProductWarehouseEntity::getId).collect(Collectors.toList()); + allRuleList.addAll(productWarehouseList); + intersectionRuleList.add(productWarehouseList); + ruleNum++; + } + String productBusinessTable = "jg_product_business"; + boolean productBusinessHasSql = ruleJson.contains(productBusinessTable); + List productBusinessList = generaterSwapUtil.selectIdsByChildCondition(ProductWarehouseConstant.getTableList(), productBusinessTable , ruleJson, null); + if (productBusinessHasSql){ + allRuleList.addAll(productBusinessList); + intersectionRuleList.add(productBusinessList); + ruleNum++; + } + String productUnitTable = "jg_product_unit"; + boolean productUnitHasSql = ruleJson.contains(productUnitTable); + List productUnitList = generaterSwapUtil.selectIdsByChildCondition(ProductWarehouseConstant.getTableList(), productUnitTable , ruleJson, null); + if (productUnitHasSql){ + allRuleList.addAll(productUnitList); + intersectionRuleList.add(productUnitList); + ruleNum++; + } + ruleOp = ruleNum > 0 ? ruleJsonModel.getMatchLogic() : ""; + //and or + if(ruleOp.equalsIgnoreCase("and")){ + allRuleIDlist = generaterSwapUtil.getIntersection(intersectionRuleList); + }else{ + allRuleIDlist = allRuleList; + } + } + boolean pcPermission = false; + boolean appPermission = false; + if(isPc && pcPermission){ + if (!userProvider.get().getIsAdministrator()){ + Object productWarehouseObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(productWarehouseQueryWrapper,ProductWarehouseEntity.class,productWarehousePagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(productWarehouseObj)){ + return new ArrayList<>(); + } else { + productWarehouseQueryWrapper = (QueryWrapper)productWarehouseObj; + if( productWarehouseQueryWrapper.getExpression().getNormal().size()>0){ + productWarehouseNum++; + } + } + Object productBusinessObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(productBusinessQueryWrapper,ProductBusinessEntity.class,productWarehousePagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(productBusinessObj)){ + return new ArrayList<>(); + } else { + productBusinessQueryWrapper = (QueryWrapper)productBusinessObj; + if( productBusinessQueryWrapper.getExpression().getNormal().size()>0){ + productBusinessNum++; + } + } + Object productUnitObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(productUnitQueryWrapper,ProductUnitEntity.class,productWarehousePagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(productUnitObj)){ + return new ArrayList<>(); + } else { + productUnitQueryWrapper = (QueryWrapper)productUnitObj; + if( productUnitQueryWrapper.getExpression().getNormal().size()>0){ + productUnitNum++; + } + } + } + } + if(!isPc && appPermission){ + if (!userProvider.get().getIsAdministrator()){ + Object productWarehouseObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(productWarehouseQueryWrapper,ProductWarehouseEntity.class,productWarehousePagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(productWarehouseObj)){ + return new ArrayList<>(); + } else { + productWarehouseQueryWrapper = (QueryWrapper)productWarehouseObj; + if( productWarehouseQueryWrapper.getExpression().getNormal().size()>0){ + productWarehouseNum++; + } + } + + + Object productBusinessObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(productBusinessQueryWrapper,ProductBusinessEntity.class,productWarehousePagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(productBusinessObj)){ + return new ArrayList<>(); + } else { + productBusinessQueryWrapper = (QueryWrapper)productBusinessObj; + if( productBusinessQueryWrapper.getExpression().getNormal().size()>0){ + productBusinessNum++; + } + } + + + Object productUnitObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(productUnitQueryWrapper,ProductUnitEntity.class,productWarehousePagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(productUnitObj)){ + return new ArrayList<>(); + } else { + productUnitQueryWrapper = (QueryWrapper)productUnitObj; + if( productUnitQueryWrapper.getExpression().getNormal().size()>0){ + productUnitNum++; + } + } + + + } + } + if(isPc){ + if(ObjectUtil.isNotEmpty(productWarehousePagination.getCode())){ + productWarehouseNum++; + + String value = productWarehousePagination.getCode() instanceof List ? + JsonUtil.getObjectToString(productWarehousePagination.getCode()) : + String.valueOf(productWarehousePagination.getCode()); + productWarehouseQueryWrapper.lambda().like(ProductWarehouseEntity::getCode,value); + + } + + if(ObjectUtil.isNotEmpty(productWarehousePagination.getName())){ + productWarehouseNum++; + + String value = productWarehousePagination.getName() instanceof List ? + JsonUtil.getObjectToString(productWarehousePagination.getName()) : + String.valueOf(productWarehousePagination.getName()); + productWarehouseQueryWrapper.lambda().like(ProductWarehouseEntity::getName,value); + + } + + if(ObjectUtil.isNotEmpty(productWarehousePagination.getProductTypeId())){ + productWarehouseNum++; + + productWarehouseQueryWrapper.lambda().eq(ProductWarehouseEntity::getProductTypeId,productWarehousePagination.getProductTypeId()); + + } + + if(ObjectUtil.isNotEmpty(productWarehousePagination.getInventoryType())){ + productWarehouseNum++; + + List idList = new ArrayList<>(); + try { + String[][] inventoryType = JsonUtil.getJsonToBean(productWarehousePagination.getInventoryType(),String[][].class); + for(int i=0;i0){ + idList.add(JsonUtil.getObjectToString(Arrays.asList(inventoryType[i]))); + } + } + }catch (Exception e1){ + try { + List inventoryType = JsonUtil.getJsonToList(productWarehousePagination.getInventoryType(),String.class); + if(inventoryType.size()>0){ + idList.addAll(inventoryType); + } + }catch (Exception e2){ + idList.add(String.valueOf(productWarehousePagination.getInventoryType())); + } + } + productWarehouseQueryWrapper.lambda().and(t->{ + idList.forEach(tt->{ + t.like(ProductWarehouseEntity::getInventoryType, tt).or(); + }); + }); + + } + + } + if(productBusinessNum>0){ + List productBusinessIdList = productBusinessService.list(productBusinessQueryWrapper).stream().filter(t->StringUtil.isNotEmpty(t.getProductId())).map(t->t.getProductId()).collect(Collectors.toList()); + long count = productBusinessService.count(); + if (count>0){ + intersectionList.add(productBusinessIdList); + } + AllIdList.addAll(productBusinessIdList); + } + total+=productBusinessNum; + if(productUnitNum>0){ + List productUnitIdList = productUnitService.list(productUnitQueryWrapper).stream().filter(t->StringUtil.isNotEmpty(t.getProuctId())).map(t->t.getProuctId()).collect(Collectors.toList()); + long count = productUnitService.count(); + if (count>0){ + intersectionList.add(productUnitIdList); + } + AllIdList.addAll(productUnitIdList); + } + total+=productUnitNum; + List intersection = generaterSwapUtil.getIntersection(intersectionList); + if (total>0){ + if (intersection.size()==0){ + intersection.add("jnpfNullList"); + } + productWarehouseQueryWrapper.lambda().in(ProductWarehouseEntity::getId, intersection); + } + //是否有高级查询 + if (StringUtil.isNotEmpty(superOp)){ + if (allSuperIDlist.size()==0){ + allSuperIDlist.add("jnpfNullList"); + } + List finalAllSuperIDlist = allSuperIDlist; + productWarehouseQueryWrapper.lambda().and(t->t.in(ProductWarehouseEntity::getId, finalAllSuperIDlist)); + } + //是否有数据过滤查询 + if (StringUtil.isNotEmpty(ruleOp)){ + if (allRuleIDlist.size()==0){ + allRuleIDlist.add("jnpfNullList"); + } + List finalAllRuleIDlist = allRuleIDlist; + productWarehouseQueryWrapper.lambda().and(t->t.in(ProductWarehouseEntity::getId, finalAllRuleIDlist)); + } + //假删除标志 + productWarehouseQueryWrapper.lambda().isNull(ProductWarehouseEntity::getDeleteMark); + + //排序 + if(StringUtil.isEmpty(productWarehousePagination.getSidx())){ + productWarehouseQueryWrapper.lambda().orderByDesc(ProductWarehouseEntity::getId); + }else{ + try { + String sidx = productWarehousePagination.getSidx(); + String[] strs= sidx.split("_name"); + ProductWarehouseEntity productWarehouseEntity = new ProductWarehouseEntity(); + Field declaredField = productWarehouseEntity.getClass().getDeclaredField(strs[0]); + declaredField.setAccessible(true); + String value = declaredField.getAnnotation(TableField.class).value(); + productWarehouseQueryWrapper="asc".equals(productWarehousePagination.getSort().toLowerCase())?productWarehouseQueryWrapper.orderByAsc(value):productWarehouseQueryWrapper.orderByDesc(value); + } catch (NoSuchFieldException e) { + e.printStackTrace(); + } + } + + if("0".equals(dataType)){ + if((total>0 && AllIdList.size()>0) || total==0){ + Page page=new Page<>(productWarehousePagination.getCurrentPage(), productWarehousePagination.getPageSize()); + IPage userIPage=this.page(page, productWarehouseQueryWrapper); + return productWarehousePagination.setData(userIPage.getRecords(),userIPage.getTotal()); + }else{ + List list = new ArrayList(); + return productWarehousePagination.setData(list, list.size()); + } + }else{ + return this.list(productWarehouseQueryWrapper); + } + } + @Override + public ProductWarehouseEntity getInfo(String id){ + QueryWrapper queryWrapper=new QueryWrapper<>(); + queryWrapper.lambda().eq(ProductWarehouseEntity::getId,id); + return this.getOne(queryWrapper); + } + @Override + public void create(ProductWarehouseEntity entity){ + this.save(entity); + } + @Override + public boolean update(String id, ProductWarehouseEntity entity){ + return this.updateById(entity); + } + @Override + public void delete(ProductWarehouseEntity entity){ + if(entity!=null){ + this.removeById(entity.getId()); + } + } + /** ProductUnit子表方法 */ + @Override + public List getProductUnitList(String id,ProductWarehousePagination productWarehousePagination){ + Map newtabMap=ProductWarehouseConstant.TABLEFIELDKEY.entrySet() + .stream().collect( Collectors.toMap(e->e.getValue(),e->e.getKey())); + String tableName="productUnit"; + tableName=newtabMap.get(tableName)==null?tableName:newtabMap.get(tableName).toString(); + QueryWrapper queryWrapper = new QueryWrapper<>(); + queryWrapper = productUnitService.getChild(productWarehousePagination,queryWrapper); + queryWrapper.lambda().eq(ProductUnitEntity::getProuctId, id); + generaterSwapUtil.wrapperHandle(ProductWarehouseConstant.getColumnData(), ProductWarehouseConstant.getAppColumnData(), queryWrapper,ProductUnitEntity.class,"sub",tableName); + return productUnitService.list(queryWrapper); + } + + /** ProductUnit子表方法 */ + @Override + public List getProductUnitList(String id){ + QueryWrapper queryWrapper = new QueryWrapper<>(); + queryWrapper.lambda().eq(ProductUnitEntity::getProuctId, id); + return productUnitService.list(queryWrapper); + } + /** ProductBusiness副表方法 */ + @Override + public ProductBusinessEntity getProductBusiness(String id){ + QueryWrapper queryWrapper = new QueryWrapper<>(); + queryWrapper.lambda().eq(ProductBusinessEntity::getProductId, id); + return productBusinessService.getOne(queryWrapper); + } + /** 验证表单唯一字段,正则,非空 i-0新增-1修改*/ + @Override + public String checkForm(ProductWarehouseForm form,int i) { + boolean isUp =StringUtil.isNotEmpty(form.getId()) && !form.getId().equals("0"); + String id=""; + String countRecover = ""; + if (isUp){ + id = form.getId(); + } + //主表字段验证 + if(StringUtil.isEmpty(form.getName())){ + return "商品名称不能为空"; + } + if(StringUtil.isEmpty(form.getSpec())){ + return "商品规格不能为空"; + } + if(StringUtil.isEmpty(form.getAvailableInventory())){ + return "可售库存不能为空"; + } + //副表字段验证 + //子表字段验证 + if (form.getProductUnitList()!=null){ + } + return countRecover; + } + /** + * 新增修改数据(事务回滚) + * @param id + * @param productWarehouseForm + * @return + */ + @Override + @Transactional + public void saveOrUpdate(ProductWarehouseForm productWarehouseForm,String id, boolean isSave) throws Exception{ + UserInfo userInfo=userProvider.get(); + UserEntity userEntity = generaterSwapUtil.getUser(userInfo.getUserId()); + productWarehouseForm = JsonUtil.getJsonToBean( + generaterSwapUtil.swapDatetime(ProductWarehouseConstant.getFormData(),productWarehouseForm),ProductWarehouseForm.class); + ProductWarehouseEntity entity = JsonUtil.getJsonToBean(productWarehouseForm, ProductWarehouseEntity.class); + + if(isSave){ + String mainId = id ; + entity.setCode(generaterSwapUtil.getBillNumber("productcode", false)); + entity.setBarCode(generaterSwapUtil.getBillNumber("productBarCode", false)); + entity.setId(mainId); + entity.setFlowId(productWarehouseForm.getFlowId()); + entity.setVersion(0); + }else{ + entity.setCode(generaterSwapUtil.getBillNumber("productcode", false)); + entity.setBarCode(generaterSwapUtil.getBillNumber("productBarCode", false)); + entity.setFlowId(productWarehouseForm.getFlowId()); + } + this.saveOrUpdate(entity); + + //ProductUnit子表数据新增修改 + if(!isSave){ + QueryWrapper ProductUnitqueryWrapper = new QueryWrapper<>(); + ProductUnitqueryWrapper.lambda().eq(ProductUnitEntity::getProuctId, entity.getId()); + productUnitService.remove(ProductUnitqueryWrapper); + } + if (productWarehouseForm.getProductUnitList()!=null){ + List tableField141 = JsonUtil.getJsonToList(productWarehouseForm.getProductUnitList(),ProductUnitEntity.class); + for(ProductUnitEntity entitys : tableField141){ + entitys.setId(RandomUtil.uuId()); + entitys.setProuctId(entity.getId()); + if(isSave){ + }else{ + } + productUnitService.saveOrUpdate(entitys); + } + } + //jg_product_business副表数据新增修改 + Map ProductBusinessMap = generaterSwapUtil.getMastTabelData(productWarehouseForm,"jg_product_business"); + ProductBusinessEntity jg_product_businessentity = JsonUtil.getJsonToBean(ProductBusinessMap,ProductBusinessEntity.class); + //自动生成的字段 + if(isSave){ + jg_product_businessentity.setProductId(entity.getId()); + jg_product_businessentity.setId(RandomUtil.uuId()); + }else{ + QueryWrapper queryWrapperProductBusiness =new QueryWrapper<>(); + queryWrapperProductBusiness.lambda().eq(ProductBusinessEntity::getProductId,entity.getId()); + ProductBusinessEntity jg_product_businessOneEntity= productBusinessService.getOne(queryWrapperProductBusiness); + jg_product_businessentity.setId(jg_product_businessOneEntity.getId()); + jg_product_businessentity.setProductId(entity.getId()); + } + + productBusinessService.saveOrUpdate(jg_product_businessentity); + } +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-controller/src/main/java/jnpf/controller/ProductWarehouseController.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-controller/src/main/java/jnpf/controller/ProductWarehouseController.java new file mode 100644 index 00000000..39d75dc4 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-controller/src/main/java/jnpf/controller/ProductWarehouseController.java @@ -0,0 +1,250 @@ +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.productwarehouse.*; +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.transaction.annotation.Transactional; + +/** + * productWarehouse + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-01-31 + */ +@Slf4j +@RestController +@Tag(name = "productWarehouse" , description = "scm") +@RequestMapping("/api/scm/ProductWarehouse") +public class ProductWarehouseController { + + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + @Autowired + private ProductWarehouseService productWarehouseService; + + @Autowired + private ProductUnitService productUnitService; + + @Autowired + private ProductBusinessService productBusinessService; + + /** + * 列表 + * + * @param productWarehousePagination + * @return + */ + @Operation(summary = "获取列表") + @PostMapping("/getList") + public ActionResult list(@RequestBody ProductWarehousePagination productWarehousePagination)throws IOException{ + List list= productWarehouseService.getList(productWarehousePagination); + List> realList=new ArrayList<>(); + for (ProductWarehouseEntity entity : list) { + Map productWarehouseMap=JsonUtil.entityToMap(entity); + productWarehouseMap.put("id", productWarehouseMap.get("id")); + //副表数据 + ProductBusinessEntity productBusinessEntity = productWarehouseService.getProductBusiness(entity.getId()); + if(ObjectUtil.isNotEmpty(productBusinessEntity)){ + Map productBusinessMap=JsonUtil.entityToMap(productBusinessEntity); + for(String key:productBusinessMap.keySet()){ + productWarehouseMap.put("jnpf_jg_product_business_jnpf_"+key,productBusinessMap.get(key)); + } + } + //子表数据 + List productUnitList = productWarehouseService.getProductUnitList(entity.getId(),productWarehousePagination); + productWarehouseMap.put("tableField141",JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(productUnitList))); + realList.add(productWarehouseMap); + } + //数据转换 + realList = generaterSwapUtil.swapDataList(realList, ProductWarehouseConstant.getFormData(), ProductWarehouseConstant.getColumnData(), productWarehousePagination.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(productWarehousePagination, PaginationVO.class); + vo.setPagination(page); + return ActionResult.success(vo); + } + /** + * 创建 + * + * @param productWarehouseForm + * @return + */ + @PostMapping("/{id}") + @Operation(summary = "创建") + public ActionResult create(@PathVariable("id") String id, @RequestBody @Valid ProductWarehouseForm productWarehouseForm) { + String b = productWarehouseService.checkForm(productWarehouseForm,0); + if (StringUtil.isNotEmpty(b)){ + return ActionResult.fail(b ); + } + try{ + productWarehouseService.saveOrUpdate(productWarehouseForm, id ,true); + }catch(Exception e){ + return ActionResult.fail("新增数据失败"); + } + return ActionResult.success("创建成功"); + } + /** + * 编辑 + * @param id + * @param productWarehouseForm + * @return + */ + @PutMapping("/{id}") + @Operation(summary = "更新") + public ActionResult update(@PathVariable("id") String id,@RequestBody @Valid ProductWarehouseForm productWarehouseForm, + @RequestParam(value = "isImport", required = false) boolean isImport){ + productWarehouseForm.setId(id); + if (!isImport) { + String b = productWarehouseService.checkForm(productWarehouseForm,1); + if (StringUtil.isNotEmpty(b)){ + return ActionResult.fail(b ); + } + } + ProductWarehouseEntity entity= productWarehouseService.getInfo(id); + if(entity!=null){ + try{ + productWarehouseService.saveOrUpdate(productWarehouseForm,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){ + ProductWarehouseEntity entity= productWarehouseService.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); + productWarehouseService.update(id,entity); + } + return ActionResult.success("删除成功"); + } + /** + * 表单信息(详情页) + * 详情页面使用-转换数据 + * @param id + * @return + */ + @Operation(summary = "表单信息(详情页)") + @GetMapping("/detail/{id}") + public ActionResult detailInfo(@PathVariable("id") String id){ + ProductWarehouseEntity entity= productWarehouseService.getInfo(id); + if(entity==null){ + return ActionResult.fail("表单数据不存在!"); + } + Map productWarehouseMap=JsonUtil.entityToMap(entity); + productWarehouseMap.put("id", productWarehouseMap.get("id")); + //副表数据 + ProductBusinessEntity productBusinessEntity = productWarehouseService.getProductBusiness(entity.getId()); + if(ObjectUtil.isNotEmpty(productBusinessEntity)){ + Map productBusinessMap=JsonUtil.entityToMap(productBusinessEntity); + for(String key:productBusinessMap.keySet()){ + productWarehouseMap.put("jnpf_jg_product_business_jnpf_"+key,productBusinessMap.get(key)); + } + } + //子表数据 + List productUnitList = productWarehouseService.getProductUnitList(entity.getId()); + productWarehouseMap.put("tableField141",JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(productUnitList))); + productWarehouseMap = generaterSwapUtil.swapDataDetail(productWarehouseMap,ProductWarehouseConstant.getFormData(),"518014334211720453",false); + return ActionResult.success(productWarehouseMap); + } + /** + * 获取详情(编辑页) + * 编辑页面使用-不转换数据 + * @param id + * @return + */ + @Operation(summary = "信息") + @GetMapping("/{id}") + public ActionResult info(@PathVariable("id") String id){ + ProductWarehouseEntity entity= productWarehouseService.getInfo(id); + if(entity==null){ + return ActionResult.fail("表单数据不存在!"); + } + Map productWarehouseMap=JsonUtil.entityToMap(entity); + productWarehouseMap.put("id", productWarehouseMap.get("id")); + //副表数据 + ProductBusinessEntity productBusinessEntity = productWarehouseService.getProductBusiness(entity.getId()); + if(ObjectUtil.isNotEmpty(productBusinessEntity)){ + Map productBusinessMap=JsonUtil.entityToMap(productBusinessEntity); + for(String key:productBusinessMap.keySet()){ + productWarehouseMap.put("jnpf_jg_product_business_jnpf_"+key,productBusinessMap.get(key)); + } + } + //子表数据 + List productUnitList = productWarehouseService.getProductUnitList(entity.getId()); + productWarehouseMap.put("productUnitList",JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(productUnitList))); + productWarehouseMap = generaterSwapUtil.swapDataForm(productWarehouseMap,ProductWarehouseConstant.getFormData(),ProductWarehouseConstant.TABLEFIELDKEY,ProductWarehouseConstant.TABLERENAMES); + return ActionResult.success(productWarehouseMap); + } + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/ProductBusinessEntity.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/ProductBusinessEntity.java new file mode 100644 index 00000000..472661c1 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/ProductBusinessEntity.java @@ -0,0 +1,39 @@ +package jnpf.entity; + +import com.baomidou.mybatisplus.annotation.*; +import lombok.Data; +import java.util.Date; +/** + * 商品表和业务线关联关系表 + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-01-31 + */ +@Data +@TableName("jg_product_business") +public class ProductBusinessEntity { + @TableId(value ="ID" ) + private String id; + @TableField("PRODUCT_ID") + private String productId; + @TableField(value = "BUSINESS_LINE_ID" , updateStrategy = FieldStrategy.IGNORED) + private String businessLineId; + @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; +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/ProductUnitEntity.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/ProductUnitEntity.java new file mode 100644 index 00000000..c5a92b6c --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/ProductUnitEntity.java @@ -0,0 +1,89 @@ +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; +import java.math.BigDecimal; +import java.math.BigDecimal; +import java.math.BigDecimal; +import java.math.BigDecimal; +import java.math.BigDecimal; +import java.math.BigDecimal; +/** + * 商品单位子表 + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-01-31 + */ +@Data +@TableName("jg_product_unit") +public class ProductUnitEntity { + @TableId(value ="ID" ) + private String id; + @TableField(value = "PRODUCT_UNIT_NAME" , updateStrategy = FieldStrategy.IGNORED) + private String productUnitName; + @TableField("PROUCT_ID") + private String prouctId; + @TableField(value = "CONVERSION_RULES1" , updateStrategy = FieldStrategy.IGNORED) + private String conversionRules1; + @TableField("CONVERSION_RULES2") + private String conversionRules2; + @TableField("PACKAGING_BARCODE") + private String packagingBarcode; + @TableField("DIMENSIONAL_UNIT") + private String dimensionalUnit; + @TableField("SIZE_INFORMATION1") + private BigDecimal sizeInformation1; + @TableField("SIZE_INFORMATION2") + private BigDecimal sizeInformation2; + @TableField("SIZE_INFORMATION3") + private BigDecimal sizeInformation3; + @TableField("VOLUME_INFORMATION") + private BigDecimal volumeInformation; + @TableField("VOLUME_INFORMATION_UNIT") + private String volumeInformationUnit; + @TableField("WEIGHT") + private String weight; + @TableField("GROSS_WEIGHT") + private BigDecimal grossWeight; + @TableField("NET_WEIGHT") + private BigDecimal netWeight; + @TableField("PURCHASE_PRICE") + private BigDecimal purchasePrice; + @TableField("CURRENCY_ID1") + private String currencyId1; + @TableField("RETAIL_PRICE") + private BigDecimal retailPrice; + @TableField("CURRENCY_ID2") + private String currencyId2; + @TableField("STANDARD_PRICE") + private BigDecimal standardPrice; + @TableField("CURRENCY_ID3") + private String currencyId3; + @TableField("COST_PRICE") + private BigDecimal costPrice; + @TableField("CURRENCY_ID4") + private String currencyId4; + @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; +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/ProductWarehouseEntity.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/ProductWarehouseEntity.java new file mode 100644 index 00000000..9a8c7bbd --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/ProductWarehouseEntity.java @@ -0,0 +1,219 @@ +package jnpf.entity; + +import com.baomidou.mybatisplus.annotation.*; +import lombok.Data; +import java.util.Date; +/** + * 商品表 + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-01-31 + */ +@Data +@TableName("jg_product") +public class ProductWarehouseEntity { + @TableId(value ="ID" ) + private String id; + @TableField(value = "PRODUCT_TYPE_ID" , updateStrategy = FieldStrategy.IGNORED) + private String productTypeId; + @TableField(value = "PHOTO" , updateStrategy = FieldStrategy.IGNORED) + private String photo; + @TableField(value = "CODE" , updateStrategy = FieldStrategy.IGNORED) + private String code; + @TableField(value = "NAME" , updateStrategy = FieldStrategy.IGNORED) + private String name; + @TableField("PRODUCT_STATUS") + private String productStatus; + @TableField(value = "SHORT_NAME" , updateStrategy = FieldStrategy.IGNORED) + private String shortName; + @TableField(value = "BAR_CODE" , updateStrategy = FieldStrategy.IGNORED) + private String barCode; + @TableField("BOX_SURFACE_NUM") + private String boxSurfaceNum; + @TableField(value = "SPEC" , updateStrategy = FieldStrategy.IGNORED) + private String spec; + @TableField(value = "INVENTORY_TYPE" , updateStrategy = FieldStrategy.IGNORED) + private String inventoryType; + @TableField(value = "BRAND_ID" , updateStrategy = FieldStrategy.IGNORED) + private String brandId; + @TableField(value = "AREA" , updateStrategy = FieldStrategy.IGNORED) + private String area; + @TableField("PRODUCT_CATEGORY_ID") + private String productCategoryId; + @TableField("LIFE_CYCLE") + private String lifeCycle; + @TableField("AREA_CATEGORY") + private String areaCategory; + @TableField(value = "DANGEROUS_FLAG" , updateStrategy = FieldStrategy.IGNORED) + private String dangerousFlag; + @TableField(value = "IMPORTED_FLAG" , updateStrategy = FieldStrategy.IGNORED) + private String importedFlag; + @TableField(value = "FIRST_SUPPLIER_ID" , updateStrategy = FieldStrategy.IGNORED) + private String firstSupplierId; + @TableField("SETTLEMENT_ENTITY") + private String settlementEntity; + @TableField(value = "OUTPUT_TAX_RATE" , updateStrategy = FieldStrategy.IGNORED) + private String outputTaxRate; + @TableField(value = "INPUT_TAX_RATE" , updateStrategy = FieldStrategy.IGNORED) + private String inputTaxRate; + @TableField(value = "DELIVERY_TYPE" , updateStrategy = FieldStrategy.IGNORED) + private String deliveryType; + @TableField("MANY_UNIT_FLAG") + private String manyUnitFlag; + @TableField("INVENTORY_UNIT_ID") + private String inventoryUnitId; + @TableField("ORDER_MAIN_UNIT_ID") + private String orderMainUnitId; + @TableField("ORDER_OTHER_UNIT_ID") + private String orderOtherUnitId; + @TableField("SALES_MAIN_UNIT_ID") + private String salesMainUnitId; + @TableField("SALES_OTHER_UNIT_ID") + private String salesOtherUnitId; + @TableField("OPERATE_UNIT_ID") + private String operateUnitId; + @TableField("PRICING_UNIT_ID") + private String pricingUnitId; + @TableField("PURCHASE_ORDER_QUANTITY_DOWN") + private String purchaseOrderQuantityDown; + @TableField("PURCHASE_ORDER_QUANTITY_UPPER") + private String purchaseOrderQuantityUpper; + @TableField("PURCHASE_ORDER_MULTIPLE") + private String purchaseOrderMultiple; + @TableField("PURCHASE_INITIAL_AMOUNT") + private String purchaseInitialAmount; + @TableField("PURCHASE_ALLOW_OVERCHARGING_RATIO") + private String purchaseAllowOverchargingRatio; + @TableField("PURCHASE_ORDER_START") + private Date purchaseOrderStart; + @TableField("PURCHASE_ORDER_END") + private Date purchaseOrderEnd; + @TableField("PURCHASE_MODE") + private String purchaseMode; + @TableField("SALES_ORDER_QUANTITY_DOWN") + private String salesOrderQuantityDown; + @TableField("SALES_ORDER_QUANTITY_UPPER") + private String salesOrderQuantityUpper; + @TableField("SALES_ORDER_MULTIPLE") + private String salesOrderMultiple; + @TableField("SALES_INITIAL_AMOUNT") + private String salesInitialAmount; + @TableField("SALES_ALLOW_OVERCHARGING_RATIO") + private String salesAllowOverchargingRatio; + @TableField(value = "SALES_START" , updateStrategy = FieldStrategy.IGNORED) + private Date salesStart; + @TableField(value = "SALES_END" , updateStrategy = FieldStrategy.IGNORED) + private Date salesEnd; + @TableField("SALES_MODE_START") + private String salesModeStart; + @TableField("SALES_MODE") + private String salesMode; + @TableField("DELIVER_MODE") + private String deliverMode; + @TableField("DELIVER_GOODS_DATE") + private Date deliverGoodsDate; + @TableField("DELAY_NUM") + private String delayNum; + @TableField(value = "SAFETY_STOCK" , updateStrategy = FieldStrategy.IGNORED) + private String safetyStock; + @TableField(value = "INVENTORY_DAY_DOWN" , updateStrategy = FieldStrategy.IGNORED) + private String inventoryDayDown; + @TableField(value = "INVENTORY_DAY_UPPER" , updateStrategy = FieldStrategy.IGNORED) + private String inventoryDayUpper; + @TableField(value = "INVENTORY_DOWN" , updateStrategy = FieldStrategy.IGNORED) + private String inventoryDown; + @TableField(value = "INVENTORY_UPPER" , updateStrategy = FieldStrategy.IGNORED) + private String inventoryUpper; + @TableField("FIXED_REPLENISHMENT_QUANTITY") + private String fixedReplenishmentQuantity; + @TableField(value = "AVAILABLE_INVENTORY" , updateStrategy = FieldStrategy.IGNORED) + private String availableInventory; + @TableField("TRANSIT_INVENTORY") + private String transitInventory; + @TableField("MANAGE_INVENTORY") + private String manageInventory; + @TableField("FROM_INVENTORY") + private String fromInventory; + @TableField("MANAGE_BATCHES") + private String manageBatches; + @TableField("TRANSPORT_STOREY_BOARD_NUM") + private String transportStoreyBoardNum; + @TableField("TRANSPORT_BOX_STOREY_NUM") + private String transportBoxStoreyNum; + @TableField("TRANSPORT_BOX_BOARD_NUM") + private String transportBoxBoardNum; + @TableField("TRANSPORT_TEMPERATURE") + private String transportTemperature; + @TableField("TRANSPORT_TEMPERATURE_DOWN") + private String transportTemperatureDown; + @TableField("TRANSPORT_TEMPERATURE_UPPER") + private String transportTemperatureUpper; + @TableField("STORAGE_STOREY_BOARD_NUM") + private String storageStoreyBoardNum; + @TableField("STORAGE_BOX_STOREY_NUM") + private String storageBoxStoreyNum; + @TableField("STORAGE_BOX_BOARD_NUM") + private String storageBoxBoardNum; + @TableField("STORAGE_TEMPERATURE_DOWN") + private String storageTemperatureDown; + @TableField("STORAGE_TEMPERATURE") + private String storageTemperature; + @TableField("SALES_STATUS") + private String salesStatus; + @TableField("STORAGE_TEMPERATURE_UPPER") + private String storageTemperatureUpper; + @TableField("QUALITY_INSPECTION_RATIO") + private String qualityInspectionRatio; + @TableField("QUALITY_INSPECTION_FREQUENCY") + private String qualityInspectionFrequency; + @TableField("QUALITY_INSPECTION_REPORT") + private String qualityInspectionReport; + @TableField("QUALITY_INSPECTION_REPORT_START") + private Date qualityInspectionReportStart; + @TableField("QUALITY_INSPECTION_REPORT_END") + private Date qualityInspectionReportEnd; + @TableField("QUALITY_CONTROL") + private String qualityControl; + @TableField("QUALITY_INSPECTION_STANDARDS") + private String qualityInspectionStandards; + @TableField(value = "PROCESSED_FLAG" , updateStrategy = FieldStrategy.IGNORED) + private String processedFlag; + @TableField(value = "OUTSOURCED_FLAG" , updateStrategy = FieldStrategy.IGNORED) + private String outsourcedFlag; + @TableField("REMARK") + private String remark; + @TableField("RESERVED_FIELDS1") + private String reservedFields1; + @TableField("RESERVED_FIELDS2") + private String reservedFields2; + @TableField("RESERVED_FIELDS3") + private String reservedFields3; + @TableField("RESERVED_FIELDS4") + private String reservedFields4; + @TableField("RESERVED_FIELDS5") + private String reservedFields5; + @TableField("RESERVED_FIELDS6") + private String reservedFields6; + @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("F_FLOW_ID") + private String flowId; + @TableField("F_VERSION") + private Integer version; +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/productwarehouse/ProductBusinessModel.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/productwarehouse/ProductBusinessModel.java new file mode 100644 index 00000000..1f1429d8 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/productwarehouse/ProductBusinessModel.java @@ -0,0 +1,25 @@ +package jnpf.model.productwarehouse; + +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; + +/** + * + * productWarehouse + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-31 + */ +@Data +public class ProductBusinessModel { + /** 适配业务范围 **/ + @JSONField(name = "businessLineId") + private Object businessLineId; + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/productwarehouse/ProductUnitModel.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/productwarehouse/ProductUnitModel.java new file mode 100644 index 00000000..8cd38f36 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/productwarehouse/ProductUnitModel.java @@ -0,0 +1,29 @@ +package jnpf.model.productwarehouse; + +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; + +/** + * + * productWarehouse + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-31 + */ +@Data +public class ProductUnitModel { + /** 单位名称 **/ + @JSONField(name = "productUnitName") + private Object productUnitName; + + /** 换算规则 **/ + @JSONField(name = "conversionRules1") + private BigDecimal conversionRules1; + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/productwarehouse/ProductWarehouseConstant.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/productwarehouse/ProductWarehouseConstant.java new file mode 100644 index 00000000..840700c5 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/productwarehouse/ProductWarehouseConstant.java @@ -0,0 +1,41 @@ +package jnpf.model.productwarehouse; + +import jnpf.util.JsonUtil; +import java.util.Map; + +/** + * productWarehouse配置json + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-01-31 + */ +public class ProductWarehouseConstant{ + /** 数据库链接 */ + public static final String DBLINKID = "0"; + /** 表别名 map */ + public static final Map TABLERENAMES = JsonUtil.getJsonToBean("{\"jg_product\":\"productWarehouse\",\"jg_product_business\":\"productBusiness\",\"jg_product_unit\":\"productUnit\"}",Map.class); + /** 子表model map */ + public static final Map TABLEFIELDKEY = JsonUtil.getJsonToBean("{\"tableField141\":\"jg_product_unit\"}",Map.class); + /** 整个表单配置json */ + public static final String getFormData(){ + StringBuilder sb = new StringBuilder(); +sb.append("{\"popupType\":\"fullScreen\",\"idGlobal\":143,\"formBtns\":false,\"labelWidth\":120,\"classNames\":[],\"className\":[],\"fullScreenWidth\":\"100%\",\"hasConfirmAndAddBtn\":false,\"labelPosition\":\"right\",\"printId\":\"\",\"disabled\":false,\"formModel\":\"dataForm\",\"cancelButtonText\":\"取消\",\"confirmButtonText\":\"确定\",\"hasCancelBtn\":true,\"primaryKeyPolicy\":1,\"confirmAndAddText\":\"确定并继续操作\",\"hasPrintBtn\":false,\"concurrencyLock\":true,\"classJson\":\"\",\"drawerWidth\":\"600px\",\"printButtonText\":\"打印\",\"formRef\":\"formRef\",\"gutter\":15,\"logicalDelete\":true,\"size\":\"small\",\"formRules\":\"rules\",\"generalWidth\":\"600px\",\"hasConfirmBtn\":true,\"formStyle\":\"\",\"colon\":false,\"fields\":[{\"optionType\":\"default\",\"border\":false,\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"radio\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"521699870097015173\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706584323864,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-radio\",\"propsName\":\"\",\"tag\":\"JnpfRadio\",\"regList\":[],\"span\":24},\"size\":\"small\",\"__vModel__\":\"productTypeId\",\"style\":{},\"disabled\":false,\"interfaceHasPage\":false,\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"},\"direction\":\"horizontal\"},{\"showTip\":false,\"isAccount\":0,\"pathType\":\"defaultPath\",\"accept\":\"\",\"__config__\":{\"formId\":102,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"uploadImg\",\"defaultValue\":[],\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品图片\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706584379858,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-upload\",\"tag\":\"JnpfUploadImg\",\"regList\":[],\"span\":24},\"folder\":\"\",\"fileSize\":10,\"limit\":9,\"__vModel__\":\"photo\",\"sizeUnit\":\"MB\",\"tipText\":\"建议尺寸:800 x 800 像素\",\"disabled\":false},{\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"productcode\",\"className\":[],\"label\":\"商品编号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706584823007,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"商品编号\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"__vModel__\":\"code\",\"style\":{\"width\":\"100%\"},\"placeholder\":\"系统自动生成\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706584908578,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"name\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品简称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706584931082,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"shortName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"productBarCode\",\"className\":[],\"label\":\"商品条码\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706585143636,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"商品条码\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"__vModel__\":\"barCode\",\"style\":{\"width\":\"100%\"},\"placeholder\":\"系统自动生成\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":107,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品规格\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706585246794,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"spec\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"521705509590401413\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"存货类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706590049523,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":24},\"multiple\":false,\"__vModel__\":\"inventoryType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"}},{\"popupType\":\"dialog\",\"hasPage\":true,\"clearable\":true,\"pageSize\":20,\"columnOptions\":[{\"label\":\"品牌\",\"value\":\"brand_name\"}],\"templateJson\":[],\"relationField\":\"brand_name\",\"__config__\":{\"formId\":110,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"popupSelect\",\"defaultValue\":\"520546789800018053\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"品牌\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706590581323,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-popup\",\"tag\":\"JnpfPopupSelect\",\"regList\":[],\"span\":24},\"popupTitle\":\"选择数据\",\"__vModel__\":\"brandId\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"interfaceId\":\"518049412669244677\",\"interfaceName\":\"查询商品品牌\",\"popupWidth\":\"800px\",\"propsValue\":\"id\"},{\"ableAddressIds\":[],\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":112,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"areaSelect\",\"defaultValue\":[],\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"产地\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706678760615,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-Provinces\",\"tag\":\"JnpfAreaSelect\",\"regList\":[],\"span\":24},\"level\":2,\"multiple\":false,\"__vModel__\":\"area\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"selectType\":\"all\",\"placeholder\":\"请选择\"},{\"__config__\":{\"formId\":113,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"text\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"文本\",\"showLabel\":false,\"required\":false,\"renderKey\":1706592617877,\"tableName\":\"jg_product\",\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-textarea\",\"tag\":\"JnpfText\",\"span\":24},\"textStyle\":{\"color\":\"#62A2CB\",\"font-weight\":\"bold\",\"text-decoration\":\"none\",\"font-size\":16,\"line-height\":32,\"font-style\":\"normal\",\"text-align\":\"center\"},\"content\":\"商品特性\"},{\"__config__\":{\"formId\":115,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"switch\",\"defaultValue\":0,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"危险品\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706592978602,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-switch\",\"tag\":\"JnpfSwitch\",\"regList\":[],\"span\":6},\"activeValue\":1,\"inactiveValue\":0,\"__vModel__\":\"dangerousFlag\",\"inactiveTxt\":\"1\",\"disabled\":false,\"activeTxt\":\"2\"},{\"__config__\":{\"formId\":116,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"switch\",\"defaultValue\":0,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"进口商品\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706593115211,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-switch\",\"tag\":\"JnpfSwitch\",\"regList\":[],\"span\":6},\"activeValue\":1,\"inactiveValue\":0,\"__vModel__\":\"importedFlag\",\"inactiveTxt\":\"1\",\"disabled\":false,\"activeTxt\":\"2\"},{\"__config__\":{\"formId\":117,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"switch\",\"defaultValue\":0,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"加工商品\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706593441085,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-switch\",\"tag\":\"JnpfSwitch\",\"regList\":[],\"span\":6},\"activeValue\":1,\"inactiveValue\":0,\"__vModel__\":\"processedFlag\",\"inactiveTxt\":\"1\",\"disabled\":false,\"activeTxt\":\"2\"},{\"__config__\":{\"formId\":118,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"switch\",\"defaultValue\":0,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"委外商品\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706593527149,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-switch\",\"tag\":\"JnpfSwitch\",\"regList\":[],\"span\":6},\"activeValue\":1,\"inactiveValue\":0,\"__vModel__\":\"outsourcedFlag\",\"inactiveTxt\":\"1\",\"disabled\":false,\"activeTxt\":\"2\"},{\"__config__\":{\"formId\":119,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"text\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"文本\",\"showLabel\":false,\"required\":false,\"renderKey\":1706664261416,\"tableName\":\"jg_product\",\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-textarea\",\"tag\":\"JnpfText\",\"span\":24},\"textStyle\":{\"color\":\"#62A2CB\",\"font-weight\":\"bold\",\"text-decoration\":\"none\",\"font-size\":16,\"line-height\":32,\"font-style\":\"normal\",\"text-align\":\"center\"},\"content\":\"供应链/财务信息\"},{\"popupType\":\"dialog\",\"hasPage\":false,\"clearable\":true,\"pageSize\":20,\"columnOptions\":[],\"templateJson\":[],\"relationField\":\"fullName\",\"__config__\":{\"formId\":120,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"popupSelect\",\"defaultValue\":\"\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"首选供应商\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706664331907,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-popup\",\"tag\":\"JnpfPopupSelect\",\"regList\":[],\"span\":8},\"popupTitle\":\"选择数据\",\"__vModel__\":\"firstSupplierId\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"interfaceId\":\"518050631542375685\",\"interfaceName\":\"查询商品供应商列表\",\"popupWidth\":\"800px\",\"propsValue\":\"id\"},{\"filterable\":false,\"clearable\":false,\"__config__\":{\"formId\":121,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"522308907054399493\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"销项税率\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706666019257,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"multiple\":false,\"__vModel__\":\"outputTaxRate\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"}},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":122,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"522309142786867205\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"进项税率\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706666174493,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"multiple\":false,\"__vModel__\":\"inputTaxRate\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"}},{\"optionType\":\"default\",\"border\":false,\"__config__\":{\"formId\":123,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"radio\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"522318040524652549\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"配送方式\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706670149888,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-radio\",\"propsName\":\"\",\"tag\":\"JnpfRadio\",\"regList\":[],\"span\":8},\"size\":\"small\",\"__vModel__\":\"deliveryType\",\"style\":{},\"disabled\":false,\"interfaceHasPage\":false,\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"},\"direction\":\"horizontal\"},{\"__config__\":{\"formId\":140,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"text\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"文本\",\"showLabel\":false,\"required\":false,\"renderKey\":1706678008798,\"tableName\":\"jg_product\",\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-textarea\",\"tag\":\"JnpfText\",\"span\":24},\"textStyle\":{\"color\":\"#62A2CB\",\"font-weight\":\"bold\",\"text-decoration\":\"none\",\"font-size\":16,\"line-height\":32,\"font-style\":\"normal\",\"text-align\":\"center\"},\"content\":\"单位/价格信息\"},{\"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\":141,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"table\",\"defaultValue\":[],\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品单位\",\"type\":\"table\",\"showLabel\":false,\"tableName\":\"jg_product_unit\",\"renderKey\":1706679523093,\"layout\":\"rowFormItem\",\"rowType\":\"table\",\"tagIcon\":\"icon-ym icon-ym-generator-table\",\"children\":[{\"filterable\":false,\"clearable\":true,\"__config__\":{\"relationTable\":\"jg_product_unit\",\"defaultValue\":\"\",\"parentVModel\":\"tableField141\",\"dragDisabled\":false,\"className\":[],\"propsUrl\":\"522387417454346245\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706679847371,\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"isSubTable\":true,\"tag\":\"JnpfSelect\",\"formId\":142,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"noShow\":false,\"dataType\":\"dynamic\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"label\":\"单位名称\",\"trigger\":\"change\",\"layout\":\"colFormItem\",\"propsName\":\"查询单位库\",\"regList\":[],\"span\":24},\"multiple\":false,\"__vModel__\":\"productUnitName\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"}},{\"step-strictly\":false,\"controls\":false,\"thousands\":false,\"isAmountChinese\":false,\"addonAfter\":\"商品标准单位\",\"__config__\":{\"formId\":143,\"relationTable\":\"jg_product_unit\",\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"inputNumber\",\"noShow\":false,\"parentVModel\":\"tableField141\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"换算规则\",\"trigger\":[\"blur\",\"change\"],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706680014087,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-number\",\"isSubTable\":true,\"tag\":\"JnpfInputNumber\",\"regList\":[],\"span\":24},\"__vModel__\":\"conversionRules1\",\"style\":{},\"step\":1,\"disabled\":false,\"placeholder\":\"数字文本\",\"controlsPosition\":\"\"}],\"showTitle\":true,\"complexHeaderList\":[],\"tag\":\"JnpfInputTable\",\"componentName\":\"row141\",\"span\":24},\"showAddBtn\":true,\"__vModel__\":\"tableField141\",\"disabled\":false},{\"__config__\":{\"formId\":128,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"text\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"文本\",\"showLabel\":false,\"required\":false,\"renderKey\":1706676368128,\"tableName\":\"jg_product\",\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-textarea\",\"tag\":\"JnpfText\",\"span\":24},\"textStyle\":{\"color\":\"#62A2CB\",\"font-weight\":\"bold\",\"text-decoration\":\"none\",\"font-size\":16,\"line-height\":32,\"font-style\":\"normal\",\"text-align\":\"center\"},\"content\":\"销售信息\"},{\"clearable\":true,\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706676433726,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":129,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"开售时间\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"__vModel__startRelationField\":\"\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":12},\"readonly\":false,\"format\":\"yyyy-MM-dd\",\"__vModel__\":\"salesStart\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"startTime\":\"\",\"placeholder\":\"请选择\",\"type\":\"date\"},{\"clearable\":true,\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706676442339,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":130,\"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\":12},\"readonly\":false,\"format\":\"yyyy-MM-dd\",\"__vModel__\":\"salesEnd\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"type\":\"date\"},{\"__config__\":{\"formId\":131,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"text\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"文本\",\"showLabel\":false,\"required\":false,\"renderKey\":1706676788074,\"tableName\":\"jg_product\",\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-textarea\",\"tag\":\"JnpfText\",\"span\":24},\"textStyle\":{\"color\":\"#62A2CB\",\"font-weight\":\"bold\",\"text-decoration\":\"none\",\"font-size\":16,\"line-height\":32,\"font-style\":\"normal\",\"text-align\":\"center\"},\"content\":\"库存信息\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":134,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"安全库存\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706677244993,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"safetyStock\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":135,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"可售库存\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706677285742,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"availableInventory\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":136,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"库存天数下限\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706677763670,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"inventoryDayDown\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":137,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"库存天数上限\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706677771374,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"inventoryDayUpper\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":138,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"库存下限\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706677832417,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"inventoryDown\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":139,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"库存上限\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706677844595,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":12},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"inventoryUpper\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"__config__\":{\"formId\":124,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"text\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"文本\",\"showLabel\":false,\"required\":false,\"renderKey\":1706670412332,\"tableName\":\"jg_product\",\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-textarea\",\"tag\":\"JnpfText\",\"span\":24},\"textStyle\":{\"color\":\"#62A2CB\",\"font-weight\":\"bold\",\"text-decoration\":\"none\",\"font-size\":16,\"line-height\":32,\"font-style\":\"normal\",\"text-align\":\"center\"},\"content\":\"适配业务范围\"},{\"optionType\":\"default\",\"border\":false,\"__config__\":{\"formId\":127,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"checkbox\",\"defaultValue\":[],\"noShow\":false,\"dataType\":\"dynamic\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"适配业务范围\",\"trigger\":\"change\",\"propsUrl\":\"517979330417001669\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product_business\",\"renderKey\":1706676240586,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-checkbox\",\"propsName\":\"查询业务线列表\",\"tag\":\"JnpfCheckbox\",\"regList\":[],\"span\":24},\"size\":\"small\",\"__vModel__\":\"jnpf_jg_product_business_jnpf_businessLineId\",\"style\":{},\"disabled\":false,\"interfaceHasPage\":false,\"props\":{\"label\":\"name\",\"value\":\"id\"},\"direction\":\"horizontal\"}],\"span\":24}"); return sb.toString(); + } + /** 列表字段配置json */ + public static final String getColumnData(){ + StringBuilder sb = new StringBuilder(); +sb.append("{\"showSummary\":false,\"hasPage\":true,\"searchList\":[{\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"productcode\",\"className\":[],\"label\":\"商品编号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706584823007,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"商品编号\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"searchType\":2,\"jnpfKey\":\"billRule\",\"prop\":\"code\",\"__vModel__\":\"code\",\"searchMultiple\":false,\"fullName\":\"商品编号\",\"style\":{\"width\":\"100%\"},\"label\":\"商品编号\",\"id\":\"code\",\"placeholder\":\"系统自动生成\"},{\"clearable\":true,\"searchType\":2,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"商品名称\",\"label\":\"商品名称\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706584908578,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"name\",\"showWordLimit\":false,\"__vModel__\":\"name\",\"searchMultiple\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"name\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"border\":false,\"searchType\":1,\"jnpfKey\":\"radio\",\"fullName\":\"商品类型\",\"label\":\"商品类型\",\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"},\"optionType\":\"default\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"radio\",\"defaultValue\":\"1\",\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"521699870097015173\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706584323864,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-radio\",\"propsName\":\"\",\"tag\":\"JnpfRadio\",\"regList\":[],\"span\":24},\"size\":\"small\",\"prop\":\"productTypeId\",\"__vModel__\":\"productTypeId\",\"searchMultiple\":false,\"style\":{},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"productTypeId\",\"direction\":\"horizontal\"},{\"filterable\":false,\"clearable\":true,\"searchType\":1,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"存货类型\",\"label\":\"存货类型\",\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"},\"__config__\":{\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"521705509590401413\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"存货类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706590049523,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":24},\"prop\":\"inventoryType\",\"__vModel__\":\"inventoryType\",\"searchMultiple\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"inventoryType\",\"placeholder\":\"请选择\",\"value\":[]}],\"treeInterfaceId\":\"\",\"treePropsValue\":\"id\",\"ruleList\":{\"conditionList\":[],\"matchLogic\":\"and\"},\"childTableStyle\":1,\"columnOptions\":[{\"border\":false,\"fullName\":\"商品类型\",\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"},\"optionType\":\"default\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"radio\",\"defaultValue\":\"1\",\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"521699870097015173\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706584323864,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-radio\",\"propsName\":\"\",\"tag\":\"JnpfRadio\",\"regList\":[],\"span\":24},\"size\":\"small\",\"__vModel__\":\"productTypeId\",\"style\":{},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"productTypeId\",\"direction\":\"horizontal\"},{\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"productcode\",\"className\":[],\"label\":\"商品编号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706584823007,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"商品编号\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"__vModel__\":\"code\",\"fullName\":\"商品编号\",\"style\":{\"width\":\"100%\"},\"id\":\"code\",\"placeholder\":\"系统自动生成\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"商品名称\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706584908578,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"name\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"name\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"商品简称\",\"addonAfter\":\"\",\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品简称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706584931082,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"shortName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"shortName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"productBarCode\",\"className\":[],\"label\":\"商品条码\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706585143636,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"商品条码\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"__vModel__\":\"barCode\",\"fullName\":\"商品条码\",\"style\":{\"width\":\"100%\"},\"id\":\"barCode\",\"placeholder\":\"系统自动生成\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"商品规格\",\"addonAfter\":\"\",\"__config__\":{\"formId\":107,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品规格\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706585246794,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"spec\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"spec\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"存货类型\",\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"},\"__config__\":{\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"521705509590401413\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"存货类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706590049523,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":24},\"__vModel__\":\"inventoryType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"inventoryType\",\"placeholder\":\"请选择\"},{\"popupType\":\"dialog\",\"hasPage\":true,\"clearable\":true,\"fullName\":\"品牌\",\"pageSize\":20,\"columnOptions\":[{\"label\":\"品牌\",\"value\":\"brand_name\"}],\"templateJson\":[],\"relationField\":\"brand_name\",\"__config__\":{\"formId\":110,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"popupSelect\",\"defaultValue\":\"520546789800018053\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"品牌\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706590581323,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-popup\",\"tag\":\"JnpfPopupSelect\",\"regList\":[],\"span\":24},\"popupTitle\":\"选择数据\",\"__vModel__\":\"brandId\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"brandId\",\"placeholder\":\"请选择\",\"interfaceId\":\"518049412669244677\",\"interfaceName\":\"查询商品品牌\",\"popupWidth\":\"800px\",\"propsValue\":\"id\"},{\"ableAddressIds\":[],\"filterable\":false,\"clearable\":true,\"level\":3,\"multiple\":false,\"fullName\":\"产地\",\"__config__\":{\"formId\":112,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"areaSelect\",\"defaultValue\":[],\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"产地\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706592530095,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-Provinces\",\"tag\":\"JnpfAreaSelect\",\"regList\":[],\"span\":24},\"__vModel__\":\"area\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"selectType\":\"all\",\"id\":\"area\",\"placeholder\":\"请选择\"},{\"__config__\":{\"formId\":115,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"switch\",\"defaultValue\":0,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"危险品\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706592978602,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-switch\",\"tag\":\"JnpfSwitch\",\"regList\":[],\"span\":6},\"activeValue\":1,\"inactiveValue\":0,\"__vModel__\":\"dangerousFlag\",\"fullName\":\"危险品\",\"inactiveTxt\":\"1\",\"disabled\":false,\"activeTxt\":\"2\",\"id\":\"dangerousFlag\"},{\"__config__\":{\"formId\":116,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"switch\",\"defaultValue\":0,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"进口商品\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706593115211,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-switch\",\"tag\":\"JnpfSwitch\",\"regList\":[],\"span\":6},\"activeValue\":1,\"inactiveValue\":0,\"__vModel__\":\"importedFlag\",\"fullName\":\"进口商品\",\"inactiveTxt\":\"1\",\"disabled\":false,\"activeTxt\":\"2\",\"id\":\"importedFlag\"},{\"__config__\":{\"formId\":117,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"switch\",\"defaultValue\":0,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"加工商品\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706593441085,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-switch\",\"tag\":\"JnpfSwitch\",\"regList\":[],\"span\":6},\"activeValue\":1,\"inactiveValue\":0,\"__vModel__\":\"processedFlag\",\"fullName\":\"加工商品\",\"inactiveTxt\":\"1\",\"disabled\":false,\"activeTxt\":\"2\",\"id\":\"processedFlag\"},{\"__config__\":{\"formId\":118,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"switch\",\"defaultValue\":0,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"委外商品\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706593527149,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-switch\",\"tag\":\"JnpfSwitch\",\"regList\":[],\"span\":6},\"activeValue\":1,\"inactiveValue\":0,\"__vModel__\":\"outsourcedFlag\",\"fullName\":\"委外商品\",\"inactiveTxt\":\"1\",\"disabled\":false,\"activeTxt\":\"2\",\"id\":\"outsourcedFlag\"}],\"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\":[{\"border\":false,\"jnpfKey\":\"radio\",\"fullName\":\"商品类型\",\"label\":\"商品类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"},\"optionType\":\"default\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"radio\",\"defaultValue\":\"1\",\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"521699870097015173\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706584323864,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-radio\",\"propsName\":\"\",\"tag\":\"JnpfRadio\",\"regList\":[],\"span\":24},\"size\":\"small\",\"prop\":\"productTypeId\",\"__vModel__\":\"productTypeId\",\"checked\":true,\"fixed\":\"none\",\"style\":{},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"productTypeId\",\"direction\":\"horizontal\"},{\"jnpfKey\":\"billRule\",\"fullName\":\"商品编号\",\"label\":\"商品编号\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"productcode\",\"className\":[],\"label\":\"商品编号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706584823007,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"商品编号\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"prop\":\"code\",\"__vModel__\":\"code\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"id\":\"code\",\"placeholder\":\"系统自动生成\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706584908578,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"name\",\"showWordLimit\":false,\"__vModel__\":\"name\",\"checked\":true,\"disabled\":false,\"id\":\"name\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"商品名称\",\"label\":\"商品名称\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品简称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706584931082,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"shortName\",\"showWordLimit\":false,\"__vModel__\":\"shortName\",\"checked\":true,\"disabled\":false,\"id\":\"shortName\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"商品简称\",\"label\":\"商品简称\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"jnpfKey\":\"billRule\",\"fullName\":\"商品条码\",\"label\":\"商品条码\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"productBarCode\",\"className\":[],\"label\":\"商品条码\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706585143636,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"商品条码\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"prop\":\"barCode\",\"__vModel__\":\"barCode\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"id\":\"barCode\",\"placeholder\":\"系统自动生成\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":107,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品规格\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706585246794,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"spec\",\"showWordLimit\":false,\"__vModel__\":\"spec\",\"checked\":true,\"disabled\":false,\"id\":\"spec\",\"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\":\"enCode\"},\"__config__\":{\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"521705509590401413\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"存货类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706590049523,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":24},\"prop\":\"inventoryType\",\"__vModel__\":\"inventoryType\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"inventoryType\",\"placeholder\":\"请选择\"},{\"popupType\":\"dialog\",\"hasPage\":true,\"pageSize\":20,\"columnOptions\":[{\"label\":\"品牌\",\"value\":\"brand_name\"}],\"align\":\"left\",\"templateJson\":[],\"__config__\":{\"formId\":110,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"popupSelect\",\"defaultValue\":\"520546789800018053\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"品牌\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706590581323,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-popup\",\"tag\":\"JnpfPopupSelect\",\"regList\":[],\"span\":24},\"prop\":\"brandId\",\"__vModel__\":\"brandId\",\"checked\":true,\"disabled\":false,\"id\":\"brandId\",\"placeholder\":\"请选择\",\"interfaceName\":\"查询商品品牌\",\"popupWidth\":\"800px\",\"clearable\":true,\"jnpfKey\":\"popupSelect\",\"fullName\":\"品牌\",\"label\":\"品牌\",\"sortable\":false,\"relationField\":\"brand_name\",\"popupTitle\":\"选择数据\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"interfaceHasPage\":false,\"interfaceId\":\"518049412669244677\",\"propsValue\":\"id\"},{\"ableAddressIds\":[],\"filterable\":false,\"clearable\":true,\"level\":3,\"jnpfKey\":\"areaSelect\",\"multiple\":false,\"fullName\":\"产地\",\"label\":\"产地\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":112,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"areaSelect\",\"defaultValue\":[],\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"产地\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706592530095,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-Provinces\",\"tag\":\"JnpfAreaSelect\",\"regList\":[],\"span\":24},\"prop\":\"area\",\"__vModel__\":\"area\",\"checked\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"selectType\":\"all\",\"id\":\"area\",\"placeholder\":\"请选择\"},{\"activeValue\":1,\"jnpfKey\":\"switch\",\"inactiveValue\":0,\"fullName\":\"危险品\",\"inactiveTxt\":\"1\",\"label\":\"危险品\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":115,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"switch\",\"defaultValue\":0,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"危险品\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706592978602,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-switch\",\"tag\":\"JnpfSwitch\",\"regList\":[],\"span\":6},\"prop\":\"dangerousFlag\",\"__vModel__\":\"dangerousFlag\",\"checked\":false,\"fixed\":\"none\",\"disabled\":false,\"activeTxt\":\"2\",\"id\":\"dangerousFlag\"},{\"activeValue\":1,\"jnpfKey\":\"switch\",\"inactiveValue\":0,\"fullName\":\"进口商品\",\"inactiveTxt\":\"1\",\"label\":\"进口商品\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":116,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"switch\",\"defaultValue\":0,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"进口商品\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706593115211,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-switch\",\"tag\":\"JnpfSwitch\",\"regList\":[],\"span\":6},\"prop\":\"importedFlag\",\"__vModel__\":\"importedFlag\",\"checked\":false,\"fixed\":\"none\",\"disabled\":false,\"activeTxt\":\"2\",\"id\":\"importedFlag\"},{\"activeValue\":1,\"jnpfKey\":\"switch\",\"inactiveValue\":0,\"fullName\":\"加工商品\",\"inactiveTxt\":\"1\",\"label\":\"加工商品\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":117,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"switch\",\"defaultValue\":0,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"加工商品\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706593441085,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-switch\",\"tag\":\"JnpfSwitch\",\"regList\":[],\"span\":6},\"prop\":\"processedFlag\",\"__vModel__\":\"processedFlag\",\"checked\":false,\"fixed\":\"none\",\"disabled\":false,\"activeTxt\":\"2\",\"id\":\"processedFlag\"},{\"activeValue\":1,\"jnpfKey\":\"switch\",\"inactiveValue\":0,\"fullName\":\"委外商品\",\"inactiveTxt\":\"1\",\"label\":\"委外商品\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":118,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"switch\",\"defaultValue\":0,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"委外商品\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706593527149,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-switch\",\"tag\":\"JnpfSwitch\",\"regList\":[],\"span\":6},\"prop\":\"outsourcedFlag\",\"__vModel__\":\"outsourcedFlag\",\"checked\":false,\"fixed\":\"none\",\"disabled\":false,\"activeTxt\":\"2\",\"id\":\"outsourcedFlag\"}],\"treeTemplateJson\":[],\"treePropsName\":\"\",\"useColumnPermission\":false,\"treePropsUrl\":\"\",\"treeRelation\":\"\",\"treeSynType\":0,\"btnsList\":[{\"icon\":\"icon-ym icon-ym-btn-add\",\"label\":\"新增\",\"value\":\"add\"}],\"useDataPermission\":false,\"columnList\":[{\"jnpfKey\":\"billRule\",\"fullName\":\"商品编号\",\"label\":\"商品编号\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"productcode\",\"className\":[],\"label\":\"商品编号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706584823007,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"商品编号\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"prop\":\"code\",\"width\":0,\"__vModel__\":\"code\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"id\":\"code\",\"placeholder\":\"系统自动生成\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"商品名称\",\"label\":\"商品名称\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706584908578,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"name\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"name\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"name\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"border\":false,\"jnpfKey\":\"radio\",\"fullName\":\"商品类型\",\"label\":\"商品类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"},\"optionType\":\"default\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"radio\",\"defaultValue\":\"1\",\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"521699870097015173\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706584323864,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-radio\",\"propsName\":\"\",\"tag\":\"JnpfRadio\",\"regList\":[],\"span\":24},\"size\":\"small\",\"prop\":\"productTypeId\",\"width\":0,\"__vModel__\":\"productTypeId\",\"fixed\":\"none\",\"style\":{},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"productTypeId\",\"direction\":\"horizontal\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"商品简称\",\"label\":\"商品简称\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品简称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706584931082,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"shortName\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"shortName\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"shortName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"商品规格\",\"label\":\"商品规格\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":107,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品规格\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706585246794,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"spec\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"spec\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"spec\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"jnpfKey\":\"billRule\",\"fullName\":\"商品条码\",\"label\":\"商品条码\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"productBarCode\",\"className\":[],\"label\":\"商品条码\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706585143636,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"商品条码\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"prop\":\"barCode\",\"width\":0,\"__vModel__\":\"barCode\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"id\":\"barCode\",\"placeholder\":\"系统自动生成\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"存货类型\",\"label\":\"存货类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"},\"__config__\":{\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"521705509590401413\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"存货类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706590049523,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":24},\"prop\":\"inventoryType\",\"width\":0,\"__vModel__\":\"inventoryType\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"inventoryType\",\"placeholder\":\"请选择\"},{\"popupType\":\"dialog\",\"hasPage\":true,\"pageSize\":20,\"columnOptions\":[{\"label\":\"品牌\",\"value\":\"brand_name\"}],\"align\":\"left\",\"templateJson\":[],\"__config__\":{\"formId\":110,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"popupSelect\",\"defaultValue\":\"520546789800018053\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"品牌\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706590581323,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-popup\",\"tag\":\"JnpfPopupSelect\",\"regList\":[],\"span\":24},\"prop\":\"brandId\",\"__vModel__\":\"brandId\",\"disabled\":false,\"id\":\"brandId\",\"placeholder\":\"请选择\",\"interfaceName\":\"查询商品品牌\",\"popupWidth\":\"800px\",\"clearable\":true,\"jnpfKey\":\"popupSelect\",\"fullName\":\"品牌\",\"label\":\"品牌\",\"sortable\":false,\"relationField\":\"brand_name\",\"popupTitle\":\"选择数据\",\"width\":0,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"interfaceHasPage\":false,\"interfaceId\":\"518049412669244677\",\"propsValue\":\"id\"}],\"sort\":\"desc\",\"thousands\":false,\"hasSuperQuery\":true,\"summaryField\":[],\"parentField\":\"\",\"treePropsLabel\":\"fullName\",\"treeDataSource\":\"dictionary\",\"groupField\":\"\",\"printIds\":[],\"uploaderTemplateJson\":{},\"treeDictionary\":\"\",\"hasTreeQuery\":false,\"useFormPermission\":false,\"customBtnsList\":[],\"complexHeaderList\":[],\"useBtnPermission\":false,\"treeInterfaceName\":\"\",\"defaultSidx\":\"\"}"); return sb.toString(); + } + /** app列表字段配置json */ + public static final String getAppColumnData(){ + StringBuilder sb = new StringBuilder(); +sb.append("{\"hasPage\":true,\"useColumnPermission\":false,\"searchList\":[],\"btnsList\":[{\"icon\":\"icon-ym icon-ym-btn-add\",\"label\":\"新增\",\"value\":\"add\"}],\"useDataPermission\":false,\"ruleListApp\":{\"conditionList\":[],\"matchLogic\":\"and\"},\"columnList\":[{\"border\":false,\"jnpfKey\":\"radio\",\"fullName\":\"商品类型\",\"label\":\"商品类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"},\"optionType\":\"default\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"radio\",\"defaultValue\":\"1\",\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"521699870097015173\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706584323864,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-radio\",\"propsName\":\"\",\"tag\":\"JnpfRadio\",\"regList\":[],\"span\":24},\"size\":\"small\",\"prop\":\"productTypeId\",\"__vModel__\":\"productTypeId\",\"style\":{},\"disabled\":false,\"interfaceHasPage\":false,\"fixed\":\"none\",\"id\":\"productTypeId\",\"direction\":\"horizontal\"}],\"columnOptions\":[{\"border\":false,\"fullName\":\"商品类型\",\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"},\"optionType\":\"default\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"radio\",\"defaultValue\":\"1\",\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"521699870097015173\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706584323864,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-radio\",\"propsName\":\"\",\"tag\":\"JnpfRadio\",\"regList\":[],\"span\":24},\"size\":\"small\",\"__vModel__\":\"productTypeId\",\"style\":{},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"productTypeId\",\"direction\":\"horizontal\"},{\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"productcode\",\"className\":[],\"label\":\"商品编号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706584823007,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"商品编号\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"__vModel__\":\"code\",\"fullName\":\"商品编号\",\"style\":{\"width\":\"100%\"},\"placeholder\":\"系统自动生成\",\"id\":\"code\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"商品名称\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706584908578,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"name\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"name\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"商品简称\",\"addonAfter\":\"\",\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品简称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706584931082,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"shortName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"shortName\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"productBarCode\",\"className\":[],\"label\":\"商品条码\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706585143636,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"商品条码\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"__vModel__\":\"barCode\",\"fullName\":\"商品条码\",\"style\":{\"width\":\"100%\"},\"placeholder\":\"系统自动生成\",\"id\":\"barCode\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"商品规格\",\"addonAfter\":\"\",\"__config__\":{\"formId\":107,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品规格\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706585246794,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"spec\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"spec\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"存货类型\",\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"},\"__config__\":{\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"521705509590401413\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"存货类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706590049523,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":24},\"__vModel__\":\"inventoryType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"inventoryType\"},{\"popupType\":\"dialog\",\"hasPage\":true,\"clearable\":true,\"pageSize\":20,\"columnOptions\":[{\"label\":\"品牌\",\"value\":\"brand_name\"}],\"fullName\":\"品牌\",\"templateJson\":[],\"relationField\":\"brand_name\",\"__config__\":{\"formId\":110,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"popupSelect\",\"defaultValue\":\"520546789800018053\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"品牌\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706590581323,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-popup\",\"tag\":\"JnpfPopupSelect\",\"regList\":[],\"span\":24},\"popupTitle\":\"选择数据\",\"__vModel__\":\"brandId\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"interfaceId\":\"518049412669244677\",\"interfaceName\":\"查询商品品牌\",\"id\":\"brandId\",\"popupWidth\":\"800px\",\"propsValue\":\"id\"},{\"ableAddressIds\":[],\"filterable\":false,\"clearable\":true,\"level\":3,\"multiple\":false,\"fullName\":\"产地\",\"__config__\":{\"formId\":112,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"areaSelect\",\"defaultValue\":[],\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"产地\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706592530095,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-Provinces\",\"tag\":\"JnpfAreaSelect\",\"regList\":[],\"span\":24},\"__vModel__\":\"area\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"selectType\":\"all\",\"placeholder\":\"请选择\",\"id\":\"area\"},{\"__config__\":{\"formId\":115,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"switch\",\"defaultValue\":0,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"危险品\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706592978602,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-switch\",\"tag\":\"JnpfSwitch\",\"regList\":[],\"span\":6},\"activeValue\":1,\"inactiveValue\":0,\"__vModel__\":\"dangerousFlag\",\"inactiveTxt\":\"1\",\"fullName\":\"危险品\",\"disabled\":false,\"activeTxt\":\"2\",\"id\":\"dangerousFlag\"},{\"__config__\":{\"formId\":116,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"switch\",\"defaultValue\":0,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"进口商品\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706593115211,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-switch\",\"tag\":\"JnpfSwitch\",\"regList\":[],\"span\":6},\"activeValue\":1,\"inactiveValue\":0,\"__vModel__\":\"importedFlag\",\"inactiveTxt\":\"1\",\"fullName\":\"进口商品\",\"disabled\":false,\"activeTxt\":\"2\",\"id\":\"importedFlag\"},{\"__config__\":{\"formId\":117,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"switch\",\"defaultValue\":0,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"加工商品\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706593441085,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-switch\",\"tag\":\"JnpfSwitch\",\"regList\":[],\"span\":6},\"activeValue\":1,\"inactiveValue\":0,\"__vModel__\":\"processedFlag\",\"inactiveTxt\":\"1\",\"fullName\":\"加工商品\",\"disabled\":false,\"activeTxt\":\"2\",\"id\":\"processedFlag\"},{\"__config__\":{\"formId\":118,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"switch\",\"defaultValue\":0,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"委外商品\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706593527149,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-switch\",\"tag\":\"JnpfSwitch\",\"regList\":[],\"span\":6},\"activeValue\":1,\"inactiveValue\":0,\"__vModel__\":\"outsourcedFlag\",\"inactiveTxt\":\"1\",\"fullName\":\"委外商品\",\"disabled\":false,\"activeTxt\":\"2\",\"id\":\"outsourcedFlag\"}],\"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\":[{\"border\":false,\"jnpfKey\":\"radio\",\"fullName\":\"商品类型\",\"label\":\"商品类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"},\"optionType\":\"default\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"radio\",\"defaultValue\":\"1\",\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"521699870097015173\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706584323864,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-radio\",\"propsName\":\"\",\"tag\":\"JnpfRadio\",\"regList\":[],\"span\":24},\"size\":\"small\",\"prop\":\"productTypeId\",\"__vModel__\":\"productTypeId\",\"checked\":true,\"style\":{},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"productTypeId\",\"direction\":\"horizontal\"},{\"jnpfKey\":\"billRule\",\"fullName\":\"商品编号\",\"label\":\"商品编号\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"productcode\",\"className\":[],\"label\":\"商品编号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706584823007,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"商品编号\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"prop\":\"code\",\"__vModel__\":\"code\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"placeholder\":\"系统自动生成\",\"id\":\"code\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"商品名称\",\"label\":\"商品名称\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706584908578,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"name\",\"showWordLimit\":false,\"__vModel__\":\"name\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"name\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"商品简称\",\"label\":\"商品简称\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品简称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706584931082,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"shortName\",\"showWordLimit\":false,\"__vModel__\":\"shortName\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"shortName\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"jnpfKey\":\"billRule\",\"fullName\":\"商品条码\",\"label\":\"商品条码\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":true,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"productBarCode\",\"className\":[],\"label\":\"商品条码\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_product\",\"renderKey\":1706585143636,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"商品条码\",\"tag\":\"JnpfInput\",\"span\":24},\"readonly\":true,\"prop\":\"barCode\",\"__vModel__\":\"barCode\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"placeholder\":\"系统自动生成\",\"id\":\"barCode\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"商品规格\",\"label\":\"商品规格\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":107,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"商品规格\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706585246794,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"spec\",\"showWordLimit\":false,\"__vModel__\":\"spec\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"spec\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"存货类型\",\"label\":\"存货类型\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"},\"__config__\":{\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"521705509590401413\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"存货类型\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706590049523,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":24},\"prop\":\"inventoryType\",\"__vModel__\":\"inventoryType\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"inventoryType\"},{\"popupType\":\"dialog\",\"hasPage\":true,\"pageSize\":20,\"columnOptions\":[{\"label\":\"品牌\",\"value\":\"brand_name\"}],\"align\":\"left\",\"templateJson\":[],\"__config__\":{\"formId\":110,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"popupSelect\",\"defaultValue\":\"520546789800018053\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"品牌\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706590581323,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-popup\",\"tag\":\"JnpfPopupSelect\",\"regList\":[],\"span\":24},\"prop\":\"brandId\",\"__vModel__\":\"brandId\",\"checked\":false,\"disabled\":false,\"placeholder\":\"请选择\",\"interfaceName\":\"查询商品品牌\",\"id\":\"brandId\",\"popupWidth\":\"800px\",\"clearable\":true,\"jnpfKey\":\"popupSelect\",\"fullName\":\"品牌\",\"label\":\"品牌\",\"sortable\":false,\"relationField\":\"brand_name\",\"popupTitle\":\"选择数据\",\"style\":{\"width\":\"100%\"},\"interfaceHasPage\":false,\"interfaceId\":\"518049412669244677\",\"propsValue\":\"id\"},{\"ableAddressIds\":[],\"filterable\":false,\"clearable\":true,\"level\":3,\"jnpfKey\":\"areaSelect\",\"multiple\":false,\"fullName\":\"产地\",\"label\":\"产地\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":112,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"areaSelect\",\"defaultValue\":[],\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"产地\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706592530095,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-Provinces\",\"tag\":\"JnpfAreaSelect\",\"regList\":[],\"span\":24},\"prop\":\"area\",\"__vModel__\":\"area\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"selectType\":\"all\",\"placeholder\":\"请选择\",\"id\":\"area\"},{\"activeValue\":1,\"jnpfKey\":\"switch\",\"inactiveValue\":0,\"inactiveTxt\":\"1\",\"fullName\":\"危险品\",\"label\":\"危险品\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":115,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"switch\",\"defaultValue\":0,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"危险品\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706592978602,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-switch\",\"tag\":\"JnpfSwitch\",\"regList\":[],\"span\":6},\"prop\":\"dangerousFlag\",\"__vModel__\":\"dangerousFlag\",\"checked\":false,\"disabled\":false,\"activeTxt\":\"2\",\"id\":\"dangerousFlag\"},{\"activeValue\":1,\"jnpfKey\":\"switch\",\"inactiveValue\":0,\"inactiveTxt\":\"1\",\"fullName\":\"进口商品\",\"label\":\"进口商品\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":116,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"switch\",\"defaultValue\":0,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"进口商品\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706593115211,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-switch\",\"tag\":\"JnpfSwitch\",\"regList\":[],\"span\":6},\"prop\":\"importedFlag\",\"__vModel__\":\"importedFlag\",\"checked\":false,\"disabled\":false,\"activeTxt\":\"2\",\"id\":\"importedFlag\"},{\"activeValue\":1,\"jnpfKey\":\"switch\",\"inactiveValue\":0,\"inactiveTxt\":\"1\",\"fullName\":\"加工商品\",\"label\":\"加工商品\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":117,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"switch\",\"defaultValue\":0,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"加工商品\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706593441085,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-switch\",\"tag\":\"JnpfSwitch\",\"regList\":[],\"span\":6},\"prop\":\"processedFlag\",\"__vModel__\":\"processedFlag\",\"checked\":false,\"disabled\":false,\"activeTxt\":\"2\",\"id\":\"processedFlag\"},{\"activeValue\":1,\"jnpfKey\":\"switch\",\"inactiveValue\":0,\"inactiveTxt\":\"1\",\"fullName\":\"委外商品\",\"label\":\"委外商品\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":118,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"switch\",\"defaultValue\":0,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"委外商品\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"jg_product\",\"renderKey\":1706593527149,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-switch\",\"tag\":\"JnpfSwitch\",\"regList\":[],\"span\":6},\"prop\":\"outsourcedFlag\",\"__vModel__\":\"outsourcedFlag\",\"checked\":false,\"disabled\":false,\"activeTxt\":\"2\",\"id\":\"outsourcedFlag\"}],\"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_product\",\"tableName\":\"商品表\",\"tableField\":\"\",\"typeId\":\"1\",\"fields\":[{\"columnName\":\"id\",\"field\":\"id\",\"fieldName\":\"自然主键\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":1,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"product_type_id\",\"field\":\"productTypeId\",\"fieldName\":\"关联商品 参考字典productType\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"photo\",\"field\":\"photo\",\"fieldName\":\"商品图片\",\"dataType\":\"varchar\",\"dataLength\":\"1024\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"code\",\"field\":\"code\",\"fieldName\":\"商品编码\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"name\",\"field\":\"name\",\"fieldName\":\"商品名称\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"product_status\",\"field\":\"productStatus\",\"fieldName\":\"商品状态 参考字典productStatus(1:待提交 2:待审核 3:待上架 4:已上架 5:已下架)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"short_name\",\"field\":\"shortName\",\"fieldName\":\"商品简称\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"bar_code\",\"field\":\"barCode\",\"fieldName\":\"商品条码\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"box_surface_num\",\"field\":\"boxSurfaceNum\",\"fieldName\":\"箱面号\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"spec\",\"field\":\"spec\",\"fieldName\":\"商品规格\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"inventory_type\",\"field\":\"inventoryType\",\"fieldName\":\"存货类型 参考字典productSaveType\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"brand_id\",\"field\":\"brandId\",\"fieldName\":\"品牌id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"area\",\"field\":\"area\",\"fieldName\":\"地区\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"product_category_id\",\"field\":\"productCategoryId\",\"fieldName\":\"关联商品分类id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"life_cycle\",\"field\":\"lifeCycle\",\"fieldName\":\"生命周期(字段弃用)(1:新品 2:正常 3:停够 4:停售 5:淘汰)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"area_category\",\"field\":\"areaCategory\",\"fieldName\":\"关联商品类目id(字段弃用)\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"dangerous_flag\",\"field\":\"dangerousFlag\",\"fieldName\":\"危险品(1:否 2:是)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"imported_flag\",\"field\":\"importedFlag\",\"fieldName\":\"进口商品(1:否 2:是)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"first_supplier_id\",\"field\":\"firstSupplierId\",\"fieldName\":\"关联一级供应商id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"settlement_entity\",\"field\":\"settlementEntity\",\"fieldName\":\"结算主体\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"output_tax_rate\",\"field\":\"outputTaxRate\",\"fieldName\":\"销项税率(1:0% 2:1% 3:2% 4:3% 5:4%)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"input_tax_rate\",\"field\":\"inputTaxRate\",\"fieldName\":\"进项税率(1:0% 2:1% 3:2% 4:3% 5:4%)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"delivery_type\",\"field\":\"deliveryType\",\"fieldName\":\"配送方式(1:仓配 2:直送 3:直通)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"many_unit_flag\",\"field\":\"manyUnitFlag\",\"fieldName\":\"开启多单位(1:否 2:是)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"inventory_unit_id\",\"field\":\"inventoryUnitId\",\"fieldName\":\"库存单位\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"order_main_unit_id\",\"field\":\"orderMainUnitId\",\"fieldName\":\"订货主单位\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"order_other_unit_id\",\"field\":\"orderOtherUnitId\",\"fieldName\":\"其他订货单位\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"sales_main_unit_id\",\"field\":\"salesMainUnitId\",\"fieldName\":\"销售主单位\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"sales_other_unit_id\",\"field\":\"salesOtherUnitId\",\"fieldName\":\"其他销售单位\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"operate_unit_id\",\"field\":\"operateUnitId\",\"fieldName\":\"操作单位\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"pricing_unit_id\",\"field\":\"pricingUnitId\",\"fieldName\":\"计价单位\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"purchase_order_quantity_down\",\"field\":\"purchaseOrderQuantityDown\",\"fieldName\":\"采购订货量下限\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"purchase_order_quantity_upper\",\"field\":\"purchaseOrderQuantityUpper\",\"fieldName\":\"采购订货量上限\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"purchase_order_multiple\",\"field\":\"purchaseOrderMultiple\",\"fieldName\":\"采购订货倍数\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"purchase_initial_amount\",\"field\":\"purchaseInitialAmount\",\"fieldName\":\"采购起订金额\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"purchase_allow_overcharging_ratio\",\"field\":\"purchaseAllowOverchargingRatio\",\"fieldName\":\"允许超收比例\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"purchase_order_start\",\"field\":\"purchaseOrderStart\",\"fieldName\":\"采购订货时间开始\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"purchase_order_end\",\"field\":\"purchaseOrderEnd\",\"fieldName\":\"采购订货时间结束\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"purchase_mode\",\"field\":\"purchaseMode\",\"fieldName\":\"采购模式(1:以采定销 2:以销定采)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"sales_order_quantity_down\",\"field\":\"salesOrderQuantityDown\",\"fieldName\":\"销售订货量下限\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"sales_order_quantity_upper\",\"field\":\"salesOrderQuantityUpper\",\"fieldName\":\"销售订货量上限\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"sales_order_multiple\",\"field\":\"salesOrderMultiple\",\"fieldName\":\"销售订货倍数\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"sales_initial_amount\",\"field\":\"salesInitialAmount\",\"fieldName\":\"销售起订金额\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"sales_allow_overcharging_ratio\",\"field\":\"salesAllowOverchargingRatio\",\"fieldName\":\"允许超收比例\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"sales_start\",\"field\":\"salesStart\",\"fieldName\":\"销售时间开始\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"sales_end\",\"field\":\"salesEnd\",\"fieldName\":\"销售时间结束\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"sales_mode_start\",\"field\":\"salesModeStart\",\"fieldName\":\"开售模式(1:立即开售 2:定时开售)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"sales_mode\",\"field\":\"salesMode\",\"fieldName\":\"售卖方式(1:现货 2:预售)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"deliver_mode\",\"field\":\"deliverMode\",\"fieldName\":\"送货选择(1:时间 2:几天后)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"deliver_goods_date\",\"field\":\"deliverGoodsDate\",\"fieldName\":\"送货时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"delay_num\",\"field\":\"delayNum\",\"fieldName\":\"下单成功后几天后送货\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"safety_stock\",\"field\":\"safetyStock\",\"fieldName\":\"安全库存\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"inventory_day_down\",\"field\":\"inventoryDayDown\",\"fieldName\":\"库存天数下限\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"inventory_day_upper\",\"field\":\"inventoryDayUpper\",\"fieldName\":\"库存天数上限\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"inventory_down\",\"field\":\"inventoryDown\",\"fieldName\":\"库存下限\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"inventory_upper\",\"field\":\"inventoryUpper\",\"fieldName\":\"库存上限\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"fixed_replenishment_quantity\",\"field\":\"fixedReplenishmentQuantity\",\"fieldName\":\"固定补货数量\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"available_inventory\",\"field\":\"availableInventory\",\"fieldName\":\"可售库存\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"transit_inventory\",\"field\":\"transitInventory\",\"fieldName\":\"使用在途库存(1:不使用 2:使用)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"manage_inventory\",\"field\":\"manageInventory\",\"fieldName\":\"管理库存(1:关闭 2:开启)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"from_inventory\",\"field\":\"fromInventory\",\"fieldName\":\"追溯(1:关闭 2:开启)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"manage_batches\",\"field\":\"manageBatches\",\"fieldName\":\"批次管理(1:关闭 2:开启)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"transport_storey_board_num\",\"field\":\"transportStoreyBoardNum\",\"fieldName\":\"层数/板(运输)\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"transport_box_storey_num\",\"field\":\"transportBoxStoreyNum\",\"fieldName\":\"箱数/层(运输)\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"transport_box_board_num\",\"field\":\"transportBoxBoardNum\",\"fieldName\":\"箱数/板(运输)\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"transport_temperature\",\"field\":\"transportTemperature\",\"fieldName\":\"温层(运输)(1:常温 2:恒温 3:冷藏 4:冷冻)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"transport_temperature_down\",\"field\":\"transportTemperatureDown\",\"fieldName\":\"运输温度下限\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"transport_temperature_upper\",\"field\":\"transportTemperatureUpper\",\"fieldName\":\"运输温度上限\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"storage_storey_board_num\",\"field\":\"storageStoreyBoardNum\",\"fieldName\":\"层数/板(存储)\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"storage_box_storey_num\",\"field\":\"storageBoxStoreyNum\",\"fieldName\":\"层数/板(存储)\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"storage_box_board_num\",\"field\":\"storageBoxBoardNum\",\"fieldName\":\"层数/板(存储)\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"storage_temperature_down\",\"field\":\"storageTemperatureDown\",\"fieldName\":\"存储温度下限\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"storage_temperature\",\"field\":\"storageTemperature\",\"fieldName\":\"温层(存储)(1:常温 2:恒温 3:冷藏 4:冷冻)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"sales_status\",\"field\":\"salesStatus\",\"fieldName\":\"销售状态(1:销售中 2:已售罄 3:仓库中)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"storage_temperature_upper\",\"field\":\"storageTemperatureUpper\",\"fieldName\":\"存储温度上限\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"quality_inspection_ratio\",\"field\":\"qualityInspectionRatio\",\"fieldName\":\"质检比例\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"quality_inspection_frequency\",\"field\":\"qualityInspectionFrequency\",\"fieldName\":\"质检频次\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"quality_inspection_report\",\"field\":\"qualityInspectionReport\",\"fieldName\":\"质检报告\",\"dataType\":\"varchar\",\"dataLength\":\"1024\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"quality_inspection_report_start\",\"field\":\"qualityInspectionReportStart\",\"fieldName\":\"质检报告有效期开始\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"quality_inspection_report_end\",\"field\":\"qualityInspectionReportEnd\",\"fieldName\":\"质检报告有效期结束\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"quality_control\",\"field\":\"qualityControl\",\"fieldName\":\"质量控制(1:关闭 2:开启)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"quality_inspection_standards\",\"field\":\"qualityInspectionStandards\",\"fieldName\":\"质检标准\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"processed_flag\",\"field\":\"processedFlag\",\"fieldName\":\"加工商品(1:否 2:是)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"outsourced_flag\",\"field\":\"outsourcedFlag\",\"fieldName\":\"委外商品(1:否 2:是)\",\"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\":\"reserved_fields1\",\"field\":\"reservedFields1\",\"fieldName\":\"预留字段1\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"reserved_fields2\",\"field\":\"reservedFields2\",\"fieldName\":\"预留字段2\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"reserved_fields3\",\"field\":\"reservedFields3\",\"fieldName\":\"预留字段3\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"reserved_fields4\",\"field\":\"reservedFields4\",\"fieldName\":\"预留字段4\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"reserved_fields5\",\"field\":\"reservedFields5\",\"fieldName\":\"预留字段5\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"reserved_fields6\",\"field\":\"reservedFields6\",\"fieldName\":\"预留字段6\",\"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\":\"f_flow_id\",\"field\":\"flowId\",\"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}]},{\"relationField\":\"id\",\"relationTable\":\"jg_product\",\"table\":\"jg_product_business\",\"tableName\":\"商品表和业务线关联关系表\",\"tableField\":\"productId\",\"typeId\":\"0\",\"fields\":[{\"columnName\":\"id\",\"field\":\"id\",\"fieldName\":\"自然主键\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":1,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"product_id\",\"field\":\"productId\",\"fieldName\":\"业务id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"business_line_id\",\"field\":\"businessLineId\",\"fieldName\":\"业务线id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":0,\"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}]},{\"relationField\":\"id\",\"relationTable\":\"jg_product\",\"table\":\"jg_product_unit\",\"tableName\":\"商品单位子表\",\"tableField\":\"prouctId\",\"typeId\":\"0\",\"fields\":[{\"columnName\":\"id\",\"field\":\"id\",\"fieldName\":\"自然主键\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":1,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"product_unit_name\",\"field\":\"productUnitName\",\"fieldName\":\"单位名称(库存单位)\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"prouct_id\",\"field\":\"prouctId\",\"fieldName\":\"商品id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"conversion_rules1\",\"field\":\"conversionRules1\",\"fieldName\":\"换算规则1\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"conversion_rules2\",\"field\":\"conversionRules2\",\"fieldName\":\"换算规则2\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"packaging_barcode\",\"field\":\"packagingBarcode\",\"fieldName\":\"包装条码\",\"dataType\":\"varchar\",\"dataLength\":\"64\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"dimensional_unit\",\"field\":\"dimensionalUnit\",\"fieldName\":\"尺寸单位(1:厘米cm 2:米m)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"size_information1\",\"field\":\"sizeInformation1\",\"fieldName\":\"尺寸信息1\",\"dataType\":\"decimal\",\"dataLength\":\"10,2\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"size_information2\",\"field\":\"sizeInformation2\",\"fieldName\":\"尺寸信息2\",\"dataType\":\"decimal\",\"dataLength\":\"10,2\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"size_information3\",\"field\":\"sizeInformation3\",\"fieldName\":\"尺寸信息3\",\"dataType\":\"decimal\",\"dataLength\":\"10,2\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"volume_information\",\"field\":\"volumeInformation\",\"fieldName\":\"体积信息(根据长宽高自动计算)\",\"dataType\":\"decimal\",\"dataLength\":\"10,2\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"volume_information_unit\",\"field\":\"volumeInformationUnit\",\"fieldName\":\"体积单位(1:立方厘米cm 2:立方米m)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"weight\",\"field\":\"weight\",\"fieldName\":\"重量单位(1:克 2:千克 3:吨)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"gross_weight\",\"field\":\"grossWeight\",\"fieldName\":\"毛重\",\"dataType\":\"decimal\",\"dataLength\":\"20,6\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"net_weight\",\"field\":\"netWeight\",\"fieldName\":\"净重\",\"dataType\":\"decimal\",\"dataLength\":\"20,6\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"purchase_price\",\"field\":\"purchasePrice\",\"fieldName\":\"采购价\",\"dataType\":\"decimal\",\"dataLength\":\"32,6\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"currency_id1\",\"field\":\"currencyId1\",\"fieldName\":\"币种(1:人民币 2:美元)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"retail_price\",\"field\":\"retailPrice\",\"fieldName\":\"零售价\",\"dataType\":\"decimal\",\"dataLength\":\"32,6\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"currency_id2\",\"field\":\"currencyId2\",\"fieldName\":\"币种(1:人民币 2:美元)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"standard_price\",\"field\":\"standardPrice\",\"fieldName\":\"标准价\",\"dataType\":\"decimal\",\"dataLength\":\"32,6\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"currency_id3\",\"field\":\"currencyId3\",\"fieldName\":\"币种(1:人民币 2:美元)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"cost_price\",\"field\":\"costPrice\",\"fieldName\":\"成本价\",\"dataType\":\"decimal\",\"dataLength\":\"32,6\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"currency_id4\",\"field\":\"currencyId4\",\"fieldName\":\"币种(1:人民币 2:美元)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"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}]}]"); return sb.toString(); + } +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/productwarehouse/ProductWarehouseForm.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/productwarehouse/ProductWarehouseForm.java new file mode 100644 index 00000000..b938ef69 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/productwarehouse/ProductWarehouseForm.java @@ -0,0 +1,110 @@ +package jnpf.model.productwarehouse; + +import lombok.Data; +import java.util.List; +import java.math.BigDecimal; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * productWarehouse + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-01-31 + */ +@Data +public class ProductWarehouseForm { + /** 主键 */ + private String id; + /** 子表数据 **/ + @JsonProperty("productUnitList") + private List productUnitList; + /** 乐观锁 **/ + @JsonProperty("version") + private Integer version; + /** 流程id **/ + @JsonProperty("flowId") + private String flowId; + + /** 商品类型 **/ + @JsonProperty("productTypeId") + private String productTypeId; + /** 商品图片 **/ + @JsonProperty("photo") + private Object photo; + /** 商品编号 **/ + @JsonProperty("code") + private String code; + /** 商品名称 **/ + @JsonProperty("name") + private String name; + /** 商品简称 **/ + @JsonProperty("shortName") + private String shortName; + /** 商品条码 **/ + @JsonProperty("barCode") + private String barCode; + /** 商品规格 **/ + @JsonProperty("spec") + private String spec; + /** 存货类型 **/ + @JsonProperty("inventoryType") + private Object inventoryType; + /** 品牌 **/ + @JsonProperty("brandId") + private String brandId; + /** 产地 **/ + @JsonProperty("area") + private Object area; + /** 危险品 **/ + @JsonProperty("dangerousFlag") + private Integer dangerousFlag; + /** 进口商品 **/ + @JsonProperty("importedFlag") + private Integer importedFlag; + /** 加工商品 **/ + @JsonProperty("processedFlag") + private Integer processedFlag; + /** 委外商品 **/ + @JsonProperty("outsourcedFlag") + private Integer outsourcedFlag; + /** 首选供应商 **/ + @JsonProperty("firstSupplierId") + private String firstSupplierId; + /** 销项税率 **/ + @JsonProperty("outputTaxRate") + private Object outputTaxRate; + /** 进项税率 **/ + @JsonProperty("inputTaxRate") + private Object inputTaxRate; + /** 配送方式 **/ + @JsonProperty("deliveryType") + private String deliveryType; + /** 开售时间 **/ + @JsonProperty("salesStart") + private String salesStart; + /** 停售时间 **/ + @JsonProperty("salesEnd") + private String salesEnd; + /** 安全库存 **/ + @JsonProperty("safetyStock") + private String safetyStock; + /** 可售库存 **/ + @JsonProperty("availableInventory") + private String availableInventory; + /** 库存天数下限 **/ + @JsonProperty("inventoryDayDown") + private String inventoryDayDown; + /** 库存天数上限 **/ + @JsonProperty("inventoryDayUpper") + private String inventoryDayUpper; + /** 库存下限 **/ + @JsonProperty("inventoryDown") + private String inventoryDown; + /** 库存上限 **/ + @JsonProperty("inventoryUpper") + private String inventoryUpper; + /** 适配业务范围 **/ + @JsonProperty("jnpf_jg_product_business_jnpf_businessLineId") + private Object jnpf_jg_product_business_jnpf_businessLineId; +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/productwarehouse/ProductWarehousePagination.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/productwarehouse/ProductWarehousePagination.java new file mode 100644 index 00000000..c889fdbe --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/productwarehouse/ProductWarehousePagination.java @@ -0,0 +1,42 @@ +package jnpf.model.productwarehouse; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Data; +import jnpf.base.Pagination; +import java.util.List; + +/** + * + * productWarehouse + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-01-31 + */ +@Data +public class ProductWarehousePagination 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("code") + private Object code; + /** 商品名称 */ + @JsonProperty("name") + private Object name; + /** 商品类型 */ + @JsonProperty("productTypeId") + private Object productTypeId; + /** 存货类型 */ + @JsonProperty("inventoryType") + private Object inventoryType; +} diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/productWarehouse/columnList.js b/jnpf-java-boot/jnpf-web/src/views/scm/productWarehouse/columnList.js new file mode 100644 index 00000000..a868c6f1 --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/productWarehouse/columnList.js @@ -0,0 +1,2 @@ +const columnList = [{"jnpfKey":"billRule","fullName":"商品编号","label":"商品编号","sortable":false,"align":"left","__config__":{"formId":103,"visibility":["pc","app"],"jnpfKey":"billRule","defaultValue":null,"noShow":true,"tipLabel":"","dragDisabled":false,"rule":"productcode","className":[],"label":"商品编号","trigger":"change","showLabel":true,"required":false,"tableName":"jg_product","renderKey":1706584823007,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-documents","ruleName":"商品编号","tag":"JnpfInput","span":24},"readonly":true,"prop":"code","width":0,"__vModel__":"code","fixed":"none","style":{"width":"100%"},"id":"code","placeholder":"系统自动生成"},{"clearable":true,"maxlength":null,"jnpfKey":"input","suffixIcon":"","fullName":"商品名称","label":"商品名称","sortable":false,"align":"left","addonAfter":"","__config__":{"formId":104,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"商品名称","trigger":"blur","showLabel":true,"required":true,"tableName":"jg_product","renderKey":1706584908578,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":24},"readonly":false,"prop":"name","showWordLimit":false,"width":0,"__vModel__":"name","showPassword":false,"fixed":"none","style":{"width":"100%"},"disabled":false,"id":"name","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}"}},{"border":false,"jnpfKey":"radio","fullName":"商品类型","label":"商品类型","sortable":false,"align":"left","props":{"label":"fullName","value":"enCode"},"optionType":"default","__config__":{"formId":101,"visibility":["pc","app"],"jnpfKey":"radio","defaultValue":"1","noShow":false,"dataType":"dictionary","dictionaryType":"521699870097015173","tipLabel":"","dragDisabled":false,"className":[],"label":"商品类型","trigger":"change","propsUrl":"","templateJson":[],"showLabel":true,"required":false,"tableName":"jg_product","renderKey":1706584323864,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-radio","propsName":"","tag":"JnpfRadio","regList":[],"span":24},"size":"small","prop":"productTypeId","width":0,"options":[{"enCode":"1","children":null,"hasChildren":false,"fullName":"实物商品","id":"521702297093276037","parentId":"0"},{"enCode":"2","children":null,"hasChildren":false,"fullName":"虚拟商品","id":"521702388365525381","parentId":"0"},{"enCode":"3","children":null,"hasChildren":false,"fullName":"设备/器材","id":"521702438097387909","parentId":"0"},{"enCode":"4","children":null,"hasChildren":false,"fullName":"耗材/辅材","id":"521702500558963077","parentId":"0"}],"__vModel__":"productTypeId","fixed":"none","style":{},"disabled":false,"interfaceHasPage":false,"id":"productTypeId","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"},"direction":"horizontal"},{"clearable":true,"maxlength":null,"jnpfKey":"input","suffixIcon":"","fullName":"商品简称","label":"商品简称","sortable":false,"align":"left","addonAfter":"","__config__":{"formId":105,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"商品简称","trigger":"blur","showLabel":true,"required":false,"tableName":"jg_product","renderKey":1706584931082,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":24},"readonly":false,"prop":"shortName","showWordLimit":false,"width":0,"__vModel__":"shortName","showPassword":false,"fixed":"none","style":{"width":"100%"},"disabled":false,"id":"shortName","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"jnpfKey":"input","suffixIcon":"","fullName":"商品规格","label":"商品规格","sortable":false,"align":"left","addonAfter":"","__config__":{"formId":107,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"商品规格","trigger":"blur","showLabel":true,"required":true,"tableName":"jg_product","renderKey":1706585246794,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":24},"readonly":false,"prop":"spec","showWordLimit":false,"width":0,"__vModel__":"spec","showPassword":false,"fixed":"none","style":{"width":"100%"},"disabled":false,"id":"spec","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}"}},{"jnpfKey":"billRule","fullName":"商品条码","label":"商品条码","sortable":false,"align":"left","__config__":{"formId":106,"visibility":["pc","app"],"jnpfKey":"billRule","defaultValue":null,"noShow":true,"tipLabel":"","dragDisabled":false,"rule":"productBarCode","className":[],"label":"商品条码","trigger":"change","showLabel":true,"required":false,"tableName":"jg_product","renderKey":1706585143636,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-documents","ruleName":"商品条码","tag":"JnpfInput","span":24},"readonly":true,"prop":"barCode","width":0,"__vModel__":"barCode","fixed":"none","style":{"width":"100%"},"id":"barCode","placeholder":"系统自动生成"},{"filterable":false,"clearable":true,"jnpfKey":"select","multiple":false,"fullName":"存货类型","label":"存货类型","sortable":false,"align":"left","props":{"label":"fullName","value":"enCode"},"__config__":{"formId":108,"visibility":["pc","app"],"jnpfKey":"select","defaultValue":"","noShow":false,"dataType":"dictionary","dictionaryType":"521705509590401413","tipLabel":"","dragDisabled":false,"className":[],"label":"存货类型","trigger":"change","propsUrl":"","templateJson":[],"showLabel":true,"required":true,"tableName":"jg_product","renderKey":1706590049523,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-select","propsName":"","tag":"JnpfSelect","regList":[],"span":24},"prop":"inventoryType","width":0,"options":[{"enCode":"1","children":null,"hasChildren":false,"fullName":"原材料","id":"521705627249017221","parentId":"0"},{"enCode":"2","children":null,"hasChildren":false,"fullName":"半成品","id":"521705707720933765","parentId":"0"},{"enCode":"3","children":null,"hasChildren":false,"fullName":"产成品","id":"521705843423445381","parentId":"0"}],"__vModel__":"inventoryType","fixed":"none","style":{"width":"100%"},"disabled":false,"interfaceHasPage":false,"id":"inventoryType","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"popupType":"dialog","hasPage":true,"pageSize":20,"columnOptions":[{"label":"品牌","value":"brand_name"}],"align":"left","templateJson":[],"__config__":{"formId":110,"visibility":["pc","app"],"jnpfKey":"popupSelect","defaultValue":"520546789800018053","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"品牌","trigger":"change","showLabel":true,"required":true,"tableName":"jg_product","renderKey":1706590581323,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-popup","tag":"JnpfPopupSelect","regList":[],"span":24},"prop":"brandId","__vModel__":"brandId","disabled":false,"id":"brandId","placeholder":"请选择","interfaceName":"查询商品品牌","popupWidth":"800px","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"},"clearable":true,"jnpfKey":"popupSelect","fullName":"品牌","label":"品牌","sortable":false,"relationField":"brand_name","popupTitle":"选择数据","width":0,"fixed":"none","style":{"width":"100%"},"interfaceHasPage":false,"interfaceId":"518049412669244677","propsValue":"id"}] +export default columnList \ No newline at end of file diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/productWarehouse/form.vue b/jnpf-java-boot/jnpf-web/src/views/scm/productWarehouse/form.vue new file mode 100644 index 00000000..77fbf1f4 --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/productWarehouse/form.vue @@ -0,0 +1,1304 @@ + + + diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/productWarehouse/index.vue b/jnpf-java-boot/jnpf-web/src/views/scm/productWarehouse/index.vue new file mode 100644 index 00000000..15d9ba37 --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/productWarehouse/index.vue @@ -0,0 +1,611 @@ + + + + + + + + + + diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/productWarehouse/superQueryJson.js b/jnpf-java-boot/jnpf-web/src/views/scm/productWarehouse/superQueryJson.js new file mode 100644 index 00000000..1a35fa81 --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/productWarehouse/superQueryJson.js @@ -0,0 +1,2 @@ +const superQueryJson = [{"border":false,"fullName":"商品类型","props":{"label":"fullName","value":"enCode"},"optionType":"default","__config__":{"formId":101,"visibility":["pc","app"],"jnpfKey":"radio","defaultValue":"1","noShow":false,"dataType":"dictionary","dictionaryType":"521699870097015173","tipLabel":"","dragDisabled":false,"className":[],"label":"商品类型","trigger":"change","propsUrl":"","templateJson":[],"showLabel":true,"required":false,"tableName":"jg_product","renderKey":1706584323864,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-radio","propsName":"","tag":"JnpfRadio","regList":[],"span":24},"size":"small","options":[{"enCode":"1","children":null,"hasChildren":false,"fullName":"实物商品","id":"521702297093276037","parentId":"0"},{"enCode":"2","children":null,"hasChildren":false,"fullName":"虚拟商品","id":"521702388365525381","parentId":"0"},{"enCode":"3","children":null,"hasChildren":false,"fullName":"设备/器材","id":"521702438097387909","parentId":"0"},{"enCode":"4","children":null,"hasChildren":false,"fullName":"耗材/辅材","id":"521702500558963077","parentId":"0"}],"__vModel__":"productTypeId","style":{},"disabled":false,"interfaceHasPage":false,"id":"productTypeId","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"},"direction":"horizontal"},{"__config__":{"formId":103,"visibility":["pc","app"],"jnpfKey":"billRule","defaultValue":null,"noShow":true,"tipLabel":"","dragDisabled":false,"rule":"productcode","className":[],"label":"商品编号","trigger":"change","showLabel":true,"required":false,"tableName":"jg_product","renderKey":1706584823007,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-documents","ruleName":"商品编号","tag":"JnpfInput","span":24},"readonly":true,"__vModel__":"code","fullName":"商品编号","style":{"width":"100%"},"id":"code","placeholder":"系统自动生成"},{"clearable":true,"maxlength":null,"suffixIcon":"","fullName":"商品名称","addonAfter":"","__config__":{"formId":104,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"商品名称","trigger":"blur","showLabel":true,"required":true,"tableName":"jg_product","renderKey":1706584908578,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":24},"readonly":false,"showWordLimit":false,"__vModel__":"name","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"name","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":105,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"商品简称","trigger":"blur","showLabel":true,"required":false,"tableName":"jg_product","renderKey":1706584931082,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":24},"readonly":false,"showWordLimit":false,"__vModel__":"shortName","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"shortName","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":106,"visibility":["pc","app"],"jnpfKey":"billRule","defaultValue":null,"noShow":true,"tipLabel":"","dragDisabled":false,"rule":"productBarCode","className":[],"label":"商品条码","trigger":"change","showLabel":true,"required":false,"tableName":"jg_product","renderKey":1706585143636,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-documents","ruleName":"商品条码","tag":"JnpfInput","span":24},"readonly":true,"__vModel__":"barCode","fullName":"商品条码","style":{"width":"100%"},"id":"barCode","placeholder":"系统自动生成"},{"clearable":true,"maxlength":null,"suffixIcon":"","fullName":"商品规格","addonAfter":"","__config__":{"formId":107,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"商品规格","trigger":"blur","showLabel":true,"required":true,"tableName":"jg_product","renderKey":1706585246794,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":24},"readonly":false,"showWordLimit":false,"__vModel__":"spec","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"spec","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":"enCode"},"__config__":{"formId":108,"visibility":["pc","app"],"jnpfKey":"select","defaultValue":"","noShow":false,"dataType":"dictionary","dictionaryType":"521705509590401413","tipLabel":"","dragDisabled":false,"className":[],"label":"存货类型","trigger":"change","propsUrl":"","templateJson":[],"showLabel":true,"required":true,"tableName":"jg_product","renderKey":1706590049523,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-select","propsName":"","tag":"JnpfSelect","regList":[],"span":24},"options":[{"enCode":"1","children":null,"hasChildren":false,"fullName":"原材料","id":"521705627249017221","parentId":"0"},{"enCode":"2","children":null,"hasChildren":false,"fullName":"半成品","id":"521705707720933765","parentId":"0"},{"enCode":"3","children":null,"hasChildren":false,"fullName":"产成品","id":"521705843423445381","parentId":"0"}],"__vModel__":"inventoryType","style":{"width":"100%"},"disabled":false,"interfaceHasPage":false,"id":"inventoryType","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"popupType":"dialog","hasPage":true,"clearable":true,"fullName":"品牌","pageSize":20,"columnOptions":[{"label":"品牌","value":"brand_name"}],"templateJson":[],"relationField":"brand_name","__config__":{"formId":110,"visibility":["pc","app"],"jnpfKey":"popupSelect","defaultValue":"520546789800018053","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"品牌","trigger":"change","showLabel":true,"required":true,"tableName":"jg_product","renderKey":1706590581323,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-popup","tag":"JnpfPopupSelect","regList":[],"span":24},"popupTitle":"选择数据","__vModel__":"brandId","style":{"width":"100%"},"disabled":false,"interfaceHasPage":false,"id":"brandId","placeholder":"请选择","interfaceId":"518049412669244677","interfaceName":"查询商品品牌","popupWidth":"800px","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"},"propsValue":"id"},{"ableAddressIds":[],"filterable":false,"clearable":true,"level":3,"multiple":false,"fullName":"产地","__config__":{"formId":112,"visibility":["pc","app"],"jnpfKey":"areaSelect","defaultValue":[],"noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"产地","trigger":"change","showLabel":true,"required":true,"tableName":"jg_product","renderKey":1706592530095,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-Provinces","tag":"JnpfAreaSelect","regList":[],"span":24},"__vModel__":"area","style":{"width":"100%"},"disabled":false,"selectType":"all","id":"area","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"__config__":{"formId":115,"visibility":["pc","app"],"jnpfKey":"switch","defaultValue":0,"tipLabel":"","dragDisabled":false,"className":[],"label":"危险品","trigger":"change","showLabel":true,"required":true,"tableName":"jg_product","renderKey":1706592978602,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-switch","tag":"JnpfSwitch","regList":[],"span":6},"inactiveColor":null,"activeColor":null,"activeValue":1,"inactiveValue":0,"__vModel__":"dangerousFlag","fullName":"危险品","inactiveTxt":"1","disabled":false,"activeTxt":"2","id":"dangerousFlag","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"__config__":{"formId":116,"visibility":["pc","app"],"jnpfKey":"switch","defaultValue":0,"tipLabel":"","dragDisabled":false,"className":[],"label":"进口商品","trigger":"change","showLabel":true,"required":true,"tableName":"jg_product","renderKey":1706593115211,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-switch","tag":"JnpfSwitch","regList":[],"span":6},"inactiveColor":null,"activeColor":null,"activeValue":1,"inactiveValue":0,"__vModel__":"importedFlag","fullName":"进口商品","inactiveTxt":"1","disabled":false,"activeTxt":"2","id":"importedFlag","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"__config__":{"formId":117,"visibility":["pc","app"],"jnpfKey":"switch","defaultValue":0,"tipLabel":"","dragDisabled":false,"className":[],"label":"加工商品","trigger":"change","showLabel":true,"required":true,"tableName":"jg_product","renderKey":1706593441085,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-switch","tag":"JnpfSwitch","regList":[],"span":6},"inactiveColor":null,"activeColor":null,"activeValue":1,"inactiveValue":0,"__vModel__":"processedFlag","fullName":"加工商品","inactiveTxt":"1","disabled":false,"activeTxt":"2","id":"processedFlag","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"__config__":{"formId":118,"visibility":["pc","app"],"jnpfKey":"switch","defaultValue":0,"tipLabel":"","dragDisabled":false,"className":[],"label":"委外商品","trigger":"change","showLabel":true,"required":true,"tableName":"jg_product","renderKey":1706593527149,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-switch","tag":"JnpfSwitch","regList":[],"span":6},"inactiveColor":null,"activeColor":null,"activeValue":1,"inactiveValue":0,"__vModel__":"outsourcedFlag","fullName":"委外商品","inactiveTxt":"1","disabled":false,"activeTxt":"2","id":"outsourcedFlag","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}}] +export default superQueryJson \ No newline at end of file