diff --git a/components.d.ts b/components.d.ts index f6ec61011b8ebc14fb138a920d652964e9dbe90d..bb421cff0ebbba17fae0202a90b43f24899d46a2 100644 --- a/components.d.ts +++ b/components.d.ts @@ -12,18 +12,31 @@ declare module 'vue' { ElButton: typeof import('element-plus/es')['ElButton'] ElCol: typeof import('element-plus/es')['ElCol'] ElContainer: typeof import('element-plus/es')['ElContainer'] + ElDatePicker: typeof import('element-plus/es')['ElDatePicker'] ElDialog: typeof import('element-plus/es')['ElDialog'] + ElDropdown: typeof import('element-plus/es')['ElDropdown'] + ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem'] + ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu'] ElForm: typeof import('element-plus/es')['ElForm'] + 'ElForm-': typeof import('element-plus/es')['ElForm-'] ElFormItem: typeof import('element-plus/es')['ElFormItem'] ElHeader: typeof import('element-plus/es')['ElHeader'] + ElIcon: typeof import('element-plus/es')['ElIcon'] ElInput: typeof import('element-plus/es')['ElInput'] ElMain: typeof import('element-plus/es')['ElMain'] ElMenu: typeof import('element-plus/es')['ElMenu'] ElMenuItem: typeof import('element-plus/es')['ElMenuItem'] + ElOption: typeof import('element-plus/es')['ElOption'] + ElPagination: typeof import('element-plus/es')['ElPagination'] ElRow: typeof import('element-plus/es')['ElRow'] + ElScrollbar: typeof import('element-plus/es')['ElScrollbar'] + ElSelect: typeof import('element-plus/es')['ElSelect'] ElSubMenu: typeof import('element-plus/es')['ElSubMenu'] + ElTable: typeof import('element-plus/es')['ElTable'] + ElTableColumn: typeof import('element-plus/es')['ElTableColumn'] ElTabPane: typeof import('element-plus/es')['ElTabPane'] ElTabs: typeof import('element-plus/es')['ElTabs'] + ElTooltip: typeof import('element-plus/es')['ElTooltip'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] } diff --git a/src/main.ts b/src/main.ts index 6438dfb5dc291835b908e6f55eaa5d2e861cd40b..8e8df91b5839f193d8eec0ca3dca22c664bd95b2 100644 --- a/src/main.ts +++ b/src/main.ts @@ -3,7 +3,9 @@ import ElementPlus from 'element-plus' import * as ElementPlusIconsVue from '@element-plus/icons-vue' import router from './router' import store from './store' -import App from './App.vue' +import App from './app.vue' + +import zhCn from 'element-plus/dist/locale/zh-cn.mjs' // import 'normalize.css' @@ -12,6 +14,10 @@ const app = createApp(App) app.use(router) app.use(store) +//国际化 +app.use(ElementPlus, { + locale: zhCn, +}) for (const [key, component] of Object.entries(ElementPlusIconsVue)) { app.component(key, component) } diff --git a/src/router/routes.ts b/src/router/routes.ts index 765c3d9c995c157bfb7bf75c1e952c9f2033294c..b6282847b68994e24a7b3f5694dbe1ff2d84c8a0 100644 --- a/src/router/routes.ts +++ b/src/router/routes.ts @@ -53,7 +53,7 @@ const routes: any = [ //零售出库 { path: 'retailOutbound', - component: () => import('../views/retail/retailOutbound.vue'), + component: () => import('../views/retail/retail-out/index.vue'), meta: { title: '零售出库', icon: 'Tickets', @@ -66,7 +66,7 @@ const routes: any = [ //零售退货 { path: 'retailReturns', - component: () => import('../views/retail/retailReturns.vue'), + component: () => import('../views/retail/retail-return/index.vue'), meta: { title: '零售退货', icon: 'Tickets', diff --git a/src/views/retail/retail-out/index.vue b/src/views/retail/retail-out/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..d8c97627d4fc64dd1b48a093f3b507b122f58a1b --- /dev/null +++ b/src/views/retail/retail-out/index.vue @@ -0,0 +1,458 @@ + + + + + + + + + + + + + + + + + + 查询 + 重置 + {{ flag ? '收起' : '展开' + }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 新增 + + + + 批量操作 + + + + 删除 + 审核 + 反审核 + + + + + 列设置 + + + + + + 用于非会员和会员的单据录入,主要是用于散户使用,不能欠款。 + + + + + + + + + + + + + + + + + 新增会员 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 取消 + + 确认 + + + + + + + + + + + + + + + + + + + + + + 取消选择 + + + + + + + 底部 + + + + + + diff --git a/src/views/retail/retailOutbound.vue b/src/views/retail/retail-return/index.vue similarity index 42% rename from src/views/retail/retailOutbound.vue rename to src/views/retail/retail-return/index.vue index e732c3c98e69f6c88663659eb49d72b3e49d295d..d5b13bec1d55f796f940bd48edfff39c10f02e76 100644 --- a/src/views/retail/retailOutbound.vue +++ b/src/views/retail/retail-return/index.vue @@ -1,11 +1,7 @@ - - 零售出库 - + 零售退货 - + diff --git a/src/views/retail/retailReturns.vue b/src/views/retail/retailReturns.vue deleted file mode 100644 index 5ce4c44a2f7f3f9d9ff2eda43e839570af06656a..0000000000000000000000000000000000000000 --- a/src/views/retail/retailReturns.vue +++ /dev/null @@ -1,11 +0,0 @@ - - - 零售退货 - - - - - -