销售导出加字段

jg-waiwang-pro
XI_TENG\xixi_ 3 months ago
parent 47e5b554c3
commit 093a6f3c75

@ -67,6 +67,7 @@
<result column="productId" property="productId"/> <result column="productId" property="productId"/>
<result column="vehicle_number" property="vehicleNumber"/> <result column="vehicle_number" property="vehicleNumber"/>
<result column="productName" property="productName"/> <result column="productName" property="productName"/>
<result column="productCode" property="productCode"/>
<result column="poundlist_time" property="poundlistTime"/> <result column="poundlist_time" property="poundlistTime"/>
<result column="delivery_type" property="deliveryType"/> <result column="delivery_type" property="deliveryType"/>
<result column="is_used" property="isUsed"/> <result column="is_used" property="isUsed"/>
@ -457,6 +458,7 @@
d.unit, d.unit,
e.vehicle_number, e.vehicle_number,
f.NAME AS productName, f.NAME AS productName,
f.code AS productCode,
a.purchase_contract_no AS purchaseContractNo, a.purchase_contract_no AS purchaseContractNo,
a.sale_contract_no AS saleContractNo, a.sale_contract_no AS saleContractNo,
a.purchase_amount AS purchaseAmount, a.purchase_amount AS purchaseAmount,

@ -380,11 +380,23 @@ public class VoucherController {
entitys.add(new ExcelExportEntity("关联单据号" ,"associatedDocumentNo")); entitys.add(new ExcelExportEntity("关联单据号" ,"associatedDocumentNo"));
break; break;
case "saleAmount" : case "saleAmount" :
entitys.add(new ExcelExportEntity("销售额" ,"saleAmount")); entitys.add(new ExcelExportEntity("销售额" ,"saleAmount"));
break; break;
case "orderNo" : case "orderNo" :
entitys.add(new ExcelExportEntity("订单序号" ,"orderNo")); entitys.add(new ExcelExportEntity("订单序号" ,"orderNo"));
break; break;
case "productName" :
entitys.add(new ExcelExportEntity("物料名称" ,"productName"));
break;
case "productCode" :
entitys.add(new ExcelExportEntity("物料编码" ,"productCode"));
break;
case "saleContractNo" :
entitys.add(new ExcelExportEntity("销售合同" ,"saleContractNo"));
break;
case "customerName1" :
entitys.add(new ExcelExportEntity("客户" ,"customerName1"));
break;
case "tableField111-productId": case "tableField111-productId":
tableField111List.add(new ExcelExportEntity("商品名称" ,"productId")); tableField111List.add(new ExcelExportEntity("商品名称" ,"productId"));
break; break;

@ -200,6 +200,8 @@ public class VoucherEntity {
@TableField(exist = false) @TableField(exist = false)
private String productName; private String productName;
@TableField(exist = false) @TableField(exist = false)
private String productCode;
@TableField(exist = false)
private List<ProductWarehouseEntity> productWarehouseEntityList; private List<ProductWarehouseEntity> productWarehouseEntityList;
@TableField(exist = false) @TableField(exist = false)
private List<WarehousingInspectionConclusionEntity> warehousingInspectionConclusionModelList; private List<WarehousingInspectionConclusionEntity> warehousingInspectionConclusionModelList;

@ -119,6 +119,158 @@ const columnList = [{
"placeholder": "系统自动生成" "placeholder": "系统自动生成"
}, },
{
"jnpfKey": "billRule",
"fullName": "物料名称",
"label": "物料名称",
"sortable": false,
"align": "left",
"__config__": {
"formId": 101,
"visibility": ["pc", "app"],
"jnpfKey": "billRule",
"defaultValue": null,
"noShow": false,
"tipLabel": "",
"dragDisabled": false,
"rule": "ssdj",
"className": [],
"label": "物料名称",
"trigger": "change",
"showLabel": true,
"required": false,
"tableName": "jg_voucher",
"renderKey": 1707042861597,
"layout": "colFormItem",
"tagIcon": "icon-ym icon-ym-generator-documents",
"ruleName": "物料名称",
"tag": "JnpfInput",
"span": 8
},
"readonly": true,
"prop": "productName",
"width": 0,
"__vModel__": "productName",
"fixed": "none",
"style": {
"width": "100%"
},
},
{
"jnpfKey": "billRule",
"fullName": "物料编码",
"label": "物料编码",
"sortable": false,
"align": "left",
"__config__": {
"formId": 101,
"visibility": ["pc", "app"],
"jnpfKey": "billRule",
"defaultValue": null,
"noShow": false,
"tipLabel": "",
"dragDisabled": false,
"rule": "ssdj",
"className": [],
"label": "物料编码",
"trigger": "change",
"showLabel": true,
"required": false,
"tableName": "jg_voucher",
"renderKey": 1707042861597,
"layout": "colFormItem",
"tagIcon": "icon-ym icon-ym-generator-documents",
"ruleName": "物料编码",
"tag": "JnpfInput",
"span": 8
},
"readonly": true,
"prop": "productCode",
"width": 0,
"__vModel__": "productCode",
"fixed": "none",
"style": {
"width": "100%"
},
},
{
"jnpfKey": "billRule",
"fullName": "销售合同",
"label": "销售合同",
"sortable": false,
"align": "left",
"__config__": {
"formId": 101,
"visibility": ["pc", "app"],
"jnpfKey": "billRule",
"defaultValue": null,
"noShow": false,
"tipLabel": "",
"dragDisabled": false,
"rule": "ssdj",
"className": [],
"label": "销售合同",
"trigger": "change",
"showLabel": true,
"required": false,
"tableName": "jg_voucher",
"renderKey": 1707042861597,
"layout": "colFormItem",
"tagIcon": "icon-ym icon-ym-generator-documents",
"ruleName": "物料编码",
"tag": "JnpfInput",
"span": 8
},
"readonly": true,
"prop": "saleContractNo",
"width": 0,
"__vModel__": "saleContractNo",
"fixed": "none",
"style": {
"width": "100%"
},
},
{
"jnpfKey": "billRule",
"fullName": "客户",
"label": "客户",
"sortable": false,
"align": "left",
"__config__": {
"formId": 101,
"visibility": ["pc", "app"],
"jnpfKey": "billRule",
"defaultValue": null,
"noShow": false,
"tipLabel": "",
"dragDisabled": false,
"rule": "ssdj",
"className": [],
"label": "客户",
"trigger": "change",
"showLabel": true,
"required": false,
"tableName": "jg_voucher",
"renderKey": 1707042861597,
"layout": "colFormItem",
"tagIcon": "icon-ym icon-ym-generator-documents",
"ruleName": "物料编码",
"tag": "JnpfInput",
"span": 8
},
"readonly": true,
"prop": "customerName1",
"width": 0,
"__vModel__": "customerName1",
"fixed": "none",
"style": {
"width": "100%"
},
},
{ {
"jnpfKey": "billRule", "jnpfKey": "billRule",

Loading…
Cancel
Save