From f62f956914880184c5258346064ed53d10ab7977 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Sat, 1 Jun 2024 18:01:32 +0800 Subject: [PATCH] =?UTF-8?q?(=E4=BF=AE=E6=94=B9=E5=95=86=E5=93=81=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E9=A1=B5=E9=9D=A2=EF=BC=8C=E6=B7=BB=E5=8A=A0=E5=95=86?= =?UTF-8?q?=E5=93=81=E5=88=86=E7=B1=BB=E3=80=81=E5=95=86=E5=93=81=E5=8D=95?= =?UTF-8?q?=E4=BD=8D=E3=80=81=E5=95=86=E5=93=81=E6=9D=A5=E6=BA=90=E7=AD=89?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=EF=BC=8C=E5=B9=B6=E4=BC=98=E5=8C=96=E9=83=A8?= =?UTF-8?q?=E5=88=86=E4=BB=A3=E7=A0=81)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system_store.ts | 5 + src/components/storePop/index.vue | 82 ++++++++ src/config/setting.ts | 6 +- src/views/finance/store_extract/index.vue | 8 +- .../finance/store_finance_flow/index.vue | 8 +- src/views/finance/user_bill/index.vue | 12 +- src/views/store/store_product/details.vue | 91 ++++++--- src/views/store/store_product/edit.vue | 177 ++++++++++++++++-- src/views/store/store_product/index.vue | 49 ++--- src/views/store/store_product_unit/index.vue | 4 +- src/views/system_store/index.vue | 5 +- src/views/user/index.vue | 4 +- 12 files changed, 370 insertions(+), 81 deletions(-) create mode 100644 src/components/storePop/index.vue diff --git a/src/api/system_store.ts b/src/api/system_store.ts index 6d92aa69..3d2dca79 100644 --- a/src/api/system_store.ts +++ b/src/api/system_store.ts @@ -23,4 +23,9 @@ export function apiSystemStoreDelete(params: any) { // 门店列表详情 export function apiSystemStoreDetail(params: any) { return request.get({ url: '/system_store/systemstore/detail', params }) +} + +// 根据商品来源获取门店 +export function apiSourceProductStoreLists(params: any) { + return request.get({ url: '/system_store/systemstore/source_product_store_lists', params }) } \ No newline at end of file diff --git a/src/components/storePop/index.vue b/src/components/storePop/index.vue new file mode 100644 index 00000000..545f20de --- /dev/null +++ b/src/components/storePop/index.vue @@ -0,0 +1,82 @@ + + + diff --git a/src/config/setting.ts b/src/config/setting.ts index 35d62e1f..f33e27bb 100644 --- a/src/config/setting.ts +++ b/src/config/setting.ts @@ -3,10 +3,12 @@ const defaultSetting = { showLogo: true, // 是否显示logo isUniqueOpened: false, //只展开一个一级菜单 sideWidth: 200, //侧边栏宽度 - sideTheme: 'light', //侧边栏主题 + // sideTheme: 'light', //侧边栏主题 + sideTheme: 'dark', //侧边栏主题 sideDarkColor: '#1d2124', //侧边栏深色主题颜色 openMultipleTabs: true, // 是否开启多标签tab栏 - theme: '#4A5DFF', //主题色 + // theme: '#4A5DFF', //主题色 + theme: '#20B128', //主题色 successTheme: '#67c23a', //成功主题色 warningTheme: '#e6a23c', //警告主题色 dangerTheme: '#f56c6c', //危险主题色 diff --git a/src/views/finance/store_extract/index.vue b/src/views/finance/store_extract/index.vue index 031f86e5..91720ec4 100644 --- a/src/views/finance/store_extract/index.vue +++ b/src/views/finance/store_extract/index.vue @@ -18,9 +18,9 @@ - + 查询 重置 @@ -28,7 +28,7 @@ - +
diff --git a/src/views/finance/store_finance_flow/index.vue b/src/views/finance/store_finance_flow/index.vue index 6f366b86..a60d6f20 100644 --- a/src/views/finance/store_finance_flow/index.vue +++ b/src/views/finance/store_finance_flow/index.vue @@ -12,9 +12,9 @@ - + 查询 重置 @@ -22,7 +22,7 @@ - +
diff --git a/src/views/finance/user_bill/index.vue b/src/views/finance/user_bill/index.vue index 1f16b9d8..65ac603e 100644 --- a/src/views/finance/user_bill/index.vue +++ b/src/views/finance/user_bill/index.vue @@ -9,12 +9,12 @@ - + + 查询 重置 @@ -22,7 +22,7 @@ - +
diff --git a/src/views/store/store_product/details.vue b/src/views/store/store_product/details.vue index 78195936..87414d71 100644 --- a/src/views/store/store_product/details.vue +++ b/src/views/store/store_product/details.vue @@ -1,34 +1,59 @@ diff --git a/src/views/store/store_product/index.vue b/src/views/store/store_product/index.vue index 35c305ad..3907e2d2 100644 --- a/src/views/store/store_product/index.vue +++ b/src/views/store/store_product/index.vue @@ -12,14 +12,14 @@ - - + + 新增 - - + + 删除 @@ -28,31 +28,36 @@ - + - - - - - - - - + + + + + + + + + + -