7 Commits

Author SHA1 Message Date
Fanzink
f219b55d0c '更新' 2022-03-16 09:43:13 +08:00
Fanzink
79b7fe0eec '更新' 2022-03-16 09:41:00 +08:00
2329a20c4f Merge pull request 'zwq' (#63) from zwq into develop
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #63
2022-03-16 09:00:59 +08:00
zwq
7aba931c94 提交 2022-03-16 08:58:59 +08:00
zwq
176fd99cd1 Merge branch 'test' of http://git.picaiba.com/mt-ck-00a/mt-ck-wms-ui into zwq 2022-03-16 08:42:53 +08:00
77fbbb630b Merge pull request '仓库翻译' (#62) from zwq into develop
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #62
2022-03-15 17:04:29 +08:00
zwq
18b932afa1 仓库翻译 2022-03-15 17:04:06 +08:00
11 changed files with 99 additions and 90 deletions

View File

@@ -1,8 +1,13 @@
/* /*
* @Author: gtz * @Author: gtz
* @Date: 2021-03-04 16:13:51 * @Date: 2021-03-04 16:13:51
<<<<<<< HEAD
* @LastEditors: fzq
* @LastEditTime: 2022-03-15 18:33:48
=======
* @LastEditors: zwq * @LastEditors: zwq
* @LastEditTime: 2022-03-15 10:17:01 * @LastEditTime: 2022-03-15 10:17:01
>>>>>>> develop
* @Description: file content * @Description: file content
*/ */
export default { export default {
@@ -169,7 +174,13 @@ export default {
processEquipment: 'Process Equipment', processEquipment: 'Process Equipment',
sheCode: 'Shelf Code', sheCode: 'Shelf Code',
sheName: 'Shelf Name', sheName: 'Shelf Name',
locaNum: 'Location Number' locaNum: 'Location Number',
addLocation: 'Add Location',
columnMark: 'Column Mark',
rowMark: 'Row Mark',
status: 'Status',
man: 'Man',
woman: 'Woman'
}, },
storageBox: { storageBox: {
name: 'Name', name: 'Name',

View File

@@ -1,8 +1,8 @@
/* /*
* @Author: gtz * @Author: gtz
* @Date: 2022-03-15 16:42:34 * @Date: 2022-03-15 16:42:34
* @LastEditors: gtz * @LastEditors: zwq
* @LastEditTime: 2022-03-15 16:58:26 * @LastEditTime: 2022-03-16 08:57:49
* @Description: file content * @Description: file content
* @FilePath: \mt-ck-wms-ui\src\lang\i18n\en\module\dashboard.js * @FilePath: \mt-ck-wms-ui\src\lang\i18n\en\module\dashboard.js
*/ */

View File

@@ -1,8 +1,14 @@
/* /*
* @Author: gtz * @Author: gtz
* @Date: 2021-03-04 16:13:51 * @Date: 2021-03-04 16:13:51
<<<<<<< HEAD
* @LastEditors: fzq
* @LastEditTime: 2022-03-15 18:33:24
* @Description: file content
=======
* @LastEditors: zwq * @LastEditors: zwq
* @LastEditTime: 2022-03-15 10:16:52 * @LastEditTime: 2022-03-15 10:16:52
>>>>>>> develop
*/ */
export default { export default {
visual: { visual: {
@@ -159,7 +165,9 @@ export default {
processEquipment: '工艺设备', processEquipment: '工艺设备',
sheCode: '货架编码', sheCode: '货架编码',
sheName: '货架名', sheName: '货架名',
locaNum: '库存数量' locaNum: '库存数量',
man: '男',
woman: '女'
}, },
storageBox: { storageBox: {
name: '存储箱名称', name: '存储箱名称',

View File

@@ -1,8 +1,8 @@
<!-- <!--
* @Author: DY * @Author: DY
* @Date: 2021-12-16 15:41:11 * @Date: 2021-12-16 15:41:11
* @LastEditors: DY * @LastEditors: zwq
* @LastEditTime: 2022-03-03 15:26:05 * @LastEditTime: 2022-03-04 09:04:30
* @Description: E10 * @Description: E10
--> -->
<template> <template>
@@ -84,18 +84,18 @@ export default {
}, },
created() { created() {
// this.getEqList() // this.getEqList()
this.getList() // this.getList()
}, },
methods: { methods: {
async getEqList() { // async getEqList() {
const res = await equipmentList({ // const res = await equipmentList({
current: 1, // current: 1,
size: 999 // size: 999
}) // })
if (res.code === 0) { // if (res.code === 0) {
this.eqList = res.data // this.eqList = res.data
} // }
}, // },
toE10() { toE10() {
this.$router.push({ this.$router.push({
name: 'E10' name: 'E10'

View File

@@ -1,8 +1,8 @@
<!-- <!--
* @Author: DY * @Author: DY
* @Date: 2021-12-16 15:41:11 * @Date: 2021-12-16 15:41:11
* @LastEditors: DY * @LastEditors: zwq
* @LastEditTime: 2022-03-03 15:26:28 * @LastEditTime: 2022-03-04 09:04:19
* @Description: MCBF * @Description: MCBF
--> -->
<template> <template>
@@ -83,18 +83,18 @@ export default {
}, },
created() { created() {
// this.getEqList() // this.getEqList()
this.getList() // this.getList()
}, },
methods: { methods: {
async getEqList() { // async getEqList() {
const res = await equipmentList({ // const res = await equipmentList({
current: 1, // current: 1,
size: 999 // size: 999
}) // })
if (res.code === 0) { // if (res.code === 0) {
this.eqList = res.data // this.eqList = res.data
} // }
}, // },
toE10() { toE10() {
this.$router.push({ this.$router.push({
name: 'E10' name: 'E10'

View File

@@ -1,8 +1,8 @@
<!-- <!--
* @Author: DY * @Author: DY
* @Date: 2021-12-16 15:41:11 * @Date: 2021-12-16 15:41:11
* @LastEditors: DY * @LastEditors: zwq
* @LastEditTime: 2022-03-03 15:26:44 * @LastEditTime: 2022-03-04 09:04:09
* @Description: MTTR * @Description: MTTR
--> -->
<template> <template>
@@ -83,18 +83,18 @@ export default {
}, },
created() { created() {
// this.getEqList() // this.getEqList()
this.getList() // this.getList()
}, },
methods: { methods: {
async getEqList() { // async getEqList() {
const res = await equipmentList({ // const res = await equipmentList({
current: 1, // current: 1,
size: 999 // size: 999
}) // })
if (res.code === 0) { // if (res.code === 0) {
this.eqList = res.data // this.eqList = res.data
} // }
}, // },
toE10() { toE10() {
this.$router.push({ this.$router.push({
name: 'E10' name: 'E10'

View File

@@ -1,8 +1,8 @@
<!-- <!--
* @Author: DY * @Author: DY
* @Date: 2021-12-16 15:41:11 * @Date: 2021-12-16 15:41:11
* @LastEditors: DY * @LastEditors: zwq
* @LastEditTime: 2022-03-03 15:26:56 * @LastEditTime: 2022-03-04 09:03:58
* @Description: OEE * @Description: OEE
--> -->
<template> <template>
@@ -83,18 +83,18 @@ export default {
}, },
created() { created() {
// this.getEqList() // this.getEqList()
this.getList() // this.getList()
}, },
methods: { methods: {
async getEqList() { // async getEqList() {
const res = await equipmentList({ // const res = await equipmentList({
current: 1, // current: 1,
size: 999 // size: 999
}) // })
if (res.code === 0) { // if (res.code === 0) {
this.eqList = res.data // this.eqList = res.data
} // }
}, // },
toE10() { toE10() {
this.$router.push({ this.$router.push({
name: 'E10' name: 'E10'

View File

@@ -1,8 +1,8 @@
<!-- <!--
* @Author: zwq * @Author: zwq
* @Date: 2020-12-29 15:41:11 * @Date: 2020-12-29 15:41:11
* @LastEditors: DY * @LastEditors: zwq
* @LastEditTime: 2022-03-03 16:22:24 * @LastEditTime: 2022-03-04 09:03:35
* @Description: E10详情表格 * @Description: E10详情表格
--> -->
<template> <template>
@@ -108,15 +108,15 @@ export default {
this.listQuery.startTime = this.time1 this.listQuery.startTime = this.time1
this.listQuery.endTime = this.time2 this.listQuery.endTime = this.time2
this.listQuery.equipmentName = this.equipmentName this.listQuery.equipmentName = this.equipmentName
getE10StackDetail(this.listQuery).then(res => { // getE10StackDetail(this.listQuery).then(res => {
if (res.data !== []) { // if (res.data !== []) {
this.list = res.data.detail.records // this.list = res.data.detail.records
this.total = res.data.detail.total // this.total = res.data.detail.total
this.list.forEach(item => { // this.list.forEach(item => {
item.equipmentName = this.equipmentName // item.equipmentName = this.equipmentName
}) // })
} // }
}) // })
} }
} }
} }

View File

@@ -1,8 +1,8 @@
<!-- <!--
* @Author: zwq * @Author: zwq
* @Date: 2020-12-29 15:41:11 * @Date: 2020-12-29 15:41:11
* @LastEditors: DY * @LastEditors: zwq
* @LastEditTime: 2022-03-03 16:46:06 * @LastEditTime: 2022-03-04 09:03:23
* @Description: Mttr详情表格 * @Description: Mttr详情表格
--> -->
<template> <template>
@@ -109,12 +109,12 @@ export default {
this.listQuery.startTime = this.time1 this.listQuery.startTime = this.time1
this.listQuery.endTime = this.time2 this.listQuery.endTime = this.time2
this.listQuery.equipmentName = this.equipmentName this.listQuery.equipmentName = this.equipmentName
getMttrDetail(this.listQuery).then(res => { // getMttrDetail(this.listQuery).then(res => {
if (res.data !== []) { // if (res.data !== []) {
this.list = res.data.detail.records // this.list = res.data.detail.records
this.total = res.data.detail.total // this.total = res.data.detail.total
} // }
}) // })
} }
} }
} }

View File

@@ -1,8 +1,8 @@
<!-- <!--
* @Author: zwq * @Author: zwq
* @Date: 2020-12-29 16:37:56 * @Date: 2020-12-29 16:37:56
* @LastEditors: zwq * @LastEditors: fzq
* @LastEditTime: 2022-03-04 10:06:01 * @LastEditTime: 2022-03-15 18:33:01
* @Description: * @Description:
--> -->
<template> <template>
@@ -169,10 +169,10 @@ export default {
}] }]
}, },
sexOptions: [{ sexOptions: [{
'label': '男', 'label': this.$t('module.basicData.cache.man'),
'value': 1 'value': 1
}, { }, {
'label': '女', 'label': this.$t('module.basicData.cache.woman'),
'value': 0 'value': 0
}], }],
onDutyOptions: [{ onDutyOptions: [{

View File

@@ -2,7 +2,7 @@
* @Author: gtz * @Author: gtz
* @Date: 2022-03-03 09:16:10 * @Date: 2022-03-03 09:16:10
* @LastEditors: zwq * @LastEditors: zwq
* @LastEditTime: 2022-03-15 14:27:57 * @LastEditTime: 2022-03-15 17:03:28
* @Description: file content * @Description: file content
* @FilePath: \mt-ck-wms-ui\src\views\dashboard\index.vue * @FilePath: \mt-ck-wms-ui\src\views\dashboard\index.vue
--> -->
@@ -11,7 +11,7 @@
<el-card class="dashboard-main"> <el-card class="dashboard-main">
<el-row class="dashboard-title"> <el-row class="dashboard-title">
<div class="dashboard-header-line" /> <div class="dashboard-header-line" />
<div class="dashboard-header-title">WMS库存信息</div> <div class="dashboard-header-title">{{ $t('module.dashboard.title') }}</div>
</el-row> </el-row>
<el-row class="dashboard-legend"> <el-row class="dashboard-legend">
<div <div
@@ -47,13 +47,7 @@
size="mini" size="mini"
placeholder="请选择库存范围" placeholder="请选择库存范围"
@change="handleChange" @change="handleChange"
> ><el-option v-for="item in totalPage" :key="'select' + item" :label="$t('module.dashboard.pageHeader') + item + $t('module.dashboard.pageFooter')" :value="item" />
<el-option
v-for="item in totalPage"
:key="'select' + item"
:label="'第' + item + '页'"
:value="item"
/>
</el-select> </el-select>
</div> </div>
</el-row> </el-row>
@@ -123,9 +117,7 @@
</el-col> </el-col>
</el-row> </el-row>
<div class="dashboard-layout-footer"> <div class="dashboard-layout-footer">
{{ {{ $t(bottomIndex[index]) + '(' + ((current - 1) * 4 + item) + ')' }}
"第" + bottomIndex[index] + "排(" + ((current - 1) * 4 + item) + ")"
}}
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
@@ -253,9 +245,7 @@
</el-col> </el-col>
</el-row> </el-row>
<div class="dashboard-layout-footer"> <div class="dashboard-layout-footer">
{{ {{ $t(bottomIndex[index]) + '(' + ((current - 1) * 4 + item) + ')' }}
"第" + bottomIndex[index] + "排(" + ((current - 1) * 4 + item) + ")"
}}
</div> </div>
</el-col> </el-col>
</el-row> </el-row>