|
@@ -19,6 +19,10 @@ export const Columns = [
|
|
|
require: true,
|
|
|
config: {
|
|
|
optionsName: "sys_order_type", // 字典名
|
|
|
+ dataMapping: {
|
|
|
+ billType: "code",
|
|
|
+ billTypeName: "name",
|
|
|
+ },
|
|
|
},
|
|
|
},
|
|
|
// { key: "billTypeName", title: "订单类型名称", },
|
|
@@ -84,12 +88,12 @@ export const Columns = [
|
|
|
title: "采购员",
|
|
|
type: "InputDialog",
|
|
|
config: {
|
|
|
- componentName: "ORG_PARAM",
|
|
|
+ componentName: "CONTACTS_PARAM",
|
|
|
dataMapping: {
|
|
|
- buyer: "userId",
|
|
|
- buyerName: "userName",
|
|
|
- puDept: "deptId",
|
|
|
- puDeptName: "deptName",
|
|
|
+ buyer: "code",
|
|
|
+ buyerName: "name",
|
|
|
+ // puDept: "deptId",
|
|
|
+ // puDeptName: "deptName",
|
|
|
},
|
|
|
},
|
|
|
require: true,
|
|
@@ -228,14 +232,14 @@ export const Columns = [
|
|
|
{ key: "supplierPersonalName", title: "供应商业务员名称", type: "Input", },
|
|
|
{ key: "isDeliver", title: "是否发货", type: "Checkbox", },
|
|
|
{
|
|
|
- key: "retReason",
|
|
|
+ key: "retReasonName",
|
|
|
title: "退换原因",
|
|
|
type: "InputDialog",
|
|
|
config: {
|
|
|
componentName: "RETREASON_PARAM",
|
|
|
dataMapping: {
|
|
|
retReason: "code",
|
|
|
- // retReasonName: "name",
|
|
|
+ retReasonName: "name",
|
|
|
},
|
|
|
},
|
|
|
},
|
|
@@ -253,26 +257,26 @@ export const Columns = [
|
|
|
},
|
|
|
{ key: "isEnd", title: "整单关闭标识", type: "Input", },
|
|
|
{
|
|
|
- key: "projectNow",
|
|
|
+ key: "projectNowName",
|
|
|
title: "在建工程项目",
|
|
|
type: "InputDialog",
|
|
|
config: {
|
|
|
componentName: "PROJECT_PARAM",
|
|
|
dataMapping: {
|
|
|
projectNow: "code",
|
|
|
- // processTypeName: "name",
|
|
|
+ projectNowName: "name",
|
|
|
},
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- key: "operatingItems",
|
|
|
+ key: "operatingItemsName",
|
|
|
title: "经营性项目",
|
|
|
type: "InputDialog",
|
|
|
config: {
|
|
|
componentName: "OPERATING_PARAM",
|
|
|
dataMapping: {
|
|
|
operatingItems: "code",
|
|
|
- // processTypeName: "name",
|
|
|
+ operatingItemsName: "name",
|
|
|
},
|
|
|
},
|
|
|
},
|
|
@@ -306,11 +310,10 @@ export const TabColumns = [
|
|
|
title: '物料信息',
|
|
|
key: 'puOrderItemList',
|
|
|
tableColumns: [
|
|
|
- // { key: "id", title: "主键" },
|
|
|
{ key: "rowNo", title: "行号", type: "Input", },
|
|
|
{ key: "orderId", title: "采购订单ID", type: "Input", },
|
|
|
// {key: "material",title: "物料",type: "Input", },
|
|
|
- { key: "materialName", title: "物料名称", type: "Input", },
|
|
|
+ { key: "materialName", title: "物料", type: "Input", },
|
|
|
{
|
|
|
key: "materialCode",
|
|
|
title: "物料编码",
|
|
@@ -410,13 +413,9 @@ export const TabColumns = [
|
|
|
{ key: "isDistributionPrice", title: "配送价", type: "Input", },
|
|
|
{ key: "createByName", title: "创建人名称", type: "Input", },
|
|
|
{ key: "updateByName", title: "更新人名称", type: "Input", },
|
|
|
- // { key: "materialClassifyOne", title: "物料一级分类",type: "Input", },
|
|
|
{ key: "materialClassifyOneName", title: "物料一级分类名称", type: "Input", },
|
|
|
- // { key: "materialClassifyTwo", title: "物料二级分类",type: "Input", },
|
|
|
{ key: "materialClassifyTwoName", title: "物料二级分类名称", type: "Input", },
|
|
|
- // { key: "materialClassifyThree", title: "物料三级分类",type: "Input", },
|
|
|
{ key: "materialClassifyThreeName", title: "物料三级分类名称", type: "Input", },
|
|
|
- // { key: "materialClassifyFour", title: "物料四级分类",type: "Input", },
|
|
|
{ key: "materialClassifyFourName", title: "物料四级分类名称", type: "Input", },
|
|
|
{ key: "price", title: "无税单价", type: "Input", }
|
|
|
]
|
|
@@ -425,7 +424,6 @@ export const TabColumns = [
|
|
|
title: '执行结果',
|
|
|
key: 'puOrderExecuteList',
|
|
|
tableColumns: [
|
|
|
- // { key: "id", title: "主键",type: "Input", },
|
|
|
{ key: "orderId", title: "采购订单ID", type: "Input", },
|
|
|
{ key: "rowno", title: "行号", type: "Input", },
|
|
|
{
|
|
@@ -441,7 +439,6 @@ export const TabColumns = [
|
|
|
},
|
|
|
},
|
|
|
},
|
|
|
- // { key: "materialName", title: "物料名称", type: "Input", },
|
|
|
{ key: "specification", title: "规格", type: "Input", },
|
|
|
{ key: "qty", title: "数量", type: "Input", },
|
|
|
{ key: "stroageQty", title: "累计到货主数量", type: "Input", },
|