From 656d2b8cdb37e0e7fb94e1d15cdd45658f4c8311 Mon Sep 17 00:00:00 2001
From: zmj <1493694146@qq.com>
Date: Wed, 8 May 2024 17:34:22 +0800
Subject: [PATCH] add
---
api/api.js | 9 +
api/quotation.js | 6 +
pageQuota/quotation/index.vue | 217 +++++++--------
pageQuota/quotation/index1.vue | 148 ++++++++++
pages/login/login.vue | 489 +++++++++++++++++----------------
store/user.js | 4 +-
6 files changed, 525 insertions(+), 348 deletions(-)
create mode 100644 api/quotation.js
create mode 100644 pageQuota/quotation/index1.vue
diff --git a/api/api.js b/api/api.js
index e69de29..701edeb 100644
--- a/api/api.js
+++ b/api/api.js
@@ -0,0 +1,9 @@
+import request from '@/utils/request';
+
+export const goodListApi = (data) => {
+ return request.get('/goods/goods/lists', data);
+}
+
+export const goodClassListApi = (data) => {
+ return request.get('/goods/goodsclass/lists', data);
+}
\ No newline at end of file
diff --git a/api/quotation.js b/api/quotation.js
new file mode 100644
index 0000000..e7596d0
--- /dev/null
+++ b/api/quotation.js
@@ -0,0 +1,6 @@
+import request from '@/utils/request';
+
+//报价单列表
+export const OpurchaseGoodsOfferApi = (data) => {
+ return request.get('/operation/OpurchaseGoodsOffer/list', data);
+}
\ No newline at end of file
diff --git a/pageQuota/quotation/index.vue b/pageQuota/quotation/index.vue
index 742448e..94410e5 100644
--- a/pageQuota/quotation/index.vue
+++ b/pageQuota/quotation/index.vue
@@ -1,49 +1,44 @@
-
-
-
-
-
-
- 订单列表
-
-
- 报价记录
-
-
-
-
-
-
-
-
+
PF171504442988969633
- 待报价
- 已成交
- 未成交
+ 2023-04-25
-
-
-
-
+
+
+
+
+ 未报价
+
+
+
+
+ 正宗新疆哈密瓜网纹瓜
+
+
+ 需求量: 100斤
+
+
+
+
+
+
+
+
-
-
-
- 共4件
-
-
-
+
+
+
@@ -52,97 +47,103 @@
ref,
reactive
} from "vue"
+ const value1 = ref('')
+ const value2 = ref('')
- const navgo = (url) => {
- uni.navigateTo({
- url
- })
- }
-
-
- // 搜索
- const keyword = ref('')
- const searchKeyword = () => {
- console.log("sousuo1")
- }
- // 搜索结束
-
- // tabsindex
- const tabIndex = ref(1)
- const {
- windowWidth
- } = uni.getSystemInfoSync();
- const tabsLeft = ref(((windowWidth / 2) - 26) / 2)
- const tabsRight = ref(tabsLeft.value + (windowWidth / 2))
- // tabsindex结束
+ // 状态图片url
+ const successPng = ref('https://lihai001.oss-cn-chengdu.aliyuncs.com/attach/739c3202405071458553459.png')
+ const errPng = ref('https://lihai001.oss-cn-chengdu.aliyuncs.com/attach/04c2c202405071501462462.png')
+ // 状态图片url结束
\ No newline at end of file
diff --git a/pageQuota/quotation/index1.vue b/pageQuota/quotation/index1.vue
new file mode 100644
index 0000000..742448e
--- /dev/null
+++ b/pageQuota/quotation/index1.vue
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+ 订单列表
+
+
+ 报价记录
+
+
+
+
+
+
+
+
+
+ PF171504442988969633
+ 待报价
+ 已成交
+ 未成交
+
+
+
+
+
+
+
+
+
+
+ 共4件
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/login/login.vue b/pages/login/login.vue
index 5816357..bdbf65a 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -1,268 +1,281 @@
-
-
-
-
-
-
-
-
-
- 欢迎登录惠农批发
-
-
-
- 微信快捷登录
-
-
- 使用短信验证登录
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{tips}}
-
-
-
-
-
- 登录
-
-
-
-
-
-
-
- 我已同意《用户协议》与《隐私政策》
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ 欢迎登录惠农批发
+
+
+
+ 微信快捷登录
+
+
+ 使用短信验证登录
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{tips}}
+
+
+
+
+
+ 登录
+
+
+
+
+
+
+
+ 我已同意《用户协议》与《隐私政策》
+
+
+
+
+
\ No newline at end of file
diff --git a/store/user.js b/store/user.js
index 12aec61..f442ba7 100644
--- a/store/user.js
+++ b/store/user.js
@@ -24,7 +24,7 @@ const useUserStore = defineStore("user", () => {
}
// #ifdef H5
- token.value = "0f680a9bc1cdccd7ce588a2a58029411"
+ token.value = "dc1b0fbf7db707502bd127cd02797a6a"
// token.value = "95b24dd6d2dda836fe07854b08ba0944"
userInfo.value = {
avatar: "https://lihaiim.oss-cn-chengdu.aliyuncs.com/image/admin/default_avatar.png",
@@ -34,7 +34,7 @@ const useUserStore = defineStore("user", () => {
mobile: "19330904744",
nickname: "用户1714964250",
supplier: null,
- token: "b92ad3d7bdc06fa849dfb2c3c8be824e"
+ token: "dc1b0fbf7db707502bd127cd02797a6a"
}
// #endif