-
+
挂账笔数
-
55
+
{{ total }}
+
+
+
挂账总额
+
{{ allAmount }}
+
+
+
归还笔数
+
{{ returnTotal }}
+
+
+
归还总额
+
{{ returnAllAmount }}
+
+
+
未还金额
+
{{ noReturnAllAmount }}
-
@@ -128,13 +143,13 @@
{{ props.row.remark ? props.row.remark:"--" }}
- {{ props.row.amount ? props.row.amount:"--" }}
+ {{ props.row.amount ? props.row.amount:"0" }}
- {{ props.row.repaidAmount ? props.row.repaidAmount:"--" }}
+ {{ props.row.repaidAmount ? props.row.repaidAmount:"0" }}
- {{ props.row.outstandAmount ? props.row.outstandAmount:"--" }}
+ {{ props.row.outstandAmount ? props.row.outstandAmount:"0" }}
@@ -647,8 +662,8 @@
import {
addHangBill,
batchHangBill,
- editHangBill,
- hangBillInfo,
+ editHangBill, hangBillAllAmount, hangBillAllNoReturnAmount, hangBillAllReturnAmount,
+ hangBillInfo, hangBillReturnTotal,
hangBills,
listHangBill,
queryHangBill
@@ -661,6 +676,14 @@ import {listReturnRecord, returnRecordByOrderNo, returnRecordInfo} from "@/api/c
name: "credit",
data(){
return{
+ // 归还账单总数
+ returnTotal:0,
+ // 挂账总额
+ allAmount:0,
+ // 归还总额
+ returnAllAmount:0,
+ // 未归还总额
+ noReturnAllAmount:0,
// 挂账金额
amount:0,
// 未归还金额
@@ -754,60 +777,6 @@ import {listReturnRecord, returnRecordByOrderNo, returnRecordInfo} from "@/api/c
status: [ { required: true, message: "请选择挂账单位状态", trigger: "blur" }, ],
},
- // labelPosition: 'right',
- // formLabelAlign: {
- // name: '',
- // },
- // tableData: [{
- // date: '2016-05-03',
- // name: '王小虎',
- // province: '上海',
- // city: '普陀区',
- // address: '上海市普陀区金沙江路 1518 弄',
- // zip: 200333
- // }, {
- // date: '2016-05-02',
- // name: '王小虎',
- // province: '上海',
- // city: '普陀区',
- // address: '上海市普陀区金沙江路 1518 弄',
- // zip: 200333
- // }, {
- // date: '2016-05-04',
- // name: '王小虎',
- // province: '上海',
- // city: '普陀区',
- // address: '上海市普陀区金沙江路 1518 弄',
- // zip: 200333
- // }, {
- // date: '2016-05-01',
- // name: '王小虎',
- // province: '上海',
- // city: '普陀区',
- // address: '上海市普陀区金沙江路 1518 弄',
- // zip: 200333
- // }, {
- // date: '2016-05-08',
- // name: '王小虎',
- // province: '上海',
- // city: '普陀区',
- // address: '上海市普陀区金沙江路 1518 弄',
- // zip: 200333
- // }, {
- // date: '2016-05-06',
- // name: '王小虎',
- // province: '上海',
- // city: '普陀区',
- // address: '上海市普陀区金沙江路 1518 弄',
- // zip: 200333
- // }, {
- // date: '2016-05-07',
- // name: '王小虎',
- // province: '上海',
- // city: '普陀区',
- // address: '上海市普陀区金沙江路 1518 弄',
- // zip: 200333
- // }]
}
},
created() {
@@ -815,6 +784,7 @@ import {listReturnRecord, returnRecordByOrderNo, returnRecordInfo} from "@/api/c
this.getUnitList();
this.getPayList();
this.getLists();
+ this.getStatistic();
},
directives: {
// 注册一个局部的自定义指令 v-focus
@@ -830,6 +800,21 @@ import {listReturnRecord, returnRecordByOrderNo, returnRecordInfo} from "@/api/c
},
},
methods:{
+ // 获取挂账统计信息
+ getStatistic(){
+ hangBillReturnTotal().then(res => {
+ this.returnTotal = res.data
+ })
+ hangBillAllAmount().then(res => {
+ this.allAmount = res.data
+ })
+ hangBillAllReturnAmount().then(res => {
+ this.returnAllAmount = res.data
+ })
+ hangBillAllNoReturnAmount().then(res => {
+ this.noReturnAllAmount = res.data
+ })
+ },
getPayMeth(list,val){
let name = "";
if (list!=null && list!=""){
diff --git a/fuintCashierWeb/src/views/cashier/vipComponents/vipList.vue b/fuintCashierWeb/src/views/cashier/vipComponents/vipList.vue
index 8acd893e9..4b38789fb 100644
--- a/fuintCashierWeb/src/views/cashier/vipComponents/vipList.vue
+++ b/fuintCashierWeb/src/views/cashier/vipComponents/vipList.vue
@@ -100,125 +100,75 @@
-
-
- 统计
-
-
-
-
会员总数
-
55
+
+ 统计
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ addNum }}/{{ yesterdayAddNum }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
@@ -607,67 +557,13 @@
rules: {
name: [
{ required: true, message: "会员名称不能为空", trigger: "blur" },
- { min: 2, max: 200, message: '会员名称长度必须介于2 和 100 之间', trigger: 'blur' }
+ // { min: 2, max: 200, message: '会员名称长度必须介于2 和 100 之间', trigger: 'blur' }
],
gradeId: [{ required: true, message: "会员等级", trigger: "blur" }],
mobile: [
{ required: true, message: "请输入手机号", trigger: "blur" },
],
},
- // labelPosition: 'right',
- // formLabelAlign: {
- // name: '',
- // },
- // tableData: [{
- // date: '2016-05-03',
- // name: '王小狼',
- // province: '上海',
- // city: '普陀区',
- // address: '上海市普陀区金沙江路 1518 弄',
- // zip: 200333
- // }, {
- // date: '2016-05-02',
- // name: '王小虎',
- // province: '上海',
- // city: '普陀区',
- // address: '上海市普陀区金沙江路 1518 弄',
- // zip: 200333
- // }, {
- // date: '2016-05-04',
- // name: '王小虎',
- // province: '上海',
- // city: '普陀区',
- // address: '上海市普陀区金沙江路 1518 弄',
- // zip: 200333
- // }, {
- // date: '2016-05-01',
- // name: '王小虎',
- // province: '上海',
- // city: '普陀区',
- // address: '上海市普陀区金沙江路 1518 弄',
- // zip: 200333
- // }, {
- // date: '2016-05-08',
- // name: '王小虎',
- // province: '上海',
- // city: '普陀区',
- // address: '上海市普陀区金沙江路 1518 弄',
- // zip: 200333
- // }, {
- // date: '2016-05-06',
- // name: '王小虎',
- // province: '上海',
- // city: '普陀区',
- // address: '上海市普陀区金沙江路 1518 弄',
- // zip: 200333
- // }, {
- // date: '2016-05-07',
- // name: '王小虎',
- // province: '上海',
- // city: '普陀区',
- // address: '上海市普陀区金沙江路 1518 弄',
- // zip: 200333
- // }]
}
},
created() {
@@ -675,6 +571,7 @@
this.getConfig();
this.getUserList();
this.getOfficial();
+ this.getStatistic();
},
methods:{
getOfficial(){
@@ -718,8 +615,8 @@
// this.literCard = response.data.literCard;
// this.refuelMoney = response.data.refuelMoney;
});
- listUserGrade().then( response => {
- this.userGradeList = response.data.records
+ listUserGrade({page:1,pageSize:20}).then( response => {
+ this.userGradeList = response.data.records;
});
ljStoreList().then( response => {
this.storeList = response.data
@@ -961,6 +858,11 @@
.top-app-sou{
width: 20%;
}
-
+ .sta{
+ height: 100px;
+ margin-top: 10px;
+ background: #f6f8f9;
+ padding-top: 30px;
+ }
From 399cf05de6c3e2196c3bc9304b96b1dba18c5ed0 Mon Sep 17 00:00:00 2001
From: cun-nan <19819293608@163.com>
Date: Sat, 13 Jan 2024 13:13:18 +0800
Subject: [PATCH 3/3] bug
---
fuintAdmin/src/views/convenienceStore/goodsFile.vue | 8 ++++----
.../src/views/cashier/orderComponents/order_Oil.vue | 1 +
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/fuintAdmin/src/views/convenienceStore/goodsFile.vue b/fuintAdmin/src/views/convenienceStore/goodsFile.vue
index df3751b1f..f04e21e64 100644
--- a/fuintAdmin/src/views/convenienceStore/goodsFile.vue
+++ b/fuintAdmin/src/views/convenienceStore/goodsFile.vue
@@ -211,21 +211,21 @@
-
+
元
-
+
元
-
+
元
@@ -258,7 +258,7 @@
-
+
diff --git a/fuintCashierWeb/src/views/cashier/orderComponents/order_Oil.vue b/fuintCashierWeb/src/views/cashier/orderComponents/order_Oil.vue
index 7cd0367d1..7a0d4b05b 100644
--- a/fuintCashierWeb/src/views/cashier/orderComponents/order_Oil.vue
+++ b/fuintCashierWeb/src/views/cashier/orderComponents/order_Oil.vue
@@ -386,6 +386,7 @@
let data = await getUser(id);
result = data.data.name + "|" + data.data.mobile
}
+ console.log(result)
return result.toString();
},
getVal(list,val){