Commit 4b073852 authored by chuan.liu's avatar chuan.liu

修复bug

parent 569881b7
{
"name": "五粮液APP",
"appid": "__UNI__343534B",
"description": "订货系统",
"versionName": "1.0.0",
"versionCode": "100",
"transformPx": false,
"app-plus": {
"name" : "五粮液APP",
"appid" : "__UNI__343534B",
"description" : "订货系统",
"versionName" : "1.0.0",
"versionCode" : "100",
"transformPx" : false,
"app-plus" : {
/* 5+App特有相关 */
"usingComponents": true,
"nvueCompiler": "uni-app",
"nvueStyleCompiler": "uni-app",
"splashscreen": {
"alwaysShowBeforeRender": true,
"waiting": true,
"autoclose": true,
"delay": 0
"usingComponents" : true,
"nvueCompiler" : "uni-app",
"nvueStyleCompiler" : "uni-app",
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
"autoclose" : true,
"delay" : 0
},
"nvue": {
"flex-direction": "row"
"nvue" : {
"flex-direction" : "row"
},
"modules": {},
"modules" : {},
/* 模块配置 */
"distribute": {
"distribute" : {
/* 应用发布信息 */
"android": {
"android" : {
/* android打包配置 */
"permissions": [
"permissions" : [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
......@@ -42,88 +42,90 @@
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
],
"abiFilters": ["armeabi-v7a"]
"abiFilters" : [ "armeabi-v7a" ]
},
"ios" : {
"dSYMs" : false
},
"ios": {},
/* ios打包配置 */
"sdkConfigs": {
"ad": {}
"sdkConfigs" : {
"ad" : {}
},
"icons": {
"android": {
"hdpi": "unpackage/res/icons/72x72.png",
"xhdpi": "unpackage/res/icons/96x96.png",
"xxhdpi": "unpackage/res/icons/144x144.png",
"xxxhdpi": "unpackage/res/icons/192x192.png"
"icons" : {
"android" : {
"hdpi" : "unpackage/res/icons/72x72.png",
"xhdpi" : "unpackage/res/icons/96x96.png",
"xxhdpi" : "unpackage/res/icons/144x144.png",
"xxxhdpi" : "unpackage/res/icons/192x192.png"
},
"ios": {
"appstore": "unpackage/res/icons/1024x1024.png",
"ipad": {
"app": "unpackage/res/icons/76x76.png",
"app@2x": "unpackage/res/icons/152x152.png",
"notification": "unpackage/res/icons/20x20.png",
"notification@2x": "unpackage/res/icons/40x40.png",
"proapp@2x": "unpackage/res/icons/167x167.png",
"settings": "unpackage/res/icons/29x29.png",
"settings@2x": "unpackage/res/icons/58x58.png",
"spotlight": "unpackage/res/icons/40x40.png",
"spotlight@2x": "unpackage/res/icons/80x80.png"
"ios" : {
"appstore" : "unpackage/res/icons/1024x1024.png",
"ipad" : {
"app" : "unpackage/res/icons/76x76.png",
"app@2x" : "unpackage/res/icons/152x152.png",
"notification" : "unpackage/res/icons/20x20.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"proapp@2x" : "unpackage/res/icons/167x167.png",
"settings" : "unpackage/res/icons/29x29.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"spotlight" : "unpackage/res/icons/40x40.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png"
},
"iphone": {
"app@2x": "unpackage/res/icons/120x120.png",
"app@3x": "unpackage/res/icons/180x180.png",
"notification@2x": "unpackage/res/icons/40x40.png",
"notification@3x": "unpackage/res/icons/60x60.png",
"settings@2x": "unpackage/res/icons/58x58.png",
"settings@3x": "unpackage/res/icons/87x87.png",
"spotlight@2x": "unpackage/res/icons/80x80.png",
"spotlight@3x": "unpackage/res/icons/120x120.png"
"iphone" : {
"app@2x" : "unpackage/res/icons/120x120.png",
"app@3x" : "unpackage/res/icons/180x180.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"notification@3x" : "unpackage/res/icons/60x60.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"settings@3x" : "unpackage/res/icons/87x87.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png",
"spotlight@3x" : "unpackage/res/icons/120x120.png"
}
}
}
}
},
/* SDK配置 */
"quickapp": {},
"quickapp" : {},
/* 快应用特有相关 */
"mp-weixin": {
"mp-weixin" : {
/* 小程序特有相关 */
"appid": "",
"setting": {
"urlCheck": false
"appid" : "",
"setting" : {
"urlCheck" : false
},
"usingComponents": true
"usingComponents" : true
},
"h5": {
"devServer": {
"https": false,
"port": "8080",
"disableHostCheck": true,
"proxy": {
"h5" : {
"devServer" : {
"https" : false,
"port" : "8080",
"disableHostCheck" : true,
"proxy" : {
// "": {
// "target": "http://221.10.127.60:5000",
// "changeOrigin": true
// }
"/sap": {
"target": "http://221.10.127.60:5000/wlySap",
"/sap" : {
"target" : "http://221.10.127.60:5000/wlySap",
// "target": "http://10.0.134.182:8000",
"changeOrigin": true
"changeOrigin" : true
},
"/crm-app": {
"/crm-app" : {
// "target": "http://10.0.135.61",
// "target": "http://10.0.135.139",
"target": "http://221.10.127.60:5000",
"changeOrigin": true
"target" : "http://221.10.127.60:5000",
"changeOrigin" : true
},
"/wmdpwebservices": {
"target": "http://221.10.127.60:5000/sczx",
"/wmdpwebservices" : {
"target" : "http://221.10.127.60:5000/sczx",
// "target": "https://10.0.134.182:9002",
"changeOrigin": true
"changeOrigin" : true
},
"/adapter": {
"target": "http://221.10.127.60:5000/cyj",
"/adapter" : {
"target" : "http://221.10.127.60:5000/cyj",
// "target": "http://api.c0331.dev.guanyingyun.com",
"changeOrigin": true
"changeOrigin" : true
}
}
}
......
......@@ -912,7 +912,7 @@
"titleColor": "#333",
"titleSize": "17px",
"backgroundColor": "#fff",
"titleText": "联络函信息",
"titleText": "银行账户选择",
"autoBackButton": true
},
"bounce": "none"
......
......@@ -125,6 +125,7 @@
},
yAxis: {
"dashLength": 20,
disabled: true
},
legend: {
"position": "bottom",
......@@ -135,15 +136,16 @@
column: {
categoryGap: 7
}
}
},
series: {
show: false
},
padding: [50, 0, 20, 0]
},
chartData: {
"categories": [
"1618",
"七代",
"八代",
"定制",
"经典"
],
"series": [{
"name": "制票总金额",
......@@ -166,50 +168,6 @@
// 34
// ]
// },
// {
// "name": "订单金(万)",
// "data": [
// 18,
// 27,
// 21,
// 24,
// 6,
// 28
// ]
// },
// {
// "name": "开票(万)",
// "data": [
// 28,
// 17,
// 11,
// 14,
// 16,
// 18
// ]
// },
// {
// "name": "发货",
// "data": [
// 28,
// 17,
// 11,
// 14,
// 16,
// 18
// ]
// },
// {
// "name": "到货",
// "data": [
// 28,
// 17,
// 11,
// 14,
// 16,
// 18
// ]
// }
// ]
},
statisticsData: []
......
......@@ -138,6 +138,12 @@
...res.data.operator
}
});
this.$uStore({
name: 'userBpData',
value: {
...res.data.userBpData
}
});
this.$uStore({
name: 'vuex_token',
value: res.data.token
......
......@@ -187,7 +187,10 @@
uni.hideLoading();
if (res.status === 1) {
this.loadData(true);
const index = this.dataList.findIndex((item2) => {
return item2.id === item.id
})
this.dataList.splice(index, 1)
}
},
refreshData() {
......
......@@ -451,7 +451,6 @@
.icon-arrow {
width: 32rpx;
height: 20rpx;
// margin-left: 12rpx;
margin-top: 24rpx;
transition-property: transform;
transition-duration: 0.15s;
......@@ -464,40 +463,36 @@
.filter-btn {
flex: 1;
min-width: 148rpx;
max-width: 148rpx;
width: 148rpx;
height: 68rpx;
line-height: unset;
background: #f8f8f8;
border-radius: 16rpx;
color: #8e8e8e;
font-size: 24rpx;
line-height: 64rpx;
background-color: #f8f8f8;
border-radius: 8px;
margin-right: 20rpx;
margin-bottom: 20rpx;
margin-left: 0;
border: 2rpx solid #f8f8f8;
border: 2rpx solid transparent;
overflow: hidden;
padding: 0;
}
.filter-btn__text {
display: inline-block;
width: 148rpx;
height: 68rpx;
border-radius: 8px;
line-height: 68rpx;
color: #8e8e8e;
font-size: 24rpx;
text-align: center;
font-size: 24rpx;
}
.filter-btn-active {
background: #f61d30;
color: #fff;
border: 2rpx solid #f61d30;
// box-shadow: 0px 4rpx 12rpx 0px rgba(255, 29, 50, 0.56);
}
.filter-btn-active__text {
color: #fff;
height: 68rpx;
line-height: 68rpx;
background: #f61d30;
}
......
......@@ -126,7 +126,7 @@
</view>
<view class="order-bottom view">
<!-- <view class="order-bottom view">
<view class="middle view">
<view class="item-block item-block-name">
<text class="item-block-label">附件</text>
......@@ -144,7 +144,7 @@
</view>
</view>
</view>
</view>
</view> -->
</cell>
</list>
</view>
......
......@@ -80,7 +80,7 @@
</view>
<view class="order-bottom view">
<!-- <view class="order-bottom view">
<view class="middle view">
<view class="item-block item-block-name">
<text class="item-block-label">附件</text>
......@@ -88,9 +88,9 @@
<view class="block-detal">
<view class="block-detal-item">
<view class="detal-item-file">
<!-- <image class="icon-file" :src="formateToStream(ATTACHMENT[0].XCONTENT)"
<image class="icon-file" :src="formateToStream(ATTACHMENT[0].XCONTENT)"
mode="widthFix">
</image> -->
</image>
<image class="icon-file" src="@/static/image/logo@3x.png" mode="widthFix">
</image>
<text
......@@ -102,7 +102,7 @@
</view>
</view>
</view>
</view>
</view> -->
</cell>
</list>
</view>
......@@ -178,7 +178,7 @@
handleShowReceiveDetail() {
this.ishowReceiveDetail = !this.ishowReceiveDetail
if (this.ishowReceiveDetail === true) {
this.receiveInfoHeight = `${270*this.ITEM.length}`
this.receiveInfoHeight = `${280*this.ITEM.length}`
} else {
this.receiveInfoHeight = '145'
}
......@@ -256,7 +256,6 @@
.title-info {
align-items: center;
// margin-right: 26rpx;
}
.title-info__status {
......@@ -345,10 +344,6 @@
margin-bottom: 16rpx;
}
.order-middle-auto {
// height: auto;
}
.middle {
background-color: #fff;
border-radius: 16rpx;
......
......@@ -126,7 +126,7 @@
</view>
<view class="order-bottom view">
<!-- <view class="order-bottom view">
<view class="middle view">
<view class="item-block item-block-name">
<text class="item-block-label">附件</text>
......@@ -144,7 +144,7 @@
</view>
</view>
</view>
</view>
</view> -->
</cell>
</list>
</view>
......@@ -221,7 +221,7 @@
this.ishowReceiveDetail = !this.ishowReceiveDetail
if (this.ishowReceiveDetail === true) {
let len = this.ITEM_INNER.length + this.ITEM_OUTER.length
this.receiveInfoHeight = `${340*len}`
this.receiveInfoHeight = `${350*len}`
} else {
this.receiveInfoHeight = '132'
}
......@@ -237,7 +237,6 @@
.header-bg {
height: 284rpx;
opacity: 0.72;
margin-top: -88rpx;
}
......@@ -248,9 +247,7 @@
.lists {
position: relative;
flex-direction: column;
// overflow-y: scroll;
background: #f0f4f5;
height: 100%;
}
.main {
......@@ -296,7 +293,6 @@
.title-info {
align-items: center;
// margin-right: 26rpx;
}
.title-info__status {
......@@ -384,10 +380,6 @@
margin-bottom: 16rpx;
}
.order-middle-auto {
// height: auto;
}
.middle {
background-color: #fff;
border-radius: 16rpx;
......
......@@ -364,7 +364,6 @@
.icon-arrow {
width: 32rpx;
height: 20rpx;
// margin-left: 12rpx;
margin-top: 24rpx;
transition-property: transform;
transition-duration: 0.15s;
......@@ -381,38 +380,36 @@
}
.filter-btn {
flex: 1;
min-width: 148rpx;
max-width: 148rpx;
width: 148rpx;
height: 68rpx;
line-height: unset;
background: #f8f8f8;
border-radius: 16rpx;
line-height: 64rpx;
background-color: #f8f8f8;
border-radius: 8px;
margin-right: 20rpx;
margin-bottom: 20rpx;
margin-left: 0;
border: 2rpx solid #f8f8f8;
border: 2rpx solid transparent;
overflow: hidden;
padding: 0;
}
.filter-btn__text {
display: inline-block;
width: 148rpx;
height: 68rpx;
border-radius: 8px;
line-height: 68rpx;
color: #8e8e8e;
font-size: 24rpx;
text-align: center;
font-size: 24rpx;
}
.filter-btn-active {
background: #f61d30;
color: #fff;
border: 2rpx solid #f61d30;
// box-shadow: 0px 4rpx 12rpx 0px rgba(255, 29, 50, 0.56);
}
.filter-btn-active__text {
color: #fff;
height: 68rpx;
line-height: 68rpx;
background: #f61d30;
}
......
......@@ -233,7 +233,7 @@
return
}
item_inner = [productAfterInit]
item_inner = productAfterInit
const params = {
// "HEAD": this.HEADINFO,
......@@ -247,7 +247,7 @@
item = {
...item,
...product,
...res.DATA.ITEM[0]
...res.DATA
}
}
return item
......
......@@ -4,17 +4,17 @@
<view class="conditon-block" :style="conditionTop" :class="{'conditon-block-auto':ishowDetail}">
<view class="filter-title">
<button type="default" class="filter-btn" :class="{'filter-btn-active':0 === filterActiveIndex}"
@tap="handleFilter('week')"><text class="filter-btn__text"
@click="handleFilter('week')"><text class="filter-btn__text"
:class="{'filter-btn-active__text':0 === filterActiveIndex}">一周内</text></button>
<button type="default" @tap="handleFilter(item)" class="filter-btn"
<button type="default" @click="handleFilter(item)" class="filter-btn"
:class="{'filter-btn-active':item === filterActiveIndex}" v-for="item in 3" :key='item'><text
class="filter-btn__text"
:class="{'filter-btn-active__text':item === filterActiveIndex}">{{item}}月内</text></button>
<image @tap="handleShowDetail" class="icon-arrow" :class="{'icon-arrow-rotate':ishowDetail}"
<image @click="handleShowDetail" class="icon-arrow" :class="{'icon-arrow-rotate':ishowDetail}"
src="@/static/image/arrow_up@3x.png" mode="aspectFit"></image>
</view>
<view class="filter-content">
<button type="default" @tap="handleFilter(item+3)" class="filter-btn"
<button type="default" @click="handleFilter(item+3)" class="filter-btn"
:class="{'filter-btn-active':item+3 === filterActiveIndex}" v-for="item in 9" :key='item'>
<text class="filter-btn__text"
:class="{'filter-btn-active__text':item+3 === filterActiveIndex}">{{item+3}}月内</text></button>
......@@ -365,7 +365,6 @@
.icon-arrow {
width: 32rpx;
height: 20rpx;
// margin-left: 12rpx;
margin-top: 24rpx;
transition-property: transform;
transition-duration: 0.15s;
......@@ -382,21 +381,24 @@
}
.filter-btn {
flex: 1;
min-width: 148rpx;
max-width: 148rpx;
width: 148rpx;
height: 68rpx;
line-height: unset;
background: #f8f8f8;
border-radius: 16rpx;
line-height: 64rpx;
background-color: #f8f8f8;
border-radius: 8px;
margin-right: 20rpx;
margin-bottom: 20rpx;
margin-left: 0;
border: 2rpx solid #f8f8f8;
border: 2rpx solid transparent;
overflow: hidden;
padding: 0;
}
.filter-btn__text {
display: inline-block;
width: 148rpx;
height: 68rpx;
border-radius: 8px;
line-height: 68rpx;
color: #8e8e8e;
text-align: center;
......@@ -404,16 +406,12 @@
}
.filter-btn-active {
background: #f61d30;
border: 2rpx solid #f61d30;
// box-shadow: 0px 4rpx 12rpx 0px rgba(255, 29, 50, 0.56);
background-color: #f61d30;
}
.filter-btn-active__text {
color: #fff;
height: 68rpx;
line-height: 68rpx;
background: #f61d30;
background-color: #f61d30;
}
.filter-content {
......
......@@ -114,8 +114,8 @@
loadingText: '加载中...',
refreshing: false,
condition: {
MV_BP: '0081000010',
ROLE: 'WLYALL',
MV_BP: '',
ROLE: 'WLY001',
RT_GJAHR: [{
SIGN: 'I',
OPTION: 'EQ',
......@@ -174,7 +174,7 @@
// },
created() {
this.condition.RT_GJAHR[0].LOW = timeFormat(new Date(), 'yyyy')
this.condition.MV_BP = '0081000010' || this.userInfo.code
this.condition.MV_BP = this.userInfo.code
this.reset()
this.getSalesPlanTypes(true);
},
......@@ -199,17 +199,17 @@
uni.hideLoading();
const {
lt_result,
data,
page,
pagesize,
total
} = res
this.page.PAGE = page
this.page.PAGESIZE = pagesize
this.loadParams.total = total
this.page.PAGE = page * 1
this.page.PAGESIZE = pagesize * 1
this.loadParams.total = total * 1
this.loadParams.totalPage = Math.ceil(total * 1 / this.page.PAGESIZE * 1)
const dataMap = lt_result && lt_result.map((item) => {
const dataMap = data && data.map((item) => {
item.checked = false
return item
})
......
<template>
<view class="order view">
<view class="top">
<text class="title-no">制票编号:{{itemHead.INVO_INFOID}}</text>
<text class="title-no">制票编号:{{itemHead.invo_infoid}}</text>
<view class="title-info">
<button class="title-info__status" type="default"><text
class="item-block-btn__text">{{itemHead.INV_STATUS_TEXT}}</text></button>
class="item-block-btn__text">{{itemHead.inv_status_text}}</text></button>
</view>
</view>
<view class="middle view">
<text class="middle-title">{{itemHead.INFTYPE}}</text>
<text class="middle-title">{{itemHead.inftype}}</text>
<view class="text-block">
<text class="middle-date">{{itemHead.MAK_DATE}}</text>
<text class="middle-date">{{itemHead.mak_date}}</text>
<text class="middle-date-des">下单日期</text>
</view>
</view>
......@@ -24,44 +24,44 @@
</view>
<view v-if="ishowDetail" class="bottom-content" v-for="(item,index) in itemLists" :key="index">
<view class="text-block">
<text class="middle-date">{{item.DESCRIPTION}}</text>
<text class="middle-date">{{item.description}}</text>
<text class="middle-date-des">产品描述</text>
</view>
<view class="text-block">
<text class="middle-date middle-billno">{{item.INV_GUID}}</text>
<text class="middle-date middle-billno">{{item.inv_guid}}</text>
<text class="middle-date-des">发票号</text>
</view>
<view class="text-block">
<text class="middle-date">{{item.ZZFLD00002S}}</text>
<text class="middle-date">{{item.zzfld00002s}}</text>
<text class="middle-date-des">规格</text>
</view>
<view class="text-block-2">
<view class="text-block text-block-1">
<text class="middle-date">{{item.USE_ZZFLD9}}</text>
<text class="middle-date">{{item.use_zzfld9}}</text>
<text class="middle-date-des">开票件数</text>
</view>
<view class="text-block">
<text class="middle-date">{{item.ZZFLD00002T}}</text>
<text class="middle-date">{{item.zzfld00002t}}</text>
<text class="middle-date-des">单位</text>
</view>
</view>
<view class="text-block-2">
<view class="text-block text-block-1">
<text class="middle-date">{{item.NET_PRICE}}</text>
<text class="middle-date">{{item.net_price}}</text>
<text class="middle-date-des">单价</text>
</view>
<view class="text-block">
<text class="middle-date">{{item.USE_QUANTITY}}</text>
<text class="middle-date">{{item.use_quantity}}</text>
<text class="middle-date-des">数量</text>
</view>
</view>
<view class="text-block-2">
<view class="text-block text-block-1">
<text class="middle-date">{{item.REMAIN_ZZFLD9}}</text>
<text class="middle-date">{{item.remain_zzfld9}}</text>
<text class="middle-date-des">剩余开票件数</text>
</view>
<view class="text-block">
<text class="middle-date">{{item.ZZFLD00002E}}</text>
<text class="middle-date">{{item.zzfld00002e}}</text>
<text class="middle-date-des">税率</text>
</view>
</view>
......@@ -71,7 +71,7 @@
<text class="middle-date-des">剩余发货件数</text>
</view> -->
<view class="text-block">
<text class="middle-date">{{item.NET_VALUE}}</text>
<text class="middle-date">{{item.net_value}}</text>
<text class="middle-date-des">价税合计</text>
</view>
</view>
......@@ -88,18 +88,18 @@
type: Object,
default: function(e) {
return {
HEAD: {},
ITEM: []
head: {},
item: []
}
}
}
},
computed: {
itemHead() {
return this.newsItem.HEAD || {}
return this.newsItem.head || {}
},
itemLists() {
return this.newsItem.ITEM || []
return this.newsItem.item || []
},
},
data() {
......@@ -161,11 +161,17 @@
font-size: 12px;
color: #fff;
text-align: center;
border-color: transparent;
}
uni-button::after {
border: 0;
}
.item-block-btn__text {
font-size: 12px;
color: #fff;
background: #f61d30;
}
.middle {
......
......@@ -11,7 +11,7 @@
<text class="loading-text">{{refreshText}}</text>
</div>
</uni-refresh>
<uni-cell v-for="(item, index) in dataList" :key="item.id">
<uni-cell v-for="(item, index) in dataList" :key="index">
<order-item :newsItem="item" @click="goDetail(item)"></order-item>
</uni-cell>
<uni-cell v-if="isLoading || dataList.length > 4">
......@@ -84,7 +84,7 @@
},
refreshIcon: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB5QTFRFcHBw3Nzct7e39vb2ycnJioqK7e3tpqam29vb////D8oK7wAAAAp0Uk5T////////////ALLMLM8AAABxSURBVHja7JVBDoAgDASrjqj//7CJBi90iyYeOHTPMwmFZrHjYyyFYYUy1bwUZqtJIYVxhf1a6u0R7iUvWsCcrEtwJHp8MwMdvh2amHduiZD3rpWId9+BgPd7Cc2LIkPyqvlQvKxKBJ//Qwq/CacAAwDUv0a0YuKhzgAAAABJRU5ErkJggg==",
condition: {
PARTNER: '4001139400',
PARTNER: '',
ROLE: 'WLY001',
INV_STATUS: [{
"SIGN": "I",
......@@ -180,14 +180,14 @@
apiGetTicketOrder(params).then((res) => {
console.log('loadData', res)
const {
DATA,
PAGE,
TOTAL
data,
page,
total
} = res
const data_list = DATA;
this.page.PAGE = PAGE
this.loadParams.total = TOTAL
this.loadParams.totalPage = Math.ceil(TOTAL * 1 / this.page.PAGESIZE * 1)
const data_list = data;
this.page.PAGE = page * 1
this.loadParams.total = total * 1
this.loadParams.totalPage = Math.ceil(total * 1 / this.page.PAGESIZE * 1)
this.isNoData = (data_list.length <= 0);
......
......@@ -450,40 +450,36 @@
.filter-btn {
flex: 1;
min-width: 148rpx;
max-width: 148rpx;
width: 148rpx;
height: 68rpx;
line-height: unset;
background: #f8f8f8;
border-radius: 16rpx;
color: #8e8e8e;
font-size: 24rpx;
line-height: 64rpx;
background-color: #f8f8f8;
border-radius: 8px;
margin-right: 20rpx;
margin-bottom: 20rpx;
margin-left: 0;
border: 2rpx solid #f8f8f8;
border: 2rpx solid transparent;
overflow: hidden;
padding: 0;
}
.filter-btn__text {
display: inline-block;
width: 148rpx;
height: 68rpx;
border-radius: 8px;
line-height: 68rpx;
text-align: center;
color: #8e8e8e;
text-align: center;
font-size: 24rpx;
}
.filter-btn-active {
background: #f61d30;
color: #fff;
border: 2rpx solid #f61d30;
// box-shadow: 0px 4rpx 12rpx 0px rgba(255, 29, 50, 0.56);
}
.filter-btn-active__text {
color: #fff;
height: 68rpx;
line-height: 68rpx;
background: #f61d30;
}
......
......@@ -39,8 +39,16 @@ const store = new Vuex.Store({
vuex_version: '1.0.1',
vuex_demo: '绛紫',
userInfo: {
name: '测试',
code: '0050000215'
name: '',
code: ''
},
userBpData: {
USER_BP: '',
ROLES: [{
"ROLE_DESC": "",
"ROLE_ID": "WLY001"
}],
USER_NAME: ''
},
quotaOrder: {
'ITEM_INNER': [],
......
This source diff could not be displayed because it is too large. You can view the blob instead.
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__343534B","name":"五粮液APP","version":{"name":"1.0.0","code":"100"},"description":"订货系统","launch_path":"","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview","render":"always","uniNView":{"path":"pages/login/login.js"}},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#fff"},"usingComponents":true,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","nvue":{"flex-direction":"row"},"distribute":{"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"abiFilters":["armeabi-v7a"]},"apple":{},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"arguments":"{\"name\":\"me\",\"query\":\"uuid=c4bba940-f69e-11ea-a419-6bafda9d095e&__id__=1\",\"id\":0,\"pathName\":\"pages/login/login\"}","allowsInlineMediaPlayback":true,"safearea":{"background":"rgba(250,250,250,0.90)","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"3.5.3","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"row"},"nvueLaunchMode":"normal"},"tabBar":{"iconWidth":"19px","spacing":"4px","color":"#999999","selectedColor":"#FF1D32","borderStyle":"rgba(250,250,250,0.90)","backgroundColor":"rgba(250,250,250,0.90)","list":[{"pagePath":"pages/home/home","iconPath":"static/image/home@3x.png","selectedIconPath":"static/image/home_red@3x.png","text":"首页"},{"pagePath":"pages/go-order/go-order","iconPath":"static/image/tab_order@3x.png","selectedIconPath":"static/image/tab_order_red@3x.png","text":"下单"},{"pagePath":"pages/purchase/purchase","iconPath":"static/image/tab_purchase@3x.png","selectedIconPath":"static/image/tab_purchase_red@3x.png","text":"要货"},{"pagePath":"pages/message/message","iconPath":"static/image/tab_message@3x.png","selectedIconPath":"static/image/tab_message_red@3x.png","text":"消息"},{"pagePath":"pages/usercenter/usercenter","iconPath":"static/image/tab_my@3x.png","selectedIconPath":"static/image/tab_my_red@3x.png","text":"我的"}],"height":"50px"}}}
\ No newline at end of file
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__343534B","name":"五粮液APP","version":{"name":"1.0.0","code":"100"},"description":"订货系统","launch_path":"","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview","render":"always","uniNView":{"path":"pages/login/login.js"}},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#fff"},"usingComponents":true,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","nvue":{"flex-direction":"row"},"distribute":{"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"abiFilters":["armeabi-v7a"]},"apple":{"dSYMs":false},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"arguments":"{\"name\":\"me\",\"query\":\"uuid=c4bba940-f69e-11ea-a419-6bafda9d095e&__id__=1\",\"id\":0,\"pathName\":\"pages/login/login\"}","allowsInlineMediaPlayback":true,"safearea":{"background":"rgba(250,250,250,0.90)","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"3.5.3","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"row"},"nvueLaunchMode":"normal"},"tabBar":{"iconWidth":"19px","spacing":"4px","color":"#999999","selectedColor":"#FF1D32","borderStyle":"rgba(250,250,250,0.90)","backgroundColor":"rgba(250,250,250,0.90)","list":[{"pagePath":"pages/home/home","iconPath":"static/image/home@3x.png","selectedIconPath":"static/image/home_red@3x.png","text":"首页"},{"pagePath":"pages/go-order/go-order","iconPath":"static/image/tab_order@3x.png","selectedIconPath":"static/image/tab_order_red@3x.png","text":"下单"},{"pagePath":"pages/purchase/purchase","iconPath":"static/image/tab_purchase@3x.png","selectedIconPath":"static/image/tab_purchase_red@3x.png","text":"要货"},{"pagePath":"pages/message/message","iconPath":"static/image/tab_message@3x.png","selectedIconPath":"static/image/tab_message_red@3x.png","text":"消息"},{"pagePath":"pages/usercenter/usercenter","iconPath":"static/image/tab_my@3x.png","selectedIconPath":"static/image/tab_my_red@3x.png","text":"我的"}],"height":"50px"}}}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment