diff --git a/src/layout/components/Sidebar/components/SidebarLogo.vue b/src/layout/components/Sidebar/components/SidebarLogo.vue index 4aa6d74..1a2fc92 100644 --- a/src/layout/components/Sidebar/components/SidebarLogo.vue +++ b/src/layout/components/Sidebar/components/SidebarLogo.vue @@ -3,7 +3,22 @@ - {{ userStore.userInfo.shopName }} + + + + {{ userStore.userInfo.shopName }} + + + + + + @@ -30,7 +45,8 @@ defineProps({ background-color: $sidebar-logo-background; .title { - flex-shrink: 0; /* 防止容器在空间不足时缩小 */ + flex-shrink: 0; + /* 防止容器在空间不足时缩小 */ margin-left: 10px; font-size: 16px; color: #5a5e66; diff --git a/src/router/index.ts b/src/router/index.ts index e85ecdb..8d57ace 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -63,38 +63,6 @@ export const constantRoutes: RouteRecordRaw[] = [ keepAlive: true, }, }, - { - path: "credit", - name: "", - component: () => import("@/views/data/credit/index.vue"), - meta: { - title: "挂账管理", - affix: false, - keepAlive: true, - - }, - }, - { - path: "credit-detail", - name: "", - component: () => import("@/views/data/credit/detail.vue"), - meta: { - title: "挂账明细", - affix: false, - keepAlive: true, - hidden: true - }, - }, - { - path: "work", - name: "", - component: () => import("@/views/data/work.vue"), - meta: { - title: "交班记录", - affix: false, - keepAlive: true, - }, - }, { path: "401", component: () => import("@/views/error/401.vue"), @@ -473,7 +441,6 @@ export const constantRoutes: RouteRecordRaw[] = [ // /**列表end */ - // ], // }, // { 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 220f131..7a177c3 100644 --- a/src/views/data/index.vue +++ b/src/views/data/index.vue @@ -47,23 +47,29 @@ -->
-
+
营业
-
- - 今天 - 昨天 - 最近7天 - 最近30天 - 本周 - 本月 - 自定义 - -
- +
+ + + +
+ + 今天 + 昨天 + 最近7天 + 最近30天 + 本周 + 本月 + 自定义 + +
+ +
@@ -136,16 +142,16 @@
@@ -165,18 +171,18 @@
@@ -383,6 +389,8 @@ export default { saveAmount: null, }, ], + 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/finance/supplierBill/billingRecord.vue b/src/views/finance/supplierBill/billingRecord.vue new file mode 100644 index 0000000..41d8e2b --- /dev/null +++ b/src/views/finance/supplierBill/billingRecord.vue @@ -0,0 +1,145 @@ + + + + + diff --git a/src/views/finance/supplierBill/components/payment.vue b/src/views/finance/supplierBill/components/payment.vue new file mode 100644 index 0000000..ce55fa9 --- /dev/null +++ b/src/views/finance/supplierBill/components/payment.vue @@ -0,0 +1,81 @@ + + + + diff --git a/src/views/finance/supplierBill/index.vue b/src/views/finance/supplierBill/index.vue new file mode 100644 index 0000000..74b06c0 --- /dev/null +++ b/src/views/finance/supplierBill/index.vue @@ -0,0 +1,139 @@ + + + + + diff --git a/src/views/finance/supplierBill/paymentRecord.vue b/src/views/finance/supplierBill/paymentRecord.vue new file mode 100644 index 0000000..d8f1b87 --- /dev/null +++ b/src/views/finance/supplierBill/paymentRecord.vue @@ -0,0 +1,131 @@ + + + + + diff --git a/src/views/inventory/consumables/components/add-haocai copy.vue b/src/views/inventory/consumables/components/add-haocai copy.vue deleted file mode 100644 index f4a6d8c..0000000 --- a/src/views/inventory/consumables/components/add-haocai copy.vue +++ /dev/null @@ -1,197 +0,0 @@ - - - - \ No newline at end of file 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..9598603 100644 --- a/src/views/product/indexconfig/content.ts +++ b/src/views/product/indexconfig/content.ts @@ -59,6 +59,13 @@ const contentConfig: IContentConfig = { pk: "id", toolbar: [ "add", + { + icon: "refresh", + text: "同步", + type: "danger", + name: "custom2", + auth: "import", + }, { icon: "edit", text: "库存预警", @@ -66,6 +73,7 @@ const contentConfig: IContentConfig = { name: "custom1", auth: "import", }, + ], cols: [ // { type: "selection", width: 50, align: "center" }, diff --git a/src/views/shop/branchStore/index.vue b/src/views/shop/branchStore/index.vue new file mode 100644 index 0000000..668ecf7 --- /dev/null +++ b/src/views/shop/branchStore/index.vue @@ -0,0 +1,166 @@ + + + + + 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 @@