|
@@ -3,10 +3,10 @@ import CONFIG from "@/config";
|
|
|
export default function useColumns() {
|
|
|
const TableColumns = [
|
|
|
{
|
|
|
- item: { key: "puOrgName", title: "采购组织", require: true ,},
|
|
|
+ item: { width:100,key: "puOrgName", title: "采购组织", require: true ,},
|
|
|
attr: {
|
|
|
is: "el-popover-select-v2",
|
|
|
- valueKey: "name",
|
|
|
+ valuewidth:100,key: "name",
|
|
|
referName: "ORG_PARAM",
|
|
|
dataMapping: {
|
|
|
puOrg: "code",
|
|
@@ -14,9 +14,9 @@ export default function useColumns() {
|
|
|
},
|
|
|
},
|
|
|
},
|
|
|
- { item: { key: "code", title: "合同编码" }, attr: { is: "el-input" } },
|
|
|
+ { item: { width:100,key: "code", title: "合同编码" }, attr: { is: "el-input" } },
|
|
|
{
|
|
|
- item: { key: "status", title: "状态" },
|
|
|
+ item: { width:100,key: "status", title: "状态" },
|
|
|
attr: {
|
|
|
is: "el-select",
|
|
|
dictName: "documents_status",
|
|
@@ -25,17 +25,17 @@ export default function useColumns() {
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "lastPuMoney", title: "上年度采购额" },
|
|
|
+ item: { width:100,key: "lastPuMoney", title: "上年度采购额" },
|
|
|
attr: {
|
|
|
is: "el-input-number",
|
|
|
precision: CONFIG.precision,
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "buyerName", title: "采购员", require: true ,},
|
|
|
+ item: { width:100,key: "buyerName", title: "采购员", require: true ,},
|
|
|
attr: {
|
|
|
is: "el-popover-select-v2",
|
|
|
- valueKey: "name",
|
|
|
+ valuewidth:100,key: "name",
|
|
|
referName: "CONTACTS_PARAM",
|
|
|
dataMapping: {
|
|
|
buyer: "code",
|
|
@@ -46,10 +46,10 @@ export default function useColumns() {
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "supplierName", title: "供应商", require: true, },
|
|
|
+ item: { width:100,key: "supplierName", title: "供应商", require: true, },
|
|
|
attr: {
|
|
|
is: "el-popover-select-v2",
|
|
|
- valueKey: "name",
|
|
|
+ valuewidth:100,key: "name",
|
|
|
referName: "SUPPLIER_PARAM",
|
|
|
dataMapping: {
|
|
|
supplier: "code",
|
|
@@ -58,21 +58,21 @@ export default function useColumns() {
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "contractType", title: "合同类型", require: true ,},
|
|
|
+ item: { width:100,key: "contractType", title: "合同类型", require: true ,},
|
|
|
attr: { is: "el-select", dictName: "puarchase_contract_contract_type" },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "puMoneyYear", title: "本年度采购额" },
|
|
|
+ item: { width:100,key: "puMoneyYear", title: "本年度采购额" },
|
|
|
attr: {
|
|
|
is: "el-input-number",
|
|
|
precision: CONFIG.precision,
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "puDeptName", title: "采购部门", require: true, },
|
|
|
+ item: { width:100,key: "puDeptName", title: "采购部门", require: true, },
|
|
|
attr: {
|
|
|
is: "el-popover-select-v2",
|
|
|
- valueKey: "name",
|
|
|
+ valuewidth:100,key: "name",
|
|
|
referName: "DEPT_PARAM",
|
|
|
dataMapping: {
|
|
|
puDept: "code",
|
|
@@ -81,33 +81,33 @@ export default function useColumns() {
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "supplierTier", title: "供应商层级", require: true ,},
|
|
|
+ item: { width:100,key: "supplierTier", title: "供应商层级", require: true ,},
|
|
|
attr: { is: "el-select", dictName: "puarchase_contract_supplier_tier" },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "contractName", title: "合同名称", require: true, },
|
|
|
+ item: { width:100,key: "contractName", title: "合同名称", require: true, },
|
|
|
attr: { is: "el-input" },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "grossRateAverage", title: "平均毛利率 (%)", require: true ,},
|
|
|
+ item: { width:100,key: "grossRateAverage", title: "平均毛利率 (%)", require: true ,},
|
|
|
attr: {
|
|
|
is: "el-input-number",
|
|
|
precision: 2,
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "approveFlow", title: "审批流程", require: true, },
|
|
|
+ item: { width:100,key: "approveFlow", title: "审批流程", require: true, },
|
|
|
attr: { is: "el-select", dictName: "puarchase_contract_approve_flow" },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "consumableClass", title: "耗材类别", require: true, },
|
|
|
+ item: { width:100,key: "consumableClass", title: "耗材类别", require: true, },
|
|
|
attr: {
|
|
|
is: "el-select",
|
|
|
dictName: "puarchase_contract_consumable_class",
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "effectiveDate", title: "合同生效日期", require: true ,},
|
|
|
+ item: { width:100,key: "effectiveDate", title: "合同生效日期", require: true ,},
|
|
|
attr: {
|
|
|
is: "el-date-picker",
|
|
|
valueFormat: "yyyy-MM-dd",
|
|
@@ -115,7 +115,7 @@ export default function useColumns() {
|
|
|
},
|
|
|
{
|
|
|
item: {
|
|
|
- key: "brandGrossRate",
|
|
|
+ width:100,key: "brandGrossRate",
|
|
|
title: "同类品牌及毛利率 (%)",
|
|
|
require: true,
|
|
|
},
|
|
@@ -125,25 +125,25 @@ export default function useColumns() {
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "contractFormat", title: "合同格式", require: true, },
|
|
|
+ item: { width:100,key: "contractFormat", title: "合同格式", require: true, },
|
|
|
attr: {
|
|
|
is: "el-select",
|
|
|
dictName: "puarchase_contract_contract_format",
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "productName", title: "产品类别&名称", require: true, },
|
|
|
+ item: { width:100,key: "productName", title: "产品类别&名称", require: true, },
|
|
|
attr: { is: "el-input" },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "endDate", title: "合同终止日期", require: true ,},
|
|
|
+ item: { width:100,key: "endDate", title: "合同终止日期", require: true ,},
|
|
|
attr: { is: "el-date-picker", valueFormat: "yyyy-MM-dd" },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "invoiceTax", title: "发票税率 (%)", require: true,},
|
|
|
+ item: { width:100,key: "invoiceTax", title: "发票税率 (%)", require: true,},
|
|
|
attr: {
|
|
|
is: "el-popover-select-v2",
|
|
|
- valueKey: "ntaxrate",
|
|
|
+ valuewidth:100,key: "ntaxrate",
|
|
|
referName: "TAX_RATE_PARAM",
|
|
|
dataMapping: {
|
|
|
invoiceTax: "ntaxrate",
|
|
@@ -151,29 +151,29 @@ export default function useColumns() {
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "emergencyDegree", title: "紧急程度", require: true ,},
|
|
|
+ item: { width:100,key: "emergencyDegree", title: "紧急程度", require: true ,},
|
|
|
attr: {
|
|
|
is: "el-select",
|
|
|
dictName: "puarchase_contract_emergency_degree",
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "project", title: "项目医院", require: true ,},
|
|
|
+ item: { width:100,key: "project", title: "项目医院", require: true ,},
|
|
|
attr: { is: "el-input" },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "deliveryType", title: "交货方式", require: true, },
|
|
|
+ item: { width:100,key: "deliveryType", title: "交货方式", require: true, },
|
|
|
attr: { is: "el-select", dictName: "puarchase_contract_delivery_type" },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "source", title: "合同来源" },
|
|
|
+ item: { width:100,key: "source", title: "合同来源" },
|
|
|
attr: { is: "el-input", value: "自制", disabled: true, },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "contractPartycName", title: "合同丙方" },
|
|
|
+ item: { width:100,key: "contractPartycName", title: "合同丙方" },
|
|
|
attr: {
|
|
|
is: "el-popover-select-v2",
|
|
|
- valueKey: "name",
|
|
|
+ valuewidth:100,key: "name",
|
|
|
referName: "SUPPLIER_PARAM",
|
|
|
dataMapping: {
|
|
|
contractPartyc: "code",
|
|
@@ -182,30 +182,30 @@ export default function useColumns() {
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "guaranteePeriodEnd", title: "质保期限", require: true ,},
|
|
|
+ item: { width:100,key: "guaranteePeriodEnd", title: "质保期限", require: true ,},
|
|
|
attr: { is: "el-input-number", precision: 2 },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "freightMethods", title: "运费承担方式" },
|
|
|
+ item: { width:100,key: "freightMethods", title: "运费承担方式" },
|
|
|
attr: {
|
|
|
is: "el-select",
|
|
|
dictName: "puarchase_contract_freight_methods",
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "signDate", title: "合同签订日期" },
|
|
|
+ item: { width:100,key: "signDate", title: "合同签订日期" },
|
|
|
attr: { is: "el-date-picker", valueFormat: "yyyy-MM-dd" },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "isTarget", title: "是否有指标", require: true ,},
|
|
|
+ item: { width:100,key: "isTarget", title: "是否有指标", require: true ,},
|
|
|
attr: { is: "el-select", dictName: "sys_yes_no" },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "contractTarget", title: "合同指标", require: true, },
|
|
|
+ item: { width:100,key: "contractTarget", title: "合同指标", require: true, },
|
|
|
attr: { is: "el-input", placeholder: '当【是否有指标】="有"时,必填' },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "exemptionPostageCondtion", title: "包邮条件", span: 12 },
|
|
|
+ item: { width:100,key: "exemptionPostageCondtion", title: "包邮条件", span: 12 },
|
|
|
attr: {
|
|
|
is: "el-input",
|
|
|
placeholder:
|
|
@@ -213,31 +213,31 @@ export default function useColumns() {
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "isRebate", title: "是否有返利", require: true, },
|
|
|
+ item: { width:100,key: "isRebate", title: "是否有返利", require: true, },
|
|
|
attr: { is: "el-select", dictName: "sys_yes_no" },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "rebatePolicy", title: "返利政策", span: 18 },
|
|
|
+ item: { width:100,key: "rebatePolicy", title: "返利政策", span: 18 },
|
|
|
attr: {
|
|
|
is: "el-input",
|
|
|
placeholder: '当【是否有返利】="有"时,必填',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "externalContract", title: "外部合同号" },
|
|
|
+ item: { width:100,key: "externalContract", title: "外部合同号" },
|
|
|
attr: { is: "el-input" },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "rollbackPolicy", title: "退换货政策", require: true ,},
|
|
|
+ item: { width:100,key: "rollbackPolicy", title: "退换货政策", require: true ,},
|
|
|
attr: { is: "el-input" },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "enquiryCode", title: "询价单号" },
|
|
|
+ item: { width:100,key: "enquiryCode", title: "询价单号" },
|
|
|
attr: { is: "el-input" },
|
|
|
},
|
|
|
{
|
|
|
item: {
|
|
|
- key: "contractContent",
|
|
|
+ width:100,key: "contractContent",
|
|
|
title: "合同主要内容",
|
|
|
require: true,
|
|
|
span: 24,
|
|
@@ -245,47 +245,47 @@ export default function useColumns() {
|
|
|
attr: { is: "el-input", type: "textarea" },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "refusalReasons", title: "拒绝理由", span: 24 },
|
|
|
+ item: { width:100,key: "refusalReasons", title: "拒绝理由", span: 24 },
|
|
|
attr: { is: "el-input" },
|
|
|
},
|
|
|
// {
|
|
|
- // item: { key: "pigeonhole", title: "是否归档" },
|
|
|
+ // item: { width:100,key: "pigeonhole", title: "是否归档" },
|
|
|
// attr: { is: "el-select", dictName: "sys_yes_no", disabled: true },
|
|
|
// },
|
|
|
// {
|
|
|
- // item: { key: "pigeonholeFile", title: "归档附件", span: 24 },
|
|
|
+ // item: { width:100,key: "pigeonholeFile", title: "归档附件", span: 24 },
|
|
|
// attr: { is: "el-file-upload", fileType: ["pdf"], disabled: true },
|
|
|
// },
|
|
|
{
|
|
|
- item: { key: "externalFile", title: "对外附件", span: 24 },
|
|
|
+ item: { width:100,key: "externalFile", title: "对外附件", span: 24 },
|
|
|
attr: { is: "el-file-upload", fileType: ["pdf"] },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "puFile", title: "采购商盖章合同附件", span: 24 },
|
|
|
+ item: { width:100,key: "puFile", title: "采购商盖章合同附件", span: 24 },
|
|
|
attr: { is: "el-file-upload", fileType: ["pdf"] },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "supplierFile", title: "供应商盖章合同附件", span: 24 },
|
|
|
+ item: { width:100,key: "supplierFile", title: "供应商盖章合同附件", span: 24 },
|
|
|
attr: { is: "el-file-upload", fileType: ["pdf"] },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "projectCode", title: "项目编号" },
|
|
|
+ item: { width:100,key: "projectCode", title: "项目编号" },
|
|
|
attr: { is: "el-input" },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "projectName", title: "项目名称" },
|
|
|
+ item: { width:100,key: "projectName", title: "项目名称" },
|
|
|
attr: { is: "el-input" },
|
|
|
},
|
|
|
- { item: { key: "area", title: "区域" }, attr: { is: "el-input" } },
|
|
|
+ { item: { width:100,key: "area", title: "区域" }, attr: { is: "el-input" } },
|
|
|
{
|
|
|
- item: { key: "consigneePhone", title: "收货人联系方式" },
|
|
|
+ item: { width:100,key: "consigneePhone", title: "收货人联系方式" },
|
|
|
attr: { is: "el-input" },
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "paymentAgreement", title: "付款协议", require: true, },
|
|
|
+ item: { width:100,key: "paymentAgreement", title: "付款协议", require: true, },
|
|
|
attr: {
|
|
|
is: "el-popover-select-v2",
|
|
|
- valueKey: "name",
|
|
|
+ valuewidth:100,key: "name",
|
|
|
referName: "PAYAGREEMENT_PARAM",
|
|
|
dataMapping: {
|
|
|
paymentAgreement: "code",
|
|
@@ -294,17 +294,17 @@ export default function useColumns() {
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "taxPrice", title: "价税合计" },
|
|
|
+ item: { width:100,key: "taxPrice", title: "价税合计" },
|
|
|
attr: {
|
|
|
is: "el-input-number",
|
|
|
precision: CONFIG.precision,
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "currencyName", title: "币种", require: true, },
|
|
|
+ item: { width:100,key: "currencyName", title: "币种", require: true, },
|
|
|
attr: {
|
|
|
is: "el-popover-select-v2",
|
|
|
- valueKey: "name",
|
|
|
+ valuewidth:100,key: "name",
|
|
|
referName: "CURRENCY_PARAM",
|
|
|
dataMapping: {
|
|
|
currency: "code",
|
|
@@ -313,7 +313,7 @@ export default function useColumns() {
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "guaranteePeriod", title: "质保期" },
|
|
|
+ item: { width:100,key: "guaranteePeriod", title: "质保期" },
|
|
|
attr: {
|
|
|
is: "el-input-number",
|
|
|
precision: CONFIG.precision,
|
|
@@ -326,18 +326,18 @@ export default function useColumns() {
|
|
|
|
|
|
const TabColumns = [
|
|
|
{
|
|
|
- item: { title: "物料基本信息", key: "contractItemList" },
|
|
|
+ item: { title: "物料基本信息", width:100,key: "contractItemList" },
|
|
|
attr: { value: [] },
|
|
|
TableColumns: [
|
|
|
{
|
|
|
item: {
|
|
|
title: "物料名称",
|
|
|
- key: "materialName",
|
|
|
+ width:100,key: "materialName",
|
|
|
require: true ,
|
|
|
},
|
|
|
attr: {
|
|
|
is: "el-popover-select-v2",
|
|
|
- valueKey: "name",
|
|
|
+ valuewidth:100,key: "name",
|
|
|
referName: "MATERIAL_PARAM",
|
|
|
dataMapping: {
|
|
|
material: "code",
|
|
@@ -352,7 +352,7 @@ export default function useColumns() {
|
|
|
{
|
|
|
item: {
|
|
|
title: "物料编码",
|
|
|
- key: "material",
|
|
|
+ width:100,key: "material",
|
|
|
require: true ,
|
|
|
},
|
|
|
attr: {},
|
|
@@ -360,24 +360,24 @@ export default function useColumns() {
|
|
|
{
|
|
|
item: {
|
|
|
title: "规格",
|
|
|
- key: "specification",
|
|
|
+ width:100,key: "specification",
|
|
|
},
|
|
|
attr: {},
|
|
|
},
|
|
|
{
|
|
|
item: {
|
|
|
title: "生产厂家",
|
|
|
- key: "manufacturer",
|
|
|
+ width:100,key: "manufacturer",
|
|
|
},
|
|
|
attr: {
|
|
|
is: "el-input",
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "采购单位", key: "puUnit" },
|
|
|
+ item: { title: "采购单位", width:100,key: "puUnit" },
|
|
|
attr: {
|
|
|
is: "el-popover-select-v2",
|
|
|
- valueKey: "name",
|
|
|
+ valuewidth:100,key: "name",
|
|
|
referName: "UNIT_PARAM",
|
|
|
dataMapping: {
|
|
|
puUnit: "name",
|
|
@@ -385,10 +385,10 @@ export default function useColumns() {
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "税率%", key: "tax" ,require: true, },
|
|
|
+ item: { title: "税率%", width:100,key: "tax" ,require: true, },
|
|
|
attr: {
|
|
|
is: "el-popover-select-v2",
|
|
|
- valueKey: "ntaxrate",
|
|
|
+ valuewidth:100,key: "ntaxrate",
|
|
|
referName: "TAX_RATE_PARAM",
|
|
|
dataMapping: {
|
|
|
tax: "ntaxrate",
|
|
@@ -396,20 +396,20 @@ export default function useColumns() {
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "采购数量", key: "qty" },
|
|
|
+ item: { title: "采购数量", width:100,key: "qty" },
|
|
|
attr: {
|
|
|
is: "el-input-number",
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "含税单价", key: "taxPrice" ,require: true, },
|
|
|
+ item: { title: "含税单价", width:100,key: "taxPrice" ,require: true, },
|
|
|
attr: {
|
|
|
is: "el-input-number",
|
|
|
precision: CONFIG.precision,
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "含税金额合计", key: "taxMoney" },
|
|
|
+ item: { title: "含税金额合计", width:100,key: "taxMoney" },
|
|
|
attr: {
|
|
|
formatter: (prop) => {
|
|
|
const { qty = 0, taxPrice = 0 } = prop;
|
|
@@ -419,7 +419,7 @@ export default function useColumns() {
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "无税单价", key: "taxFreePrice" ,require: true, },
|
|
|
+ item: { title: "无税单价", width:100,key: "taxFreePrice" ,require: true, },
|
|
|
attr: {
|
|
|
formatter: (prop) => {
|
|
|
const { tax = 0, taxPrice = 0 } = prop;
|
|
@@ -431,7 +431,7 @@ export default function useColumns() {
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "无税金额合计", key: "taxFreeMoney" },
|
|
|
+ item: { title: "无税金额合计", width:100,key: "taxFreeMoney" },
|
|
|
attr: {
|
|
|
formatter: (prop) => {
|
|
|
const { qty = 0, tax = 0, taxPrice = 0 } = prop;
|
|
@@ -445,16 +445,16 @@ export default function useColumns() {
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "注册证号及备案凭证号", key: "registration" },
|
|
|
+ item: { title: "注册证号及备案凭证号", width:100,key: "registration" },
|
|
|
attr: {
|
|
|
is: "el-input",
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "收货客户", key: "customerName" },
|
|
|
+ item: { title: "收货客户", width:100,key: "customerName" },
|
|
|
attr: {
|
|
|
is: "el-popover-select-v2",
|
|
|
- valueKey: "name",
|
|
|
+ valuewidth:100,key: "name",
|
|
|
referName: "CUSTOMER_PARAM",
|
|
|
dataMapping: {
|
|
|
customer: "code",
|
|
@@ -465,67 +465,67 @@ export default function useColumns() {
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "合同条款", key: "contractClauseList" },
|
|
|
+ item: { title: "合同条款", width:100,key: "contractClauseList" },
|
|
|
attr: {
|
|
|
value: [],
|
|
|
},
|
|
|
TableColumns: [
|
|
|
{
|
|
|
- item: { title: "条款编码", key: "code", width: "auto" },
|
|
|
+ item: { title: "条款编码", width:100,key: "code", width: "auto" },
|
|
|
attr: { is: "el-input" },
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "条款名称", key: "name", width: "auto" },
|
|
|
+ item: { title: "条款名称", width:100,key: "name", width: "auto" },
|
|
|
attr: { is: "el-input" },
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "条款内容", key: "content", width: "auto" },
|
|
|
+ item: { title: "条款内容", width:100,key: "content", width: "auto" },
|
|
|
attr: { is: "el-input" },
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "变量序号", key: "variableRowno", width: "auto" },
|
|
|
+ item: { title: "变量序号", width:100,key: "variableRowno", width: "auto" },
|
|
|
attr: { is: "el-input" },
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "变量内容", key: "variableContent", width: "auto" },
|
|
|
+ item: { title: "变量内容", width:100,key: "variableContent", width: "auto" },
|
|
|
attr: { is: "el-input" },
|
|
|
},
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "合同费用", key: "contractExpenseList" },
|
|
|
+ item: { title: "合同费用", width:100,key: "contractExpenseList" },
|
|
|
attr: {
|
|
|
value: [],
|
|
|
},
|
|
|
TableColumns: [
|
|
|
{
|
|
|
- item: { title: "费用编码", key: "code", width: "auto" },
|
|
|
+ item: { title: "费用编码", width:100,key: "code", width: "auto" },
|
|
|
attr: { is: "el-input" },
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "费用名称", key: "name", width: "auto" },
|
|
|
+ item: { title: "费用名称", width:100,key: "name", width: "auto" },
|
|
|
attr: { is: "el-input" },
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "费用金额", key: "money", width: "auto" },
|
|
|
+ item: { title: "费用金额", width:100,key: "money", width: "auto" },
|
|
|
attr: { is: "el-input-number", precision: CONFIG.precision },
|
|
|
},
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "付款协议信息", key: "contractAgreementList" },
|
|
|
+ item: { title: "付款协议信息", width:100,key: "contractAgreementList" },
|
|
|
attr: {
|
|
|
value: [],
|
|
|
},
|
|
|
TableColumns: [
|
|
|
{
|
|
|
- item: { title: "付款阶段", key: "satge" },
|
|
|
+ item: { title: "付款阶段", width:100,key: "satge" },
|
|
|
attr: { is: "el-input-number" },
|
|
|
},
|
|
|
{
|
|
|
item: {
|
|
|
title: "付款起点",
|
|
|
- key: "origin",
|
|
|
+ width:100,key: "origin",
|
|
|
require: true
|
|
|
},
|
|
|
attr: {
|
|
@@ -534,21 +534,21 @@ export default function useColumns() {
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "账期天数", key: "paymetDays" ,require: true, },
|
|
|
+ item: { title: "账期天数", width:100,key: "paymetDays" ,require: true, },
|
|
|
attr: {
|
|
|
is: "el-input-number",
|
|
|
precision: 2,
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "付款比例%", key: "ratio",require: true, },
|
|
|
+ item: { title: "付款比例%", width:100,key: "ratio",require: true, },
|
|
|
attr: {
|
|
|
is: "el-input-number",
|
|
|
precision: CONFIG.precision,
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "付款金额", key: "money" },
|
|
|
+ item: { title: "付款金额", width:100,key: "money" },
|
|
|
attr: {
|
|
|
is: "el-input-number",
|
|
|
precision: CONFIG.precision,
|
|
@@ -557,7 +557,7 @@ export default function useColumns() {
|
|
|
{
|
|
|
item: {
|
|
|
title: "是否预付款",
|
|
|
- key: "isAdvance",
|
|
|
+ width:100,key: "isAdvance",
|
|
|
},
|
|
|
attr: {
|
|
|
is: "el-select",
|
|
@@ -567,7 +567,7 @@ export default function useColumns() {
|
|
|
{
|
|
|
item: {
|
|
|
title: "是否质保金",
|
|
|
- key: "isQuality",
|
|
|
+ width:100,key: "isQuality",
|
|
|
},
|
|
|
attr: {
|
|
|
is: "el-select",
|
|
@@ -577,12 +577,12 @@ export default function useColumns() {
|
|
|
{
|
|
|
item: {
|
|
|
title: "结算方式",
|
|
|
- key: "paymentMeans",
|
|
|
+ width:100,key: "paymentMeans",
|
|
|
require:true,
|
|
|
},
|
|
|
attr: {
|
|
|
is: "el-popover-select-v2",
|
|
|
- valueKey: "name",
|
|
|
+ valuewidth:100,key: "name",
|
|
|
referName: "BALATYPE_PARAM",
|
|
|
dataMapping: {
|
|
|
paymentMeans: "name",
|
|
@@ -592,7 +592,7 @@ export default function useColumns() {
|
|
|
{
|
|
|
item: {
|
|
|
title: "需进度确认",
|
|
|
- key: "schedule",
|
|
|
+ width:100,key: "schedule",
|
|
|
},
|
|
|
attr: {
|
|
|
is: "el-select",
|
|
@@ -602,18 +602,18 @@ export default function useColumns() {
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
- item: { title: "合同执行组织范围", key: "contractApplyOrgList" },
|
|
|
+ item: { title: "合同执行组织范围", width:100,key: "contractApplyOrgList" },
|
|
|
attr: { value: [] },
|
|
|
TableColumns: [
|
|
|
{
|
|
|
item: {
|
|
|
title: "组织名称",
|
|
|
- key: "orgName",
|
|
|
+ width:100,key: "orgName",
|
|
|
width: "auto",
|
|
|
},
|
|
|
attr: {
|
|
|
is: "el-popover-select-v2",
|
|
|
- valueKey: "name",
|
|
|
+ valuewidth:100,key: "name",
|
|
|
referName: "ORG_PARAM",
|
|
|
dataMapping: {
|
|
|
org: "code",
|
|
@@ -621,7 +621,7 @@ export default function useColumns() {
|
|
|
},
|
|
|
},
|
|
|
},
|
|
|
- { item: { title: "组织编码", key: "org", width: "auto" }, attr: {} },
|
|
|
+ { item: { title: "组织编码", width:100,key: "org", width: "auto" }, attr: {} },
|
|
|
],
|
|
|
},
|
|
|
].map(({item,attr,TableColumns}) =>({
|