- 库存查询
+ {{ $t('wms.pdm.ivt.hotpointivt.inventoryQuery') }}
-
+
diff --git a/lms/nladmin-ui/src/views/wms/pdm/ivt/hotpointivt/pointIvt.vue b/lms/nladmin-ui/src/views/wms/pdm/ivt/hotpointivt/pointIvt.vue
index 65fb433..c444113 100644
--- a/lms/nladmin-ui/src/views/wms/pdm/ivt/hotpointivt/pointIvt.vue
+++ b/lms/nladmin-ui/src/views/wms/pdm/ivt/hotpointivt/pointIvt.vue
@@ -11,17 +11,17 @@
label-width="90px"
label-suffix=":"
>
-
+
-
+
-
+
-
+
-
+
-
+
@@ -106,7 +106,7 @@
:disabled="crud.selections.length !== 1"
@click="uploadMES"
>
- 回传MES
+ {{ $t('wms.pdm.ivt.hotpointivt.uploadMES') }}
@@ -118,10 +118,10 @@
width="520px"
>
-
+
-
+
-
+
-
+
-
+
-
+
@@ -178,32 +178,32 @@
@selection-change="crud.selectionChangeHandler"
>
-
-
+
+
{{ dict.label.sch_hot_point_status[scope.row.point_status] }}
-
-
-
-
+
+
+
+
{{ dict.label.product_area[scope.row.product_area] }}
-
-
-
-
-
+
+
+
+
+
{{ dict.label.is_used[scope.row.is_used] }}
-
-
-
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -79,17 +79,17 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
@@ -130,9 +130,9 @@ export default {
data() {
return {
statusDtlList: [
- { 'label': '生成', 'value': '10' },
- { 'label': '执行中', 'value': '40' },
- { 'label': '确认', 'value': '50' }
+ { 'label': this.$t('wms.pdm.ivt.hotpointivt.generated'), 'value': '10' },
+ { 'label': this.$t('wms.pdm.ivt.hotpointivt.executing'), 'value': '40' },
+ { 'label': this.$t('wms.pdm.ivt.hotpointivt.confirmed'), 'value': '50' }
],
permission: {
},
diff --git a/lms/nladmin-ui/src/views/wms/pdm/ivt/package/index.vue b/lms/nladmin-ui/src/views/wms/pdm/ivt/package/index.vue
index c15b455..ea501a1 100644
--- a/lms/nladmin-ui/src/views/wms/pdm/ivt/package/index.vue
+++ b/lms/nladmin-ui/src/views/wms/pdm/ivt/package/index.vue
@@ -11,17 +11,17 @@
label-width="90px"
label-suffix=":"
>
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -157,25 +157,25 @@
@selection-change="crud.selectionChangeHandler"
>
-
-
-
+
+
+
{{ dict.label.product_area[scope.row.product_area] }}
-
-
-
-
-
-
+
+
+
+
+
+
{{ dict.label.is_used[scope.row.is_used] }}
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -114,19 +114,19 @@
/>
-
+
-
+
-
+
@@ -140,33 +140,33 @@
@selection-change="crud.selectionChangeHandler"
>
-
+
{{ dict.label.packageinfo_area[scope.row.point_status] }}
-
-
-
+
+
+
{{ dict.label.sch_packageinfo_status[scope.row.ivt_status] }}
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
{{ dict.label.is_used[scope.row.is_used] }}
-
-
-
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -87,11 +87,11 @@
/>
-
+
@@ -102,20 +102,20 @@
/>
-
+
-
+
-
+
-
+
@@ -126,7 +126,7 @@
/>
-
+
-
-
-
-
+
+
+
+
{{ dict.label.sch_full_point_status[scope.row.full_point_status] }}
-
-
+
+
{{ dict.label.sch_empty_point_status[scope.row.empty_point_status] }}
-
+
{{ dict.label.product_area[scope.row.product_area] }}
-
+
{{ dict.label.point_location[scope.row.point_location] }}
-
-
-
+
+
+
{{ dict.label.is_used[scope.row.is_used] }}
-
+
{{ dict.label.is_used[scope.row.mes_used] }}
-
-
+
+
-
+
@@ -29,33 +29,33 @@
-
+
-
-
+
+
-
+
@@ -67,13 +67,13 @@
-
+
@@ -93,7 +93,7 @@
:disabled="crud.selections.length !== 1"
@click="start"
>
- 开始工单
+ {{ $t('wms.pdm.order.rawfoilworkorder.startOrder') }}
- 强制结束
+ {{ $t('wms.pdm.order.rawfoilworkorder.compelEnd') }}
- 称重
+ {{ $t('wms.pdm.order.rawfoilworkorder.weigh') }}
- 打印
+ {{ $t('common.print') }}
@@ -139,12 +139,12 @@
-
+
-
+
@@ -154,14 +154,14 @@
-
+
-
+
@@ -169,17 +169,17 @@
-
+
-
+
-
+
-
+
@@ -203,12 +203,12 @@
-
+
-
+
@@ -216,12 +216,12 @@
-
+
@@ -253,25 +253,25 @@
>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{
this.crud.toQuery()
- this.crud.notify('操作成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
+ this.crud.notify($t('common.operationSuccess'), CRUD.NOTIFICATION_TYPE.SUCCESS)
})
},
start() {
const _selectData = this.$refs.table.selection
const data = _selectData[0]
if (data.status !== '00') {
- return this.crud.notify('不能对不是初始化状态的工单开始工单', CRUD.NOTIFICATION_TYPE.INFO)
+ return this.crud.notify($t('wms.pdm.order.rawfoilworkorder.cannotStartNonInitOrder'), CRUD.NOTIFICATION_TYPE.INFO)
}
crudRawfoilworkorder.start(data).then(res => {
this.crud.toQuery()
@@ -459,11 +459,11 @@ export default {
print() {
const _selectData = this.$refs.table.selection
if (!_selectData || _selectData.length < 1) {
- this.crud.notify('请选择一条记录', CRUD.NOTIFICATION_TYPE.INFO)
+ this.crud.notify($t('common.pleaseSelectOneRecord'), CRUD.NOTIFICATION_TYPE.INFO)
return
}
crudRawfoilworkorder.print(_selectData).then(res => {
- this.crud.notify('打印成功!', CRUD.NOTIFICATION_TYPE.SUCCESS)
+ this.crud.notify($t('common.printSuccess'), CRUD.NOTIFICATION_TYPE.SUCCESS)
this.crud.toQuery()
})
},
diff --git a/lms/nladmin-ui/src/views/wms/pdm/order/slittingplan/index.vue b/lms/nladmin-ui/src/views/wms/pdm/order/slittingplan/index.vue
index c09d14f..770fe8f 100644
--- a/lms/nladmin-ui/src/views/wms/pdm/order/slittingplan/index.vue
+++ b/lms/nladmin-ui/src/views/wms/pdm/order/slittingplan/index.vue
@@ -13,12 +13,12 @@
>
-
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
@@ -114,11 +114,11 @@
-
+
@@ -132,11 +132,11 @@
-
+
@@ -150,11 +150,11 @@
-
+
@@ -168,11 +168,11 @@
-
+
@@ -188,27 +188,27 @@
-
-
+
+
-
-
+
+
@@ -231,7 +231,7 @@
:disabled="crud.selections.length < 1"
@click="upMaterFinish"
>
- 上料完成
+ {{ $t('wms.pdm.order.slittingplan.loadingFinish') }}
- 套管完成
+ {{ $t('wms.pdm.order.slittingplan.sleeveFinish') }}
- 配送完成
+ {{ $t('wms.pdm.order.slittingplan.distributionFinish') }}
- 入站完成
+ {{ $t('wms.pdm.order.slittingplan.inboundFinish') }}
- 强制完成
+ {{ $t('wms.pdm.order.slittingplan.compelFinish') }}
- 设置上轴
+ {{ $t('wms.pdm.order.slittingplan.setUpAxis') }}
- 设置下轴
+ {{ $t('wms.pdm.order.slittingplan.setDownAxis') }}
- 设置左卷
+ {{ $t('wms.pdm.order.slittingplan.setLeftRoll') }}
- 设置右卷
+ {{ $t('wms.pdm.order.slittingplan.setRightRoll') }}
- 打印卷标
+ {{ $t('wms.pdm.order.slittingplan.printRollLabel') }}
- 打印管标
+ {{ $t('wms.pdm.order.slittingplan.printTubeLabel') }}
@@ -354,75 +354,75 @@
>
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{ scope.row.weight }}
-
+
{{ scope.row.paper_weight }}
-
+
{{ scope.row.joint_type }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- {{ scope.row.up_or_down === '' ? '-' : scope.row.up_or_down === '1' ? '上轴' : '下轴' }}
+ {{ scope.row.up_or_down === '' ? '-' : scope.row.up_or_down === '1' ? $t('wms.pdm.order.slittingplan.upAxis') : $t('wms.pdm.order.slittingplan.downAxis') }}
-
+
- {{ scope.row.left_or_right === '' ? '-' :scope.row.left_or_right === '1' ? '左卷' : '右卷' }}
+ {{ scope.row.left_or_right === '' ? '-' :scope.row.left_or_right === '1' ? $t('wms.pdm.order.slittingplan.leftRoll') : $t('wms.pdm.order.slittingplan.rightRoll') }}
-
-
-
-
-
-
+
+
+
+
+
+
{
this.crud.toQuery()
- this.crud.notify('操作成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
+ this.crud.notify($t('common.operationSuccess'), CRUD.NOTIFICATION_TYPE.SUCCESS)
})
},
caseFinish() {
@@ -619,7 +619,7 @@ export default {
}
crudSlittingproductionplan.caseFinish(data).then(res => {
this.crud.toQuery()
- this.crud.notify('操作成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
+ this.crud.notify($t('common.operationSuccess'), CRUD.NOTIFICATION_TYPE.SUCCESS)
})
},
sendFinish() {
@@ -629,7 +629,7 @@ export default {
}
crudSlittingproductionplan.sendFinish(data).then(res => {
this.crud.toQuery()
- this.crud.notify('操作成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
+ this.crud.notify($t('common.operationSuccess'), CRUD.NOTIFICATION_TYPE.SUCCESS)
})
},
inFinish() {
@@ -639,7 +639,7 @@ export default {
}
crudSlittingproductionplan.inFinish(data).then(res => {
this.crud.toQuery()
- this.crud.notify('操作成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
+ this.crud.notify($t('common.operationSuccess'), CRUD.NOTIFICATION_TYPE.SUCCESS)
})
},
compelFinish() {
@@ -649,7 +649,7 @@ export default {
}
crudSlittingproductionplan.compelFinish(data).then(res => {
this.crud.toQuery()
- this.crud.notify('操作成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
+ this.crud.notify($t('common.operationSuccess'), CRUD.NOTIFICATION_TYPE.SUCCESS)
})
},
formatStatusName(row) {
@@ -684,7 +684,7 @@ export default {
}
crudSlittingproductionplan.setDirection(param).then(() => {
this.crud.toQuery()
- this.crud.notify('设置成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
+ this.crud.notify($t('common.setSuccess'), CRUD.NOTIFICATION_TYPE.SUCCESS)
})
},
setLeftOrRight(flag) {
@@ -695,7 +695,7 @@ export default {
}
crudSlittingproductionplan.setDirection(param).then(() => {
this.crud.toQuery()
- this.crud.notify('设置成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
+ this.crud.notify($t('common.setSuccess'), CRUD.NOTIFICATION_TYPE.SUCCESS)
})
},
edit(row, index) {
@@ -707,22 +707,22 @@ export default {
print() {
const _selectData = this.$refs.table.selection
if (!_selectData || _selectData.length < 1) {
- this.crud.notify('请选择一条记录', CRUD.NOTIFICATION_TYPE.INFO)
+ this.crud.notify($t('common.pleaseSelectOneRecord'), CRUD.NOTIFICATION_TYPE.INFO)
return
}
crudSlittingproductionplan.print(_selectData).then(res => {
- this.crud.notify('打印成功!', CRUD.NOTIFICATION_TYPE.SUCCESS)
+ this.crud.notify($t('common.printSuccess'), CRUD.NOTIFICATION_TYPE.SUCCESS)
this.crud.toQuery()
})
},
print1() {
const _selectData = this.$refs.table.selection
if (!_selectData || _selectData.length < 1) {
- this.crud.notify('请选择一条记录', CRUD.NOTIFICATION_TYPE.INFO)
+ this.crud.notify($t('common.pleaseSelectOneRecord'), CRUD.NOTIFICATION_TYPE.INFO)
return
}
crudSlittingproductionplan.print1(_selectData).then(res => {
- this.crud.notify('打印成功!', CRUD.NOTIFICATION_TYPE.SUCCESS)
+ this.crud.notify($t('common.printSuccess'), CRUD.NOTIFICATION_TYPE.SUCCESS)
this.crud.toQuery()
})
},
@@ -730,7 +730,7 @@ export default {
row.show_edit = '0'
crudSlittingproductionplan.updates(row).then(res => {
this.$message({
- message: '子卷[' + row.container_name + ']信息更新成功',
+ message: this.$t('wms.pdm.order.slittingplan.containerUpdateSuccess', { container: row.container_name }),
type: 'success'
})
})
diff --git a/lms/nladmin-ui/src/views/wms/pdm/sub/index.vue b/lms/nladmin-ui/src/views/wms/pdm/sub/index.vue
index f2fdaf5..541675b 100644
--- a/lms/nladmin-ui/src/views/wms/pdm/sub/index.vue
+++ b/lms/nladmin-ui/src/views/wms/pdm/sub/index.vue
@@ -11,31 +11,31 @@
label-width="115px"
label-suffix=":"
>
-
+
-
+
-
+
- 分配
+ {{ $t('wms.pdm.sub.allocate') }}
-
-
+
+
-
+
- {{ scope.row.status === "99" ? '未分配' : '已分配' }}
+ {{ scope.row.status === "99" ? $t('wms.pdm.sub.unallocated') : $t('wms.pdm.sub.allocated') }}
-
+
@@ -285,7 +285,7 @@ export default {
crud.downloadLoading = true
download('/api/packagerelation/download', this.crud.query).then(result => {
// debugger
- downloadFile(result, '子卷包装', 'xlsx')
+ downloadFile(result, this.$t('wms.pdm.sub.subPackage'), 'xlsx')
crud.downloadLoading = false
}).catch(() => {
crud.downloadLoading = false
diff --git a/lms/nladmin-ui/src/views/wms/sch/point/index.vue b/lms/nladmin-ui/src/views/wms/sch/point/index.vue
index 9e9bf24..989178b 100644
--- a/lms/nladmin-ui/src/views/wms/sch/point/index.vue
+++ b/lms/nladmin-ui/src/views/wms/sch/point/index.vue
@@ -379,22 +379,22 @@ export default {
permission: {},
rules: {
point_code: [
- { required: true, message: '点位编码不能为空', trigger: 'blur' }
+ { required: true, message: this.$t('common.pointCodeRequired'), trigger: 'blur' }
],
point_name: [
- { required: true, message: '点位名称不能为空', trigger: 'blur' }
+ { required: true, message: this.$t('common.pointNameRequired'), trigger: 'blur' }
],
point_type: [
- { required: true, message: '点位类型不能为空', trigger: 'blur' }
+ { required: true, message: this.$t('common.pointTypeRequired'), trigger: 'blur' }
],
point_status: [
- { required: true, message: '点位状态不能为空', trigger: 'blur' }
+ { required: true, message: this.$t('common.pointStatusRequired'), trigger: 'blur' }
],
region_id: [
- { required: true, message: '区域类型不能为空', trigger: 'blur' }
+ { required: true, message: this.$t('common.regionRequired'), trigger: 'blur' }
],
lock_type: [
- { required: true, message: '锁定类型不能为空', trigger: 'blur' }
+ { required: true, message: this.$t('common.lockTypeRequired'), trigger: 'blur' }
]
}
@@ -436,18 +436,18 @@ export default {
return is_used === '1'
},
changeEnabled(data, val) {
- let msg = '此操作将停用点位,是否继续!'
+ let msg = this.$t('common.confirmDisable')
if (val !== '1') {
- msg = '此操作将启用点位,是否继续!'
+ msg = this.$t('common.confirmEnable')
}
- this.$confirm(msg, '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
+ this.$confirm(msg, this.$t('common.tip'), {
+ confirmButtonText: this.$t('common.confirm'),
+ cancelButtonText: this.$t('common.cancel'),
type: 'warning'
}).then(() => {
changeActive(data).then(res => {
this.crud.toQuery()
- this.crud.notify('操作成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
+ this.crud.notify(this.$t('common.operationSuccess'), CRUD.NOTIFICATION_TYPE.SUCCESS)
}).catch(() => {
data.is_used = !data.is_used
})
@@ -485,7 +485,7 @@ export default {
},
changeUsed(data, flag) { // 更改启用状态
crudPoint.changeActives(data).then(res => {
- this.crud.notify('操作成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
+ this.crud.notify(this.$t('common.operationSuccess'), CRUD.NOTIFICATION_TYPE.SUCCESS)
this.crud.toQuery()
})
},
@@ -494,16 +494,16 @@ export default {
param.data = data
param.lock_type = flag
crudPoint.changeLock(param).then(res => {
- this.crud.notify('操作成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
+ this.crud.notify(this.$t('common.operationSuccess'), CRUD.NOTIFICATION_TYPE.SUCCESS)
this.crud.toQuery()
})
},
sync() {
this.sync_flag = true
crudPoint.sync().then(res => {
- this.crud.notify('同步成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
+ this.crud.notify(this.$t('common.syncSuccess'), CRUD.NOTIFICATION_TYPE.SUCCESS)
this.sync_flag = false
- }).cache(() => {
+ }).catch(() => {
this.sync_flag = false
})
}
diff --git a/lms/nladmin-ui/src/views/wms/st/inStor/change/index.vue b/lms/nladmin-ui/src/views/wms/st/inStor/change/index.vue
index 955ffc2..3703e16 100644
--- a/lms/nladmin-ui/src/views/wms/st/inStor/change/index.vue
+++ b/lms/nladmin-ui/src/views/wms/st/inStor/change/index.vue
@@ -11,21 +11,21 @@
label-width="80px"
label-suffix=":"
>
-
+
-
+
@@ -37,30 +37,30 @@
/>
-
+
-
+
-
+
@@ -73,12 +73,12 @@
-
+
@@ -91,13 +91,13 @@
-
-
+
@@ -135,7 +135,7 @@
size="mini"
@click="confirm"
>
- 库存变更
+ {{ $t('common.inventoryChange') }}
@@ -153,7 +153,7 @@
>
-
+