Ver código fonte

Merge branch 'master' into redesign‌-260706

shish 8 horas atrás
pai
commit
e462fa8722

+ 0 - 11
ghs/src/views/assets/cgItem.vue

@@ -22,9 +22,6 @@
 						</span>
 						</span>
 						<span v-if="Number(nextDayDeduct) > 0" style="font-size:15px;font-weight:bold;margin-left:15px;color:#e67e22;">隔天售后扣减:¥{{ formatNum(nextDayDeduct) }}</span>
 						<span v-if="Number(nextDayDeduct) > 0" style="font-size:15px;font-weight:bold;margin-left:15px;color:#e67e22;">隔天售后扣减:¥{{ formatNum(nextDayDeduct) }}</span>
 					</div>
 					</div>
-					<div class="cg-tip">
-						数量、金额已按售后扣减(隔天售后记在通过日,可为负)。入库日不含隔天退货量。
-					</div>
 				</div>
 				</div>
 			</template>
 			</template>
 
 
@@ -201,12 +198,4 @@ export default {
   display: block;
   display: block;
   line-height: 1.6;
   line-height: 1.6;
 }
 }
-.cg-tip {
-  display: block;
-  width: 100%;
-  margin-top: 8px;
-  font-size: 13px;
-  color: #1c89e0;
-  line-height: 1.6;
-}
 </style>
 </style>

+ 1 - 15
ghs/src/views/assets/incomeClass.vue

@@ -12,11 +12,6 @@
 			<template #slot-export-due>
 			<template #slot-export-due>
 				<el-button type="primary" size="mini" style="margin-left:60px;" @click="exportData()">导出数据</el-button>
 				<el-button type="primary" size="mini" style="margin-left:60px;" @click="exportData()">导出数据</el-button>
 			</template>
 			</template>
-			<template #slot-class-tip>
-				<div class="class-tip">
-					采购成本、销售收入已按售后扣减(隔天售后记在通过日,分类成本/收入可为负)。采购仅退款、销售仅退款含隔天通过日金额。
-				</div>
-			</template>
 			<template #table-column-income="{scope}">
 			<template #table-column-income="{scope}">
 				<div :style="negStyle(scope.row.income)">{{ formatNum(scope.row.income) }}</div>
 				<div :style="negStyle(scope.row.income)">{{ formatNum(scope.row.income) }}</div>
 			</template>
 			</template>
@@ -180,7 +175,7 @@ export default {
 						'flex1'
 						'flex1'
 					],
 					],
 					[ 'data-table' ],
 					[ 'data-table' ],
-                    ['slot-class-tip','flex1']
+                    ['flex1']
 				])
 				])
 				.done();
 				.done();
 			    app.refresh();
 			    app.refresh();
@@ -199,13 +194,4 @@ export default {
 .shop-list {
 .shop-list {
   height: 100%;
   height: 100%;
 }
 }
-.class-tip {
-  display: block;
-  width: 100%;
-  margin-top: 10px;
-  padding: 0 4px;
-  font-size: 13px;
-  color: #1c89e0;
-  line-height: 1.6;
-}
 </style>
 </style>

+ 1 - 15
ghs/src/views/assets/incomeOutItem.vue

@@ -12,11 +12,6 @@
 			<template #slot-export-due>
 			<template #slot-export-due>
 				<el-button type="primary" size="mini" style="margin-left:60px;" @click="exportData()">导出数据</el-button>
 				<el-button type="primary" size="mini" style="margin-left:60px;" @click="exportData()">导出数据</el-button>
 			</template>
 			</template>
-			<template #slot-item-tip>
-				<div class="item-tip">
-					采购成本、销售收入已按售后扣减(隔天售后记在通过日,花材成本/收入/数量可为负)。采购仅退款、销售仅退款含隔天通过日金额。
-				</div>
-			</template>
 			<template #table-column-income="{scope}">
 			<template #table-column-income="{scope}">
 				<div :style="negStyle(scope.row.income)">{{ formatNum(scope.row.income) }}</div>
 				<div :style="negStyle(scope.row.income)">{{ formatNum(scope.row.income) }}</div>
 			</template>
 			</template>
@@ -177,7 +172,7 @@ export default {
 						'flex1'
 						'flex1'
 					],
 					],
 					[ 'data-table' ],
 					[ 'data-table' ],
-                    ['slot-item-tip','flex1']
+                    ['flex1']
 				])
 				])
 				.done();
 				.done();
 			    app.refresh();
 			    app.refresh();
@@ -196,13 +191,4 @@ export default {
 .shop-list {
 .shop-list {
   height: 100%;
   height: 100%;
 }
 }
-.item-tip {
-  display: block;
-  width: 100%;
-  margin-top: 10px;
-  padding: 0 4px;
-  font-size: 13px;
-  color: #1c89e0;
-  line-height: 1.6;
-}
 </style>
 </style>

+ 0 - 11
ghs/src/views/assets/itemSale.vue

@@ -25,9 +25,6 @@
 						</span>
 						</span>
 						<span v-if="Number(nextDayDeduct) > 0" style="font-size:15px;font-weight:bold;margin-left:15px;color:#e67e22;">隔天售后扣减:¥{{ formatNum(nextDayDeduct) }}</span>
 						<span v-if="Number(nextDayDeduct) > 0" style="font-size:15px;font-weight:bold;margin-left:15px;color:#e67e22;">隔天售后扣减:¥{{ formatNum(nextDayDeduct) }}</span>
 					</div>
 					</div>
-					<div class="sale-tip">
-						数量、金额、毛利已按售后扣减(隔天售后记在通过日,可为负)。仅退款只扣金额不扣扎数。
-					</div>
 				</div>
 				</div>
 			</template>
 			</template>
 
 
@@ -210,12 +207,4 @@ export default {
   display: block;
   display: block;
   line-height: 1.6;
   line-height: 1.6;
 }
 }
