Browse Source

多语言

master
ruanqi 4 years ago
parent
commit
14598f32cd
  1. 54
      src/views/modules/base/partDistribution.vue
  2. 70
      src/views/modules/base/referencePartInfo.vue
  3. 54
      src/views/modules/base/searchPartNo.vue
  4. 52
      src/views/modules/base/unitMeasure.vue

54
src/views/modules/base/partDistribution.vue

@ -122,126 +122,126 @@
// start
buttonList: [
{
functionId: "6002",
functionId: this.$route.meta.menuId,
languageValue: '设置默认配置',
objectId: 'defaultTable',
objectType: "button",
tableId: "6002Table"
},
{
functionId: "6002",
functionId: this.$route.meta.menuId,
languageValue: '查询',
objectId: 'search',
objectType: "button",
tableId: "6002Table"
},
{
functionId: "6002",
functionId: this.$route.meta.menuId,
languageValue: '新增',
objectId: 'add',
objectType: "button",
tableId: "6002Table"
},
{
functionId: "6002",
functionId: this.$route.meta.menuId,
languageValue: '导出',
objectId: 'download',
objectType: "button",
tableId: "6002Table"
},
{
functionId: "6002",
functionId: this.$route.meta.menuId,
languageValue: '设置列表',
objectId: 'settingTable',
objectType: "button",
tableId: "6002Table"
},
{
functionId: "6002",
functionId: this.$route.meta.menuId,
languageValue: '操作',
objectId: 'work',
objectType: "button",
tableId: "6002Table"
},
{
functionId: "6002",
functionId: this.$route.meta.menuId,
languageValue: '数据维护',
objectId: 'dataUpdate',
objectType: "button",
tableId: "6002Table"
},
{
functionId: "6002",
functionId: this.$route.meta.menuId,
languageValue: '工厂编码',
objectId: 'site',
objectType: "button",
tableId: "6002Table"
},
{
functionId: "6002",
functionId: this.$route.meta.menuId,
languageValue: '分类编码',
objectId: 'familyID',
objectType: "button",
tableId: "6002Table"
},
{
functionId: "6002",
functionId: this.$route.meta.menuId,
languageValue: '分类名称',
objectId: 'familyName',
objectType: "button",
tableId: "6002Table"
},
{
functionId: "6002",
functionId: this.$route.meta.menuId,
languageValue: '在用',
objectId: 'active',
objectType: "button",
tableId: "6002Table"
},
{
functionId: "6002",
functionId: this.$route.meta.menuId,
languageValue: '编辑',
objectId: 'update',
objectType: "button",
tableId: "6002Table"
},
{
functionId: "6002",
functionId: this.$route.meta.menuId,
languageValue: '删除',
objectId: 'delete',
objectType: "button",
tableId: "6002Table"
},
{
functionId: "6002",
functionId: this.$route.meta.menuId,
languageValue: '是',
objectId: 'yes',
objectType: "button",
tableId: "6002Table"
},
{
functionId: "6002",
functionId: this.$route.meta.menuId,
languageValue: '否',
objectId: 'no',
objectType: "button",
tableId: "6002Table"
},
{
functionId: "6002",
functionId: this.$route.meta.menuId,
languageValue: '校验比例',
objectId: 'checkPercentage',
objectType: "button",
tableId: "6002Table"
},
{
functionId: "6002",
functionId: this.$route.meta.menuId,
languageValue: '保存',
objectId: 'save',
objectType: "button",
tableId: "6002Table"
},
{
functionId: "6002",
functionId: this.$route.meta.menuId,
languageValue: '关闭',
objectId: 'close',
objectType: "button",
@ -256,7 +256,7 @@
userColumnList: [],
queryTableUser: {
userId: this.$store.state.user.name,
functionId: 6002,
functionId: this.$route.meta.menuId,
tableId: "6002Table",
status: true,
languageCode: this.$i18n.locale
@ -283,7 +283,7 @@
},
// table
queryTable: {
functionId: 6002,
functionId: this.$route.meta.menuId,
tableId: "6002Table",
languageCode: this.$i18n.locale
},
@ -314,7 +314,7 @@
columnList: [
{
userId: this.$store.state.user.name,
functionId: 6002,
functionId: this.$route.meta.menuId,
serialNumber: '6002TableFamilyID',
tableId: "6002Table",
tableName: "物料分类表",
@ -332,7 +332,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6002,
functionId: this.$route.meta.menuId,
serialNumber: '6002TableFamilyName',
tableId: "6002Table",
tableName: "物料分类表",
@ -350,7 +350,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6002,
functionId: this.$route.meta.menuId,
serialNumber: '6002TableActive',
tableId: "6002Table",
tableName: "物料分类表",
@ -368,7 +368,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6002,
functionId: this.$route.meta.menuId,
serialNumber: '6002TableSite',
tableId: "6002Table",
tableName: "物料分类表",
@ -386,7 +386,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6002,
functionId: this.$route.meta.menuId,
serialNumber: '6002TableCheckPercentage',
tableId: "6002Table",
tableName: "物料分类表",
@ -418,7 +418,7 @@
getMsgLanguage() {
this.dataListLoading = true
let queryLang = {
functionId: 6002,
functionId: this.$route.meta.menuId,
table_id: '6002Table',
languageCode: this.$i18n.locale
}
@ -452,7 +452,7 @@
this.visible = true;
let queryTable = {
userId: this.$store.state.user.name,
functionId: 6002,
functionId: this.$route.meta.menuId,
tableId: "6002Table",
languageCode: this.$i18n.locale
}

70
src/views/modules/base/referencePartInfo.vue

@ -151,147 +151,147 @@
// start
buttonList: [
{
functionId: "6021",
functionId: this.$route.meta.menuId,
languageValue: '设置默认配置',
objectId: 'defaultTable',
objectType: "button",
tableId: "6021Table"
},
{
functionId: "6021",
functionId: this.$route.meta.menuId,
languageValue: '查询',
objectId: 'search',
objectType: "button",
tableId: "6021Table"
},
{
functionId: "6021",
functionId: this.$route.meta.menuId,
languageValue: '新增',
objectId: 'add',
objectType: "button",
tableId: "6021Table"
},
{
functionId: "6021",
functionId: this.$route.meta.menuId,
languageValue: '导出',
objectId: 'download',
objectType: "button",
tableId: "6021Table"
},
{
functionId: "6021",
functionId: this.$route.meta.menuId,
languageValue: '设置列表',
objectId: 'settingTable',
objectType: "button",
tableId: "6021Table"
},
{
functionId: "6021",
functionId: this.$route.meta.menuId,
languageValue: '操作',
objectId: 'work',
objectType: "button",
tableId: "6021Table"
},
{
functionId: "6021",
functionId: this.$route.meta.menuId,
languageValue: '数据维护',
objectId: 'dataUpdate',
objectType: "button",
tableId: "6021Table"
},
{
functionId: "6021",
functionId: this.$route.meta.menuId,
languageValue: '工厂编码',
objectId: 'site',
objectType: "button",
tableId: "6021Table"
},
{
functionId: "6021",
functionId: this.$route.meta.menuId,
languageValue: '编辑',
objectId: 'update',
objectType: "button",
tableId: "6021Table"
},
{
functionId: "6021",
functionId: this.$route.meta.menuId,
languageValue: '删除',
objectId: 'delete',
objectType: "button",
tableId: "6021Table"
},
{
functionId: "6021",
functionId: this.$route.meta.menuId,
languageValue: '保存',
objectId: 'save',
objectType: "button",
tableId: "6021Table"
},
{
functionId: "6021",
functionId: this.$route.meta.menuId,
languageValue: '关闭',
objectId: 'close',
objectType: "button",
tableId: "6021Table"
},
{
functionId: "6021",
functionId: this.$route.meta.menuId,
languageValue: '客户编码',
objectId: 'customerID',
objectType: "button",
tableId: "6021Table"
},
{
functionId: "6021",
functionId: this.$route.meta.menuId,
languageValue: '产品名称',
objectId: 'fGPartDescription',
objectType: "button",
tableId: "6021Table"
},
{
functionId: "6021",
functionId: this.$route.meta.menuId,
languageValue: '物料编码',
objectId: 'partNo',
objectType: "button",
tableId: "6021Table"
},
{
functionId: "6021",
functionId: this.$route.meta.menuId,
languageValue: '物料名称',
objectId: 'partDescription',
objectType: "button",
tableId: "6021Table"
},
{
functionId: "6021",
functionId: this.$route.meta.menuId,
languageValue: '库存计量单位',
objectId: 'umid',
objectType: "button",
tableId: "6021Table"
},
{
functionId: "6021",
functionId: this.$route.meta.menuId,
languageValue: '参照名称',
objectId: 'referencePartDesc',
objectType: "button",
tableId: "6021Table"
},
{
functionId: "6021",
functionId: this.$route.meta.menuId,
languageValue: '供应商编码',
objectId: 'supplierID',
objectType: "button",
tableId: "6021Table"
},
{
functionId: "6021",
functionId: this.$route.meta.menuId,
languageValue: '供应商名称',
objectId: 'supplierName',
objectType: "button",
tableId: "6021Table"
},
{
functionId: "6021",
functionId: this.$route.meta.menuId,
languageValue: '产品编码',
objectId: 'fGPartNo',
objectType: "button",
@ -306,7 +306,7 @@
userColumnList: [],
queryTableUser: {
userId: this.$store.state.user.name,
functionId: 6021,
functionId: this.$route.meta.menuId,
tableId: "6021Table",
status: true,
languageCode: this.$i18n.locale
@ -336,7 +336,7 @@
},
// table
queryTable: {
functionId: 6021,
functionId: this.$route.meta.menuId,
tableId: "6021Table",
languageCode: this.$i18n.locale
},
@ -375,7 +375,7 @@
columnList: [
{
userId: this.$store.state.user.name,
functionId: 6021,
functionId: this.$route.meta.menuId,
serialNumber: '6021TableCustomerID',
tableId: "6021Table",
tableName: "物料参照信息表",
@ -393,7 +393,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6021,
functionId: this.$route.meta.menuId,
serialNumber: '6021TablePartNo',
tableId: "6021Table",
tableName: "物料参照信息表",
@ -411,7 +411,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6021,
functionId: this.$route.meta.menuId,
serialNumber: '6021TablePartDescription',
tableId: "6021Table",
tableName: "物料参照信息表",
@ -429,7 +429,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6021,
functionId: this.$route.meta.menuId,
serialNumber: '6021TableUmid',
tableId: "6021Table",
tableName: "物料参照信息表",
@ -447,7 +447,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6021,
functionId: this.$route.meta.menuId,
serialNumber: '6021TableReferencePartDesc',
tableId: "6021Table",
tableName: "物料参照信息表",
@ -465,7 +465,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6021,
functionId: this.$route.meta.menuId,
serialNumber: '6021TableSite',
tableId: "6021Table",
tableName: "物料参照信息表",
@ -483,7 +483,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6021,
functionId: this.$route.meta.menuId,
serialNumber: '6021TableSupplierID',
tableId: "6021Table",
tableName: "物料参照信息表",
@ -501,7 +501,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6021,
functionId: this.$route.meta.menuId,
serialNumber: '6021TableSupplierName',
tableId: "6021Table",
tableName: "物料参照信息表",
@ -519,7 +519,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6021,
functionId: this.$route.meta.menuId,
serialNumber: '6021TableFGPartNo',
tableId: "6021Table",
tableName: "物料参照信息表",
@ -537,7 +537,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6021,
functionId: this.$route.meta.menuId,
serialNumber: '6021TableFGPartDescription',
tableId: "6021Table",
tableName: "物料参照信息表",
@ -569,7 +569,7 @@
getMsgLanguage() {
this.dataListLoading = true
let queryLang = {
functionId: 6021,
functionId: this.$route.meta.menuId,
table_id: '6021Table',
languageCode: this.$i18n.locale
}
@ -603,7 +603,7 @@
this.visible = true;
let queryTable = {
userId: this.$store.state.user.name,
functionId: 6021,
functionId: this.$route.meta.menuId,
tableId: "6021Table",
languageCode: this.$i18n.locale
}

54
src/views/modules/base/searchPartNo.vue

@ -121,35 +121,35 @@
// start
buttonList: [
{
functionId: "6004",
functionId: this.$route.meta.menuId,
languageValue: '设置默认配置',
objectId: 'defaultTable',
objectType: "button",
tableId: "6004Table"
},
{
functionId: "6004",
functionId: this.$route.meta.menuId,
languageValue: '查询',
objectId: 'search',
objectType: "button",
tableId: "6004Table"
},
{
functionId: "6004",
functionId: this.$route.meta.menuId,
languageValue: '导出',
objectId: 'download',
objectType: "button",
tableId: "6004Table"
},
{
functionId: "6004",
functionId: this.$route.meta.menuId,
languageValue: '设置列表',
objectId: 'settingTable',
objectType: "button",
tableId: "6004Table"
},
{
functionId: "6004",
functionId: this.$route.meta.menuId,
languageValue: '工厂编码',
objectId: 'site',
objectType: "button",
@ -157,63 +157,63 @@
},
{
functionId: "6004",
functionId: this.$route.meta.menuId,
languageValue: '全部',
objectId: 'all',
objectType: "button",
tableId: "6004Table"
},
{
functionId: "6004",
functionId: this.$route.meta.menuId,
languageValue: '是',
objectId: 'yes',
objectType: "button",
tableId: "6004Table"
},
{
functionId: "6004",
functionId: this.$route.meta.menuId,
languageValue: '否',
objectId: 'no',
objectType: "button",
tableId: "6004Table"
},
{
functionId: "6004",
functionId: this.$route.meta.menuId,
languageValue: '在用',
objectId: 'active',
objectType: "button",
tableId: "6004Table"
},
{
functionId: "6004",
functionId: this.$route.meta.menuId,
languageValue: '物料编码',
objectId: 'partNo',
objectType: "button",
tableId: "6004Table"
},
{
functionId: "6004",
functionId: this.$route.meta.menuId,
languageValue: '物料名称',
objectId: 'partDescription',
objectType: "button",
tableId: "6004Table"
},
{
functionId: "6004",
functionId: this.$route.meta.menuId,
languageValue: '规则型号',
objectId: 'spec',
objectType: "button",
tableId: "6004Table"
},
{
functionId: "6004",
functionId: this.$route.meta.menuId,
languageValue: '新增日期',
objectId: 'newDate',
objectType: "button",
tableId: "6004Table"
},
{
functionId: "6004",
functionId: this.$route.meta.menuId,
languageValue: '至',
objectId: 'to',
objectType: "button",
@ -228,7 +228,7 @@
userColumnList: [],
queryTableUser: {
userId: this.$store.state.user.name,
functionId: 6004,
functionId: this.$route.meta.menuId,
tableId: "6004Table",
status: true,
languageCode: this.$i18n.locale
@ -251,7 +251,7 @@
},
// table
queryTable: {
functionId: 6004,
functionId: this.$route.meta.menuId,
tableId: "6004Table",
languageCode: this.$i18n.locale
},
@ -283,7 +283,7 @@
columnList: [
{
userId: this.$store.state.user.name,
functionId: 6004,
functionId: this.$route.meta.menuId,
serialNumber: '6004TablePartNo',
tableId: "6004Table",
tableName: "查询物料编码表",
@ -301,7 +301,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6004,
functionId: this.$route.meta.menuId,
serialNumber: '6004TablePartDescription',
tableId: "6004Table",
tableName: "查询物料编码表",
@ -319,7 +319,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6004,
functionId: this.$route.meta.menuId,
serialNumber: '6004TableSpec',
tableId: "6004Table",
tableName: "查询物料编码表",
@ -337,7 +337,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6004,
functionId: this.$route.meta.menuId,
serialNumber: '6004TableConfigurationTemplateID',
tableId: "6004Table",
tableName: "查询物料编码表",
@ -355,7 +355,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6004,
functionId: this.$route.meta.menuId,
serialNumber: '6004TableRemark',
tableId: "6004Table",
tableName: "查询物料编码表",
@ -373,7 +373,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6004,
functionId: this.$route.meta.menuId,
serialNumber: '6004TableUmid',
tableId: "6004Table",
tableName: "查询物料编码表",
@ -391,7 +391,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6004,
functionId: this.$route.meta.menuId,
serialNumber: '6004TableActive',
tableId: "6004Table",
tableName: "查询物料编码表",
@ -409,7 +409,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6004,
functionId: this.$route.meta.menuId,
serialNumber: '6004TableCreateDate',
tableId: "6004Table",
tableName: "查询物料编码表",
@ -427,7 +427,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6004,
functionId: this.$route.meta.menuId,
serialNumber: '6004TableSite',
tableId: "6004Table",
tableName: "查询物料编码表",
@ -458,7 +458,7 @@
getMsgLanguage() {
this.dataListLoading = true
let queryLang = {
functionId: 6004,
functionId: this.$route.meta.menuId,
table_id: '6004Table',
languageCode: this.$i18n.locale
}
@ -492,7 +492,7 @@
this.visible = true;
let queryTable = {
userId: this.$store.state.user.name,
functionId: 6004,
functionId: this.$route.meta.menuId,
tableId: "6004Table",
languageCode: this.$i18n.locale
}

52
src/views/modules/base/unitMeasure.vue

@ -119,119 +119,119 @@
// start
buttonList: [
{
functionId: "6003",
functionId: this.$route.meta.menuId,
languageValue: '设置默认配置',
objectId: 'defaultTable',
objectType: "button",
tableId: "6003Table"
},
{
functionId: "6003",
functionId: this.$route.meta.menuId,
languageValue: '查询',
objectId: 'search',
objectType: "button",
tableId: "6003Table"
},
{
functionId: "6003",
functionId: this.$route.meta.menuId,
languageValue: '新增',
objectId: 'add',
objectType: "button",
tableId: "6003Table"
},
{
functionId: "6003",
functionId: this.$route.meta.menuId,
languageValue: '导出',
objectId: 'download',
objectType: "button",
tableId: "6003Table"
},
{
functionId: "6003",
functionId: this.$route.meta.menuId,
languageValue: '设置列表',
objectId: 'settingTable',
objectType: "button",
tableId: "6003Table"
},
{
functionId: "6003",
functionId: this.$route.meta.menuId,
languageValue: '操作',
objectId: 'work',
objectType: "button",
tableId: "6003Table"
},
{
functionId: "6003",
functionId: this.$route.meta.menuId,
languageValue: '数据维护',
objectId: 'dataUpdate',
objectType: "button",
tableId: "6003Table"
},
{
functionId: "6003",
functionId: this.$route.meta.menuId,
languageValue: '工厂编码',
objectId: 'site',
objectType: "button",
tableId: "6003Table"
},
{
functionId: "6003",
functionId: this.$route.meta.menuId,
languageValue: '编辑',
objectId: 'update',
objectType: "button",
tableId: "6003Table"
},
{
functionId: "6003",
functionId: this.$route.meta.menuId,
languageValue: '删除',
objectId: 'delete',
objectType: "button",
tableId: "6003Table"
},
{
functionId: "6003",
functionId: this.$route.meta.menuId,
languageValue: '保存',
objectId: 'save',
objectType: "button",
tableId: "6003Table"
},
{
functionId: "6003",
functionId: this.$route.meta.menuId,
languageValue: '关闭',
objectId: 'close',
objectType: "button",
tableId: "6003Table"
},
{
functionId: "6003",
functionId: this.$route.meta.menuId,
languageValue: '库存计量单位',
objectId: 'umid',
objectType: "button",
tableId: "6003Table"
},
{
functionId: "6003",
functionId: this.$route.meta.menuId,
languageValue: '计量单位名称',
objectId: 'uMName',
objectType: "button",
tableId: "6003Table"
},
{
functionId: "6003",
functionId: this.$route.meta.menuId,
languageValue: '是',
objectId: 'yes',
objectType: "button",
tableId: "6003Table"
},
{
functionId: "6003",
functionId: this.$route.meta.menuId,
languageValue: '否',
objectId: 'no',
objectType: "button",
tableId: "6003Table"
},
{
functionId: "6003",
functionId: this.$route.meta.menuId,
languageValue: '是否在用',
objectId: 'active',
objectType: "button",
@ -246,7 +246,7 @@
userColumnList: [],
queryTableUser: {
userId: this.$store.state.user.name,
functionId: 6003,
functionId: this.$route.meta.menuId,
tableId: "6003Table",
status: true,
languageCode: this.$i18n.locale
@ -272,7 +272,7 @@
},
// table
queryTable: {
functionId: 6003,
functionId: this.$route.meta.menuId,
tableId: "6003Table",
languageCode: this.$i18n.locale
},
@ -302,7 +302,7 @@
columnList: [
{
userId: this.$store.state.user.name,
functionId: 6003,
functionId: this.$route.meta.menuId,
serialNumber: '6003TableUmid',
tableId: "6003Table",
tableName: "计量单位表",
@ -320,7 +320,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6003,
functionId: this.$route.meta.menuId,
serialNumber: '6003TableUMName',
tableId: "6003Table",
tableName: "计量单位表",
@ -338,7 +338,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6003,
functionId: this.$route.meta.menuId,
serialNumber: '6003TableActive',
tableId: "6003Table",
tableName: "计量单位表",
@ -356,7 +356,7 @@
},
{
userId: this.$store.state.user.name,
functionId: 6003,
functionId: this.$route.meta.menuId,
serialNumber: '6003TableSite',
tableId: "6003Table",
tableName: "物料分类表",
@ -386,7 +386,7 @@
getMsgLanguage() {
this.dataListLoading = true
let queryLang = {
functionId: 6003,
functionId: this.$route.meta.menuId,
table_id: '6003Table',
languageCode: this.$i18n.locale
}
@ -419,8 +419,8 @@
userSetting() {
this.visible = true;
let queryTable = {
userId: this.$store.state.user.name,
functionId: 6003,
userId: this.$route.meta.menuId,
functionId: this.$route.meta.menuId,
tableId: "6003Table",
languageCode: this.$i18n.locale
}

Loading…
Cancel
Save