From 02b68e742e219ac4d3cc774efc4297938963c8d8 Mon Sep 17 00:00:00 2001
From: mo-bai <1873032855@qq.com>
Date: Thu, 7 Apr 2022 15:57:15 +0800
Subject: [PATCH] =?UTF-8?q?=E7=BA=B8=E5=93=81=E8=B4=A6=E6=9C=9F=E4=BB=B7?=
=?UTF-8?q?=E6=A0=BC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
App.vue | 2 +
apis/clientCreditApi.js | 11 ++++
enums/index.js | 33 +++++------
env/index.js | 4 +-
pages/add-paper/index.vue | 64 +++++++++++++++-------
pages/client-detail/basic-information.vue | 2 +-
pages/client-list/index.vue | 2 +-
pages/fs-credit/index.vue | 14 +++--
pages/mine/index.vue | 11 ++--
pages/month-credit/index.vue | 22 ++++----
static/imgs/.DS_Store | Bin 8196 -> 8196 bytes
11 files changed, 101 insertions(+), 64 deletions(-)
diff --git a/App.vue b/App.vue
index 82684a9..5c965ae 100644
--- a/App.vue
+++ b/App.vue
@@ -46,7 +46,9 @@ export default {
},
onShow: function () {
// 先默认进入应用就清除所有消息
+ // #ifdef APP-PLUS
plus.runtime.setBadgeNumber(0)
+ // #endif
},
data() {
return {
diff --git a/apis/clientCreditApi.js b/apis/clientCreditApi.js
index bf706ff..5721438 100644
--- a/apis/clientCreditApi.js
+++ b/apis/clientCreditApi.js
@@ -41,6 +41,17 @@ export function makeFsCreditInfo(data) {
})
}
+/**
+ * 获取账期类型列表
+ * @param {*} data
+ */
+export function getCreditType(data) {
+ return http.get({
+ url: '/yyt-uec/credit/get/monthly/invoicing/period/type',
+ data
+ })
+}
+
/**
* 获取飞算授信客户列表
* @param {*} data
diff --git a/enums/index.js b/enums/index.js
index f660dd7..def46dd 100644
--- a/enums/index.js
+++ b/enums/index.js
@@ -57,32 +57,29 @@ export const uploadUrl = {
file: `https://api-client-yyt${urlEnv}.qniao.cn/yyt-uec/file-uploading/upload/file`
}
/**
- * 结算周期:1:月结30(飞算1期),2:月结45,3:月结60(飞算2期),4:月结75,5:月结90(飞算3期)
+ * 结算周期:2:月结30 4:月结69
*/
export const settlementPeriodEnum = [
- {
- value: 1,
- label: '月结30'
- },
{
value: 2,
- label: '月结45'
- },
- {
- value: 3,
- label: '月结60'
+ label: '月结30'
},
{
value: 4,
- label: '月结75'
- },
- {
- value: 5,
- label: '月结90'
+ label: '月结60'
}
]
+
/**
- * 结算周期:1:1期,2:2期,3:3期
+ * 授信方式 0:飞算 1:月结
+ */
+export const creditTypeEnum = {
+ MONTHLY_PAYMENT: 1,
+ FS_PAYMENT: 0
+}
+
+/**
+ * 结算周期:1:1期,3:2期,5:3期
*/
export const fsSettlementPeriodEnum = [
{
@@ -90,11 +87,11 @@ export const fsSettlementPeriodEnum = [
label: '1期'
},
{
- value: 2,
+ value: 3,
label: '2期'
},
{
- value: 3,
+ value: 5,
label: '3期'
}
]
diff --git a/env/index.js b/env/index.js
index bcf6a22..a0bfcb1 100644
--- a/env/index.js
+++ b/env/index.js
@@ -1,8 +1,8 @@
/**
* @description 唯一环境变量
*/
-// const env = 'test'
+const env = 'test'
// const env = 'dev'
-const env = 'production'
+// const env = 'production'
export default env
diff --git a/pages/add-paper/index.vue b/pages/add-paper/index.vue
index 0a49057..08750ec 100644
--- a/pages/add-paper/index.vue
+++ b/pages/add-paper/index.vue
@@ -86,7 +86,7 @@
-
+
纸品售价
@@ -153,6 +153,40 @@
元/{{ item.stockUnit === 1 ? '张' : '吨' }}
+
+
+
+ 三十天账期单价:
+
+
+
+ 元/{{ item.stockUnit === 1 ? '张' : '吨' }}
+
+
+
+
+
+ 六十天账期单价:
+
+
+
+ 元/{{ item.stockUnit === 1 ? '张' : '吨' }}
+
+
@@ -191,7 +225,7 @@
-
+
纸品图片
@@ -207,7 +241,7 @@
-
+
商品卖点
@@ -223,7 +257,7 @@
-
+
商品描述
@@ -238,7 +272,7 @@
>
-
+
送货说明
@@ -253,7 +287,7 @@
>
-
+
其他说明
@@ -268,14 +302,14 @@
>
-
+