diff --git a/admin/config.js b/admin/config.js index 74dff55..095759e 100644 --- a/admin/config.js +++ b/admin/config.js @@ -470,7 +470,7 @@ function mf(number, decimals, dec_point, thousands_sep) { var StateCode = {}; var User_BindConnectModel = {}; -;(function (factory) { +(function (factory) { if (typeof define === "function" && define.amd) { // AMD模式 define(factory); @@ -484,7 +484,7 @@ var User_BindConnectModel = {}; window.SYS = {}; } - + SYS.VER = 'undefined' != typeof SYS.VER ? SYS.VER : '1.0.28'; SYS.DEBUG = 'undefined' != typeof SYS.DEBUG ? SYS.DEBUG : 0; diff --git a/admin/diy-pc/static/shop/default/js/product_item.js b/admin/diy-pc/static/shop/default/js/product_item.js index de54260..dc1b273 100644 --- a/admin/diy-pc/static/shop/default/js/product_item.js +++ b/admin/diy-pc/static/shop/default/js/product_item.js @@ -21,8 +21,7 @@ $(function() { //defaultSelectValue : '-1', //defaultSelectValue : rowData.categoryId || '', showRoot : true - } - + } var categoryTree = Public.categoryTree($('#category_id'), opts, 'product_category'); } diff --git a/package.json b/package.json index 448323c..80852a1 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "lancer-admin", + "name": "xiaofa-admin", "version": "2.0.12-dev", "private": true, "author": "Yutao", @@ -26,6 +26,7 @@ "dependencies": { "@logicflow/core": "^1.0.2", "@logicflow/extension": "^1.0.2", + "@vuemap/vue-amap": "^0.1.17", "axios": "^0.26.1", "clipboard": "^2.0.10", "core-js": "^3.21.1", @@ -95,11 +96,11 @@ "svg-sprite-loader": "^6.0.11", "vab-templates": "^0.0.5", "vue-eslint-parser": "^8.0.1", - "vue-template-compiler": "^2.6.14", "vue-plugin-utils": "1.0.3", + "vue-template-compiler": "^2.6.14", "webpack": "4.46.0", - "webpackbar": "^5.0.2", - "webpack-ld": "^1.0.2" + "webpack-ld": "^1.0.2", + "webpackbar": "^5.0.2" }, "gitHooks": { "pre-commit": "lint-staged" diff --git a/public/config.js b/public/config.js index 74dff55..615c7bb 100644 --- a/public/config.js +++ b/public/config.js @@ -524,7 +524,6 @@ var User_BindConnectModel = {}; return SYS.CONFIG; })); - // utils.js if ('undefined' == typeof window.verifyUtils) { diff --git a/public/index.html b/public/index.html index 9afd673..d6a3b7b 100644 --- a/public/index.html +++ b/public/index.html @@ -25,6 +25,12 @@ window.SYS = {CONFIG:{}, URL:{}}; + + diff --git a/src/api/printer/printer.js b/src/api/printer/printer.js new file mode 100644 index 0000000..6d2e807 --- /dev/null +++ b/src/api/printer/printer.js @@ -0,0 +1,200 @@ +import request from '@/utils/request' +import { URL } from '@/config' + + +//总后台-获取小票机品牌列表 +export function getReceiptMachineList(params){ + return request({ + url: URL.shop.store.printer.getReceiptMachineList, + method: 'get', + params, + }) +} + +//总后台-添加小票机品牌 +/** + * @param { + * model_name:飞鹅云打印机PF-V7 打票机型号 + * intro:飞鹅云打印机PF-V7 打票机型号备注名 + * brand_name:飞鹅 品牌名 + * website_url:www.feieyun.com 官网URL + * paper_with:58 纸张宽度 + * } + * @returns + */ +export function addReceiptMachine(params){ + return request({ + url: URL.shop.store.printer.addReceiptMachine, + method: 'post', + params, + }) +} + +//总后台-删除小票机品牌 +/** + * @param { model_id } + * @returns + */ +export function delectReceiptMachine(params){ + return request({ + url: URL.shop.store.printer.delectReceiptMachine, + method: 'post', + params, + }) +} + +//总后台-更新小票机品牌 +/** + * @param { +* model_name:飞鹅云打印机PF-V7 打票机型号 +* intro:飞鹅云打印机PF-V7 打票机型号备注名 +* brand_name:飞鹅 品牌名 +* website_url:www.feieyun.com 官网URL +* paper_with:58 纸张宽度 +* } +* @returns +*/ +export function updateReceiptMachine(params){ + return request({ + url: URL.shop.store.printer.updateReceiptMachine, + method: 'post', + params, + }) +} + + +// 商家端-获取打印机列表 +export function getPrinterList(params){ + return request({ + url: URL.shop.store.printer.getPrinterList, + method: 'get', + params, + }) +} +// 商家端-获取打印机详情 +/** + * @param {id} 打印机id + * @returns + */ +export function getPrinterDetail(params){ + return request({ + url: URL.shop.store.printer.getPrinterDetail, + method: 'get', + params, + }) +} +// 商家端-获取品牌列表 +/** + * @param {count} 数量 + * @returns + */ +export function getPrinterModelList(params){ + return request({ + url: URL.shop.store.printer.getPrinterModelList, + method: 'get', + params, + }) +} + +// 商家端-获取打印区域列表 +/** + * @param {count} 数量 + * @returns + */ +export function getPrinterflagList(params){ + return request({ + url: URL.shop.store.printer.getPrinterflagList, + method: 'get', + params, + }) +} + +// 商家端-添加打印机 +/** + * @param { +* model_id:1 打票机型号ID +* printer_name:核销台打印机 打票机备注名 +* printer_sn:922441475 打票机编号 +* printer_key:r6ZXPvHH 打票机密钥 +* region_id:1 打票机摆放区域ID +* paper_with:58 纸张宽度 +* printer_id:1 打票机自增ID +* website_url:https://www.feieyun.com 打印机网站地址 +* } 数量 +* @returns +*/ + +export function addPrinter(params){ + return request({ + url: URL.shop.store.printer.addPrinter, + method: 'post', + params, + }) +} + +//商家端-删除打印机 +/** + * @param { printer_id:0} 打票机自增ID + * @returns + */ +export function delectPrinter(params){ + return request({ + url: URL.shop.store.printer.delectPrinter, + method: 'post', + params, + }) + } + + +// 商家端-更新打印机信息 +/** + * @param { + * model_id:1 打票机型号ID + * printer_name:核销台打印机 打票机备注名 + * printer_sn:922441475 打票机编号 + * printer_key:r6ZXPvHH 打票机密钥 + * region_id:1 打票机摆放区域ID + * paper_with:58 纸张宽度 + * printer_id:1 打票机自增ID + * website_url:https://www.feieyun.com 打印机网站地址 + * } 数量 + * @returns + */ + +export function updatePrinterInfo(params){ + return request({ + url: URL.shop.store.printer.updatePrinterInfo, + method: 'post', + params, + }) +} + +//商家端-更新打印机状态 +/** + * @param {printer_id,status} + * @returns + */ + +export function updatePrnterStatus(params){ + return request({ + url: URL.shop.store.printer.updatePrnterStatus, + method: 'post', + params, + }) +} + + +// 商家端-测试打印 +/** + * @param {orderId} DD-20241112-1 + * @returns + */ +export function testPrinter(params){ + return request({ + url: URL.shop.store.printer.testPrinter, + method: 'post', + params, + }) +} + + diff --git a/src/assets/time-selector.jpg b/src/assets/time-selector.jpg new file mode 100644 index 0000000..b0b3cef Binary files /dev/null and b/src/assets/time-selector.jpg differ diff --git a/src/assets/xiaofa-logo.png b/src/assets/xiaofa-logo.png new file mode 100644 index 0000000..1160a0f Binary files /dev/null and b/src/assets/xiaofa-logo.png differ diff --git a/src/baiduMap/index.js b/src/baiduMap/index.js index 547d846..48978c4 100644 --- a/src/baiduMap/index.js +++ b/src/baiduMap/index.js @@ -1,5 +1,6 @@ import Vue from 'vue' -import BaiduMap from 'vue-baidu-map' +// import BaiduMap from 'vue-baidu-map' +import BaiduMap from './../components/baidu_Map_xiufu' // 百度地图 // Vue.use(BaiduMap, { @@ -13,4 +14,5 @@ Vue.use(BaiduMap, { ak: 'xSeK5okwxCQbcwdGoOufv2EMuMdvsVFI', }) + export default BaiduMap diff --git a/src/components/baiduMap/keyword.vue b/src/components/baiduMap/keyword.vue index dddf1b7..5252298 100644 --- a/src/components/baiduMap/keyword.vue +++ b/src/components/baiduMap/keyword.vue @@ -28,69 +28,69 @@ prop: diff --git a/src/components/baidu_Map_xiufu/overlays/Circle.vue b/src/components/baidu_Map_xiufu/overlays/Circle.vue index 02860d0..f781937 100644 --- a/src/components/baidu_Map_xiufu/overlays/Circle.vue +++ b/src/components/baidu_Map_xiufu/overlays/Circle.vue @@ -1,132 +1,161 @@ diff --git a/src/config/net.config.js b/src/config/net.config.js index a72a845..65d0de7 100644 --- a/src/config/net.config.js +++ b/src/config/net.config.js @@ -1,8 +1,7 @@ + /** * @description 导出网络配置 **/ - - let admin_url = process.env.VUE_APP_ADMIN_URL let base_url = process.env.VUE_APP_BASE_URL let api_url = process.env.VUE_APP_API_URL @@ -1008,6 +1007,29 @@ let url = { del: api_url + '/admin/shop/shop-store-product-tag/del', }, }, + printer:{ + //总后台-获取小票机品牌列表 + getReceiptMachineList:api_url + '/admin/shop/store/printer/model/page', + addReceiptMachine:api_url + '/admin/shop/store/printer/model/add/new', + delectReceiptMachine : api_url + '/admin/shop/store/printer/model/delete', + updateReceiptMachine : api_url + '/admin/shop/store/printer/model/update', + //商家端-获取打印机列表 + getPrinterList: api_url + '/admin/shop/store/printer/page', + //商家端-获取打印机详情 + getPrinterDetail: api_url + '/admin/shop/store/printer/detail', + //商家端-获取打印机品牌下拉列表 + getPrinterModelList: api_url + '/admin/shop/store/printer/model/list', + //商家端-获取打印机区域列表 + getPrinterflagList: api_url + '/admin/shop/store/printer/region/list', + addPrinter:api_url + '/admin/shop/store/printer/add/new', + delectPrinter: api_url + '/admin/shop/store/printer/delete', + //商家端-更新打印机信息 + updatePrinterInfo: api_url + '/admin/shop/store/printer/update', + //商家端-更新打印机状态 + updatePrnterStatus: api_url + '/admin/shop/store/printer/status/update', + //商家端-测试打印 + testPrinter:api_url + '/admin/shop/store/printer/print/order' + } }, user: { delivery: { @@ -1303,6 +1325,9 @@ let url = { getList: api_url + '/admin/admin/admin-log-error/list', }, }, + printer:{ + + } }, order: { add: api_url + '/order/add', diff --git a/src/config/setting.config.js b/src/config/setting.config.js index 6b7215e..689f7d0 100644 --- a/src/config/setting.config.js +++ b/src/config/setting.config.js @@ -3,7 +3,7 @@ */ module.exports = { // 标题,此项修改后需要重启项目!!! (包括初次加载雪花屏的标题 页面的标题 浏览器的标题) - title: '澜驰商城', + title: '小发同城', // 标题分隔符 titleSeparator: ' - ', // 标题是否反转 @@ -13,7 +13,7 @@ module.exports = { // 简写 abbreviation: 'lancerdt Multi-Vendor Marketplace Platform', // pro版本copyright可随意修改 - copyright: 'Copyright 2024 上海澜驰数字科技有限公司 版权所有', + copyright: 'Copyright 2024 小发同城科技有限公司 版权所有', // 缓存路由的最大数量 keepAliveMaxNum: 20, // 路由模式,可选值为 history 或 hash @@ -32,7 +32,7 @@ module.exports = { recordRoute: true, // 是否开启logo,不显示时设置false,请填写src/icon路径下的图标名称 // 如需使用内置RemixIcon图标,请自行去logo组件切换注释代码(内置svg雪碧图较大,对性能有一定影响) - logo: 'LOGO', + logo: 'xiaofa-logo', // 语言类型zh、en i18n: 'zh', // 消息框消失时间 diff --git a/src/icon/xiaofa-logo.svg b/src/icon/xiaofa-logo.svg new file mode 100644 index 0000000..96d2eed --- /dev/null +++ b/src/icon/xiaofa-logo.svg @@ -0,0 +1,194 @@ + + + + diff --git a/src/main.js b/src/main.js index 24193b1..44fc0ee 100644 --- a/src/main.js +++ b/src/main.js @@ -3,21 +3,25 @@ import App from './App' import i18n from './i18n' import store from './store' import router from './router' -// import baiduMap from './baiduMap' -import baiduMap from './components/baidu_Map_xiufu' +import baiduMap from './baiduMap' + import '@/vab' import './assets/css/diy.css' +//import VueAMap, {initAMapApiLoader} from '@vuemap/vue-amap'; +// import '@vuemap/vue-amap/dist/style.css' + + import { sprintf, translateTitle as __ } from '@/utils/i18n' +// Vue.use(VueAMap); +// initAMapApiLoader({ +// key: 'a00a7af766135e741fee8505247afb0b', +// plugins:['AMap.CircleEditor'], +// }) -Vue.use(baiduMap, { - // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */ - ak: 'xSeK5okwxCQbcwdGoOufv2EMuMdvsVFI', -}) - /** * @description 正式环境默认使用mock,正式项目记得注释后再打包 */ diff --git a/src/utils/routes.js b/src/utils/routes.js index 683e5d7..5ebaa47 100644 --- a/src/utils/routes.js +++ b/src/utils/routes.js @@ -13,6 +13,26 @@ import icon from "../views/403.vue" */ export function convertRouter(asyncRoutes) { return asyncRoutes.map((route) => { + + if(route.meta.title == '设置'){ + + const obj = { + path: "/receiptMachine", + "component":"@/views/settings/config/receiptMachine", + name: "Vab86001", + redirect: null, + meta: { + title: "小票机品牌", + icon: "", + noClosable: 0, + hidden: null + }, + menuHidden: false + } + + route.children.push(obj); + } + if(route.meta.title == "基础"){ const cloudPrintRoute = { @@ -44,7 +64,7 @@ export function convertRouter(asyncRoutes) { }, { path: "/addCloudPrint", - "component":"@/views/store/base/cloudPrint/addCloudPrint", + "component":"@/views/store/base/cloudPrint/editCloudPrint", name: "Vab81002", redirect: null, meta: { @@ -82,8 +102,8 @@ export function convertRouter(asyncRoutes) { menuHidden: false }, { - path: "/addTemplateManagement", - "component":"@/views/store/base/cloudPrint/addTemplateManagement", + path: "/templateManagementAdd", + "component":"@/views/store/base/cloudPrint/editTemplateManagement", name: "Vab81005", redirect: null, meta: { @@ -95,7 +115,7 @@ export function convertRouter(asyncRoutes) { menuHidden: false }, { - path: "/editTemplateManagement", + path: "/templateManagementEdit", "component":"@/views/store/base/cloudPrint/editTemplateManagement", name: "Vab81006", redirect: null, @@ -164,6 +184,45 @@ export function convertRouter(asyncRoutes) { }, menuHidden: false }, + { + path: "/selfPickUpSite", + "component":"@/views/store/base/distributionSetup/selfPickUpSite", + name: "Vab82004", + redirect: null, + meta: { + title: "自提点列表", + icon: "", + noClosable: 0, + hidden: true + }, + menuHidden: false + }, + { + path: "/selfPickUpSiteAdd", + "component":"@/views/store/base/distributionSetup/editSelfPickUpSite", + name: "Vab82005", + redirect: null, + meta: { + title: "编辑自提点", + icon: "", + noClosable: 0, + hidden: true + }, + menuHidden: false + }, + { + path: "/selfPickUpSiteEdit", + "component":"@/views/store/base/distributionSetup/editSelfPickUpSite", + name: "Vab82006", + redirect: null, + meta: { + title: "编辑自提点", + icon: "", + noClosable: 0, + hidden: true + }, + menuHidden: false + }, ] } diff --git a/src/vab/components/VabAppMain/index.vue b/src/vab/components/VabAppMain/index.vue index 41eecdf..25397b9 100644 --- a/src/vab/components/VabAppMain/index.vue +++ b/src/vab/components/VabAppMain/index.vue @@ -8,7 +8,7 @@ diff --git a/src/vab/components/VabLogo/index.vue b/src/vab/components/VabLogo/index.vue index 53737ef..29b9660 100644 --- a/src/vab/components/VabLogo/index.vue +++ b/src/vab/components/VabLogo/index.vue @@ -8,8 +8,8 @@ diff --git a/src/vab/components/VabTheme/components/VabThemeSetting.vue b/src/vab/components/VabTheme/components/VabThemeSetting.vue index 61efcf8..8adead3 100644 --- a/src/vab/components/VabTheme/components/VabThemeSetting.vue +++ b/src/vab/components/VabTheme/components/VabThemeSetting.vue @@ -36,196 +36,192 @@ diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 4430beb..98fe1a5 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -13,9 +13,7 @@ :rules="rules" >
{{ title }}
-
- -
+
diff --git a/src/views/product/productList/components/addProductEdit.vue b/src/views/product/productList/components/addProductEdit.vue index 775853a..dba2ef6 100644 --- a/src/views/product/productList/components/addProductEdit.vue +++ b/src/views/product/productList/components/addProductEdit.vue @@ -13,35 +13,48 @@
{{ __('基本信息') }}
- - - - - - - - - - {{ __('实体商品') }} - - - {{ __('虚拟商品(服务类商品)') }} - - - {{ __('电子卡券') }} - - - - - + + + + + + + + + + {{ __('实体商品') }} + + + {{ __('虚拟商品(服务类商品)') }} + + + {{ __('电子卡券') }} + + + + +
{{ __('辅助属性') }}
@@ -194,9 +207,7 @@ @@ -220,20 +231,35 @@ - diff --git a/src/views/settings/config/receiptMachine.vue b/src/views/settings/config/receiptMachine.vue new file mode 100644 index 0000000..b00960a --- /dev/null +++ b/src/views/settings/config/receiptMachine.vue @@ -0,0 +1,425 @@ + + + + + \ No newline at end of file diff --git a/src/views/store/base/cloudPrint/addCloudPrint.vue b/src/views/store/base/cloudPrint/addCloudPrint.vue deleted file mode 100644 index 9f89cba..0000000 --- a/src/views/store/base/cloudPrint/addCloudPrint.vue +++ /dev/null @@ -1,746 +0,0 @@ - - - - - diff --git a/src/views/store/base/cloudPrint/addTemplateManagement.vue b/src/views/store/base/cloudPrint/addTemplateManagement.vue deleted file mode 100644 index ec82334..0000000 --- a/src/views/store/base/cloudPrint/addTemplateManagement.vue +++ /dev/null @@ -1,1630 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/store/base/cloudPrint/editCloudPrint.vue b/src/views/store/base/cloudPrint/editCloudPrint.vue index 9ac227f..a775228 100644 --- a/src/views/store/base/cloudPrint/editCloudPrint.vue +++ b/src/views/store/base/cloudPrint/editCloudPrint.vue @@ -1,752 +1,1116 @@ - - + + - \ No newline at end of file + + .block-content { + margin-bottom: 20px; + background: #fff; + + .title { + color: #333; + } + + &-set { + .el-input { + width: 415px; + height: 38px; + } + } + + .form-block { + padding: 20px 0; + } + + .order-table { + padding: 20px 10px; + + tbody { + tr { + background: #fff; + } + + td { + border-bottom: 10px solid #fff !important; + background: #f6f8f9; + padding: 20px 10px; + + div { + background: #f6f8f9; + } + } + + .el-table__cell:first-child { + div { + font-weight: bold !important; + color: #000 !important; + } + } + } + } + + .has-gutter { + th { + background: #fff; + border: none; + } + } + + .el-form-item__label { + padding: 0 15px 0 0 !important; + } + + .tips { + margin-left: 10px; + color: #fb6638; + + .lable-name { + position: relative; + cursor: pointer; + + &:hover { + .lable-box { + opacity: 1; + visibility: visible; + } + } + + .lable-box { + position: absolute; + top: -50px; + left: 122px; + padding: 8px 16px; + width: 357px; + height: 132px; + background-color: #fff; + background-clip: padding-box; + border-radius: 4px; + box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2); + white-space: nowrap; + opacity: 0; + transition: opacity 0.4s ease-out; + visibility: hidden; + + &::after { + content: ''; + display: block; + width: 0px; + height: 0px; + border: 5px solid transparent; + border-right: 5px solid white; + position: relative; + top: -60%; + left: -26px; + } + + .img { + position: relative; + background-image: url(../../../../assets/sn.png); + background-size: cover; + width: 100%; + height: 100%; + z-index: 1; + } + } + } + } + + .form-activity-item, + .form-page-size-item { + .el-form-item__content { + margin-left: 123px !important; + } + } + + .page-tips { + line-height: 20px; + margin-top: 8px; + color: #999; + } + + .el-item-checkbox { + .el-checkbox__input { + transform: scale(130%); + } + } + + .el-item-radio { + .el-radio__input { + transform: scale(130%); + } + + .el-radio__inner { + background: #fff !important; + } + + .el-radio__input.is-checked .el-radio__inner::after { + transform: translate(-50%, -50%) scale(1.2) !important; + background-color: #1890ff !important; + width: 5px !important; + height: 5px !important; + } + } + } + + .checkbox-groups { + display: flex; + flex-flow: wrap; + padding-left: 40px; + } + + .footer { + position: fixed; /* 使用fixed定位 */ + left: 0; + bottom: 0; + width: 100%; + height: 58px; + background: #fff; + color: white; + text-align: center; + z-index: 1; + + display: flex; + justify-content: center; + padding: 10px 0; + + .btn { + margin: 0 5px; + } + } +} + diff --git a/src/views/store/base/cloudPrint/editTemplateManagement.vue b/src/views/store/base/cloudPrint/editTemplateManagement.vue index a342f17..c56cd64 100644 --- a/src/views/store/base/cloudPrint/editTemplateManagement.vue +++ b/src/views/store/base/cloudPrint/editTemplateManagement.vue @@ -1,13 +1,3606 @@ - \ No newline at end of file diff --git a/src/views/store/base/cloudPrint/plotterManager.vue b/src/views/store/base/cloudPrint/plotterManager.vue index ed05ece..6719276 100644 --- a/src/views/store/base/cloudPrint/plotterManager.vue +++ b/src/views/store/base/cloudPrint/plotterManager.vue @@ -1,197 +1,285 @@ \ No newline at end of file diff --git a/src/views/store/base/cloudPrint/receiptDialog.vue b/src/views/store/base/cloudPrint/receiptDialog.vue index 53c7f67..d4306e2 100644 --- a/src/views/store/base/cloudPrint/receiptDialog.vue +++ b/src/views/store/base/cloudPrint/receiptDialog.vue @@ -1,16 +1,16 @@ \ No newline at end of file diff --git a/src/views/store/base/cloudPrint/templateManagement.vue b/src/views/store/base/cloudPrint/templateManagement.vue index abda818..1638de2 100644 --- a/src/views/store/base/cloudPrint/templateManagement.vue +++ b/src/views/store/base/cloudPrint/templateManagement.vue @@ -1,218 +1,225 @@ \ No newline at end of file diff --git a/src/views/store/base/components/LocationEdit.vue b/src/views/store/base/components/LocationEdit.vue index ae58a06..7e97a7a 100644 --- a/src/views/store/base/components/LocationEdit.vue +++ b/src/views/store/base/components/LocationEdit.vue @@ -116,226 +116,226 @@ diff --git a/src/views/store/base/distributionSetup/distributionMode.vue b/src/views/store/base/distributionSetup/distributionMode.vue index 4cd743c..f7b83b5 100644 --- a/src/views/store/base/distributionSetup/distributionMode.vue +++ b/src/views/store/base/distributionSetup/distributionMode.vue @@ -1,232 +1,358 @@ \ No newline at end of file diff --git a/src/views/store/base/distributionSetup/distributionSetupConfig/config.js b/src/views/store/base/distributionSetup/distributionSetupConfig/config.js new file mode 100644 index 0000000..f810292 --- /dev/null +++ b/src/views/store/base/distributionSetup/distributionSetupConfig/config.js @@ -0,0 +1,221 @@ +export const distributionOpction =[ + { + value:0, + label:'飞速达' + }, + { + value:1, + label:'快速达' + }, + { + value:2, + label:'快速达-臻选型' + }, + { + value:3, + label:'快速达-臻选型-45' + }, + { + value:4, + label:'快速达-时效性' + }, + { + value:5, + label:'快速达-普惠型' + }, + { + value:6, + label:'及时达' + }, + { + value:7, + label:'集中送' + }, + { + value:8, + label:'跑腿-帮送' + }, + { + value:9, + label:'及时达-新' + }, + { + value:10, + label:'光速达-40' + }, + { + value:11, + label:'光速达-45' + }, + { + value:12, + label:'光速达-50' + }, + { + value:13, + label:'光速达-55' + }, + { + value:14, + label:'快速达-7590' + }, + { + value:15, + label:'快速达-6090' + }, +] + +export const checkList = [ + { + label:1, + name:'商家配送' + }, + { + label:2, + name:'第三方配送' + } +] + +export const distributionList =[ + { + label:1, + imgUrl:require('@/assets/distribution_images/dada.png') + }, + { + label:2, + imgUrl:require('@/assets/distribution_images/meituan.png') + }, + { + label:3, + imgUrl:require('@/assets/distribution_images/sf.png') + }, + { + label:4, + imgUrl:require('@/assets/distribution_images/ss.png') + }, + { + label:5, + imgUrl:require('@/assets/distribution_images/uu.png') + } +] + +export const goodsTypeData = { + "1": "快餐", + "2": "药品", + "3": "百货", + "4": "脏衣服收", + "5": "干净衣服派", + "6": "生鲜", + "8": "高端饮品", + "9": "现场勘验", + "10": "快递", + "12": "文件", + "13": "蛋糕", + "14": "鲜花", + "15": "数码", + "16": "服装", + "17": "汽配", + "18": "珠宝", + "20": "披萨", + "21": "中餐", + "22": "水产", + "27": "专人直送", + "32": "中端饮品", + "33": "便利店", + "34": "面包糕点", + "35": "火锅", + "36": "证照", + "40": "烧烤小龙虾", + "41": "外部落地配", + "47": "烟酒行", + "48": "成人用品", + "55": "宠物用品", + "56": "母婴用品", + "57": "美妆用品", + "58": "家居建材", + "59": "眼镜行", + "60": "图文广告", + "99": "其他" +} + +export const mapMinPriceTypeOpciotn = [ + { + value:0, + label:'商品原价' + }, + { + value:1, + label:'商品折后价' + }, + { + value:2, + label:'订单实付价' + } +] + +export const freightReliefTypeOpction = [ + { + value:0, + label:'商品原价' + }, + { + value:1, + label:'商品折后价' + }, +] + +export const weekListConfig =[ + { + label:7, + name:'周日', + isDisabled:false + }, + { + label:1, + name:'周一', + isDisabled:false + }, + { + label:2, + name:'周二', + isDisabled:false + }, + { + label:3, + name:'周三', + isDisabled:false + + }, + { + label:4, + name:'周四', + isDisabled:false + }, + { + label:5, + name:'周五', + isDisabled:false + }, + { + label:6, + name:'周六', + isDisabled:false + + } +] + +export const periodOpction = [ + { + value:0, + label:'天' + }, + { + value:1, + label:'小时' + }, + { + value:60, + label:'分钟' + }, +] + diff --git a/src/views/store/base/distributionSetup/editSelfPickUpSite.vue b/src/views/store/base/distributionSetup/editSelfPickUpSite.vue new file mode 100644 index 0000000..6090b3b --- /dev/null +++ b/src/views/store/base/distributionSetup/editSelfPickUpSite.vue @@ -0,0 +1,470 @@ + + + + + \ No newline at end of file diff --git a/src/views/store/base/distributionSetup/localDelivery.vue b/src/views/store/base/distributionSetup/localDelivery.vue index 3ae9a30..fcc2d64 100644 --- a/src/views/store/base/distributionSetup/localDelivery.vue +++ b/src/views/store/base/distributionSetup/localDelivery.vue @@ -1,1418 +1,2476 @@ \ No newline at end of file diff --git a/src/views/store/base/distributionSetup/logisticsInterface.vue b/src/views/store/base/distributionSetup/logisticsInterface.vue index ebab6fa..bad364b 100644 --- a/src/views/store/base/distributionSetup/logisticsInterface.vue +++ b/src/views/store/base/distributionSetup/logisticsInterface.vue @@ -1,13 +1,172 @@ - \ No newline at end of file diff --git a/src/views/store/base/distributionSetup/selfPickUpSite.vue b/src/views/store/base/distributionSetup/selfPickUpSite.vue new file mode 100644 index 0000000..1cb7961 --- /dev/null +++ b/src/views/store/base/distributionSetup/selfPickUpSite.vue @@ -0,0 +1,200 @@ + + + + + \ No newline at end of file diff --git a/src/views/store/sellerconfig/index.vue b/src/views/store/sellerconfig/index.vue index cc5e804..5418866 100644 --- a/src/views/store/sellerconfig/index.vue +++ b/src/views/store/sellerconfig/index.vue @@ -193,125 +193,125 @@ diff --git a/src/views/store/setupshop/index.vue b/src/views/store/setupshop/index.vue index b24bb97..96ca3c7 100644 --- a/src/views/store/setupshop/index.vue +++ b/src/views/store/setupshop/index.vue @@ -57,7 +57,11 @@
- + @@ -385,9 +392,7 @@ @@ -407,74 +412,258 @@ diff --git a/vab.config.js b/vab.config.js index b0ebe3b..c9f8313 100644 --- a/vab.config.js +++ b/vab.config.js @@ -1,7 +1,7 @@ module.exports = { // 开发工具控制台名字显示 - webpackBarName: 'lancer-admin', + webpackBarName: 'xiaofa-admin', // 浏览器注释显示 webpackBanner: - ' build: lancer-admin \n copyright: https://www.lancerdt.com \n time: ', + ' build: xiaofa-admin \n copyright: https://www.lancerdt.com \n time: ', }