-.sale-tip {
-  display: block;
-  width: 100%;
-  margin-top: 8px;
-  font-size: 13px;
-  color: #1c89e0;
-  line-height: 1.6;
-}
 </style>
 </style>

+ 33 - 2
ghs/src/views/in/refund-list.vue

@@ -1,3 +1,6 @@
+<!--
+  PC 采购售后记录列表:售后类型后展示「售后时间」(当天/隔天),对齐小程序 pagesPurchase/refundList。
+-->
 <template>
 <template>
 	<div class="app-list-content">
 	<div class="app-list-content">
 		<x-crud class="liu-crud-wrap" @load="onLoad">
 		<x-crud class="liu-crud-wrap" @load="onLoad">
@@ -12,6 +15,13 @@
 				{{ scope.row.refundType==1?'退货并退款':'仅退款' }}
 				{{ scope.row.refundType==1?'退货并退款':'仅退款' }}
 			</template>
 			</template>
 
 
+			<!-- sameDay=0 隔天售后,否则当天售后 -->
+			<template #table-column-sameDay="{scope}">
+				<span :style="Number(scope.row.sameDay) === 0 ? 'color:#e67e22;font-weight:bold;' : ''">
+					{{ Number(scope.row.sameDay) === 0 ? '隔天售后' : '当天售后' }}
+				</span>
+			</template>
+
             <template #table-column-status="{scope}">
             <template #table-column-status="{scope}">
 				{{ scope.row.status==0?'审核中': scope.row.status==1? '已完成' : '其它' }}
 				{{ scope.row.status==0?'审核中': scope.row.status==1? '已完成' : '其它' }}
 			</template>
 			</template>
@@ -48,6 +58,11 @@
 				<el-select size="mini" v-model="currentStaffName" placeholder="操作人" style="width:110px;margin-left:8px;" @change="getKdStaff" :clearable="true">
 				<el-select size="mini" v-model="currentStaffName" placeholder="操作人" style="width:110px;margin-left:8px;" @change="getKdStaff" :clearable="true">
 					<el-option v-for="item in staffList" :key="item.id" :label="item.name" :value="item.id"></el-option>
 					<el-option v-for="item in staffList" :key="item.id" :label="item.name" :value="item.id"></el-option>
 				</el-select>
 				</el-select>
+				<!-- 售后时间:当天 sameDay=1 / 隔天 sameDay=0;清空为全部 -->
+				<el-select size="mini" v-model="sameDayFilter" placeholder="售后时间" style="width:110px;margin-left:8px;" @change="onSameDayChange" :clearable="true">
+					<el-option label="当天售后" :value="1"></el-option>
+					<el-option label="隔天售后" :value="0"></el-option>
+				</el-select>
 				<span style="margin-left:9px;font-size:16px;">采购单日期:</span>
 				<span style="margin-left:9px;font-size:16px;">采购单日期:</span>
 				<el-date-picker v-model="currentDateList" type="daterange" align="right" unlink-panels range-separator="至" start-placeholder="开始日期" @change="getSearchDate" value-format="yyyy-MM-dd"
 				<el-date-picker v-model="currentDateList" type="daterange" align="right" unlink-panels range-separator="至" start-placeholder="开始日期" @change="getSearchDate" value-format="yyyy-MM-dd"
 					class="custom-date-picker" end-placeholder="结束日期" :picker-options="pickerOptions" size="mini" style="margin-right:8px;">
 					class="custom-date-picker" end-placeholder="结束日期" :picker-options="pickerOptions" size="mini" style="margin-right:8px;">
@@ -139,6 +154,8 @@ export default {
 			refundSearchTime:'',
 			refundSearchTime:'',
 			currentRefundDateList:[],
 			currentRefundDateList:[],
 			status:'-1',
 			status:'-1',
+			/** 售后时间筛选:null=全部,1=当天,0=隔天 */
+			sameDayFilter: null,
 			totalRefundPrice:0,
 			totalRefundPrice:0,
 			currentGhsName:'',
 			currentGhsName:'',
 			currentGhsId:0,
 			currentGhsId:0,
@@ -178,6 +195,14 @@ export default {
 			this.currentStaffId = e
 			this.currentStaffId = e
       		this.refreshData()
       		this.refreshData()
 		},
 		},
