|
@@ -24,7 +24,7 @@ export const Columns = [
|
|
title: "采购员",
|
|
title: "采购员",
|
|
type: "InputDialog",
|
|
type: "InputDialog",
|
|
config: {
|
|
config: {
|
|
- componentName: "User",
|
|
|
|
|
|
+ componentName: "ORG_PARAM",
|
|
dataMapping: {
|
|
dataMapping: {
|
|
buyer: "userId",
|
|
buyer: "userId",
|
|
buyerName: "userName",
|
|
buyerName: "userName",
|
|
@@ -144,7 +144,7 @@ export const Columns = [
|
|
title: "发票税率",
|
|
title: "发票税率",
|
|
type: "InputDialog",
|
|
type: "InputDialog",
|
|
config: {
|
|
config: {
|
|
- componentName: "Tax",
|
|
|
|
|
|
+ componentName: "ORG_PARAM",
|
|
dataMapping: {
|
|
dataMapping: {
|
|
invoiceTax: "mattaxesname",
|
|
invoiceTax: "mattaxesname",
|
|
},
|
|
},
|
|
@@ -283,14 +283,14 @@ export const Columns = [
|
|
{ key: "area", title: "区域", type: "Input" },
|
|
{ key: "area", title: "区域", type: "Input" },
|
|
{ key: "consigneePhone", title: "收货人联系方式", type: "Input" },
|
|
{ key: "consigneePhone", title: "收货人联系方式", type: "Input" },
|
|
{
|
|
{
|
|
- key: "paymentAgreement",
|
|
|
|
|
|
+ key: "paymentAgreementName",
|
|
title: "付款协议",
|
|
title: "付款协议",
|
|
type: "InputDialog",
|
|
type: "InputDialog",
|
|
config: {
|
|
config: {
|
|
- componentName: "PaymentPlan",
|
|
|
|
|
|
+ componentName: "PAYAGREEMENT_PARAM",
|
|
dataMapping: {
|
|
dataMapping: {
|
|
- buyer: "userName",
|
|
|
|
- puDept: "deptName",
|
|
|
|
|
|
+ paymentAgreement: "code",
|
|
|
|
+ paymentAgreementName: "name",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
require: true,
|
|
require: true,
|
|
@@ -338,26 +338,68 @@ export const TabColumns = [
|
|
title: "物料基本信息",
|
|
title: "物料基本信息",
|
|
key: "contractItemList",
|
|
key: "contractItemList",
|
|
tableColumns: [
|
|
tableColumns: [
|
|
- { title: "序号", key: "index" },
|
|
|
|
{ title: "物料编码", key: "material", width: 200 },
|
|
{ title: "物料编码", key: "material", width: 200 },
|
|
{
|
|
{
|
|
title: "物料名称",
|
|
title: "物料名称",
|
|
key: "materialName",
|
|
key: "materialName",
|
|
type: "InputDialog",
|
|
type: "InputDialog",
|
|
width: 200,
|
|
width: 200,
|
|
|
|
+ config: {
|
|
|
|
+ componentName: "MATERIAL_PARAM",
|
|
|
|
+ dataMapping: {
|
|
|
|
+ material: "code",
|
|
|
|
+ materialName: "name",
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: "规格",
|
|
|
|
+ key: "specification",
|
|
|
|
+ width: 200,
|
|
|
|
+ config: {
|
|
|
|
+ componentName: "MATERIAL_PARAM",
|
|
|
|
+ dataMapping: {
|
|
|
|
+ material: "code",
|
|
|
|
+ materialName: "name",
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: "品牌",
|
|
|
|
+ key: "brand",
|
|
|
|
+ type: "InputDialog",
|
|
|
|
+ width: 200,
|
|
|
|
+ config: {
|
|
|
|
+ componentName: "MATERIAL_PARAM",
|
|
|
|
+ dataMapping: {
|
|
|
|
+ material: "code",
|
|
|
|
+ materialName: "name",
|
|
|
|
+ },
|
|
|
|
+ },
|
|
},
|
|
},
|
|
- { title: "规格", key: "specification", width: 200 },
|
|
|
|
- { title: "品牌", key: "brand", type: "InputDialog", width: 200 },
|
|
|
|
{ title: "生产厂家", key: "manufacturer", type: "Input", width: 200 },
|
|
{ title: "生产厂家", key: "manufacturer", type: "Input", width: 200 },
|
|
- { title: "采购单位", key: "puUnit", type: "InputDialog", width: 200 },
|
|
|
|
|
|
+ {
|
|
|
|
+ title: "采购单位",
|
|
|
|
+ key: "puUnit",
|
|
|
|
+ type: "InputDialog",
|
|
|
|
+ width: 200,
|
|
|
|
+ config: {
|
|
|
|
+ componentName: "MATERIAL_PARAM",
|
|
|
|
+ dataMapping: {
|
|
|
|
+ material: "code",
|
|
|
|
+ materialName: "name",
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ },
|
|
{
|
|
{
|
|
title: "税率%",
|
|
title: "税率%",
|
|
key: "tax",
|
|
key: "tax",
|
|
type: "InputDialog",
|
|
type: "InputDialog",
|
|
config: {
|
|
config: {
|
|
- componentName: "Tax",
|
|
|
|
|
|
+ componentName: "MATERIAL_PARAM",
|
|
dataMapping: {
|
|
dataMapping: {
|
|
- tax: "mattaxesname",
|
|
|
|
|
|
+ material: "code",
|
|
|
|
+ materialName: "name",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
width: 200,
|
|
width: 200,
|
|
@@ -390,6 +432,13 @@ export const TabColumns = [
|
|
key: "customerName",
|
|
key: "customerName",
|
|
type: "InputDialog",
|
|
type: "InputDialog",
|
|
width: 200,
|
|
width: 200,
|
|
|
|
+ config: {
|
|
|
|
+ componentName: "MATERIAL_PARAM",
|
|
|
|
+ dataMapping: {
|
|
|
|
+ material: "code",
|
|
|
|
+ materialName: "name",
|
|
|
|
+ },
|
|
|
|
+ },
|
|
},
|
|
},
|
|
{ title: "备注", key: "remark", type: "Input", width: 200 },
|
|
{ title: "备注", key: "remark", type: "Input", width: 200 },
|
|
],
|
|
],
|
|
@@ -398,7 +447,6 @@ export const TabColumns = [
|
|
title: "合同条款",
|
|
title: "合同条款",
|
|
key: "contractClauseList",
|
|
key: "contractClauseList",
|
|
tableColumns: [
|
|
tableColumns: [
|
|
- { title: "序号", key: "index" },
|
|
|
|
{ title: "条款编码", key: "code", type: "Input" },
|
|
{ title: "条款编码", key: "code", type: "Input" },
|
|
{ title: "条款名称", key: "name", type: "Input" },
|
|
{ title: "条款名称", key: "name", type: "Input" },
|
|
{ title: "条款内容", key: "content", type: "Input" },
|
|
{ title: "条款内容", key: "content", type: "Input" },
|
|
@@ -411,7 +459,6 @@ export const TabColumns = [
|
|
title: "合同费用",
|
|
title: "合同费用",
|
|
key: "contractExpenseList",
|
|
key: "contractExpenseList",
|
|
tableColumns: [
|
|
tableColumns: [
|
|
- { title: "序号", key: "index" },
|
|
|
|
{ title: "费用编码", key: "code", type: "Input" },
|
|
{ title: "费用编码", key: "code", type: "Input" },
|
|
{ title: "费用名称", key: "name", type: "Input" },
|
|
{ title: "费用名称", key: "name", type: "Input" },
|
|
{
|
|
{
|
|
@@ -427,19 +474,30 @@ export const TabColumns = [
|
|
title: "付款协议信息",
|
|
title: "付款协议信息",
|
|
key: "contractAgreementList",
|
|
key: "contractAgreementList",
|
|
tableColumns: [
|
|
tableColumns: [
|
|
- { title: "序号", key: "index" },
|
|
|
|
{
|
|
{
|
|
title: "付款阶段",
|
|
title: "付款阶段",
|
|
key: "satge",
|
|
key: "satge",
|
|
type: "InputNumber",
|
|
type: "InputNumber",
|
|
width: 200,
|
|
width: 200,
|
|
},
|
|
},
|
|
- { title: "付款起点", key: "origin", type: "InputDialog", width: 200 },
|
|
|
|
|
|
+ {
|
|
|
|
+ title: "付款起点",
|
|
|
|
+ key: "origin",
|
|
|
|
+ type: "InputDialog",
|
|
|
|
+ width: 200,
|
|
|
|
+ config: {
|
|
|
|
+ componentName: "MATERIAL_PARAM",
|
|
|
|
+ dataMapping: {
|
|
|
|
+ material: "code",
|
|
|
|
+ materialName: "name",
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ },
|
|
{ title: "账期天数", key: "paymetDays", type: "Input", width: 200 },
|
|
{ title: "账期天数", key: "paymetDays", type: "Input", width: 200 },
|
|
{ title: "付款比例%", key: "ratio", type: "Input", width: 200 },
|
|
{ title: "付款比例%", key: "ratio", type: "Input", width: 200 },
|
|
{ title: "付款金额", key: "money", type: "Input", width: 200 },
|
|
{ title: "付款金额", key: "money", type: "Input", width: 200 },
|
|
- { title: "是否预付款", key: "isAdvance" },
|
|
|
|
- { title: "是否质保金", key: "isQuality" },
|
|
|
|
|
|
+ { title: "是否预付款", key: "isAdvance", width: 200 },
|
|
|
|
+ { title: "是否质保金", key: "isQuality", width: 200 },
|
|
{ title: "结算方式", key: "paymentMeans", type: "Input", width: 200 },
|
|
{ title: "结算方式", key: "paymentMeans", type: "Input", width: 200 },
|
|
{ title: "备注", key: "remark", type: "Input", width: 200 },
|
|
{ title: "备注", key: "remark", type: "Input", width: 200 },
|
|
{ title: "需进度确认", key: "schedule", type: "Select", width: 200 },
|
|
{ title: "需进度确认", key: "schedule", type: "Select", width: 200 },
|
|
@@ -449,7 +507,6 @@ export const TabColumns = [
|
|
title: "合同执行组织范围",
|
|
title: "合同执行组织范围",
|
|
key: "contractApplyOrgList",
|
|
key: "contractApplyOrgList",
|
|
tableColumns: [
|
|
tableColumns: [
|
|
- { title: "序号", key: "index" },
|
|
|
|
{ title: "组织名称", key: "orgName", type: "Input" },
|
|
{ title: "组织名称", key: "orgName", type: "Input" },
|
|
{ title: "组织编码", key: "org", type: "Input" },
|
|
{ title: "组织编码", key: "org", type: "Input" },
|
|
],
|
|
],
|