|
@@ -108,8 +108,9 @@ export const Columns = [
|
|
|
{
|
|
|
key: "contractFormat",
|
|
|
title: "合同格式",
|
|
|
- inputType: "Input",
|
|
|
+ inputType: "Select",
|
|
|
require: true,
|
|
|
+ referName: "puarchase_contract_contract_format",
|
|
|
},
|
|
|
{
|
|
|
key: "productName",
|
|
@@ -246,21 +247,21 @@ export const Columns = [
|
|
|
title: "对外附件",
|
|
|
inputType: "Upload",
|
|
|
span: 24,
|
|
|
- fileType: ["pdf", "xls"],
|
|
|
+ fileType: ["pdf"],
|
|
|
},
|
|
|
{
|
|
|
key: "puFile",
|
|
|
title: "采购商盖章合同附件",
|
|
|
inputType: "Upload",
|
|
|
span: 24,
|
|
|
- fileType: ["pdf", "xls"],
|
|
|
+ fileType: ["pdf"],
|
|
|
},
|
|
|
{
|
|
|
key: "supplierFile",
|
|
|
title: "供应商盖章合同附件",
|
|
|
inputType: "Upload",
|
|
|
span: 24,
|
|
|
- fileType: ["pdf", "xls"],
|
|
|
+ fileType: ["pdf"],
|
|
|
},
|
|
|
{ key: "projectCode", title: "项目编号", inputType: "Input" },
|
|
|
{ key: "projectName", title: "项目名称", inputType: "Input" },
|
|
@@ -364,17 +365,24 @@ export const TabColumns = [
|
|
|
title: "采购数量",
|
|
|
key: "qty",
|
|
|
inputType: "InputNumber",
|
|
|
-
|
|
|
width: 200,
|
|
|
},
|
|
|
{
|
|
|
title: "含税单价",
|
|
|
key: "taxPrice",
|
|
|
inputType: "InputNumber",
|
|
|
-
|
|
|
width: 200,
|
|
|
},
|
|
|
- { title: "含税金额合计", key: "taxMoney", width: 200 },
|
|
|
+ {
|
|
|
+ title: "含税金额合计",
|
|
|
+ key: "taxMoney",
|
|
|
+ inputType: "ComputedInput",
|
|
|
+ width: 200,
|
|
|
+ computed: (prop) => {
|
|
|
+ const { qty, taxPrice } = prop;
|
|
|
+ return qty && taxPrice ? qty * taxPrice : null;
|
|
|
+ },
|
|
|
+ },
|
|
|
{ title: "无税单价", key: "taxFreePrice" },
|
|
|
{ title: "无税金额合计", key: "taxFreeMoney", width: 200 },
|
|
|
{
|
|
@@ -448,8 +456,20 @@ export const TabColumns = [
|
|
|
{ title: "账期天数", key: "paymetDays", inputType: "Input", width: 200 },
|
|
|
{ title: "付款比例%", key: "ratio", inputType: "Input", width: 200 },
|
|
|
{ title: "付款金额", key: "money", inputType: "Input", width: 200 },
|
|
|
- { title: "是否预付款", key: "isAdvance", width: 200 },
|
|
|
- { title: "是否质保金", key: "isQuality", width: 200 },
|
|
|
+ {
|
|
|
+ title: "是否预付款",
|
|
|
+ key: "isAdvance",
|
|
|
+ width: 200,
|
|
|
+ inputType: "Select",
|
|
|
+ referName: "sys_yes_no",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "是否质保金",
|
|
|
+ key: "isQuality",
|
|
|
+ width: 200,
|
|
|
+ inputType: "Select",
|
|
|
+ referName: "sys_yes_no",
|
|
|
+ },
|
|
|
{
|
|
|
title: "结算方式",
|
|
|
key: "paymentMeans",
|
|
@@ -474,8 +494,17 @@ export const TabColumns = [
|
|
|
title: "合同执行组织范围",
|
|
|
key: "contractApplyOrgList",
|
|
|
tableColumns: [
|
|
|
- { title: "组织名称", key: "orgName", inputType: "Input" },
|
|
|
- { title: "组织编码", key: "org", inputType: "Input" },
|
|
|
+ {
|
|
|
+ title: "组织名称",
|
|
|
+ key: "orgName",
|
|
|
+ inputType: "PopoverSelect",
|
|
|
+ referName: "ORG_PARAM",
|
|
|
+ dataMapping: {
|
|
|
+ org: "code",
|
|
|
+ orgName: "name",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ { title: "组织编码", key: "org" },
|
|
|
],
|
|
|
},
|
|
|
];
|