|
@ -85,7 +85,6 @@ |
|
|
:DrawerLoading="Loading.DrawerLoading" |
|
|
:DrawerLoading="Loading.DrawerLoading" |
|
|
:drawer="displayDialog.detailsDialog" |
|
|
:drawer="displayDialog.detailsDialog" |
|
|
:propsData="propsData" |
|
|
:propsData="propsData" |
|
|
:Butttondata="[]" |
|
|
|
|
|
:tabsDesTions="tabsDesTions" |
|
|
:tabsDesTions="tabsDesTions" |
|
|
:tableLoading="tableLoading" |
|
|
:tableLoading="tableLoading" |
|
|
:dropdownTabsData="dropdownTabsData" |
|
|
:dropdownTabsData="dropdownTabsData" |
|
@ -206,13 +205,15 @@ export default { |
|
|
editOptions: {}, |
|
|
editOptions: {}, |
|
|
CreateForm: [ |
|
|
CreateForm: [ |
|
|
{ type: "input", label: _Names.itemCode, prop: 'code', colSpan: 12, validType:'numberLetter' }, |
|
|
{ type: "input", label: _Names.itemCode, prop: 'code', colSpan: 12, validType:'numberLetter' }, |
|
|
{ type: "input", label: "物品名称", prop: "name", colSpan: 12 }, |
|
|
{ type: "input", label: _Names.itemName, prop: "name", colSpan: 12 }, |
|
|
{ type: "input", label: "物品描述1", prop: "desc1", colSpan: 12 }, |
|
|
{ type: "input", label: _Names.itemDesc1, prop: "desc1", colSpan: 12 }, |
|
|
{ type: "input", label: "物品描述2", prop: "desc2", colSpan: 12 }, |
|
|
{ type: "input", label: _Names.itemDesc2, prop: "desc2", colSpan: 12 }, |
|
|
{ type: "select", label: "状态", prop: "status", options: "itemStatus", colSpan: 12 }, |
|
|
{ type: "input", label: "配置", prop: 'configuration', colSpan: 12 }, |
|
|
{ type: "filterSelect", label: "基本计量单位", prop: "basicUom", optionsLabel: "description", optionsValue: "name", |
|
|
{ type: "filterSelect", label: "基本计量单位", prop: "basicUom", optionsLabel: "description", optionsValue: "name", |
|
|
focus: (type,val) => { return this.getFilterList(type, val, "basedata/uom")}, |
|
|
focus: (type,val) => { return this.getFilterList(type, val, "basedata/uom")}, |
|
|
searchButton: (val) => { this.showSerarchPage(val, 'basedata/uom', 'Uom', '计量单位选择', this.CreateFormData) }, colSpan: 12 }, |
|
|
searchButton: (val) => { this.showSerarchPage(val, 'basedata/uom', 'Uom', '计量单位选择', this.CreateFormData) }, colSpan: 12 }, |
|
|
|
|
|
{ type: "input", label: "种类", prop: 'category', colSpan: 12 }, |
|
|
|
|
|
{ type: "select", label: "状态", prop: "status", options: "itemStatus", colSpan: 12 }, |
|
|
{ type: "select", label: "ABC类", prop: "abcClass", options: "abcClass", clearable: true, filterable: true, allowCreate: true, colSpan: 12 }, |
|
|
{ type: "select", label: "ABC类", prop: "abcClass", options: "abcClass", clearable: true, filterable: true, allowCreate: true, colSpan: 12 }, |
|
|
{ type: "select", label: "制造件", prop: "canMake", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "制造件", prop: "canMake", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "采购件", prop: "canBuy", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "采购件", prop: "canBuy", options: "whetherOrNot", colSpan: 12 }, |
|
@ -228,9 +229,7 @@ export default { |
|
|
// { type: "input", label: "Elevel", prop: 'elevel', colSpan: 12 }, |
|
|
// { type: "input", label: "Elevel", prop: 'elevel', colSpan: 12 }, |
|
|
// { type: "input", label: "颜色", prop: 'color', colSpan: 12 }, |
|
|
// { type: "input", label: "颜色", prop: 'color', colSpan: 12 }, |
|
|
{ label: "类型", prop: 'type', type: "select", options: "ItemTypeBasic", colSpan: 12 }, |
|
|
{ label: "类型", prop: 'type', type: "select", options: "ItemTypeBasic", colSpan: 12 }, |
|
|
{ type: "input", label: "种类", prop: 'category', colSpan: 12 }, |
|
|
|
|
|
// { type: "input", label: "分组", prop: 'group', colSpan: 12 }, |
|
|
// { type: "input", label: "分组", prop: 'group', colSpan: 12 }, |
|
|
{ type: "input", label: "配置", prop: 'configuration', colSpan: 12 }, |
|
|
|
|
|
// { type: "input", label: "版本", prop: 'version', colSpan: 12 }, |
|
|
// { type: "input", label: "版本", prop: 'version', colSpan: 12 }, |
|
|
// { type: "input", label: "工程变革", prop: 'eco', colSpan: 12 }, |
|
|
// { type: "input", label: "工程变革", prop: 'eco', colSpan: 12 }, |
|
|
{ type: "select", label: "是否虚拟物件", prop: "isPhantom", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否虚拟物件", prop: "isPhantom", options: "whetherOrNot", colSpan: 12 }, |
|
@ -239,13 +238,15 @@ export default { |
|
|
], |
|
|
], |
|
|
editForm: [ |
|
|
editForm: [ |
|
|
{ type: "input", label: _Names.itemCode, prop: 'code', disabled: true, colSpan: 12, validType:'numberLetter' }, |
|
|
{ type: "input", label: _Names.itemCode, prop: 'code', disabled: true, colSpan: 12, validType:'numberLetter' }, |
|
|
{ type: "input", label: "物品名称", prop: "name", colSpan: 12 }, |
|
|
{ type: "input", label: _Names.itemName, prop: "name", colSpan: 12 }, |
|
|
{ type: "input", label: "物品描述1", prop: "desc1", colSpan: 12 }, |
|
|
{ type: "input", label: _Names.itemDesc1, prop: "desc1", colSpan: 12 }, |
|
|
{ type: "input", label: "物品描述2", prop: "desc2", colSpan: 12 }, |
|
|
{ type: "input", label: _Names.itemDesc2, prop: "desc2", colSpan: 12 }, |
|
|
{ type: "select", label: "状态", prop: "status", options: "itemStatus", colSpan: 12 }, |
|
|
{ type: "input", label: "配置", prop: 'configuration', colSpan: 12 }, |
|
|
{ type: "filterSelect", label: "基本计量单位", prop: "basicUom", optionsLabel: "description", optionsValue: "name", |
|
|
{ type: "filterSelect", label: "基本计量单位", prop: "basicUom", optionsLabel: "description", optionsValue: "name", |
|
|
focus: (type,val) => { return this.getFilterList(type, val, "basedata/uom")}, |
|
|
focus: (type,val) => { return this.getFilterList(type, val, "basedata/uom")}, |
|
|
searchButton: (val) => { this.showSerarchPage(val, 'basedata/uom', 'Uom', '计量单位选择', this.editFormData) }, colSpan: 12 }, |
|
|
searchButton: (val) => { this.showSerarchPage(val, 'basedata/uom', 'Uom', '计量单位选择', this.editFormData) }, colSpan: 12 }, |
|
|
|
|
|
{ type: "input", label: "种类", prop: 'category', colSpan: 12 }, |
|
|
|
|
|
{ type: "select", label: "状态", prop: "status", options: "itemStatus", colSpan: 12 }, |
|
|
{ type: "select", label: "ABC类", prop: "abcClass", options: "abcClass", clearable: true, filterable: true, allowCreate: true, colSpan: 12 }, |
|
|
{ type: "select", label: "ABC类", prop: "abcClass", options: "abcClass", clearable: true, filterable: true, allowCreate: true, colSpan: 12 }, |
|
|
{ type: "select", label: "制造件", prop: "canMake", options: "whetherOrNot", disabled: true, colSpan: 12 }, |
|
|
{ type: "select", label: "制造件", prop: "canMake", options: "whetherOrNot", disabled: true, colSpan: 12 }, |
|
|
{ type: "select", label: "采购件", prop: "canBuy", options: "whetherOrNot", disabled: true, colSpan: 12 }, |
|
|
{ type: "select", label: "采购件", prop: "canBuy", options: "whetherOrNot", disabled: true, colSpan: 12 }, |
|
@ -257,17 +258,15 @@ export default { |
|
|
{ type: "input", label: "有效期", prop: "validity", validType:'number', colSpan: 12 }, |
|
|
{ type: "input", label: "有效期", prop: "validity", validType:'number', colSpan: 12 }, |
|
|
{ type: "select", label: "有效期单位", prop: "validityUnit", options: "validityUnit", colSpan: 12 }, |
|
|
{ type: "select", label: "有效期单位", prop: "validityUnit", options: "validityUnit", colSpan: 12 }, |
|
|
{ type: "select", label: "管理类型", prop: "manageType", options: "manageType", colSpan: 12 }, |
|
|
{ type: "select", label: "管理类型", prop: "manageType", options: "manageType", colSpan: 12 }, |
|
|
{ type: "filterSelect", label: "项目", prop: "project", optionsLabel: "name", optionsValue: "code", |
|
|
// { type: "filterSelect", label: "项目", prop: "project", optionsLabel: "name", optionsValue: "code", |
|
|
focus: (type,val) => { return this.getFilterList(type, val, "basedata/project")}, |
|
|
// focus: (type,val) => { return this.getFilterList(type, val, "basedata/project")}, |
|
|
searchButton: (val) => { this.showSerarchPage(val, 'basedata/project', 'Project', '项目选择', this.editFormData) }, colSpan: 12 }, |
|
|
// searchButton: (val) => { this.showSerarchPage(val, 'basedata/project', 'Project', '项目选择', this.editFormData) }, colSpan: 12 }, |
|
|
{ type: "input", label: "Elevel", prop: 'elevel', colSpan: 12 }, |
|
|
// { type: "input", label: "Elevel", prop: 'elevel', colSpan: 12 }, |
|
|
{ type: "input", label: "颜色", prop: 'color', colSpan: 12 }, |
|
|
// { type: "input", label: "颜色", prop: 'color', colSpan: 12 }, |
|
|
{ label: "类型", prop: 'type', type: "select", options: "ItemTypeBasic", disabled: true, colSpan: 12 }, |
|
|
{ label: "类型", prop: 'type', type: "select", options: "ItemTypeBasic", disabled: true, colSpan: 12 }, |
|
|
{ type: "input", label: "种类", prop: 'category', colSpan: 12 }, |
|
|
// { type: "input", label: "分组", prop: 'group', colSpan: 12 }, |
|
|
{ type: "input", label: "分组", prop: 'group', colSpan: 12 }, |
|
|
// { type: "input", label: "版本", prop: 'version', colSpan: 12 }, |
|
|
{ type: "input", label: "配置", prop: 'configuration', colSpan: 12 }, |
|
|
// { type: "input", label: "工程变革", prop: 'eco', colSpan: 12 }, |
|
|
{ type: "input", label: "版本", prop: 'version', colSpan: 12 }, |
|
|
|
|
|
{ type: "input", label: "工程变革", prop: 'eco', colSpan: 12 }, |
|
|
|
|
|
{ type: "select", label: "是否虚拟物件", prop: "isPhantom", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否虚拟物件", prop: "isPhantom", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "input", label: "标包数", prop: 'stdPackQty', validType:'number', colSpan: 12 }, |
|
|
{ type: "input", label: "标包数", prop: 'stdPackQty', validType:'number', colSpan: 12 }, |
|
|
{ type: "input", label: "备注", prop: 'remark', colSpan: 12 }, |
|
|
{ type: "input", label: "备注", prop: 'remark', colSpan: 12 }, |
|
|