diff --git a/lms/nladmin-ui/src/views/b_lms/bst/ivt/stockingivt/index.vue b/lms/nladmin-ui/src/views/b_lms/bst/ivt/stockingivt/index.vue
index daaa66a..8865d02 100644
--- a/lms/nladmin-ui/src/views/b_lms/bst/ivt/stockingivt/index.vue
+++ b/lms/nladmin-ui/src/views/b_lms/bst/ivt/stockingivt/index.vue
@@ -7,112 +7,115 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
-
-
+
+
+
+
+
{{ dict.label.STOCK_POINT_TYPE[scope.row.point_type] }}
-
+
{{ dict.label.STOCK_POINT_STATUS[scope.row.ivt_status] }}
-
+
{{ dict.label.point_location[scope.row.point_location] }}
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
import crudBstIvtStockingivt from './bstIvtStockingivt'
import CRUD, { crud, form, header, presenter } from '@crud/crud'
-import rrOperation from '@crud/RR.operation'
import crudOperation from '@crud/CRUD.operation'
import udOperation from '@crud/UD.operation'
import pagination from '@crud/Pagination'
-
+import i18n from '@/i18n'
const defaultForm = {
ivt_id: null,
point_code: null,
@@ -159,11 +161,11 @@ const defaultForm = {
export default {
name: 'BstIvtStockingivt',
dicts: ['STOCK_POINT_STATUS', 'STOCK_POINT_TYPE', 'point_location'],
- components: { pagination, crudOperation, rrOperation, udOperation },
+ components: { pagination, crudOperation, udOperation },
mixins: [presenter(), header(), form(defaultForm), crud()],
cruds() {
return CRUD({
- title: '备货区点位库存表',
+ title: i18n.t('stockingivt.title'),
url: 'api/bstIvtStockingivt',
idField: 'ivt_id',
sort: 'ivt_id,desc',
@@ -183,25 +185,25 @@ export default {
},
rules: {
ivt_id: [
- { required: true, message: '库存记录标识不能为空', trigger: 'blur' }
+ { required: true, message: this.$t('stockingivt.msg.isNotEmpty'), trigger: 'blur' }
],
point_code: [
- { required: true, message: '点位编码不能为空', trigger: 'blur' }
+ { required: true, message: this.$t('stockingivt.msg.isNotEmpty'), trigger: 'blur' }
],
sort_seq: [
- { required: true, message: '顺序号不能为空', trigger: 'blur' }
+ { required: true, message: this.$t('stockingivt.msg.isNotEmpty'), trigger: 'blur' }
],
is_used: [
- { required: true, message: '是否启用不能为空', trigger: 'blur' }
+ { required: true, message: this.$t('stockingivt.msg.isNotEmpty'), trigger: 'blur' }
],
create_id: [
- { required: true, message: '创建人不能为空', trigger: 'blur' }
+ { required: true, message: this.$t('stockingivt.msg.isNotEmpty'), trigger: 'blur' }
],
create_name: [
- { required: true, message: '创建人不能为空', trigger: 'blur' }
+ { required: true, message: this.$t('stockingivt.msg.isNotEmpty'), trigger: 'blur' }
],
create_time: [
- { required: true, message: '创建时间不能为空', trigger: 'blur' }
+ { required: true, message: this.$t('stockingivt.msg.isNotEmpty'), trigger: 'blur' }
]
}}
},