|
@@ -278,12 +278,18 @@ export const TabColumns = [
|
|
|
title: "价格有效期(起)",
|
|
|
inputType: "DatePicker",
|
|
|
valueFormat: "yyyy-MM-dd",
|
|
|
+ value: new Date(),
|
|
|
},
|
|
|
{
|
|
|
key: "periodEnd",
|
|
|
title: "价格有效期(止)",
|
|
|
inputType: "DatePicker",
|
|
|
valueFormat: "yyyy-MM-dd",
|
|
|
+ pickerOptions: {
|
|
|
+ disabledDate(time) {
|
|
|
+ return time.getTime() < Date.now() + 3600 * 1000 * 24 * 365;
|
|
|
+ },
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title: "客户名称",
|
|
@@ -301,18 +307,22 @@ export const TabColumns = [
|
|
|
key: "customer",
|
|
|
},
|
|
|
{
|
|
|
+ title: "最近价格",
|
|
|
+ key: "recentlyPrice",
|
|
|
+ },
|
|
|
+ {
|
|
|
title: "首次报批",
|
|
|
key: "isApprovalFirst",
|
|
|
width: 200,
|
|
|
inputType: "Select",
|
|
|
- referName: "sys_yes_no",
|
|
|
+ referName: "is_effective",
|
|
|
},
|
|
|
{
|
|
|
title: "价格调整",
|
|
|
key: "isPriceAdjustment",
|
|
|
width: 200,
|
|
|
inputType: "Select",
|
|
|
- referName: "sys_yes_no",
|
|
|
+ referName: "is_effective",
|
|
|
},
|
|
|
{
|
|
|
key: "priceType",
|
|
@@ -325,7 +335,7 @@ export const TabColumns = [
|
|
|
key: "isDistributionPrice",
|
|
|
width: 200,
|
|
|
inputType: "Select",
|
|
|
- referName: "sys_yes_no",
|
|
|
+ referName: "is_effective",
|
|
|
},
|
|
|
{
|
|
|
title: "创建人名称",
|