|
@@ -4,378 +4,404 @@ import { rules} from '/@/utils/helper/validator';
|
|
|
import { render } from '/@/utils/common/renderUtils';
|
|
|
import {JVxeTypes,JVxeColumn} from '/@/components/jeecg/JVxeTable/types'
|
|
|
import { getWeekMonthQuarterYear } from '/@/utils';
|
|
|
+import { uploadUrl } from '/@/api/common/api';
|
|
|
//列表数据
|
|
|
export const columns: BasicColumn[] = [
|
|
|
{
|
|
|
- title: '状态(1-启用,0-停用)',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'status_dictText'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '编码',
|
|
|
+ title: '编码(code)',
|
|
|
align:"center",
|
|
|
dataIndex: 'code'
|
|
|
},
|
|
|
{
|
|
|
- title: '名称',
|
|
|
+ title: '名称(name)',
|
|
|
align:"center",
|
|
|
dataIndex: 'name'
|
|
|
},
|
|
|
{
|
|
|
- title: '简称',
|
|
|
+ title: '简称(abbreviation)',
|
|
|
align:"center",
|
|
|
dataIndex: 'abbreviation'
|
|
|
},
|
|
|
{
|
|
|
- title: '曾用名',
|
|
|
+ title: '供应商性质(supplier nature)',
|
|
|
align:"center",
|
|
|
- dataIndex: 'nameUsedBefore'
|
|
|
+ dataIndex: 'supplierNature_dictText'
|
|
|
},
|
|
|
{
|
|
|
- title: '税号',
|
|
|
+ title: '税号(duty paragraph)',
|
|
|
align:"center",
|
|
|
dataIndex: 'dutyParagraph'
|
|
|
},
|
|
|
{
|
|
|
- title: '法人',
|
|
|
+ title: '法人(legal person)',
|
|
|
align:"center",
|
|
|
dataIndex: 'legalPerson'
|
|
|
},
|
|
|
{
|
|
|
- title: '联系人',
|
|
|
+ title: '联系人(contacts)',
|
|
|
align:"center",
|
|
|
dataIndex: 'contacts'
|
|
|
},
|
|
|
{
|
|
|
- title: '联系电话',
|
|
|
+ title: '联系电话(phone)',
|
|
|
align:"center",
|
|
|
dataIndex: 'phone'
|
|
|
},
|
|
|
{
|
|
|
- title: '邮箱',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'email'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '注册地址',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'registerAddress'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '公司地址',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'address'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '供应商性质',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'supplierNature_dictText'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '国家',
|
|
|
+ title: '国家(country)',
|
|
|
align:"center",
|
|
|
dataIndex: 'country_dictText'
|
|
|
},
|
|
|
{
|
|
|
- title: '币种',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'currency'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '国外供应商',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'abroadSupplier'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '原厂',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'originalFactory_dictText'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '开户行',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'openingBank'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '付款条件',
|
|
|
+ title: '付款条件(payment terms)',
|
|
|
align:"center",
|
|
|
dataIndex: 'paymentTerms_dictText'
|
|
|
},
|
|
|
{
|
|
|
- title: '银行代码',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'swiftCode'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '银行帐号',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'bankAccount'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '营业执照',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'businessLicense'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '其他文件',
|
|
|
+ title: '原厂(original factory)',
|
|
|
align:"center",
|
|
|
- dataIndex: 'otherFiles'
|
|
|
+ dataIndex: 'originalFactory_dictText'
|
|
|
},
|
|
|
{
|
|
|
- title: '备注',
|
|
|
+ title: '状态(status)',
|
|
|
align:"center",
|
|
|
- dataIndex: 'notes'
|
|
|
+ dataIndex: 'status_dictText'
|
|
|
},
|
|
|
{
|
|
|
- title: '临时供应商',
|
|
|
+ title: '考评等级(evaluation level)',
|
|
|
align:"center",
|
|
|
- dataIndex: 'temporarySupplier_dictText'
|
|
|
+ dataIndex: 'evaluationLevel_dictText'
|
|
|
},
|
|
|
{
|
|
|
- title: '供应商等级',
|
|
|
+ title: '临时供应商(temporary supplier)',
|
|
|
align:"center",
|
|
|
- dataIndex: 'evaluationLevel_dictText'
|
|
|
+ dataIndex: 'temporarySupplier',
|
|
|
+ customRender:function (t, r, index) {
|
|
|
+ if(t.text==1){
|
|
|
+ return '申请中(application in progress)'
|
|
|
+ }else if(t.text==0){
|
|
|
+ return '是(yes)'
|
|
|
+ }else if(t.text==2){
|
|
|
+ return '否'
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
+
|
|
|
];
|
|
|
//查询数据
|
|
|
export const searchFormSchema: FormSchema[] = [
|
|
|
{
|
|
|
- label: "状态(1-启用,0-停用)",
|
|
|
- field: "status",
|
|
|
- component: 'JSelectMultiple',
|
|
|
- componentProps:{
|
|
|
- },
|
|
|
- //colProps: {span: 6},
|
|
|
- },
|
|
|
- {
|
|
|
- label: "编码",
|
|
|
+ label: "编码(code)",
|
|
|
field: "code",
|
|
|
component: 'Input',
|
|
|
+ labelWidth: 150,
|
|
|
//colProps: {span: 6},
|
|
|
},
|
|
|
{
|
|
|
- label: "名称",
|
|
|
+ label: "名称(name)",
|
|
|
field: "name",
|
|
|
component: 'Input',
|
|
|
+ labelWidth: 150,
|
|
|
//colProps: {span: 6},
|
|
|
},
|
|
|
{
|
|
|
- label: "简称",
|
|
|
+ label: "简称(abbreviation)",
|
|
|
field: "abbreviation",
|
|
|
component: 'Input',
|
|
|
+ labelWidth: 180,
|
|
|
//colProps: {span: 6},
|
|
|
},
|
|
|
{
|
|
|
- label: "税号",
|
|
|
+ label: "税号(dutyParagraph)",
|
|
|
field: "dutyParagraph",
|
|
|
component: 'Input',
|
|
|
+ labelWidth: 150,
|
|
|
//colProps: {span: 6},
|
|
|
},
|
|
|
{
|
|
|
- label: "联系人",
|
|
|
+ label: "联系人(contacts)",
|
|
|
field: "contacts",
|
|
|
component: 'Input',
|
|
|
+ labelWidth: 150,
|
|
|
//colProps: {span: 6},
|
|
|
},
|
|
|
{
|
|
|
- label: "联系电话",
|
|
|
+ label: "联系电话(phone)",
|
|
|
field: "phone",
|
|
|
component: 'Input',
|
|
|
+ labelWidth: 150,
|
|
|
//colProps: {span: 6},
|
|
|
},
|
|
|
{
|
|
|
- label: "供应商性质",
|
|
|
- field: "supplierNature",
|
|
|
+ label: "付款条件(payment terms)",
|
|
|
+ field: "paymentTerms",
|
|
|
component: 'JSelectMultiple',
|
|
|
+ labelWidth: 180,
|
|
|
componentProps:{
|
|
|
+ dictCode:"payment_terms"
|
|
|
},
|
|
|
//colProps: {span: 6},
|
|
|
},
|
|
|
{
|
|
|
- label: "国家",
|
|
|
+ label: "国家(country)",
|
|
|
field: "country",
|
|
|
component: 'JSelectMultiple',
|
|
|
+ labelWidth: 150,
|
|
|
componentProps:{
|
|
|
+ dictCode: 'country'
|
|
|
},
|
|
|
//colProps: {span: 6},
|
|
|
},
|
|
|
- {
|
|
|
- label: "原厂",
|
|
|
- field: "originalFactory",
|
|
|
+ {
|
|
|
+ label: "考评评级(evaluation level)",
|
|
|
+ field: "evaluationLevel",
|
|
|
component: 'JSelectMultiple',
|
|
|
+ labelWidth: 180,
|
|
|
componentProps:{
|
|
|
+ dictCode:"grade"
|
|
|
},
|
|
|
//colProps: {span: 6},
|
|
|
- },
|
|
|
- {
|
|
|
- label: "临时供应商",
|
|
|
- field: "temporarySupplier",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "原厂(original factory)",
|
|
|
+ field: "originalFactory",
|
|
|
+ component: 'JSelectMultiple',
|
|
|
+ labelWidth: 150,
|
|
|
+ componentProps:{
|
|
|
+ dictCode: "yes_or_no"
|
|
|
+ },
|
|
|
+ //colProps: {span: 6},
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "供应商性质(supplier nature)",
|
|
|
+ field: "supplierNature",
|
|
|
+ component: 'JSelectMultiple',
|
|
|
+ labelWidth: 180,
|
|
|
+ componentProps:{
|
|
|
+ dictCode: "supplier_nature"
|
|
|
+ },
|
|
|
+ //colProps: {span: 6},
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ label: "状态(status)",
|
|
|
+ field: "status",
|
|
|
+ labelWidth: 150,
|
|
|
component: 'JSelectMultiple',
|
|
|
componentProps:{
|
|
|
+ dictCode: "valid_status"
|
|
|
},
|
|
|
//colProps: {span: 6},
|
|
|
- },
|
|
|
+ },
|
|
|
{
|
|
|
- label: "供应商等级",
|
|
|
- field: "evaluationLevel",
|
|
|
+ label: "临时供应商(temporary supplier)",
|
|
|
+ field: "temporarySupplier",
|
|
|
component: 'JSelectMultiple',
|
|
|
+ labelWidth: 210,
|
|
|
componentProps:{
|
|
|
+ dictCode: "should_apply"
|
|
|
},
|
|
|
//colProps: {span: 6},
|
|
|
},
|
|
|
+
|
|
|
];
|
|
|
//表单数据
|
|
|
export const formSchema: FormSchema[] = [
|
|
|
{
|
|
|
- label: '状态(1-启用,0-停用)',
|
|
|
- field: 'status',
|
|
|
- component: 'JDictSelectTag',
|
|
|
- componentProps:{
|
|
|
- dictCode:""
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- label: '编码',
|
|
|
+ label: '编码(code)',
|
|
|
field: 'code',
|
|
|
component: 'Input',
|
|
|
+ colProps: {span: 12},
|
|
|
},
|
|
|
{
|
|
|
- label: '名称',
|
|
|
+ label: '名称(name)',
|
|
|
field: 'name',
|
|
|
+ colProps: {span: 12},
|
|
|
component: 'Input',
|
|
|
+ labelWidth: 200,
|
|
|
},
|
|
|
{
|
|
|
- label: '简称',
|
|
|
+ label: '简称(abbreviation)',
|
|
|
field: 'abbreviation',
|
|
|
+ colProps: {span: 12},
|
|
|
component: 'Input',
|
|
|
},
|
|
|
{
|
|
|
- label: '曾用名',
|
|
|
+ label: '曾用名(name used before)',
|
|
|
field: 'nameUsedBefore',
|
|
|
+ colProps: {span: 12},
|
|
|
component: 'Input',
|
|
|
+ labelWidth: 200,
|
|
|
},
|
|
|
{
|
|
|
- label: '税号',
|
|
|
+ label: '税号(duty paragraph)',
|
|
|
field: 'dutyParagraph',
|
|
|
+ colProps: {span: 12},
|
|
|
component: 'Input',
|
|
|
},
|
|
|
{
|
|
|
- label: '法人',
|
|
|
+ label: '法人(legal person)',
|
|
|
field: 'legalPerson',
|
|
|
+ colProps: {span: 12},
|
|
|
component: 'Input',
|
|
|
+ labelWidth: 200,
|
|
|
},
|
|
|
{
|
|
|
- label: '联系人',
|
|
|
+ label: '联系人(contacts)',
|
|
|
field: 'contacts',
|
|
|
+ colProps: {span: 12},
|
|
|
component: 'Input',
|
|
|
},
|
|
|
{
|
|
|
- label: '联系电话',
|
|
|
+ label: '联系电话(phone)',
|
|
|
field: 'phone',
|
|
|
+ colProps: {span: 12},
|
|
|
component: 'Input',
|
|
|
+ labelWidth: 200,
|
|
|
},
|
|
|
{
|
|
|
- label: '邮箱',
|
|
|
+ label: '邮箱(email)',
|
|
|
field: 'email',
|
|
|
+ colProps: {span: 12},
|
|
|
component: 'Input',
|
|
|
},
|
|
|
{
|
|
|
- label: '注册地址',
|
|
|
+ label: '注册地址(register address)',
|
|
|
field: 'registerAddress',
|
|
|
+ colProps: {span: 12},
|
|
|
component: 'Input',
|
|
|
+ labelWidth: 200,
|
|
|
},
|
|
|
{
|
|
|
- label: '公司地址',
|
|
|
+ label: '公司地址(address)',
|
|
|
field: 'address',
|
|
|
+ colProps: {span: 12},
|
|
|
component: 'Input',
|
|
|
},
|
|
|
{
|
|
|
- label: '供应商性质',
|
|
|
+ label: '供应商性质(supplier nature)',
|
|
|
field: 'supplierNature',
|
|
|
+ colProps: {span: 12},
|
|
|
+ labelWidth: 200,
|
|
|
component: 'JDictSelectTag',
|
|
|
componentProps:{
|
|
|
- dictCode:""
|
|
|
+ dictCode:"supplier_nature"
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- label: '国家',
|
|
|
+ label: '国家(country)',
|
|
|
field: 'country',
|
|
|
+ colProps: {span: 12},
|
|
|
component: 'JDictSelectTag',
|
|
|
componentProps:{
|
|
|
- dictCode:""
|
|
|
+ dictCode:"country"
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- label: '币种',
|
|
|
- field: 'currency',
|
|
|
- component: 'Input',
|
|
|
+ label: '国外供应商(abroad supplier)',
|
|
|
+ field: 'abroadSupplier',
|
|
|
+ colProps: {span: 12},
|
|
|
+ component: 'JDictSelectTag',
|
|
|
+ componentProps:{
|
|
|
+ dictCode:"yes_or_no",
|
|
|
+ stringToNumber: true,
|
|
|
+ },
|
|
|
+ labelWidth: 200,
|
|
|
},
|
|
|
{
|
|
|
- label: '国外供应商',
|
|
|
- field: 'abroadSupplier',
|
|
|
- component: 'InputNumber',
|
|
|
+ label: '币种(currency)',
|
|
|
+ field: 'currency',
|
|
|
+ colProps: {span: 12},
|
|
|
+ component: 'JDictSelectTag',
|
|
|
+ componentProps:{
|
|
|
+ dictCode:"currency "
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
- label: '原厂',
|
|
|
+ label: '原厂(original factory)',
|
|
|
field: 'originalFactory',
|
|
|
+ colProps: {span: 12},
|
|
|
+ labelWidth: 200,
|
|
|
component: 'JDictSelectTag',
|
|
|
componentProps:{
|
|
|
- dictCode:""
|
|
|
+ dictCode:"yes_or_no",
|
|
|
+ stringToNumber: true,
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- label: '开户行',
|
|
|
+ label: '开户行(opening bank)',
|
|
|
field: 'openingBank',
|
|
|
+ colProps: {span: 12},
|
|
|
component: 'Input',
|
|
|
},
|
|
|
{
|
|
|
- label: '付款条件',
|
|
|
+ label: '付款条件(payment terms)',
|
|
|
field: 'paymentTerms',
|
|
|
+ colProps: {span: 12},
|
|
|
+ labelWidth: 200,
|
|
|
component: 'JDictSelectTag',
|
|
|
componentProps:{
|
|
|
- dictCode:""
|
|
|
+ dictCode:"payment_terms"
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- label: '银行代码',
|
|
|
- field: 'swiftCode',
|
|
|
- component: 'Input',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '银行帐号',
|
|
|
- field: 'bankAccount',
|
|
|
+ label: '户名(opening name)',
|
|
|
+ field: 'openingName',
|
|
|
+ colProps: {span: 12},
|
|
|
component: 'Input',
|
|
|
},
|
|
|
{
|
|
|
- label: '营业执照',
|
|
|
- field: 'businessLicense',
|
|
|
+ label: '银行代码(swift code)',
|
|
|
+ field: 'swiftCode',
|
|
|
+ labelWidth: 200,
|
|
|
+ colProps: {span: 12},
|
|
|
component: 'Input',
|
|
|
},
|
|
|
{
|
|
|
- label: '其他文件',
|
|
|
- field: 'otherFiles',
|
|
|
+ label: '备注(notes)',
|
|
|
+ field: 'notes',
|
|
|
+ colProps: {span: 12},
|
|
|
component: 'Input',
|
|
|
},
|
|
|
{
|
|
|
- label: '备注',
|
|
|
- field: 'notes',
|
|
|
+ label: '银行帐号(bank account)',
|
|
|
+ field: 'bankAccount',
|
|
|
+ colProps: {span: 12},
|
|
|
+ labelWidth: 200,
|
|
|
component: 'Input',
|
|
|
},
|
|
|
{
|
|
|
- label: '临时供应商',
|
|
|
- field: 'temporarySupplier',
|
|
|
+ label: '状态(status)',
|
|
|
+ field: 'status',
|
|
|
+ colProps: {span: 12},
|
|
|
component: 'JDictSelectTag',
|
|
|
componentProps:{
|
|
|
- dictCode:""
|
|
|
+ dictCode:"valid_status",
|
|
|
+ stringToNumber: true,
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- label: '供应商等级',
|
|
|
- field: 'evaluationLevel',
|
|
|
- component: 'JDictSelectTag',
|
|
|
- componentProps:{
|
|
|
- dictCode:""
|
|
|
- },
|
|
|
+ label: '营业执照(business license)',
|
|
|
+ field: 'businessLicense',
|
|
|
+ colProps: {span: 6},
|
|
|
+ labelWidth: 200,
|
|
|
+ component: 'JUpload',
|
|
|
+ componentProps: {
|
|
|
+ //是否显示选择按钮
|
|
|
+ text: '上传',
|
|
|
+ //最大上传数
|
|
|
+ maxCount: 1,
|
|
|
+ //是否显示下载按钮
|
|
|
+ download: true,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '其他文件(other files)',
|
|
|
+ field: 'otherFiles',
|
|
|
+ colProps: {span: 6},
|
|
|
+ labelWidth: 200,
|
|
|
+ component: 'JUpload',
|
|
|
},
|
|
|
// TODO 主键隐藏字段,目前写死为ID
|
|
|
{
|
|
@@ -389,97 +415,57 @@ export const formSchema: FormSchema[] = [
|
|
|
//子表表格配置
|
|
|
export const cuspSupplierProfileManColumns: JVxeColumn[] = [
|
|
|
{
|
|
|
- title: '状态(1-启用,0-停用)',
|
|
|
- key: 'status',
|
|
|
- type: JVxeTypes.inputNumber,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '主表主键(供应商档案)',
|
|
|
- key: 'headId',
|
|
|
- type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '编码',
|
|
|
- key: 'code',
|
|
|
- type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '姓名',
|
|
|
+ title: '姓名(name)',
|
|
|
key: 'name',
|
|
|
type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
placeholder: '请输入${title}',
|
|
|
defaultValue:'',
|
|
|
},
|
|
|
{
|
|
|
- title: '电话',
|
|
|
+ title: '电话(mobile)',
|
|
|
key: 'mobile',
|
|
|
type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
placeholder: '请输入${title}',
|
|
|
defaultValue:'',
|
|
|
},
|
|
|
{
|
|
|
- title: '邮箱',
|
|
|
+ title: '邮箱(email)',
|
|
|
key: 'email',
|
|
|
type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
placeholder: '请输入${title}',
|
|
|
defaultValue:'',
|
|
|
},
|
|
|
{
|
|
|
- title: '职位',
|
|
|
+ title: '职位(position)',
|
|
|
key: 'position',
|
|
|
type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
placeholder: '请输入${title}',
|
|
|
defaultValue:'',
|
|
|
},
|
|
|
- ]
|
|
|
-export const cuspSupplierProfileQualificationColumns: JVxeColumn[] = [
|
|
|
{
|
|
|
- title: '状态(1-启用,0-停用)',
|
|
|
- key: 'status',
|
|
|
- type: JVxeTypes.inputNumber,
|
|
|
+ title: '操作(operation)',
|
|
|
+ key: 'action',
|
|
|
width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '主表主键(供应商档案)',
|
|
|
- key: 'headId',
|
|
|
- type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
+ // 固定在右侧
|
|
|
+ fixed: 'right',
|
|
|
+ // 对齐方式为居中
|
|
|
+ align: 'center',
|
|
|
+ // 组件类型定义为【插槽】
|
|
|
+ type: JVxeTypes.slot,
|
|
|
+ // slot 的名称,对应 v-slot 冒号后面和等号前面的内容
|
|
|
+ slotName: 'action',
|
|
|
},
|
|
|
+ ]
|
|
|
+export const cuspSupplierProfileQualificationColumns: JVxeColumn[] = [
|
|
|
{
|
|
|
- title: '资质证书名称',
|
|
|
+ title: '资质证书名称(qualification certificate name)',
|
|
|
key: 'qualificationCertificateName',
|
|
|
type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
placeholder: '请输入${title}',
|
|
|
defaultValue:'',
|
|
|
- },
|
|
|
+ },
|
|
|
{
|
|
|
- title: '资质证书编码',
|
|
|
- key: 'qualificationCertificateCode',
|
|
|
- type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '有效期始',
|
|
|
+ title: '有效期始(valid begin)',
|
|
|
key: 'validBegin',
|
|
|
type: JVxeTypes.datetime,
|
|
|
width:"200px",
|
|
@@ -487,7 +473,7 @@ export const cuspSupplierProfileQualificationColumns: JVxeColumn[] = [
|
|
|
defaultValue:'',
|
|
|
},
|
|
|
{
|
|
|
- title: '有效期止',
|
|
|
+ title: '有效期止(valid end)',
|
|
|
key: 'validEnd',
|
|
|
type: JVxeTypes.datetime,
|
|
|
width:"200px",
|
|
@@ -495,20 +481,35 @@ export const cuspSupplierProfileQualificationColumns: JVxeColumn[] = [
|
|
|
defaultValue:'',
|
|
|
},
|
|
|
{
|
|
|
- title: '资质证书附件',
|
|
|
+ title: '资质证书附件(qualification certificate)',
|
|
|
key: 'qualificationCertificate',
|
|
|
- type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
+ type: JVxeTypes.upload,
|
|
|
+ btnText: '点击上传',
|
|
|
+ token: true,
|
|
|
+ responseName: 'message',
|
|
|
+ action: uploadUrl,
|
|
|
},
|
|
|
{
|
|
|
title: '临期提醒',
|
|
|
key: 'deadlineReminder',
|
|
|
- type: JVxeTypes.inputNumber,
|
|
|
+ type: JVxeTypes.select,
|
|
|
+ options: [],
|
|
|
+ dictCode: 'yes_or_no',
|
|
|
+ stringToNumber: true,
|
|
|
+ placeholder: '请选择',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '操作(operation)',
|
|
|
+ key: 'action',
|
|
|
width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
+ // 固定在右侧
|
|
|
+ fixed: 'right',
|
|
|
+ // 对齐方式为居中
|
|
|
+ align: 'center',
|
|
|
+ // 组件类型定义为【插槽】
|
|
|
+ type: JVxeTypes.slot,
|
|
|
+ // slot 的名称,对应 v-slot 冒号后面和等号前面的内容
|
|
|
+ slotName: 'action',
|
|
|
},
|
|
|
]
|
|
|
|