|
@@ -16,7 +16,7 @@ export const Columns = [
|
|
key: "billTypeName",
|
|
key: "billTypeName",
|
|
title: "订单类型",
|
|
title: "订单类型",
|
|
type: "Select",
|
|
type: "Select",
|
|
- require: true,
|
|
|
|
|
|
+
|
|
config: {
|
|
config: {
|
|
optionsName: "sys_order_type", // 字典名
|
|
optionsName: "sys_order_type", // 字典名
|
|
dataMapping: {
|
|
dataMapping: {
|
|
@@ -116,6 +116,7 @@ export const Columns = [
|
|
title: "收货客户",
|
|
title: "收货客户",
|
|
type: "InputDialog",
|
|
type: "InputDialog",
|
|
width: 200,
|
|
width: 200,
|
|
|
|
+ require: true,
|
|
config: {
|
|
config: {
|
|
componentName: "CUSTOMER_PARAM",
|
|
componentName: "CUSTOMER_PARAM",
|
|
dataMapping: {
|
|
dataMapping: {
|
|
@@ -157,6 +158,7 @@ export const Columns = [
|
|
key: "warehouseName",
|
|
key: "warehouseName",
|
|
title: "WMS入库仓库", // 收货仓库
|
|
title: "WMS入库仓库", // 收货仓库
|
|
type: "InputDialog",
|
|
type: "InputDialog",
|
|
|
|
+ require: true,
|
|
config: {
|
|
config: {
|
|
componentName: "WAREHOUSE_PARAM",
|
|
componentName: "WAREHOUSE_PARAM",
|
|
dataMapping: {
|
|
dataMapping: {
|
|
@@ -169,6 +171,7 @@ export const Columns = [
|
|
key: "goodsAllocationName",
|
|
key: "goodsAllocationName",
|
|
title: "货位",
|
|
title: "货位",
|
|
type: "InputDialog",
|
|
type: "InputDialog",
|
|
|
|
+ require: true,
|
|
config: {
|
|
config: {
|
|
componentName: "ALLOCATION_PARAM",
|
|
componentName: "ALLOCATION_PARAM",
|
|
dataMapping: {
|
|
dataMapping: {
|
|
@@ -205,6 +208,7 @@ export const Columns = [
|
|
key: "supplierContactsName",
|
|
key: "supplierContactsName",
|
|
title: "供应商业务联系人",
|
|
title: "供应商业务联系人",
|
|
type: "InputDialog",
|
|
type: "InputDialog",
|
|
|
|
+ require: true,
|
|
config: {
|
|
config: {
|
|
componentName: "SUPPLIERCONTACTS_PARAM",
|
|
componentName: "SUPPLIERCONTACTS_PARAM",
|
|
dataMapping: {
|
|
dataMapping: {
|
|
@@ -229,12 +233,25 @@ export const Columns = [
|
|
// type: "Input",
|
|
// type: "Input",
|
|
// // type: "InputDialog",
|
|
// // type: "InputDialog",
|
|
// },
|
|
// },
|
|
- { key: "supplierPersonalName", title: "供应商业务员名称", type: "Input", },
|
|
|
|
|
|
+ {
|
|
|
|
+ key: "supplierPersonalName",
|
|
|
|
+ title: "供应商业务员名称",
|
|
|
|
+ type: "InputDialog",
|
|
|
|
+ config: {
|
|
|
|
+ componentName: "SUPPLIERCONTACTS_PARAM",
|
|
|
|
+ dataMapping: {
|
|
|
|
+ supplierPersonal: "code",
|
|
|
|
+ supplierPersonalName: "name",
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ require: true,
|
|
|
|
+ },
|
|
{ key: "isDeliver", title: "是否发货", type: "Checkbox", },
|
|
{ key: "isDeliver", title: "是否发货", type: "Checkbox", },
|
|
{
|
|
{
|
|
key: "retReasonName",
|
|
key: "retReasonName",
|
|
title: "退换原因",
|
|
title: "退换原因",
|
|
type: "InputDialog",
|
|
type: "InputDialog",
|
|
|
|
+ require: true,
|
|
config: {
|
|
config: {
|
|
componentName: "RETREASON_PARAM",
|
|
componentName: "RETREASON_PARAM",
|
|
dataMapping: {
|
|
dataMapping: {
|
|
@@ -247,6 +264,7 @@ export const Columns = [
|
|
key: "processTypeName",
|
|
key: "processTypeName",
|
|
title: "处理方式",
|
|
title: "处理方式",
|
|
type: "InputDialog",
|
|
type: "InputDialog",
|
|
|
|
+ require: true,
|
|
config: {
|
|
config: {
|
|
componentName: "PROCESSTYPE_PARAM",
|
|
componentName: "PROCESSTYPE_PARAM",
|
|
dataMapping: {
|
|
dataMapping: {
|
|
@@ -260,6 +278,7 @@ export const Columns = [
|
|
key: "projectNowName",
|
|
key: "projectNowName",
|
|
title: "在建工程项目",
|
|
title: "在建工程项目",
|
|
type: "InputDialog",
|
|
type: "InputDialog",
|
|
|
|
+ require: true,
|
|
config: {
|
|
config: {
|
|
componentName: "PROJECT_PARAM",
|
|
componentName: "PROJECT_PARAM",
|
|
dataMapping: {
|
|
dataMapping: {
|
|
@@ -272,6 +291,7 @@ export const Columns = [
|
|
key: "operatingItemsName",
|
|
key: "operatingItemsName",
|
|
title: "经营性项目",
|
|
title: "经营性项目",
|
|
type: "InputDialog",
|
|
type: "InputDialog",
|
|
|
|
+ require: true,
|
|
config: {
|
|
config: {
|
|
componentName: "OPERATING_PARAM",
|
|
componentName: "OPERATING_PARAM",
|
|
dataMapping: {
|
|
dataMapping: {
|
|
@@ -311,13 +331,14 @@ export const TabColumns = [
|
|
key: 'puOrderItemList',
|
|
key: 'puOrderItemList',
|
|
tableColumns: [
|
|
tableColumns: [
|
|
{ key: "rowNo", title: "行号", type: "Input", },
|
|
{ key: "rowNo", title: "行号", type: "Input", },
|
|
- { key: "orderId", title: "采购订单ID", type: "Input", },
|
|
|
|
|
|
+ { key: "orderId", title: "采购订单ID", type: "Input", width: 180 },
|
|
// {key: "material",title: "物料",type: "Input", },
|
|
// {key: "material",title: "物料",type: "Input", },
|
|
- { key: "materialName", title: "物料", type: "Input", },
|
|
|
|
|
|
+ { key: "materialName", title: "物料", type: "Input", width: 180 },
|
|
{
|
|
{
|
|
key: "materialCode",
|
|
key: "materialCode",
|
|
title: "物料编码",
|
|
title: "物料编码",
|
|
type: "InputDialog",
|
|
type: "InputDialog",
|
|
|
|
+ width: 180,
|
|
config: {
|
|
config: {
|
|
componentName: "MATERIAL_PARAM",
|
|
componentName: "MATERIAL_PARAM",
|
|
dataMapping: {
|
|
dataMapping: {
|
|
@@ -327,13 +348,13 @@ export const TabColumns = [
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
- { key: "materialClassify", title: "物料分类", type: "Input", },
|
|
|
|
- { key: "materialManufacturersCode", title: "厂家物料编码", type: "Input", },
|
|
|
|
- { key: "specification", title: "规格", type: "Input", },
|
|
|
|
|
|
+ { key: "materialClassify", title: "物料分类", type: "Input", width: 180 },
|
|
|
|
+ { key: "materialManufacturersCode", title: "厂家物料编码", type: "Input", width: 180 },
|
|
|
|
+ { key: "specification", title: "规格", type: "Input", width: 180 },
|
|
{ key: "model", title: "型号", type: "Input", },
|
|
{ key: "model", title: "型号", type: "Input", },
|
|
- { key: "isMedcine", title: "医药物料", type: "Input", },
|
|
|
|
- { key: "manufacturer", title: "生产厂家代理人", type: "Input", },
|
|
|
|
- { key: "isDrug", title: "物料药品属性", type: "Input", },
|
|
|
|
|
|
+ { key: "isMedcine", title: "医药物料", type: "Input", width: 180 },
|
|
|
|
+ { key: "manufacturer", title: "生产厂家代理人", type: "Input", width: 180 },
|
|
|
|
+ { key: "isDrug", title: "物料药品属性", type: "Input", width: 180 },
|
|
{ key: "unit", title: "单位", type: "Input", },
|
|
{ key: "unit", title: "单位", type: "Input", },
|
|
{ key: "qty", title: "数量", type: "Input", },
|
|
{ key: "qty", title: "数量", type: "Input", },
|
|
{ key: "taxPrice", title: "含税单价", type: "Input", },
|
|
{ key: "taxPrice", title: "含税单价", type: "Input", },
|
|
@@ -348,7 +369,7 @@ export const TabColumns = [
|
|
{ key: "isInvoice", title: "开票关闭", type: "Input", },
|
|
{ key: "isInvoice", title: "开票关闭", type: "Input", },
|
|
{ key: "isArrival", title: "到货关闭", type: "Input", },
|
|
{ key: "isArrival", title: "到货关闭", type: "Input", },
|
|
{ key: "isPayment", title: "付款关闭", type: "Input", },
|
|
{ key: "isPayment", title: "付款关闭", type: "Input", },
|
|
- { key: "isGift", title: "赠品", type: "Input", },
|
|
|
|
|
|
+ { key: "isGift", title: "赠品", type: "Input", width: 180 },
|
|
{
|
|
{
|
|
key: "warehouseName",
|
|
key: "warehouseName",
|
|
title: "收货仓库", //WMS入库仓库
|
|
title: "收货仓库", //WMS入库仓库
|
|
@@ -362,13 +383,13 @@ export const TabColumns = [
|
|
},
|
|
},
|
|
width: 200,
|
|
width: 200,
|
|
},
|
|
},
|
|
- { key: "place", title: "收货地点", type: "Input", },
|
|
|
|
- { key: "address", title: "收货地址", type: "Input", },
|
|
|
|
- { key: "productBatch", title: "产品批号", type: "Input", },
|
|
|
|
- { key: "manufactureDate", title: "生产日期", type: "Input", },
|
|
|
|
- { key: "efficacyLoseDate", title: "有效期至/失效日期", type: "Input", },
|
|
|
|
- { key: "approvalNumber", title: "批准文号", type: "Input", },
|
|
|
|
- { key: "registration", title: "注册证号", type: "Input", },
|
|
|
|
|
|
+ { key: "place", title: "收货地点", type: "Input", width: 180 },
|
|
|
|
+ { key: "address", title: "收货地址", type: "Input", width: 180 },
|
|
|
|
+ { key: "productBatch", title: "产品批号", type: "Input", width: 180 },
|
|
|
|
+ { key: "manufactureDate", title: "生产日期", type: "Input", width: 180 },
|
|
|
|
+ { key: "efficacyLoseDate", title: "有效期至/失效日期", type: "Input", width: 180 },
|
|
|
|
+ { key: "approvalNumber", title: "批准文号", type: "Input", width: 180 },
|
|
|
|
+ { key: "registration", title: "注册证号", type: "Input", width: 180 },
|
|
|
|
|
|
{
|
|
{
|
|
key: "storageCondition",
|
|
key: "storageCondition",
|
|
@@ -377,6 +398,7 @@ export const TabColumns = [
|
|
config: {
|
|
config: {
|
|
optionsName: "sys_storage_condition",
|
|
optionsName: "sys_storage_condition",
|
|
},
|
|
},
|
|
|
|
+ width: 180
|
|
},
|
|
},
|
|
{
|
|
{
|
|
key: "carriageCondition",
|
|
key: "carriageCondition",
|
|
@@ -385,6 +407,7 @@ export const TabColumns = [
|
|
config: {
|
|
config: {
|
|
optionsName: "sys_conditions_carriage",
|
|
optionsName: "sys_conditions_carriage",
|
|
},
|
|
},
|
|
|
|
+ width: 180
|
|
},
|
|
},
|
|
|
|
|
|
{ key: "isBatchLock", title: "批号锁定标识", type: "Input", },
|
|
{ key: "isBatchLock", title: "批号锁定标识", type: "Input", },
|
|
@@ -392,16 +415,16 @@ export const TabColumns = [
|
|
{ key: "isUrgency", title: "紧急标识", type: "Input", },
|
|
{ key: "isUrgency", title: "紧急标识", type: "Input", },
|
|
{ key: "originalQty", title: "原始数量", type: "Input", },
|
|
{ key: "originalQty", title: "原始数量", type: "Input", },
|
|
{ key: "originalMoney", title: "原始金额", type: "Input", },
|
|
{ key: "originalMoney", title: "原始金额", type: "Input", },
|
|
- { key: "directProductBatch", title: "直运产品批号", type: "Input", },
|
|
|
|
- { key: "discountRule", title: "折扣规则编码", type: "Input", },
|
|
|
|
|
|
+ { key: "directProductBatch", title: "直运产品批号", type: "Input", width: 180 },
|
|
|
|
+ { key: "discountRule", title: "折扣规则编码", type: "Input", width: 180 },
|
|
{ key: "reservedQty", title: "预留数量", type: "Input", },
|
|
{ key: "reservedQty", title: "预留数量", type: "Input", },
|
|
{ key: "reservedPeriod", title: "预留周期", type: "Input", },
|
|
{ key: "reservedPeriod", title: "预留周期", type: "Input", },
|
|
{ key: "taxDeductClassify", title: "扣税类别", type: "Input", },
|
|
{ key: "taxDeductClassify", title: "扣税类别", type: "Input", },
|
|
{ key: "exchangeRate", title: "折本汇率", type: "Input", },
|
|
{ key: "exchangeRate", title: "折本汇率", type: "Input", },
|
|
- { key: "source", title: "上游单据号", type: "Input", },
|
|
|
|
- { key: "sourceId", title: "上游单据ID", type: "Input", },
|
|
|
|
- { key: "demandCode", title: "采购需求单号", type: "Input", },
|
|
|
|
- { key: "arrivalDatePlan", title: "计划到货日期", type: "Input", },
|
|
|
|
|
|
+ { key: "source", title: "上游单据号", type: "Input", width: 180 },
|
|
|
|
+ { key: "sourceId", title: "上游单据ID", type: "Input", width: 180 },
|
|
|
|
+ { key: "demandCode", title: "采购需求单号", type: "Input", width: 180 },
|
|
|
|
+ { key: "arrivalDatePlan", title: "计划到货日期", type: "Input", width: 180 },
|
|
{
|
|
{
|
|
key: "priceType",
|
|
key: "priceType",
|
|
title: "价格类型",
|
|
title: "价格类型",
|
|
@@ -413,10 +436,10 @@ export const TabColumns = [
|
|
{ key: "isDistributionPrice", title: "配送价", type: "Input", },
|
|
{ key: "isDistributionPrice", title: "配送价", type: "Input", },
|
|
{ key: "createByName", title: "创建人名称", type: "Input", },
|
|
{ key: "createByName", title: "创建人名称", type: "Input", },
|
|
{ key: "updateByName", title: "更新人名称", type: "Input", },
|
|
{ key: "updateByName", title: "更新人名称", type: "Input", },
|
|
- { key: "materialClassifyOneName", title: "物料一级分类名称", type: "Input", },
|
|
|
|
- { key: "materialClassifyTwoName", title: "物料二级分类名称", type: "Input", },
|
|
|
|
- { key: "materialClassifyThreeName", title: "物料三级分类名称", type: "Input", },
|
|
|
|
- { key: "materialClassifyFourName", title: "物料四级分类名称", type: "Input", },
|
|
|
|
|
|
+ { key: "materialClassifyOneName", title: "物料一级分类名称", type: "Input", width: 180 },
|
|
|
|
+ { key: "materialClassifyTwoName", title: "物料二级分类名称", type: "Input", width: 180 },
|
|
|
|
+ { key: "materialClassifyThreeName", title: "物料三级分类名称", type: "Input", width: 180 },
|
|
|
|
+ { key: "materialClassifyFourName", title: "物料四级分类名称", type: "Input", width: 180 },
|
|
{ key: "price", title: "无税单价", type: "Input", }
|
|
{ key: "price", title: "无税单价", type: "Input", }
|
|
]
|
|
]
|
|
},
|
|
},
|
|
@@ -424,7 +447,7 @@ export const TabColumns = [
|
|
title: '执行结果',
|
|
title: '执行结果',
|
|
key: 'puOrderExecuteList',
|
|
key: 'puOrderExecuteList',
|
|
tableColumns: [
|
|
tableColumns: [
|
|
- { key: "orderId", title: "采购订单ID", type: "Input", },
|
|
|
|
|
|
+ { key: "orderId", title: "采购订单ID", type: "Input", width: 180 },
|
|
{ key: "rowno", title: "行号", type: "Input", },
|
|
{ key: "rowno", title: "行号", type: "Input", },
|
|
{
|
|
{
|
|
key: "materialName",
|
|
key: "materialName",
|
|
@@ -435,20 +458,21 @@ export const TabColumns = [
|
|
dataMapping: {
|
|
dataMapping: {
|
|
material: "id",
|
|
material: "id",
|
|
materialName: "name",
|
|
materialName: "name",
|
|
- // materialCode: "code",
|
|
|
|
|
|
+ materialCode: "code",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
+ width: 180
|
|
},
|
|
},
|
|
{ key: "specification", title: "规格", type: "Input", },
|
|
{ key: "specification", title: "规格", type: "Input", },
|
|
{ key: "qty", title: "数量", type: "Input", },
|
|
{ key: "qty", title: "数量", type: "Input", },
|
|
- { key: "stroageQty", title: "累计到货主数量", type: "Input", },
|
|
|
|
- { key: "stockQty", title: "累计入库主数量", type: "Input", },
|
|
|
|
- { key: "invoiceQty", title: "累计开票主数量", type: "Input", },
|
|
|
|
- { key: "rollbackQty", title: "累计退货主数量", type: "Checkbox", },
|
|
|
|
- { key: "backStockQty", title: "累计退库主数量", type: "Input", },
|
|
|
|
- { key: "floatQty", title: "未到货数量", type: "Input", },
|
|
|
|
- { key: "createByName", title: "创建人名称", type: "Input", },
|
|
|
|
- { key: "updateByName", title: "更新人名称", type: "Input", },
|
|
|
|
|
|
+ { key: "stroageQty", title: "累计到货主数量", type: "Input", width: 120 },
|
|
|
|
+ { key: "stockQty", title: "累计入库主数量", type: "Input", width: 120 },
|
|
|
|
+ { key: "invoiceQty", title: "累计开票主数量", type: "Input", width: 120 },
|
|
|
|
+ { key: "rollbackQty", title: "累计退货主数量", type: "Input", width: 120 },
|
|
|
|
+ { key: "backStockQty", title: "累计退库主数量", type: "Input", width: 120 },
|
|
|
|
+ { key: "floatQty", title: "未到货数量", type: "Input", width: 120 },
|
|
|
|
+ { key: "createByName", title: "创建人名称", type: "Input", width: 120 },
|
|
|
|
+ { key: "updateByName", title: "更新人名称", type: "Input", width: 120 },
|
|
]
|
|
]
|
|
},
|
|
},
|
|
];
|
|
];
|