Merge branch 'ymf' of https://e.coding.net/g-cphe0354/cashier_front/cashier_admin_app into test
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -1,3 +1,6 @@
|
|||||||
unpackage/
|
unpackage/cache
|
||||||
|
unpackage/dist
|
||||||
|
unpackage/res
|
||||||
|
unpackage/resources
|
||||||
node_modules/
|
node_modules/
|
||||||
/node_modules/
|
/node_modules/
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
"type" : "uniCloud"
|
"type" : "uniCloud"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"playground" : "standard",
|
"playground" : "custom",
|
||||||
"type" : "uni-app:app-android"
|
"type" : "uni-app:app-android"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="safe-page">
|
<view class="safe-page min-page">
|
||||||
<view class="goods-list u-p-30">
|
<view class="goods-list u-p-30">
|
||||||
<view class="u-m-b-32" v-for="(item,index) in pageData.list" :key="index">
|
<view class="u-m-b-32" v-for="(item,index) in pageData.list" :key="index">
|
||||||
<my-category
|
<my-category
|
||||||
|
|||||||
@@ -1767,7 +1767,9 @@
|
|||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
min-height: initial !important;
|
min-height: initial !important;
|
||||||
}
|
}
|
||||||
|
::v-deep .uni-easyinput__content-input{
|
||||||
|
height: inherit;
|
||||||
|
}
|
||||||
::v-deep .none-label .uni-forms-item .uni-forms-item__label {
|
::v-deep .none-label .uni-forms-item .uni-forms-item__label {
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="safe-page">
|
<view class="safe-page min-page">
|
||||||
<up-sticky>
|
<up-sticky>
|
||||||
<view class="bg-fff u-p-l-30 u-p-b-30">
|
<view class="bg-fff u-p-l-30 u-p-b-30">
|
||||||
<!-- <view class="myTabs ">
|
<!-- <view class="myTabs ">
|
||||||
|
|||||||
@@ -1,41 +1,44 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="color-333 u-font-28">
|
<view class="color-333 u-font-28">
|
||||||
<view class="fixed-top bg-fff u-flex u-p-l-30 u-row-between">
|
<up-sticky offset-top="0">
|
||||||
<view class="u-flex ">
|
<view class=" bg-fff u-flex u-p-l-30 u-row-between">
|
||||||
<view class="u-flex u-p-t-30 u-p-b-30 u-flex-1 u-row-center" @tap="timeToggle">
|
<view class="u-flex ">
|
||||||
<text class="u-m-r-12 no-wrap">筛选时间</text>
|
<view class="u-flex u-p-t-30 u-p-b-30 u-flex-1 u-row-center" @tap="timeToggle">
|
||||||
<image src="/pageInvoicing/static/images/icon-arrow-down-fill.svg" class="icon-arrow-down-fill"
|
<text class="u-m-r-12 no-wrap" :class="{'color-main':filters.time.start&&filters.time.end}">筛选时间</text>
|
||||||
mode="">
|
<image src="/pageInvoicing/static/images/icon-arrow-down-fill.svg" class="icon-arrow-down-fill"
|
||||||
</image>
|
mode="">
|
||||||
|
</image>
|
||||||
|
</view>
|
||||||
|
<view class="u-flex u-m-l-60 u-p-t-30 u-p-b-30 u-flex-1 u-row-center" @tap="showTypesToggle">
|
||||||
|
<text class="u-m-r-12" v-if="types.active===''"> 选择类型</text>
|
||||||
|
<text class="u-m-r-12 no-wrap color-main" v-else>{{types.list[types.active].text}}</text>
|
||||||
|
<image src="/pageInvoicing/static/images/icon-arrow-down-fill.svg" class="icon-arrow-down-fill"
|
||||||
|
mode="">
|
||||||
|
</image>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="u-flex u-m-l-60 u-p-t-30 u-p-b-30 u-flex-1 u-row-center" @tap="showTypesToggle">
|
|
||||||
<text class="u-m-r-12" v-if="types.active===''"> 选择类型</text>
|
<!-- <view style="width: 164rpx;"></view> -->
|
||||||
<text class="u-m-r-12 no-wrap color-main" v-else>{{types.list[types.active].text}}</text>
|
<!-- <view class="search-box">
|
||||||
<image src="/pageInvoicing/static/images/icon-arrow-down-fill.svg" class="icon-arrow-down-fill"
|
<view class="search-btn u-flex" @tap="showSearch" :style="{width:search.show?'694rpx':'164rpx'}">
|
||||||
mode="">
|
<image src="@/static/iconImg/icon-search.svg" class="input-icon" />
|
||||||
</image>
|
<view class="u-flex-1 u-p-l-10"><input v-model="search.keyword" @confirm="searchConfirm" type="text"
|
||||||
|
placeholder-style="font-size:28rpx;" placeholder="搜索" /></view>
|
||||||
|
<view @tap.stop="hideSearch" v-if="search.show">取消</view>
|
||||||
|
</view>
|
||||||
|
</view> -->
|
||||||
|
|
||||||
|
<view :style="{height:types.show?typesHeight:0}" class="tranistion types overflow-hide">
|
||||||
|
<view @tap="changeTypesActive(index)" class="u-flex u-p-l-30 lh30 u-p-r-30 u-row-between"
|
||||||
|
v-for="(item,index) in types.list" :key="index">
|
||||||
|
<view>{{item.text}}</view>
|
||||||
|
<uni-icons v-if="types.active===index" type="checkmarkempty" :color="color.ColorMain"></uni-icons>
|
||||||
|
</view>
|
||||||
|
<view :style="{height: types.bottomHeight+'px'}"></view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
</up-sticky>
|
||||||
<!-- <view style="width: 164rpx;"></view> -->
|
|
||||||
<!-- <view class="search-box">
|
|
||||||
<view class="search-btn u-flex" @tap="showSearch" :style="{width:search.show?'694rpx':'164rpx'}">
|
|
||||||
<image src="@/static/iconImg/icon-search.svg" class="input-icon" />
|
|
||||||
<view class="u-flex-1 u-p-l-10"><input v-model="search.keyword" @confirm="searchConfirm" type="text"
|
|
||||||
placeholder-style="font-size:28rpx;" placeholder="搜索" /></view>
|
|
||||||
<view @tap.stop="hideSearch" v-if="search.show">取消</view>
|
|
||||||
</view>
|
|
||||||
</view> -->
|
|
||||||
|
|
||||||
<view :style="{height:types.show?typesHeight:0}" class="tranistion types overflow-hide">
|
|
||||||
<view @tap="changeTypesActive(index)" class="u-flex u-p-l-30 lh30 u-p-r-30 u-row-between"
|
|
||||||
v-for="(item,index) in types.list" :key="index">
|
|
||||||
<view>{{item.text}}</view>
|
|
||||||
<uni-icons v-if="types.active===index" type="checkmarkempty" :color="color.ColorMain"></uni-icons>
|
|
||||||
</view>
|
|
||||||
<view :style="{height: types.bottomHeight+'px'}"></view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view class=" min-page bg-gray list u-p-30">
|
<view class=" min-page bg-gray list u-p-30">
|
||||||
<view class="u-flex u-m-b-30" v-if="filters.time.start&&filters.time.end">
|
<view class="u-flex u-m-b-30" v-if="filters.time.start&&filters.time.end">
|
||||||
@@ -49,7 +52,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="recoreds color-fff ">
|
<!-- <view class="recoreds color-fff ">
|
||||||
<view class="u-font-32">详情记录</view>
|
<view class="u-font-32">详情记录</view>
|
||||||
<view class="u-flex u-row-between u-m-t-48">
|
<view class="u-flex u-row-between u-m-t-48">
|
||||||
<view class="u-flex u-flex-col u-row-center u-col-center">
|
<view class="u-flex u-flex-col u-row-center u-col-center">
|
||||||
@@ -57,9 +60,9 @@
|
|||||||
<view class="u-font-32 u-m-t-10 font-bold">{{pageData.changeSum}}</view>
|
<view class="u-font-32 u-m-t-10 font-bold">{{pageData.changeSum}}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
<template v-if="pageData.list.length">
|
<template v-if="pageData.list.length">
|
||||||
<view class="u-m-b-28 u-m-t-28" v-for="(item,index) in pageData.list" :key="index">
|
<view class="u-m-b-28 " v-for="(item,index) in pageData.list" :key="index">
|
||||||
<list-item :data="item"></list-item>
|
<list-item :data="item"></list-item>
|
||||||
</view>
|
</view>
|
||||||
<my-pagination :size="pageData.size" :totalElements="pageData.totalElements"
|
<my-pagination :size="pageData.size" :totalElements="pageData.totalElements"
|
||||||
@@ -209,7 +212,11 @@
|
|||||||
const pageData = reactive({
|
const pageData = reactive({
|
||||||
query: {
|
query: {
|
||||||
page: 0,
|
page: 0,
|
||||||
size: 10
|
size: 10,
|
||||||
|
productId:'',
|
||||||
|
column:'/api/tbProductStockDetail/stock/count',
|
||||||
|
shopId:uni.getStorageSync('shopId'),
|
||||||
|
createdAt:[]
|
||||||
},
|
},
|
||||||
productId:'',
|
productId:'',
|
||||||
totalElements: 0,
|
totalElements: 0,
|
||||||
@@ -242,9 +249,9 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
onLoad(opt => {
|
onLoad(opt => {
|
||||||
pageData.productId = opt ? opt.productId : ''
|
pageData.query.productId = opt ? opt.productId : ''
|
||||||
init()
|
init()
|
||||||
getSum()
|
// getSum()
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -317,6 +324,5 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.list {
|
.list {
|
||||||
margin-top: 52px;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
BIN
unpackage/debug/android_debug.apk
Normal file
BIN
unpackage/debug/android_debug.apk
Normal file
Binary file not shown.
Reference in New Issue
Block a user