diff --git a/ruoyi-ui/src/assets/logo/103.png b/ruoyi-ui/src/assets/logo/103.png new file mode 100644 index 0000000..c07a5c8 Binary files /dev/null and b/ruoyi-ui/src/assets/logo/103.png differ diff --git a/ruoyi-ui/src/main.js b/ruoyi-ui/src/main.js index 06cf2eb..0fdb8ab 100644 --- a/ruoyi-ui/src/main.js +++ b/ruoyi-ui/src/main.js @@ -22,6 +22,9 @@ import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, import { Splitpanes, Pane } from 'splitpanes' import 'splitpanes/dist/splitpanes.css' +import Vant from 'vant'; +import 'vant/lib/index.css'; + // 分页组件 import Pagination from "@/components/Pagination"; // 自定义表格工具组件 @@ -66,6 +69,7 @@ Vue.component('ImagePreview', ImagePreview) Vue.component('Splitpanes', Splitpanes) Vue.component('Pane', Pane) +Vue.use(Vant); Vue.use(directive) Vue.use(plugins) Vue.use(VueMeta) diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 06d7d91..04f39e1 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -139,6 +139,19 @@ export const constantRoutes = [ } ] }, + { + path: '/customerMobile/index', + component: Layout, + hidden: true, + children: [ + { + path: '', + component: () => import('@/views/mobile/customerMobile/index'), + name: 'customerMobile', + meta: { title: '客户管理', activeMenu: '/mobile/customerMobile' } + } + ] + }, { path: '/quoteMobile/add', component: Layout, @@ -165,6 +178,32 @@ export const constantRoutes = [ } ] }, + { + path: '/customerMobile/addCustomer', + component: Layout, + hidden: true, + children: [ + { + path: '', + component: () => import('@/views/mobile/customerMobile/addCustomer'), + name: 'addCustomer', + meta: { title: '新建客户', activeMenu: '/mobile/customerMobile/addCustomer' } + } + ] + }, + { + path: '/customerMobile/editCustomer', + component: Layout, + hidden: true, + children: [ + { + path: '', + component: () => import('@/views/mobile/customerMobile/addCustomer'), + name: 'editCustomer', + meta: { title: '修改客户', activeMenu: '/mobile/customerMobile/addCustomer' } + } + ] + }, { path: '/mobile/index', component: Layout, diff --git a/ruoyi-ui/src/views/mobile/customerMobile/addCustomer.vue b/ruoyi-ui/src/views/mobile/customerMobile/addCustomer.vue new file mode 100644 index 0000000..459041a --- /dev/null +++ b/ruoyi-ui/src/views/mobile/customerMobile/addCustomer.vue @@ -0,0 +1,1044 @@ + + + + + diff --git a/ruoyi-ui/src/views/mobile/customerMobile/index.vue b/ruoyi-ui/src/views/mobile/customerMobile/index.vue new file mode 100644 index 0000000..f230daa --- /dev/null +++ b/ruoyi-ui/src/views/mobile/customerMobile/index.vue @@ -0,0 +1,222 @@ + + + + + diff --git a/ruoyi-ui/src/views/mobile/index.vue b/ruoyi-ui/src/views/mobile/index.vue index 8a415db..2e2c08d 100644 --- a/ruoyi-ui/src/views/mobile/index.vue +++ b/ruoyi-ui/src/views/mobile/index.vue @@ -24,18 +24,18 @@ - - - - - - - - - - - - + +
+

客户

+ + + +
+ 报价单 +
+
客户管理
+
+
@@ -44,9 +44,9 @@ - - - + +
+
@@ -114,8 +114,8 @@ export default { .app-title { margin-bottom: 10px; - font-size: 18px; - color: #333; + font-size: 20px; + color: gray; text-align: left; } diff --git a/ruoyi-ui/src/views/mobile/quoteMobile/operation/add.vue b/ruoyi-ui/src/views/mobile/quoteMobile/operation/add.vue index 79289a9..7233558 100644 --- a/ruoyi-ui/src/views/mobile/quoteMobile/operation/add.vue +++ b/ruoyi-ui/src/views/mobile/quoteMobile/operation/add.vue @@ -314,11 +314,6 @@ export default { this.formData.quotSalesmanCode = this.$store.state.user.name; this.formData.quotSalesmanDeptId = this.$store.state.user.deptId; this.formData.quotSalesmanDeptName = this.$store.state.user.deptName; - console.log( this.formData.quotSalesmanName); - console.log( this.formData.quotSalesmanBm); - console.log( this.formData.quotSalesmanCode); - console.log( this.formData.quotSalesmanDeptId); - console.log( this.formData.quotSalesmanDeptName); const param = this.$route.query; if (param.quotId !== undefined && param.quotId !== null) {