+		/** 切换售后时间筛选后刷新列表 */
+		onSameDayChange(){
+			this.refreshData()
+		},
+		/** 请求参数 sameDay:-1全部 / 1当天 / 0隔天 */
+		sameDayQuery(){
+			return (this.sameDayFilter === 0 || this.sameDayFilter === 1) ? this.sameDayFilter : -1
+		},
 		getSearchDate(){
 		getSearchDate(){
 			if (this.$util.isEmpty(this.currentDateList)) {
 			if (this.$util.isEmpty(this.currentDateList)) {
 				this.searchTime = ''
 				this.searchTime = ''
@@ -204,11 +229,11 @@ export default {
 		},
 		},
 		refreshData(){
 		refreshData(){
       		this.app.refresh({status:this.tabIndex,searchTime:this.searchTime,startTime:this.startTime,endTime:this.endTime,refundSearchTime:this.refundSearchTime,refundStartTime:this.refundStartTime,
       		this.app.refresh({status:this.tabIndex,searchTime:this.searchTime,startTime:this.startTime,endTime:this.endTime,refundSearchTime:this.refundSearchTime,refundStartTime:this.refundStartTime,
-				refundEndTime:this.refundEndTime,shopAdminId:this.currentStaffId,status:this.status,ghsId:this.currentGhsId})
+				refundEndTime:this.refundEndTime,shopAdminId:this.currentStaffId,status:this.status,ghsId:this.currentGhsId,sameDay:this.sameDayQuery()})
     	},
     	},
 		exportData(){
 		exportData(){
 			this.$service.cgRefund.getList({status:this.tabIndex,searchTime:this.searchTime,startTime:this.startTime,endTime:this.endTime,refundSearchTime:this.refundSearchTime,refundStartTime:this.refundStartTime,
 			this.$service.cgRefund.getList({status:this.tabIndex,searchTime:this.searchTime,startTime:this.startTime,endTime:this.endTime,refundSearchTime:this.refundSearchTime,refundStartTime:this.refundStartTime,
-				refundEndTime:this.refundEndTime,shopAdminId:this.currentStaffId,status:this.status,pageSize:9999999,export:1,ghsId:this.currentGhsId}).then(res => {
+				refundEndTime:this.refundEndTime,shopAdminId:this.currentStaffId,status:this.status,pageSize:9999999,export:1,ghsId:this.currentGhsId,sameDay:this.sameDayQuery()}).then(res => {
 				if(res.file){
 				if(res.file){
 					window.location.href = res.file
 					window.location.href = res.file
 				}
 				}
@@ -293,6 +318,12 @@ export default {
 							align: 'center',
 							align: 'center',
 							width: 110
 							width: 110
 						},
 						},
+						{
+							prop: 'sameDay',
+							label: '售后时间',
+							align: 'center',
+							width: 100
+						},
 						{
 						{
 							prop: 'shopAdminName',
 							prop: 'shopAdminName',
 							label: '操作人',
 							label: '操作人',

+ 33 - 2
ghs/src/views/order/refund-list.vue

@@ -1,3 +1,6 @@
+<!--
+  PC 销售售后记录列表:展示售后类型后增加「售后时间」(当天/隔天),对齐小程序 refundList。
+-->
 <template>
 <template>
 	<div class="app-list-content">
 	<div class="app-list-content">
 		<x-crud class="liu-crud-wrap" @load="onLoad">
 		<x-crud class="liu-crud-wrap" @load="onLoad">
@@ -12,6 +15,13 @@
 				{{ scope.row.refundType==1?'退货并退款':'仅退款' }}
 				{{ scope.row.refundType==1?'退货并退款':'仅退款' }}
 			</template>
 			</template>
 
 
+			<!-- sameDay=0 隔天售后,否则当天售后 -->
+			<template #table-column-sameDay="{scope}">
+				<span :style="Number(scope.row.sameDay) === 0 ? 'color:#e67e22;font-weight:bold;' : ''">
+					{{ Number(scope.row.sameDay) === 0 ? '隔天售后' : '当天售后' }}
+				</span>
+			</template>
+
 			<template #table-column-cause="{scope}">
 			<template #table-column-cause="{scope}">
 				{{ scope.row.cause==0?'质量问题' : scope.row.cause==1 ?'多开错开': scope.row.cause==2 ? '打包原因' : scope.row.cause==3 ? '物流原因' : '其它'}}
 				{{ scope.row.cause==0?'质量问题' : scope.row.cause==1 ?'多开错开': scope.row.cause==2 ? '打包原因' : scope.row.cause==3 ? '物流原因' : '其它'}}
 			</template>
 			</template>
@@ -56,6 +66,11 @@
 				<el-select size="mini" v-model="currentStaffName" placeholder="操作人" style="width:110px;margin-left:8px;" @change="getKdStaff" :clearable="true">
 				<el-select size="mini" v-model="currentStaffName" placeholder="操作人" style="width:110px;margin-left:8px;" @change="getKdStaff" :clearable="true">
 					<el-option v-for="item in staffList" :key="item.id" :label="item.name" :value="item.id"></el-option>
 					<el-option v-for="item in staffList" :key="item.id" :label="item.name" :value="item.id"></el-option>
 				</el-select>
 				</el-select>
+				<!-- 售后时间:当天 sameDay=1 / 隔天 sameDay=0;清空为全部 -->
+				<el-select size="mini" v-model="sameDayFilter" placeholder="售后时间" style="width:110px;margin-left:8px;" @change="onSameDayChange" :clearable="true">
+					<el-option label="当天售后" :value="1"></el-option>
+					<el-option label="隔天售后" :value="0"></el-option>
+				</el-select>
 				<span style="margin-left:9px;font-size:18px;">订单日期:</span>
 				<span style="margin-left:9px;font-size:18px;">订单日期:</span>
 				<el-date-picker v-model="currentDateList" type="daterange" align="right" unlink-panels range-separator="至" start-placeholder="开始日期" @change="getSearchDate" value-format="yyyy-MM-dd"
 				<el-date-picker v-model="currentDateList" type="daterange" align="right" unlink-panels range-separator="至" start-placeholder="开始日期" @change="getSearchDate" value-format="yyyy-MM-dd"
 					class="custom-date-picker" end-placeholder="结束日期" :picker-options="pickerOptions" size="mini" style="margin-right:8px;">
 					class="custom-date-picker" end-placeholder="结束日期" :picker-options="pickerOptions" size="mini" style="margin-right:8px;">
@@ -157,6 +172,8 @@ export default {
 			refundSearchTime:'',
 			refundSearchTime:'',
 			currentRefundDateList:[],
 			currentRefundDateList:[],
 			status:'-1',
 			status:'-1',
+			/** 售后时间筛选:null=全部,1=当天,0=隔天 */
+			sameDayFilter: null,
 			totalRefundPrice:0,
 			totalRefundPrice:0,
 			currentCustomName:'',
 			currentCustomName:'',
 			currentCustomId:0,
 			currentCustomId:0,
@@ -205,6 +222,14 @@ export default {
 			this.currentStaffId = e
 			this.currentStaffId = e
       		this.refreshData()
       		this.refreshData()
 		},
 		},
+		/** 切换售后时间筛选后刷新列表 */
+		onSameDayChange(){
+			this.refreshData()
+		},
+		/** 请求参数 sameDay:-1全部 / 1当天 / 0隔天 */
+		sameDayQuery(){
+			return (this.sameDayFilter === 0 || this.sameDayFilter === 1) ? this.sameDayFilter : -1
+		},
 		getSearchDate(){
 		getSearchDate(){
 			if (this.$util.isEmpty(this.currentDateList)) {
 			if (this.$util.isEmpty(this.currentDateList)) {
 				this.searchTime = ''
 				this.searchTime = ''
@@ -231,11 +256,11 @@ export default {
 		},
 		},
 		refreshData(){
 		refreshData(){
       		this.app.refresh({status:this.tabIndex,searchTime:this.searchTime,startTime:this.startTime,endTime:this.endTime,refundSearchTime:this.refundSearchTime,refundStartTime:this.refundStartTime,
       		this.app.refresh({status:this.tabIndex,searchTime:this.searchTime,startTime:this.startTime,endTime:this.endTime,refundSearchTime:this.refundSearchTime,refundStartTime:this.refundStartTime,
-				refundEndTime:this.refundEndTime,shopAdminId:this.currentStaffId,status:this.status,customId:this.currentCustomId})
+				refundEndTime:this.refundEndTime,shopAdminId:this.currentStaffId,status:this.status,customId:this.currentCustomId,sameDay:this.sameDayQuery()})
     	},
     	},
 		exportData(){
 		exportData(){
 			this.$service.refund.getRefundList({status:this.tabIndex,searchTime:this.searchTime,startTime:this.startTime,endTime:this.endTime,refundSearchTime:this.refundSearchTime,refundStartTime:this.refundStartTime,
 			this.$service.refund.getRefundList({status:this.tabIndex,searchTime:this.searchTime,startTime:this.startTime,endTime:this.endTime,refundSearchTime:this.refundSearchTime,refundStartTime:this.refundStartTime,
-				refundEndTime:this.refundEndTime,shopAdminId:this.currentStaffId,status:this.status,pageSize:9999999,export:1,customId:this.currentCustomId}).then(res => {
+				refundEndTime:this.refundEndTime,shopAdminId:this.currentStaffId,status:this.status,pageSize:9999999,export:1,customId:this.currentCustomId,sameDay:this.sameDayQuery()}).then(res => {
 				if(res.file){
 				if(res.file){
 					window.location.href = res.file
 					window.location.href = res.file
 				}
 				}
@@ -314,6 +339,12 @@ export default {
 							align: 'center',
 							align: 'center',
 							width: 120
 							width: 120
 						},
 						},
+						{
+							prop: 'sameDay',
+							label: '售后时间',
+							align: 'center',
+							width: 100
+						},
 						{
 						{
 							prop: 'book',
 							prop: 'book',
 							label: '类型',
 							label: '类型',

+ 1 - 4
ghsApp/src/admin/stat/cgItem.vue

@@ -21,11 +21,8 @@
 						<t-th><view @click="rankByFn('num')">总数量<i class="iconfont iconsanjiao_xia"></i></view></t-th>
 						<t-th><view @click="rankByFn('num')">总数量<i class="iconfont iconsanjiao_xia"></i></view></t-th>
 						<t-th><view @click="rankByFn('amount')">总金额<i class="iconfont iconsanjiao_xia"></i></view></t-th>
 						<t-th><view @click="rankByFn('amount')">总金额<i class="iconfont iconsanjiao_xia"></i></view></t-th>
 						</t-tr>
 						</t-tr>
-						<view style="color:#1c89e0;font-size:24upx;margin:10upx;line-height:1.5;">
-							数量、金额已按售后扣减(隔天售后记在通过日,可为负)。入库日不含隔天退货量。
-						</view>
 						<view v-if="Number(nextDayDeduct) > 0" style="color:#e67e22;font-size:26upx;margin:0 10upx 10upx 10upx;font-weight:bold;">
 						<view v-if="Number(nextDayDeduct) > 0" style="color:#e67e22;font-size:26upx;margin:0 10upx 10upx 10upx;font-weight:bold;">
-							本时段隔天售后扣减:¥{{ nextDayDeduct }}
+							隔天售后扣减:¥{{ nextDayDeduct }}
 						</view>
 						</view>
 						<block v-if="itemList && !$util.isEmpty(itemList)">
 						<block v-if="itemList && !$util.isEmpty(itemList)">
 							<view v-for="(item, index) in itemList" :key="index">
 							<view v-for="(item, index) in itemList" :key="index">

+ 1 - 4
ghsApp/src/admin/stat/cgStat.vue

@@ -20,11 +20,8 @@
 						<view style="font-size:30upx;margin:10upx 0 10upx 10upx;">总金额:
 						<view style="font-size:30upx;margin:10upx 0 10upx 10upx;">总金额:
 							<text :style="totalActPrice < 0 ? 'color:#e74c3c;font-weight:bold;' : ''">{{ totalActPrice }}</text>
 							<text :style="totalActPrice < 0 ? 'color:#e74c3c;font-weight:bold;' : ''">{{ totalActPrice }}</text>
 						</view>
 						</view>
-						<view style="color:#1c89e0;font-size:24upx;margin:0 10upx 10upx 10upx;line-height:1.5;">
-							金额已按售后扣减(隔天售后记在通过日,可为负;订单数不减)。
-						</view>
 						<view v-if="Number(nextDayDeduct) > 0" style="color:#e67e22;font-size:26upx;margin:0 10upx 10upx 10upx;font-weight:bold;">
 						<view v-if="Number(nextDayDeduct) > 0" style="color:#e67e22;font-size:26upx;margin:0 10upx 10upx 10upx;font-weight:bold;">
-							本时段隔天售后扣减:¥{{ nextDayDeduct }}
+							隔天售后扣减:¥{{ nextDayDeduct }}
 						</view>
 						</view>
 						<view v-for="(item, index) in displayList" :key="index">
 						<view v-for="(item, index) in displayList" :key="index">
 							<t-tr>
 							<t-tr>

+ 1 - 4
ghsApp/src/admin/stat/cgYj.vue

@@ -21,11 +21,8 @@
 						<t-th>订单数</t-th>
 						<t-th>订单数</t-th>
 						<t-th>金额</t-th>
 						<t-th>金额</t-th>
 						</t-tr>
 						</t-tr>
-						<view style="color:#1c89e0;font-size:24upx;margin:10upx;line-height:1.5;">
-							金额已按售后扣减(隔天售后记在通过日,可为负;订单数不减)。
-						</view>
 						<view v-if="Number(nextDayDeduct) > 0" style="color:#e67e22;font-size:26upx;margin:0 10upx 10upx 10upx;font-weight:bold;">
 						<view v-if="Number(nextDayDeduct) > 0" style="color:#e67e22;font-size:26upx;margin:0 10upx 10upx 10upx;font-weight:bold;">
-							本时段隔天售后扣减:¥{{ nextDayDeduct }}
+							隔天售后扣减:¥{{ nextDayDeduct }}
 						</view>
 						</view>
 						<block v-if="staffList && !$util.isEmpty(staffList)">
 						<block v-if="staffList && !$util.isEmpty(staffList)">
 							<view v-for="(cgItem, index) in staffList" :key="index">
 							<view v-for="(cgItem, index) in staffList" :key="index">

+ 1 - 9
ghsApp/src/admin/stat/customSale.vue

@@ -26,11 +26,8 @@
 							<t-th>成本</t-th>
 							<t-th>成本</t-th>
 							<t-th>利润</t-th>
 							<t-th>利润</t-th>
 						</t-tr>
 						</t-tr>
-						<view style="color:#1c89e0;font-size:24upx;margin:10upx;line-height:1.5;">
-							金额、利润已按售后扣减(隔天售后记在通过日,可为负;笔数不减)。扎数:当天售后未从开单扎数扣除,隔天退货会在通过日扣扎数。成本仍取开单剩余成本。
-						</view>
 						<view v-if="Number(nextDayDeduct) > 0" style="color:#e67e22;font-size:26upx;margin:0 10upx 10upx 10upx;font-weight:bold;">
 						<view v-if="Number(nextDayDeduct) > 0" style="color:#e67e22;font-size:26upx;margin:0 10upx 10upx 10upx;font-weight:bold;">
-							本时段隔天售后扣减:¥{{ nextDayDeduct }}
+							隔天售后扣减:¥{{ nextDayDeduct }}
 						</view>
 						</view>
 						<block v-if="displayList && !$util.isEmpty(displayList)">
 						<block v-if="displayList && !$util.isEmpty(displayList)">
 							<view v-for="(item, index) in displayList" :key="index">
 							<view v-for="(item, index) in displayList" :key="index">
@@ -56,11 +53,6 @@
 								{{profile.totalNum||0}}笔¥{{formatNum(profile.totalAmount)}} 成本¥{{ formatNum(profile.totalCost) }} 利润¥{{ formatNum(profile.totalProfit) }}
 								{{profile.totalNum||0}}笔¥{{formatNum(profile.totalAmount)}} 成本¥{{ formatNum(profile.totalCost) }} 利润¥{{ formatNum(profile.totalProfit) }}
 							</view>
 							</view>
 						</t-td></t-tr>
 						</t-td></t-tr>
-						<t-tr><t-td>
-							<view style="color:#1c89e0;font-size:28upx;">
-								从2025年11月20号起是准确数据,之前的数据不准确
-							</view>
-						</t-td></t-tr>
 					</t-table>
 					</t-table>
 				</block>
 				</block>
 			</view>
 			</view>

+ 1 - 4
ghsApp/src/admin/stat/productSale.vue

@@ -27,11 +27,8 @@
 								</view>
 								</view>
 							</t-td>
 							</t-td>
 						</t-tr>
 						</t-tr>
-						<view style="color:#1c89e0;font-size:24upx;margin:0 10upx 10upx 10upx;line-height:1.5;">
-							数量、金额、毛利已按售后扣减(隔天售后记在通过日,可为负)。仅退款只扣金额不扣扎数。与 PC 花材销量同源接口。
-						</view>
 						<view v-if="Number(nextDayDeduct) > 0" style="color:#e67e22;font-size:26upx;margin:0 10upx 10upx 10upx;font-weight:bold;">
 						<view v-if="Number(nextDayDeduct) > 0" style="color:#e67e22;font-size:26upx;margin:0 10upx 10upx 10upx;font-weight:bold;">
-							本时段隔天售后扣减:¥{{ nextDayDeduct }}
+							隔天售后扣减:¥{{ nextDayDeduct }}
 						</view>
 						</view>
 						<block v-if="displayList && !$util.isEmpty(displayList)">
 						<block v-if="displayList && !$util.isEmpty(displayList)">
 							<view v-for="(item, index) in displayList" :key="index">
 							<view v-for="(item, index) in displayList" :key="index">

+ 0 - 3
ghsApp/src/admin/stat/profit.vue

@@ -15,9 +15,6 @@
 							<t-th>类型</t-th>
 							<t-th>类型</t-th>
 							<t-th>金额</t-th>
 							<t-th>金额</t-th>
 						</t-tr>
 						</t-tr>
-						<view style="color:#1c89e0;font-size:24upx;margin:10upx;line-height:1.5;">
-							「采购隔天退货」按售后通过日记账(含退货并退款与仅退款);花材采购按入库日。
-						</view>
 						<block v-for="(item, inIndex) in profit.income" :key="inIndex">
 						<block v-for="(item, inIndex) in profit.income" :key="inIndex">
 							<t-tr v-if="Number(item.amount)!=0">
 							<t-tr v-if="Number(item.amount)!=0">
 								<t-td>
 								<t-td>

+ 2 - 2
ghsApp/src/manifest.json

@@ -2,8 +2,8 @@
     "name" : "销花宝",
     "name" : "销花宝",
     "appid" : "__UNI__BD781B0",
     "appid" : "__UNI__BD781B0",
     "description" : "鲜花批发销售管理系统",
     "description" : "鲜花批发销售管理系统",
-    "versionName" : "1.3.20",
-    "versionCode" : 1320,
+    "versionName" : "1.3.26",
+    "versionCode" : 1326,
     "transformPx" : true,
     "transformPx" : true,
     /* 5+App特有相关 */
     /* 5+App特有相关 */
     "app-plus" : {
     "app-plus" : {

+ 2 - 1
ghsApp/src/pagesGys/details.vue

@@ -294,7 +294,8 @@ export default {
 				id:JSON.stringify(ids),
 				id:JSON.stringify(ids),
 				ghsId:this.ghsInfo.id,
 				ghsId:this.ghsInfo.id,
 				modifyPrice:this.modifyPrice,
 				modifyPrice:this.modifyPrice,
-				payWay:this.payWay
+				payWay:this.payWay,
+				apiVersion:1
 			}
 			}
 			let that = this;
 			let that = this;
 			that.$util.confirmModal({content:'确认提交?'},() => {
 			that.$util.confirmModal({content:'确认提交?'},() => {

+ 1 - 3
ghsApp/src/pagesGys/detailsItem.vue

@@ -34,7 +34,7 @@
 				<view class="refund-tip refund-tip-next">隔天售后 ¥{{parseFloat(info.nextDayTkPrice)}}</view>
 				<view class="refund-tip refund-tip-next">隔天售后 ¥{{parseFloat(info.nextDayTkPrice)}}</view>
 			</view>
 			</view>
 			<view class="item-row" v-if="hasPartialClear">
 			<view class="item-row" v-if="hasPartialClear">
-				<view class="price" style="color:red;">已清 ¥{{ hasPayDebt }},剩余待结 ¥{{ parseFloat(remainDebtPrice) }}</view>
+				<view class="price" style="color:red;">部分清,剩余待结 ¥{{ parseFloat(remainDebtPrice) }}</view>
 			</view>
 			</view>
 		</view>
 		</view>
 	</view>
 	</view>
@@ -119,8 +119,6 @@ export default {
 	.details-main {
 	.details-main {
 		flex: 1;
 		flex: 1;
 		position: relative;
 		position: relative;
-		// 给右上角「查看明细」留空,避免单号被挡住
-		padding-right: 200upx;
 	}
 	}
 	.detail-btn {
 	.detail-btn {
 		position: absolute;
 		position: absolute;

+ 2 - 1
ghsApp/src/pagesGys/search.vue

@@ -136,7 +136,8 @@ export default {
 				id:JSON.stringify(ids),
 				id:JSON.stringify(ids),
 				ghsId:ghsId,
 				ghsId:ghsId,
 				modifyPrice:this.modifyPrice,
 				modifyPrice:this.modifyPrice,
-				payWay:this.payWay
+				payWay:this.payWay,
+				apiVersion:1
 			}
 			}
 			let that = this;
 			let that = this;
 			that.$util.confirmModal({content:'确认提交?'},() => {
 			that.$util.confirmModal({content:'确认提交?'},() => {

+ 1 - 1
hdApp/src/admin/ghs/pay.vue

@@ -387,7 +387,7 @@
 					this.$msg('供货商信息加载中,请稍后再试')
 					this.$msg('供货商信息加载中,请稍后再试')
 					return
 					return
 				}
 				}
-				this.pageTo({ url: `/pagesPurchase/gathering?id=${this.id}&salt=${this.salt}&ghsId=${this.id}`, type: 2 })
+				this.pageTo({ url: `/pagesPurchase/gathering?id=${this.id}&salt=${this.salt}&ghsId=${this.id}` })
 			},
 			},
 			/** 跳转当前供货商余额变动明细页 */
 			/** 跳转当前供货商余额变动明细页 */
 			goBalanceChange() {
 			goBalanceChange() {

+ 2 - 2
hdApp/src/manifest.json

@@ -2,8 +2,8 @@
     "name" : "花掌柜",
     "name" : "花掌柜",
     "appid" : "__UNI__4079DC1",
     "appid" : "__UNI__4079DC1",
     "description" : "花店管家婆",
     "description" : "花店管家婆",
-    "versionName" : "2.4.8",
-    "versionCode" : 248,
+    "versionName" : "2.5.0",
+    "versionCode" : 250,
     "transformPx" : true,
     "transformPx" : true,
     /* 5+App特有相关 */
     /* 5+App特有相关 */
     "app-plus" : {
     "app-plus" : {

+ 28 - 56
hdApp/src/pagesPurchase/gathering.vue

@@ -29,18 +29,18 @@
         <AppWrapperEmpty title="暂无数据" :is-empty="$util.isEmpty(detailsList)" />
         <AppWrapperEmpty title="暂无数据" :is-empty="$util.isEmpty(detailsList)" />
       </block>
       </block>
     </view>
     </view>
-    <DebtListPager
-      :page="debtPage"
-      :page-size="debtPageSize"
-      :total-page="debtTotalPage"
-      :total-num="debtTotalNum"
-      :page-size-options="debtPageSizeOptions"
-      :fixed="device !== 'ios'"
-      @page-change="handleDebtPageChange"
-      @page-size-change="handleDebtPageSizeChange"
-    />
-    <view :class="device == 'ios' ? 'ios-bar-view' : 'android-bar-view'">
-      <template>
+    <!-- 分页器与操作栏包成同一固定层:iOS 微信里子节点各自 position:fixed 会失效,外层统一贴底才能两端一致 -->
+    <view class="page-footer-fixed">
+      <DebtListPager
+        :page="debtPage"
+        :page-size="debtPageSize"
+        :total-page="debtTotalPage"
+        :total-num="debtTotalNum"
+        :page-size-options="debtPageSizeOptions"
+        @page-change="handleDebtPageChange"
+        @page-size-change="handleDebtPageSizeChange"
+      />
+      <view class="bottom-bar-view">
         <view class="info-view">
         <view class="info-view">
           <view class="details-select" @click="checkAllFn" >
           <view class="details-select" @click="checkAllFn" >
 						<button class="admin-button-com blue middle" v-if="isAllCheck">全不选</button>
 						<button class="admin-button-com blue middle" v-if="isAllCheck">全不选</button>
@@ -50,9 +50,9 @@
           <text class="unit">¥</text>
           <text class="unit">¥</text>
           <text class="price">{{ parseFloat(selectTotalAmount) }}</text>
           <text class="price">{{ parseFloat(selectTotalAmount) }}</text>
         </view>
         </view>
-      </template>
-      <view class="btn-view" >
-        <button class="admin-button-com blue" @click="batchConfirm">付款结清</button>
+        <view class="btn-view" >
+          <button class="admin-button-com blue" @click="batchConfirm">付款结清</button>
+        </view>
       </view>
       </view>
     </view>
     </view>
   </view>
   </view>
@@ -80,13 +80,11 @@ export default {
 			startTime:'',
 			startTime:'',
 			endTime:'',
 			endTime:'',
       ghsId:0,
       ghsId:0,
-      device: 'android',
       justLoaded: false,
       justLoaded: false,
       salt: ''
       salt: ''
     }
     }
   },
   },
   onLoad() {
   onLoad() {
-    this.device = uni.getSystemInfoSync().platform
     this.initData()
     this.initData()
   },
   },
   onShow () {
   onShow () {
@@ -346,7 +344,8 @@ export default {
 		margin-top:80upx;
 		margin-top:80upx;
     padding: 20upx 0;
     padding: 20upx 0;
     flex: 1;
     flex: 1;
-    padding-bottom: 260upx;
+    /* 给底部固定层(分页器 + 操作栏 + 刘海安全区)留出滚动空间,避免最后几笔被挡住 */
+    padding-bottom: 380upx;
   }
   }
   .debt-multi-page-tip {
   .debt-multi-page-tip {
     margin: 0 24upx 16upx;
     margin: 0 24upx 16upx;
@@ -361,47 +360,20 @@ export default {
     color: #d48806;
     color: #d48806;
     line-height: 46upx;
     line-height: 46upx;
   }
   }
-  .ios-bar-view {
+  /* 整块贴底:分页器不再单独 fixed,避免 iOS 微信小程序里多层 position:fixed 失效 */
+  .page-footer-fixed {
+    position: fixed;
+    left: 0;
+    right: 0;
     bottom: 0;
     bottom: 0;
-    display: flex;
-    justify-content: space-between;
-    align-items: center;
-    padding: 0 30upx;
+    z-index: 99;
     width: 100%;
     width: 100%;
-    height: 100upx;
-    background: #fff;
+    background-color: #fff;
     box-shadow: 0upx -1upx 6upx 0upx rgba(4, 0, 0, 0.06);
     box-shadow: 0upx -1upx 6upx 0upx rgba(4, 0, 0, 0.06);
-    .info-view {
-      display: flex;
-      align-items: center;
-      color: #333;
-      font-size: 24upx;
-      .price {
-        margin: 0 3upx;
-        color: $redColor;
-        font-size: 30upx;
-      }
-      .unit {
-        margin: 0 3upx;
-        color: $redColor;
-        font-size: 30upx;
-      }
-    }
-    .btn-view {
-      display: flex;
-      .admin-button-com {
-        display: flex;
-        align-items: center;
-        justify-content: center;
-        width: 200upx;
-        height: 70upx;
-        font-size: 30upx;
-      }
-    }
+    padding-bottom: constant(safe-area-inset-bottom);
+    padding-bottom: env(safe-area-inset-bottom);
   }
   }
-  .android-bar-view {
-    position: fixed;
-    bottom: 0;
+  .bottom-bar-view {
     display: flex;
     display: flex;
     justify-content: space-between;
     justify-content: space-between;
     align-items: center;
     align-items: center;
@@ -409,7 +381,7 @@ export default {
     width: 100%;
     width: 100%;
     height: 100upx;
     height: 100upx;
     background: #fff;
     background: #fff;
-    box-shadow: 0upx -1upx 6upx 0upx rgba(4, 0, 0, 0.06);
+    box-sizing: border-box;
     .info-view {
     .info-view {
       display: flex;
       display: flex;
       align-items: center;
       align-items: center;

+ 2 - 2
开发http/ghsApp/src/manifest.json

@@ -2,8 +2,8 @@
     "name" : "销花宝",
     "name" : "销花宝",
     "appid" : "__UNI__BD781B0",
     "appid" : "__UNI__BD781B0",
     "description" : "鲜花批发销售管理系统",
     "description" : "鲜花批发销售管理系统",
-    "versionName" : "1.3.18",
-    "versionCode" : 1320,
+    "versionName" : "1.3.26",
+    "versionCode" : 1326,
     "transformPx" : true,
     "transformPx" : true,
     /* 5+App特有相关 */
     /* 5+App特有相关 */
     "app-plus" : {
     "app-plus" : {

+ 2 - 2
开发http/hdApp/src/manifest.json

@@ -2,8 +2,8 @@
     "name" : "花掌柜",
     "name" : "花掌柜",
     "appid" : "__UNI__4079DC1",
     "appid" : "__UNI__4079DC1",
     "description" : "花店管家婆",
     "description" : "花店管家婆",
-    "versionName" : "2.4.8",
-    "versionCode" : 248,
+    "versionName" : "2.5.0",
+    "versionCode" : 250,
     "transformPx" : true,
     "transformPx" : true,
     /* 5+App特有相关 */
     /* 5+App特有相关 */
     "app-plus" : {
     "app-plus" : {

+ 2 - 2
开发https/ghsApp/src/manifest.json

@@ -2,8 +2,8 @@
     "name" : "销花宝",
     "name" : "销花宝",
     "appid" : "__UNI__BD781B0",
     "appid" : "__UNI__BD781B0",
     "description" : "鲜花批发销售管理系统",
     "description" : "鲜花批发销售管理系统",
-    "versionName" : "1.3.20",
-    "versionCode" : 1320,
+    "versionName" : "1.3.26",
+    "versionCode" : 1326,
     "transformPx" : true,
     "transformPx" : true,
     /* 5+App特有相关 */
     /* 5+App特有相关 */
     "app-plus" : {
     "app-plus" : {

+ 2 - 2
开发https/hdApp/src/manifest.json

@@ -2,8 +2,8 @@
     "name" : "花掌柜",
     "name" : "花掌柜",
     "appid" : "__UNI__4079DC1",
     "appid" : "__UNI__4079DC1",
     "description" : "花店管家婆",
     "description" : "花店管家婆",
-    "versionName" : "2.4.8",
-    "versionCode" : 248,
+    "versionName" : "2.5.0",
+    "versionCode" : 250,
     "transformPx" : true,
     "transformPx" : true,
     /* 5+App特有相关 */
     /* 5+App特有相关 */
     "app-plus" : {
     "app-plus" : {

+ 2 - 2
线上/ghsApp/src/manifest.json

@@ -2,8 +2,8 @@
     "name" : "销花宝",
     "name" : "销花宝",
     "appid" : "__UNI__BD781B0",
     "appid" : "__UNI__BD781B0",
     "description" : "鲜花批发销售管理系统",
     "description" : "鲜花批发销售管理系统",
-    "versionName" : "1.3.20",
-    "versionCode" : 1320,
+    "versionName" : "1.3.26",
+    "versionCode" : 1326,
     "transformPx" : true,
     "transformPx" : true,
     /* 5+App特有相关 */
     /* 5+App特有相关 */
     "app-plus" : {
     "app-plus" : {

+ 2 - 2
线上/hdApp/src/manifest.json

@@ -2,8 +2,8 @@
     "name" : "花掌柜",
     "name" : "花掌柜",
     "appid" : "__UNI__4079DC1",
     "appid" : "__UNI__4079DC1",
     "description" : "花店管家婆",
     "description" : "花店管家婆",
-    "versionName" : "2.4.8",
-    "versionCode" : 248,
+    "versionName" : "2.5.0",
+    "versionCode" : 250,
     "transformPx" : true,
     "transformPx" : true,
     /* 5+App特有相关 */
     /* 5+App特有相关 */
     "app-plus" : {
     "app-plus" : {