|
@@ -1,29 +1,56 @@
|
|
|
export const SearchColumns = [
|
|
|
{
|
|
|
+ item:{
|
|
|
+ key: "codes",
|
|
|
+ title: "物料编码",
|
|
|
+ },
|
|
|
+ attr:{
|
|
|
+ clearable:true,
|
|
|
+ is: "el-popover-multiple-select-v2",
|
|
|
+ valueKey: "code",
|
|
|
+ referName: "MATERIAL_PARAM",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ item:{
|
|
|
+ key: "name",
|
|
|
+ title: "物料名称",
|
|
|
+ },
|
|
|
+ attr:{
|
|
|
+ clearable:true,
|
|
|
+ is: "el-popover-select-v2",
|
|
|
+ valueKey: "name",
|
|
|
+ referName: "MATERIAL_PARAM",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
item: {
|
|
|
- key: "classifyIdName",
|
|
|
+ key: "classifys",
|
|
|
title: "物料分类",
|
|
|
},
|
|
|
attr: {
|
|
|
- is: "el-popover-tree-select",
|
|
|
+ is: "el-popover-multiple-tree-select",
|
|
|
referName: "MATERIALCLASSIFY_PARAM",
|
|
|
- valueKey: "name",
|
|
|
+ valueKey: "id",
|
|
|
clearable:true,
|
|
|
- dataMapping: {
|
|
|
- classifyId: "id",
|
|
|
- },
|
|
|
+ // dataMapping: {
|
|
|
+ // classifys: "id",
|
|
|
+ // },
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
item:{
|
|
|
- key: "codes",
|
|
|
- title: "物料编码",
|
|
|
+ key: "puPersonnelIdName",
|
|
|
+ title: "采购员",
|
|
|
},
|
|
|
- attr:{
|
|
|
+ attr: {
|
|
|
clearable:true,
|
|
|
- is: "el-popover-multiple-select-v2",
|
|
|
- valueKey: "code",
|
|
|
- referName: "MATERIAL_PARAM",
|
|
|
+ is: "el-popover-select-v2",
|
|
|
+ referName: "CONTACTS_PARAM",
|
|
|
+ valueKey: "name",
|
|
|
+ dataMapping: {
|
|
|
+ puPersonnelId: "code",
|
|
|
+ },
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -43,8 +70,19 @@ export const SearchColumns = [
|
|
|
},
|
|
|
{
|
|
|
item:{
|
|
|
+ key: "isEnable",
|
|
|
+ title: "启用状态",
|
|
|
+ },
|
|
|
+ attr:{
|
|
|
+ clearable:true,
|
|
|
+ is: "el-select",
|
|
|
+ dictName: "material_enable",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ item:{
|
|
|
key: "isMedicine",
|
|
|
- title: "医药物料",
|
|
|
+ title: "是否医药物料",
|
|
|
},
|
|
|
attr:{
|
|
|
clearable:true,
|
|
@@ -52,40 +90,93 @@ export const SearchColumns = [
|
|
|
dictName: "sys_number_yes_no",
|
|
|
},
|
|
|
},
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
{
|
|
|
item:{
|
|
|
- key: "name",
|
|
|
- title: "物料名称",
|
|
|
+ key: "medicalInstruments",
|
|
|
+ title: "医疗器械",
|
|
|
},
|
|
|
attr:{
|
|
|
clearable:true,
|
|
|
- is: "el-popover-select-v2",
|
|
|
- valueKey: "name",
|
|
|
- referName: "MATERIAL_PARAM",
|
|
|
+ is: "el-select",
|
|
|
+ dictName: "medical_instruments",
|
|
|
},
|
|
|
},
|
|
|
-
|
|
|
{
|
|
|
item:{
|
|
|
- key: "isEnable",
|
|
|
- title: "启用状态",
|
|
|
+ key: "specification",
|
|
|
+ title: "规格",
|
|
|
+ },
|
|
|
+ attr: {
|
|
|
+ clearable:true,
|
|
|
+ is: "el-input",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ item:{
|
|
|
+ key: "model",
|
|
|
+ title: "型号",
|
|
|
+ },
|
|
|
+ attr: {
|
|
|
+ clearable:true,
|
|
|
+ is: "el-input",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ // {
|
|
|
+ // item:{
|
|
|
+ // key: "model",
|
|
|
+ // title: "品牌",
|
|
|
+ // },
|
|
|
+ // attr: {
|
|
|
+ // clearable:true,
|
|
|
+ // is: "el-input",
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ {
|
|
|
+ item:{
|
|
|
+ key: "version",
|
|
|
+ title: "版本号",
|
|
|
+ },
|
|
|
+ attr: {
|
|
|
+ clearable:true,
|
|
|
+ is: "el-input",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ item:{
|
|
|
+ key: "registrant",
|
|
|
+ title: "注册人",
|
|
|
+ },
|
|
|
+ attr: {
|
|
|
+ clearable:true,
|
|
|
+ is: "el-input",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ item:{
|
|
|
+ key: "registrationNo",
|
|
|
+ title: "注册证号",
|
|
|
+ },
|
|
|
+ attr: {
|
|
|
+ clearable:true,
|
|
|
+ is: "el-input",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ item:{
|
|
|
+ key: "serialNoManager",
|
|
|
+ title: "是否序列号管理",
|
|
|
},
|
|
|
attr:{
|
|
|
clearable:true,
|
|
|
is: "el-select",
|
|
|
- dictName: "material_enable",
|
|
|
+ dictName: "sys_number_yes_no",
|
|
|
},
|
|
|
},
|
|
|
+
|
|
|
{
|
|
|
item:{
|
|
|
- key: "puPersonnelIdName",
|
|
|
- title: "采购员",
|
|
|
+ key: "createByName",
|
|
|
+ title: "创建人",
|
|
|
},
|
|
|
attr: {
|
|
|
clearable:true,
|
|
@@ -93,12 +184,114 @@ export const SearchColumns = [
|
|
|
referName: "CONTACTS_PARAM",
|
|
|
valueKey: "name",
|
|
|
dataMapping: {
|
|
|
- puPersonnelId: "code",
|
|
|
+ createBy: "code",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ item:{
|
|
|
+ key: "updateByName",
|
|
|
+ title: "最后修改人",
|
|
|
+ },
|
|
|
+ attr: {
|
|
|
+ clearable:true,
|
|
|
+ is: "el-popover-select-v2",
|
|
|
+ referName: "CONTACTS_PARAM",
|
|
|
+ valueKey: "name",
|
|
|
+ dataMapping: {
|
|
|
+ updateBy: "code",
|
|
|
},
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
item:{
|
|
|
+ key: "createTimeQueue",
|
|
|
+ title: "创建时间",
|
|
|
+ span:12,
|
|
|
+ },
|
|
|
+ attr: {
|
|
|
+ clearable:true,
|
|
|
+ is: "el-date-wrapper",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ // {
|
|
|
+ // item:{
|
|
|
+ // key: "createTimeEnd",
|
|
|
+ // title: "创建时间结束",
|
|
|
+ // },
|
|
|
+ // attr: {
|
|
|
+ // clearable:true,
|
|
|
+ // is: "el-input",
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ {
|
|
|
+ item:{
|
|
|
+ key: "updateTimeQueue",
|
|
|
+ title: "修改时间",
|
|
|
+ span:12,
|
|
|
+ },
|
|
|
+ attr: {
|
|
|
+ clearable:true,
|
|
|
+ is: "el-date-wrapper",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ // {
|
|
|
+ // item:{
|
|
|
+ // key: "updateTimeBegin",
|
|
|
+ // title: "最后修改时间开始",
|
|
|
+ // },
|
|
|
+ // attr: {
|
|
|
+ // clearable:true,
|
|
|
+ // is: "el-input",
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // item:{
|
|
|
+ // key: "updateTimeEnd",
|
|
|
+ // title: "最后修改时间结束",
|
|
|
+ // },
|
|
|
+ // attr: {
|
|
|
+ // clearable:true,
|
|
|
+ // is: "el-input",
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+];
|
|
|
+
|
|
|
+export const OtherDictColumns = [
|
|
|
+ {
|
|
|
+ item:{
|
|
|
+ key:"expiryUnitId",
|
|
|
+ title:'效期单位',
|
|
|
+ },
|
|
|
+ attr:{
|
|
|
+ is: "el-select",
|
|
|
+ dictName: "period_unit",
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ item:{
|
|
|
+ key:'usefulLifeUnitId',
|
|
|
+ title:'有效期至单位',
|
|
|
+ },
|
|
|
+ attr:{
|
|
|
+ is: "el-select",
|
|
|
+ dictName: "expiry_date",
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+
|
|
|
+ {
|
|
|
+ item:{
|
|
|
key: "registrant",
|
|
|
title: "注册人/上市许可持有人",
|
|
|
},
|
|
@@ -153,28 +346,5 @@ export const SearchColumns = [
|
|
|
dictName: "abc_type",
|
|
|
}
|
|
|
},
|
|
|
-];
|
|
|
-
|
|
|
-export const OtherDictColumns = [
|
|
|
- {
|
|
|
- item:{
|
|
|
- key:"expiryUnitId",
|
|
|
- title:'效期单位',
|
|
|
- },
|
|
|
- attr:{
|
|
|
- is: "el-select",
|
|
|
- dictName: "period_unit",
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- item:{
|
|
|
- key:'usefulLifeUnitId',
|
|
|
- title:'有效期至单位',
|
|
|
- },
|
|
|
- attr:{
|
|
|
- is: "el-select",
|
|
|
- dictName: "expiry_date",
|
|
|
- }
|
|
|
- },
|
|
|
|
|
|
]
|