From 255a82adcf60bed6bfe5c5dd1f8eed070175aab4 Mon Sep 17 00:00:00 2001
From: weipengfei <2187978347@qq.com>
Date: Tue, 14 May 2024 18:39:10 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.development | 6 +-
index.html | 10 +
src/api/store.js | 21 ++
src/layout/myAside.vue | 3 +-
src/layout/myHeader.vue | 73 +++-
src/router/index.js | 54 +--
src/utils/axios.js | 54 +--
src/views/order/component/detail.vue | 29 +-
src/views/order/component/order.vue | 15 +-
src/views/order/index.vue | 69 +++-
src/views/purchaseOrder/component/detail.vue | 258 ++++++++++++++
src/views/purchaseOrder/component/order.vue | 342 +++++++++++++++++++
src/views/purchaseOrder/component/sub.vue | 245 +++++++++++++
src/views/purchaseOrder/index.vue | 108 ++++++
src/views/saleHome/component/shop.vue | 2 +-
src/views/saleHome/index.vue | 1 -
src/views/saleOrder/component/order.vue | 1 +
src/views/test/test.vue | 71 ++--
18 files changed, 1257 insertions(+), 105 deletions(-)
create mode 100644 src/views/purchaseOrder/component/detail.vue
create mode 100644 src/views/purchaseOrder/component/order.vue
create mode 100644 src/views/purchaseOrder/component/sub.vue
create mode 100644 src/views/purchaseOrder/index.vue
diff --git a/.env.development b/.env.development
index 6be1052..6a0e204 100644
--- a/.env.development
+++ b/.env.development
@@ -1,5 +1,7 @@
VITE_NOW_TYPE = 'dist'
VITE_PUSH_URL = 'ws://192.168.1.22:8787'
-VITE_BASE_URL = 'http://192.168.1.22:8546'
-# VITE_BASE_URL = 'https://erp.lihaink.cn'
\ No newline at end of file
+
+
+# VITE_BASE_URL = 'http://192.168.1.22:8546'
+VITE_BASE_URL = 'https://erp.lihaink.cn'
\ No newline at end of file
diff --git a/index.html b/index.html
index 4860d54..7d9c65c 100644
--- a/index.html
+++ b/index.html
@@ -5,6 +5,16 @@
里海收银系统
+
+
+
diff --git a/src/views/purchaseOrder/component/order.vue b/src/views/purchaseOrder/component/order.vue
new file mode 100644
index 0000000..b6722e7
--- /dev/null
+++ b/src/views/purchaseOrder/component/order.vue
@@ -0,0 +1,342 @@
+
+
+
+
+
+
+
+
+
+
单号: {{ item.number }}
+
{{ item.create_time }}
+
+
+
+
订单数量 x {{item.order_count}}
+
+
+
+
+
+
+
+
没有更多了
+
加载中...
+
+
+
+
+
diff --git a/src/views/purchaseOrder/component/sub.vue b/src/views/purchaseOrder/component/sub.vue
new file mode 100644
index 0000000..0f3467f
--- /dev/null
+++ b/src/views/purchaseOrder/component/sub.vue
@@ -0,0 +1,245 @@
+
+
+
+
+
+ 订单详情
+
+
+
+
+
+
+
+
订单编号:
+
{{ formData.number }}
+
+
+
商品款数:
+
{{ formData.goods_count }}
+
+
+
商品总价:
+
¥{{ formData.total }}
+
+
+
创建时间:
+
{{ formData.create_time }}
+
+
+
优惠抵扣:
+
+ ¥{{ formData.deduction_price }}
+
+
+
+
实际支付:
+
¥{{ formData.actual }}
+
+
+
支付时间:
+
{{ formData.update_time }}
+
+
+
支付方式:
+
+ 微信收款
+ 余额支付
+ 微信支付
+
+
+
+
收货人信息
+
+
+
收货人:
+
+ {{ formData.real_name }}
+
+
+
+
联系方式:
+
+ {{ formData.user_phone }}
+
+
+
+
收货地址:
+
+ {{ formData.user_address }}
+
+
+
+
+ 点击添加收货地址
+
+
+ 共计
+ {{ formData.goods_count }}
+ 款商品
+
+
+
+
+
+
+
+ {{
+ row.goods_name
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/purchaseOrder/index.vue b/src/views/purchaseOrder/index.vue
new file mode 100644
index 0000000..b48a3c9
--- /dev/null
+++ b/src/views/purchaseOrder/index.vue
@@ -0,0 +1,108 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/saleHome/component/shop.vue b/src/views/saleHome/component/shop.vue
index 2aaa702..2624e3d 100644
--- a/src/views/saleHome/component/shop.vue
+++ b/src/views/saleHome/component/shop.vue
@@ -89,7 +89,7 @@ onUnmounted(() => {
{
};
onMounted(() => {
getStoreList();
- where.value.page_no++;
mitt.on("F9", aF9);
});
diff --git a/src/views/saleOrder/component/order.vue b/src/views/saleOrder/component/order.vue
index 7d9594c..98a6e73 100644
--- a/src/views/saleOrder/component/order.vue
+++ b/src/views/saleOrder/component/order.vue
@@ -118,6 +118,7 @@ onUnmounted(()=>{
end-placeholder="结束时间"
size="small"
value-format="YYYY/MM/DD"
+ :disabled-date="disabledDate"
@change="changeDate"
style="width: 14rem; margin-left: 1rem"
/>
diff --git a/src/views/test/test.vue b/src/views/test/test.vue
index 6e77172..9d50e56 100644
--- a/src/views/test/test.vue
+++ b/src/views/test/test.vue
@@ -1,31 +1,58 @@
-
-
-
小票标题
-
商品名称: 商品1
-
价格: ¥10.00
-
数量: 1
-
-------------------
-
总计: ¥10.00
-
-------------------
-
- 打印
+
+
+
小票标题
+
商品名称: 商品1
+
价格: ¥10.00
+
数量: 1
+
-------------------
+
总计: ¥10.00
+
-------------------
+
+
+ 打印
\ No newline at end of file
+