Browse Source

工作站修改

dev_web_online
陈薪名 2 years ago
parent
commit
b82aceaef6
  1. 2
      fe/PC/src/utils/tabsDesTions/index.js
  2. 12
      fe/PC/src/views/basicData/WorkshopManage/WorkCenter.vue

2
fe/PC/src/utils/tabsDesTions/index.js

@ -618,7 +618,7 @@ export const ProductionLineItem = [
export const WorkCenter = [ export const WorkCenter = [
{ label: "生产线编号", prop: "productionLineCode" }, { label: "生产线编号", prop: "productionLineCode" },
{ label: "原料库位", prop: "rawLocation" }, { label: "原料库位", prop: "rawLocation" },
{ label: "成品编号", prop: "productLocation" }, { label: "成品库位", prop: "productLocation" },
{ label: "工作站编号", prop: "code" }, { label: "工作站编号", prop: "code" },
{ label: "工作站名称", prop: 'name' }, { label: "工作站名称", prop: 'name' },
{ type: "filter", label: "类型", prop: "type", filters: "workCenterType" }, { type: "filter", label: "类型", prop: "type", filters: "workCenterType" },

12
fe/PC/src/views/basicData/WorkshopManage/WorkCenter.vue

@ -133,7 +133,7 @@ export default {
description: null, description: null,
type: 1, type: 1,
productionLineCode: null, productionLineCode: null,
rawLocation: null, rawLocationCode: null,
productLocation: null, productLocation: null,
remark: null remark: null
}, },
@ -144,7 +144,7 @@ export default {
description: null, description: null,
type: 1, type: 1,
productionLineCode: null, productionLineCode: null,
rawLocation: null, rawLocationCode: null,
productLocation: null, productLocation: null,
concurrencyStamp: null, concurrencyStamp: null,
remark: null remark: null
@ -154,10 +154,10 @@ export default {
{ type: "filterSelect", label: "生产线编号", prop: "productionLineCode", optionsLabel: "name", optionsValue: "code", { type: "filterSelect", label: "生产线编号", prop: "productionLineCode", optionsLabel: "name", optionsValue: "code",
focus: (type,val) => { return this.getFilterList(type, val, "basedata/productionLine")}, focus: (type,val) => { return this.getFilterList(type, val, "basedata/productionLine")},
searchButton: (val) => { this.showSerarchPage(val, 'basedata/productionLine', 'ProductionLine', '生产线选择', this.CreateFormData) }, colSpan: 12 }, searchButton: (val) => { this.showSerarchPage(val, 'basedata/productionLine', 'ProductionLine', '生产线选择', this.CreateFormData) }, colSpan: 12 },
{ type: "filterSelect", label: "原料库位", prop: "rawLocation", optionsLabel: "name", optionsValue: "code", { type: "filterSelect", label: "原料库位", prop: "rawLocationCode", optionsLabel: "name", optionsValue: "code",
focus: (type,val) => { return this.getFilterList(type, val, "basedata/location")}, focus: (type,val) => { return this.getFilterList(type, val, "basedata/location")},
searchButton: (val) => { this.showSerarchPage(val, 'basedata/location', 'Location', '库位选择', this.CreateFormData) }, colSpan: 12 }, searchButton: (val) => { this.showSerarchPage(val, 'basedata/location', 'Location', '库位选择', this.CreateFormData) }, colSpan: 12 },
{ type: "filterSelect", label: "成品编号", prop: "productLocation", optionsLabel: "name", optionsValue: "code", { type: "filterSelect", label: "成品库位", prop: "productLocation", optionsLabel: "name", optionsValue: "code",
focus: (type,val) => { return this.getFilterList(type, val, "basedata/location")}, focus: (type,val) => { return this.getFilterList(type, val, "basedata/location")},
searchButton: (val) => { this.showSerarchPage(val, 'basedata/location', 'Location', '库位选择', this.CreateFormData) }, colSpan: 12 }, searchButton: (val) => { this.showSerarchPage(val, 'basedata/location', 'Location', '库位选择', this.CreateFormData) }, colSpan: 12 },
{ type: "input", label: "工作站编号", prop: "code", validType:'numberLetter', colSpan: 12 }, { type: "input", label: "工作站编号", prop: "code", validType:'numberLetter', colSpan: 12 },
@ -170,10 +170,10 @@ export default {
{ type: "filterSelect", label: "生产线编号", prop: "productionLineCode", optionsLabel: "name", optionsValue: "code", { type: "filterSelect", label: "生产线编号", prop: "productionLineCode", optionsLabel: "name", optionsValue: "code",
focus: (type,val) => { return this.getFilterList(type, val, "basedata/productionLine")}, focus: (type,val) => { return this.getFilterList(type, val, "basedata/productionLine")},
searchButton: (val) => { this.showSerarchPage(val, 'basedata/productionLine', 'ProductionLine', '生产线选择', this.editFormData) }, colSpan: 12 }, searchButton: (val) => { this.showSerarchPage(val, 'basedata/productionLine', 'ProductionLine', '生产线选择', this.editFormData) }, colSpan: 12 },
{ type: "filterSelect", label: "原料库位", prop: "rawLocation", optionsLabel: "name", optionsValue: "code", { type: "filterSelect", label: "原料库位", prop: "rawLocationCode", optionsLabel: "name", optionsValue: "code",
focus: (type,val) => { return this.getFilterList(type, val, "basedata/location")}, focus: (type,val) => { return this.getFilterList(type, val, "basedata/location")},
searchButton: (val) => { this.showSerarchPage(val, 'basedata/location', 'Location', '库位选择', this.editFormData) }, colSpan: 12 }, searchButton: (val) => { this.showSerarchPage(val, 'basedata/location', 'Location', '库位选择', this.editFormData) }, colSpan: 12 },
{ type: "filterSelect", label: "成品编号", prop: "productLocation", optionsLabel: "name", optionsValue: "code", { type: "filterSelect", label: "成品库位", prop: "productLocation", optionsLabel: "name", optionsValue: "code",
focus: (type,val) => { return this.getFilterList(type, val, "basedata/location")}, focus: (type,val) => { return this.getFilterList(type, val, "basedata/location")},
searchButton: (val) => { this.showSerarchPage(val, 'basedata/location', 'Location', '库位选择', this.editFormData) }, colSpan: 12 }, searchButton: (val) => { this.showSerarchPage(val, 'basedata/location', 'Location', '库位选择', this.editFormData) }, colSpan: 12 },
{ type: "input", label: "工作站编号", prop: "code", validType:'numberLetter', colSpan: 12 }, { type: "input", label: "工作站编号", prop: "code", validType:'numberLetter', colSpan: 12 },

Loading…
Cancel
Save