耗材问题提交,盘点传值问题计算问题

This commit is contained in:
duan
2024-10-30 16:02:19 +08:00
parent 8b0e22e2cd
commit 042c20a52d
10 changed files with 28 additions and 26 deletions

View File

@@ -139,7 +139,6 @@
function changeTimeFunc(val) {
vdata.timeSelected = val;
getList()
// console.log(vdata.timeSelected,'调试121')
// refData();
// if (vdata.memberIsShow) {
// getMemberData();

View File

@@ -6,7 +6,7 @@
<view class="income">
<view>总收入</view>
<view>{{totalRevenuedata}}</view>
<view>后海&双屿</view>
<view>{{shopName}}</view>
</view>
<!-- 统计 or 快捷扫码 -->
<!-- <Stats ref="statsRef" /> -->
@@ -46,12 +46,15 @@
hasPermission
} from '@/commons/utils/hasPermission.js'
uni.hideTabBar()
let shopName = ref()
onLoad((options) => {
shopName.value = uni.getStorageSync('shopName');
});
let totalRevenuedata = ref()
let totalRevenue= (d)=>{
totalRevenuedata.value=d
}
// 导航列表
const navList = [
// {

View File

@@ -280,7 +280,6 @@
// }
// 获取商户信息,有就回显
let info = uni.getStorageSync('MerchantId')
// console.log(info.merchantName,'调试121')
if (info.merchantName) {
vdata.formData.merchantName = info.merchantName
vdata.formData.username = info.username