diff --git a/src/views/app-update/index.vue b/src/views/app-update/index.vue index 9b93d14..241f1b4 100644 --- a/src/views/app-update/index.vue +++ b/src/views/app-update/index.vue @@ -128,6 +128,7 @@ import {getToken} from '@/utils/auth' const defaultForm = {id: null, name: '', versionCode: '', versionName: '', modifyContent: ''} export default { + name: 'SysAppUpdate', components: {pagination, crudOperation, udOperation}, mixins: [presenter(), header(), form(defaultForm), crud()], cruds() { diff --git a/src/views/base-data/baseZcjxb/zcjxb/index.vue b/src/views/base-data/baseZcjxb/zcjxb/index.vue index 2c5a48c..dd703f6 100644 --- a/src/views/base-data/baseZcjxb/zcjxb/index.vue +++ b/src/views/base-data/baseZcjxb/zcjxb/index.vue @@ -200,6 +200,7 @@ const defaultForm = { readValue: null, errorTxt: null } export default { + name: 'ZcJxb', components: {pagination, crudOperation, rrOperation, udOperation}, mixins: [presenter(), header(), form(defaultForm), crud()], cruds() { diff --git a/src/views/base-data/box/smallLine.vue b/src/views/base-data/box/smallLine.vue index c8c23e4..d99fcc2 100644 --- a/src/views/base-data/box/smallLine.vue +++ b/src/views/base-data/box/smallLine.vue @@ -201,7 +201,7 @@ const defaultForm = { lampCode: null } export default { - name: 'Box', + name: 'SmallLine', components: {pagination, crudOperation, rrOperation, udOperation, BindOrderNumber}, mixins: [presenter(), header(), form(defaultForm), crud()], dicts: ['base_staus', 'lamp_status', 'lamp_code'], diff --git a/src/views/base-data/item/index.vue b/src/views/base-data/item/index.vue index 34497b4..8465e49 100644 --- a/src/views/base-data/item/index.vue +++ b/src/views/base-data/item/index.vue @@ -220,6 +220,7 @@ export default { crud.toQuery() }, handleErr(err, file, fileList) { + console.log(err) this.crud.notify(err.toString(), CRUD.NOTIFICATION_TYPE.ERROR) }, // 钩子:在获取表格数据之前执行,false 则代表不获取数据 diff --git a/src/views/base-data/stock/index.vue b/src/views/base-data/stock/index.vue index 85b18a6..ae973ca 100644 --- a/src/views/base-data/stock/index.vue +++ b/src/views/base-data/stock/index.vue @@ -306,7 +306,6 @@ export default { }, methods: { handleSuccess(response, file, fileList, crud) { - let myError = response.toString()//转字符串 this.crud.notify(response['message'], CRUD.NOTIFICATION_TYPE.SUCCESS) crud.toQuery() }, diff --git a/src/views/business-data/businessTask/asnTask.vue b/src/views/business-data/businessTask/asnTask.vue index af8fb15..fe58b90 100644 --- a/src/views/business-data/businessTask/asnTask.vue +++ b/src/views/business-data/businessTask/asnTask.vue @@ -159,7 +159,7 @@ const defaultForm = { updateTime: null } export default { - name: 'asnTask', + name: 'AsnTask', components: {DateRangePicker, pagination, crudOperation, rrOperation, udOperation}, mixins: [presenter(), header(), form(defaultForm), crud()], dicts: ['task_status'], diff --git a/src/views/business-data/inventory/index.vue b/src/views/business-data/inventory/index.vue index a8b0d3f..f214fd5 100644 --- a/src/views/business-data/inventory/index.vue +++ b/src/views/business-data/inventory/index.vue @@ -3,17 +3,6 @@