diff --git a/src/views/admin/system/menu/index.vue b/src/views/admin/system/menu/index.vue index 3cc209b..140584b 100644 --- a/src/views/admin/system/menu/index.vue +++ b/src/views/admin/system/menu/index.vue @@ -40,7 +40,7 @@ }" @row-click="handleRowClick" > - + diff --git a/src/views/data/index.vue b/src/views/data/index.vue index 5d53718..7a177c3 100644 --- a/src/views/data/index.vue +++ b/src/views/data/index.vue @@ -47,26 +47,29 @@ -->
-
+
营业
-
- +
+ - - 今天 - 昨天 - 最近7天 - 最近30天 - 本周 - 本月 - 自定义 - -
- +
+ + 今天 + 昨天 + 最近7天 + 最近30天 + 本周 + 本月 + 自定义 + +
+ +
@@ -139,16 +142,16 @@
@@ -168,18 +171,18 @@
@@ -387,6 +390,7 @@ export default { }, ], storeList: [{ label: "门店1", value: 1 }], + storeId: null, trade: {}, formatDecimal, topData: "", diff --git a/src/views/data/sales.vue b/src/views/data/sales.vue index 561701e..84b4597 100644 --- a/src/views/data/sales.vue +++ b/src/views/data/sales.vue @@ -10,14 +10,15 @@ + + + + + + - + @@ -32,16 +33,9 @@ 本月 自定义 - + 查询 @@ -57,7 +51,9 @@
- + + +
¥{{ payCount.totalAmount || 0 }}
@@ -66,7 +62,9 @@
- + + +
¥{{ payCount.refundAmount || 0 }}
@@ -75,7 +73,9 @@
- + + +
{{ payCount.saleCount || 0 }}
@@ -84,7 +84,9 @@
- + + +
{{ payCount.refundCount || 0 }}
@@ -145,14 +147,9 @@
- +
@@ -185,6 +182,8 @@ export default { downloadLoading: false, payCount: "", payCountTotal: 0, + storeList: [{ label: "门店1", value: 1 }], + storeId: null, }; }, filters: { diff --git a/src/views/product/index.vue b/src/views/product/index.vue index 041d104..1136ea5 100644 --- a/src/views/product/index.vue +++ b/src/views/product/index.vue @@ -301,10 +301,13 @@ async function handleEditClick(row: IObject) { // 其他工具栏 function handleToolbarClick(name: string) { console.log(name); - if (name === "custom1") { + if ( name === "custom1" ) { // ElMessage.success("点击了自定义1按钮"); myDialogRef.value.open(); } + if ( name === "custom2" ) { //商品同步 + + } } async function confirm() { let res = await UserAPI.stockWarning(form.warnLine) diff --git a/src/views/product/indexconfig/content.ts b/src/views/product/indexconfig/content.ts index efd789d..1ff4f71 100644 --- a/src/views/product/indexconfig/content.ts +++ b/src/views/product/indexconfig/content.ts @@ -66,6 +66,13 @@ const contentConfig: IContentConfig = { name: "custom1", auth: "import", }, + { + icon: "refresh", + text: "同步", + type: "danger", + name: "custom2", + auth: "import", + }, ], cols: [ // { type: "selection", width: 50, align: "center" }, diff --git a/src/views/shop/branchStore/components/activateCode.vue b/src/views/shop/branchStore/components/activateCode.vue new file mode 100644 index 0000000..7b77d78 --- /dev/null +++ b/src/views/shop/branchStore/components/activateCode.vue @@ -0,0 +1,60 @@ + + + \ No newline at end of file diff --git a/src/views/shop/branchStore/components/addShop.vue b/src/views/shop/branchStore/components/addShop.vue new file mode 100644 index 0000000..433a32b --- /dev/null +++ b/src/views/shop/branchStore/components/addShop.vue @@ -0,0 +1,531 @@ + + + + + \ No newline at end of file diff --git a/src/views/shop/branchStore/components/detailModal.vue b/src/views/shop/branchStore/components/detailModal.vue new file mode 100644 index 0000000..da4a678 --- /dev/null +++ b/src/views/shop/branchStore/components/detailModal.vue @@ -0,0 +1,156 @@ + + + + + \ No newline at end of file diff --git a/src/views/shop/branchStore/index.vue b/src/views/shop/branchStore/index.vue new file mode 100644 index 0000000..8ba25d3 --- /dev/null +++ b/src/views/shop/branchStore/index.vue @@ -0,0 +1,142 @@ + + + + + diff --git a/src/views/shop/list/components/addShop.vue b/src/views/shop/list/components/addShop.vue index 44f3395..433a32b 100644 --- a/src/views/shop/list/components/addShop.vue +++ b/src/views/shop/list/components/addShop.vue @@ -1,17 +1,7 @@