Commit e7440625 authored by chuan.liu's avatar chuan.liu

界面优化 首页数据统计联调

parent 74b9f7fa
...@@ -668,7 +668,8 @@ ...@@ -668,7 +668,8 @@
"navigationBarBackgroundColor": "#fff", "navigationBarBackgroundColor": "#fff",
"backgroundColorTop": "#fff", "backgroundColorTop": "#fff",
"backgroundColorBottom": "#fff", "backgroundColorBottom": "#fff",
"transparentTitle": "always" "transparentTitle": "always",
"rpxCalcBaseDeviceWidth": 375
}, },
"tabBar": { "tabBar": {
"iconWidth": "19px", "iconWidth": "19px",
...@@ -680,28 +681,28 @@ ...@@ -680,28 +681,28 @@
"list": [{ "list": [{
"pagePath": "pages/home/home", "pagePath": "pages/home/home",
"iconPath": "static/image/home@3x.png", "iconPath": "static/image/home@3x.png",
"selectedIconPath": "static/image/home@3x.png", "selectedIconPath": "static/image/home_red@3x.png",
"text": "首页" "text": "首页"
}, },
{ {
"pagePath": "pages/go-order/go-order", "pagePath": "pages/go-order/go-order",
"iconPath": "static/image/plan@3x.png", "iconPath": "static/image/tab_order@3x.png",
"selectedIconPath": "static/image/plan@3x.png", "selectedIconPath": "static/image/tab_order_red@3x.png",
"text": "下单" "text": "下单"
}, { }, {
"pagePath": "pages/purchase/purchase", "pagePath": "pages/purchase/purchase",
"iconPath": "static/image/shop@3x.png", "iconPath": "static/image/tab_purchase@3x.png",
"selectedIconPath": "static/image/shop@3x.png", "selectedIconPath": "static/image/tab_purchase_red@3x.png",
"text": "要货" "text": "要货"
}, { }, {
"pagePath": "pages/message/message", "pagePath": "pages/message/message",
"iconPath": "static/image/message@3x.png", "iconPath": "static/image/tab_message@3x.png",
"selectedIconPath": "static/image/message@3x.png", "selectedIconPath": "static/image/tab_message_red@3x.png",
"text": "消息" "text": "消息"
}, { }, {
"pagePath": "pages/usercenter/usercenter", "pagePath": "pages/usercenter/usercenter",
"iconPath": "static/image/usercenter@3x.png", "iconPath": "static/image/tab_my@3x.png",
"selectedIconPath": "static/image/usercenter@3x.png", "selectedIconPath": "static/image/tab_my_red@3x.png",
"text": "我的" "text": "我的"
} }
] ]
......
<template> <template>
<view class="lists"> <view class="lists">
<view class="status_bar" :style="navHeight"></view> <view class="status_bar" :style="navHeight"></view>
<view class="header-bg"></view> <view class="header-bg">
<image class="header-bg-img" src="@/static/image/nav_bg@3x.png" mode="scaleToFill"></image>
</view>
<view class="main"> <view class="main">
<view class="list-wrapper" :style="scrollHeight"> <view class="list-wrapper" :style="scrollHeight">
<list class="list" scrollable loadmoreoffset='1' show-scrollbar='false'> <list class="list" scrollable loadmoreoffset='1' show-scrollbar='false'>
...@@ -115,7 +117,10 @@ ...@@ -115,7 +117,10 @@
.header-bg { .header-bg {
height: 284rpx; height: 284rpx;
margin-top: -88rpx; margin-top: -88rpx;
background: linear-gradient(232deg, #f4e2e2 25%, #faf3f3 98%); }
.header-bg-img {
width: 750rpx;
} }
.lists { .lists {
...@@ -126,6 +131,7 @@ ...@@ -126,6 +131,7 @@
} }
.main { .main {
position: relative;
flex-direction: column; flex-direction: column;
margin-top: -164rpx; margin-top: -164rpx;
padding: 0 16rpx; padding: 0 16rpx;
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<text class="list-block-item__value">{{item.NAME_ORG1}}</text> <text class="list-block-item__value">{{item.NAME_ORG1}}</text>
</view> </view>
<view class="list-block-item"> <view class="list-block-item">
<image class="icon-arrow" src="@/static/image/uc_setting@3x.png" mode="aspectFit"> <image class="icon-arrow" src="@/static/image/address@3x.png" mode="aspectFit">
</image> </image>
<text class="list-block-item__desc">{{item.STREET}}</text> <text class="list-block-item__desc">{{item.STREET}}</text>
</view> </view>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<view class="listview"> <view class="listview">
<view class="cell-list"> <view class="cell-list">
<view class="cell-list-block" @click="goOrder('account-inquiry')"> <view class="cell-list-block" @click="goOrder('account-inquiry')">
<image class="icon-address" src="@/static/image/uc_address@3x.png" mode="aspectFit"></image> <image class="icon-address" src="@/static/image/billing_inquiry@3x.png" mode="aspectFit"></image>
<view class="cell-list-block__content"> <view class="cell-list-block__content">
<text class="cell-list-block__title">账款查询</text> <text class="cell-list-block__title">账款查询</text>
<text class="cell-list-block__desc">Account inquiry</text> <text class="cell-list-block__desc">Account inquiry</text>
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image> <image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image>
</view> </view>
<view class="cell-list-block" @click="goOrder('marketsupportfee-select')"> <view class="cell-list-block" @click="goOrder('marketsupportfee-select')">
<image class="icon-address" src="@/static/image/uc_setting@3x.png" mode="aspectFit"></image> <image class="icon-address" src="@/static/image/billing_market@3x.png" mode="aspectFit"></image>
<view class="cell-list-block__content"> <view class="cell-list-block__content">
<text class="cell-list-block__title">市场支持费用查询</text> <text class="cell-list-block__title">市场支持费用查询</text>
<text class="cell-list-block__desc">Market support fee inquiry</text> <text class="cell-list-block__desc">Market support fee inquiry</text>
......
<template> <template>
<view class="lists"> <view class="lists">
<view class="status_bar" :style="navHeight"></view> <view class="status_bar" :style="navHeight"></view>
<view class="header-bg"></view> <view class="header-bg">
<image class="header-bg-img" src="@/static/image/nav_bg@3x.png" mode="scaleToFill"></image>
</view>
<view class="main"> <view class="main">
<view class="middle view"> <view class="middle view">
<view class="text-block"> <view class="text-block">
...@@ -109,7 +111,12 @@ ...@@ -109,7 +111,12 @@
height: 284rpx; height: 284rpx;
opacity: 0.72; opacity: 0.72;
margin-top: -88rpx; margin-top: -88rpx;
background: linear-gradient(232deg, #f4e2e2 25%, #faf3f3 98%); // background: url("@/static/image/nav_bg@3x.png") no-repeat;
// background-size: cover;
}
.header-bg-img {
width: 750rpx;
} }
.lists { .lists {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<view class="listview"> <view class="listview">
<view class="cell-list"> <view class="cell-list">
<view class="cell-list-block" @click="goOrder('quota')"> <view class="cell-list-block" @click="goOrder('quota')">
<image class="icon-address" src="@/static/image/uc_address@3x.png" mode="aspectFit"></image> <image class="icon-address" src="@/static/image/order_quota@3x.png" mode="aspectFit"></image>
<view class="cell-list-block__content"> <view class="cell-list-block__content">
<text class="cell-list-block__title">配额酒单</text> <text class="cell-list-block__title">配额酒单</text>
<text class="cell-list-block__desc">Wine List</text> <text class="cell-list-block__desc">Wine List</text>
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image> <image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image>
</view> </view>
<view class="cell-list-block" @click="goOrder('no-quota')"> <view class="cell-list-block" @click="goOrder('no-quota')">
<image class="icon-address" src="@/static/image/uc_setting@3x.png" mode="aspectFit"></image> <image class="icon-address" src="@/static/image/order_noquota@3x.png" mode="aspectFit"></image>
<view class="cell-list-block__content"> <view class="cell-list-block__content">
<text class="cell-list-block__title">非配额酒单</text> <text class="cell-list-block__title">非配额酒单</text>
<text class="cell-list-block__desc">Wine List</text> <text class="cell-list-block__desc">Wine List</text>
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image> <image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image>
</view> </view>
<view class="cell-list-block" @click="goOrder('group-buy')"> <view class="cell-list-block" @click="goOrder('group-buy')">
<image class="icon-address" src="@/static/image/uc_setting@3x.png" mode="aspectFit"></image> <image class="icon-address" src="@/static/image/order_group@3x.png" mode="aspectFit"></image>
<view class="cell-list-block__content"> <view class="cell-list-block__content">
<text class="cell-list-block__title">公关团购订单</text> <text class="cell-list-block__title">公关团购订单</text>
<text class="cell-list-block__desc">Group buying List</text> <text class="cell-list-block__desc">Group buying List</text>
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
...mapState(['sysinfo']) ...mapState(['sysinfo'])
}, },
methods: { methods: {
goOrder(type){ goOrder(type) {
uni.navigateTo({ uni.navigateTo({
url: `/pages/${type}/${type}` url: `/pages/${type}/${type}`
}); });
......
<template> <template>
<view class="apply-history view" :style="winHeight"> <view class="apply-history view" :style="winHeight">
<view class="status_bar" :style="navHeight"></view> <view class="status_bar" :style="navHeight"></view>
<view class="header-bg"></view> <view class="header-bg">
<image class="header-bg-img" src="@/static/image/nav_bg@3x.png" mode="scaleToFill"></image>
</view>
<view class="apply-history-wrapper view"> <view class="apply-history-wrapper view">
<view ref='top' id="top"> <view ref='top' id="top">
<view class="steps"> <view class="steps">
...@@ -155,7 +157,7 @@ ...@@ -155,7 +157,7 @@
}); });
this.currentTabComponent = 'quotaOrder' this.currentTabComponent = 'quotaOrder'
return false return false
}else if(this.currentTabComponent === 'quotaOrder'){ } else if (this.currentTabComponent === 'quotaOrder') {
uni.navigateTo({ uni.navigateTo({
url: `/pages/group-buy/group-buy` url: `/pages/group-buy/group-buy`
}); });
...@@ -187,9 +189,11 @@ ...@@ -187,9 +189,11 @@
.header-bg { .header-bg {
height: 284rpx; height: 284rpx;
opacity: 0.72;
margin-top: -88rpx; margin-top: -88rpx;
background: linear-gradient(232deg, #f4e2e2 25%, #faf3f3 98%); }
.header-bg-img {
width: 750rpx;
} }
.apply-history { .apply-history {
......
...@@ -27,10 +27,10 @@ ...@@ -27,10 +27,10 @@
<uni-popup ref="popup" background-color="#fff" @change="change" :mask-click='false'> <uni-popup ref="popup" background-color="#fff" @change="change" :mask-click='false'>
<view class="popup-content"> <view class="popup-content">
<view class="popup-content-head"> <view class="popup-content-head">
<image class="popup-content-head__icon" src="@/static/image/icon_plan@3x.png" mode=""></image> <image class="popup-content-head__icon" src="@/static/image/order_success@3x.png" mode=""></image>
</view> </view>
<view class="popup-content-content"> <view class="popup-content-content">
<text class="popup-content-content__title">支付成功</text> <text class="popup-content-content__title">提交成功</text>
<text class="popup-content-content__title2">订单号:{{ orderInfo.OBJECT_ID }}</text> <text class="popup-content-content__title2">订单号:{{ orderInfo.OBJECT_ID }}</text>
</view> </view>
<view class="popup-content-foot"> <view class="popup-content-foot">
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<view class="view"> <view class="view">
<view class="planout-block"> <view class="planout-block">
<text class="planout-block-title">订购产品</text> <text class="planout-block-title">订购产品</text>
<image class="planout-block-icon" src="@/static/image/shop_more@3x.png" @click="addPlanout()" <image class="planout-block-icon" src="@/static/image/order_more@3x.png" @click="addPlanout()"
mode="aspectFit"></image> mode="aspectFit"></image>
</view> </view>
<uni-swipe-action class="planout-block-lists"> <uni-swipe-action class="planout-block-lists">
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<text class="title">待办</text> <text class="title">待办</text>
<view class="cell-list"> <view class="cell-list">
<view class="cell-list-block" @click="goFundsConfirm"> <view class="cell-list-block" @click="goFundsConfirm">
<image class="icon-address" src="@/static/image/uc_address@3x.png" mode="aspectFit"></image> <image class="icon-address" src="@/static/image/funds@3x.png" mode="aspectFit"></image>
<view class="cell-list-block__content"> <view class="cell-list-block__content">
<text class="cell-list-block__title">打款500,000.00 ,请确认用途</text> <text class="cell-list-block__title">打款500,000.00 ,请确认用途</text>
<text class="cell-list-block__desc">3月27日 14:00</text> <text class="cell-list-block__desc">3月27日 14:00</text>
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image> <image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image>
</view> </view>
<view class="cell-list-block"> <view class="cell-list-block">
<image class="icon-address" src="@/static/image/uc_setting@3x.png" mode="aspectFit"></image> <image class="icon-address" src="@/static/image/funds@3x.png" mode="aspectFit"></image>
<view class="cell-list-block__content"> <view class="cell-list-block__content">
<text class="cell-list-block__title">打款500,000.00 ,请确认用途</text> <text class="cell-list-block__title">打款500,000.00 ,请确认用途</text>
<text class="cell-list-block__desc">3月27日 14:00</text> <text class="cell-list-block__desc">3月27日 14:00</text>
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<view class="title"> <view class="title">
<text class="title-text">订单执行情况</text> <text class="title-text">订单执行情况</text>
<view class="summary"> <view class="summary">
<text class="num">40</text> <text class="num">{{orderAmount}}</text>
</view> </view>
</view> </view>
<qiun-data-charts type="column" :chartData="chartData" :opts="uchartOpts" :ontouch="true" <qiun-data-charts type="column" :chartData="chartData" :opts="uchartOpts" :ontouch="true"
...@@ -75,6 +75,13 @@ ...@@ -75,6 +75,13 @@
</template> </template>
<script> <script>
import {
mapState
} from 'vuex'
import {
apiGetHomeStatistics
} from '@/servers/common.js'
export default { export default {
data() { data() {
return { return {
...@@ -88,15 +95,6 @@ ...@@ -88,15 +95,6 @@
current: 0, current: 0,
mode: 'round', mode: 'round',
noticeContent: '9.10日,21:00-24:00系统升级,系统停止服务', noticeContent: '9.10日,21:00-24:00系统升级,系统停止服务',
dotsStyles: {
width: 9,
bottom: 8,
color: '#FF1D32',
backgroundColor: '#E6E6E6',
border: 'none',
selectedBackgroundColor: '#FF1D32',
selectedBorder: 'none'
},
uchartOpts: { uchartOpts: {
padding: [0, 0, 0, 0], padding: [0, 0, 0, 0],
color: ['#FDB95A', '#528FF4', '#FF7282', '#C38AFF', '#FFD600'], color: ['#FDB95A', '#528FF4', '#FF7282', '#C38AFF', '#FFD600'],
...@@ -128,65 +126,128 @@ ...@@ -128,65 +126,128 @@
"经典" "经典"
], ],
"series": [{ "series": [{
"name": "购买数量(件)", "name": "制票总金额",
"data": [ "data": []
35, }, {
36, "name": "订单总金额",
31, "data": []
33, }, {
13, "name": "订单总件数",
34 "data": []
] }]
// "series": [{
// "name": "购买数量(件)",
// "data": [
// 35,
// 36,
// 31,
// 33,
// 13,
// 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: []
}
}, },
{ computed: {
"name": "订单金(万)", dotsStyles() {
"data": [ return {
18, width: 9,
27, bottom: 8,
21, color: '#FF1D32',
24, backgroundColor: '#E6E6E6',
6, border: 'none',
28 selectedBackgroundColor: '#FF1D32',
] selectedBorder: 'none'
}
}, },
{ orderAmount() {
"name": "开票(万)", let num = 0
"data": [ this.statisticsData.forEach(item => num += item.INFO.PRICE_OD)
28, return num / 10000
17,
11,
14,
16,
18
]
}, },
{ ...mapState(['sysinfo', 'userInfo'])
"name": "发货",
"data": [
28,
17,
11,
14,
16,
18
]
}, },
{ created() {
"name": "到货", this.getHomeStatistics()
"data": [
28,
17,
11,
14,
16,
18
]
}
]
}, },
methods: {
async getHomeStatistics() {
const res = await apiGetHomeStatistics({
PARTNER: this.userInfo.customerCode
})
let {
DATA
} = res
this.statisticsData = DATA
if (DATA.length > 0) {
this.chartData.categories = DATA.map((item) => {
return item.BRAND_BQ_NAME
})
let series = [{
"name": "制票总金额",
"data": []
}, {
"name": "订单总金额",
"data": []
}, {
"name": "订单总件数",
"data": []
}]
DATA.forEach((item, index) => {
series[0].data[index] = item.INFO.PRICE_ZP
series[1].data[index] = item.INFO.PRICE_OD
series[2].data[index] = item.INFO.NUMBER_OD
})
this.chartData.series = series
} }
}, },
methods: {
goFundsConfirm() { goFundsConfirm() {
uni.navigateTo({ uni.navigateTo({
url: `/pages/funds-confirm/funds-confirm` url: `/pages/funds-confirm/funds-confirm`
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
</view> </view>
<view class="top"> <view class="top">
<image class="icon-logo" src="../../static/image/logo@3x.png" mode="aspectFit"></image> <image class="icon-logo" src="../../static/image/logo@3x.png" mode="aspectFit"></image>
<text class="title">五粮液移动CRM系统</text> <text class="title">五粮液易商</text>
</view> </view>
<view class="middle"> <view class="middle">
<view class="account-block" v-show="loginType==='password'"> <view class="account-block" v-show="loginType==='password'">
...@@ -33,12 +33,12 @@ ...@@ -33,12 +33,12 @@
<view class="bottom"> <view class="bottom">
<button class="btn" type="default" @click="goLogin" :class="{ 'btn-disabled': disabled }" <button class="btn" type="default" @click="goLogin" :class="{ 'btn-disabled': disabled }"
:disabled="disabled"><text class="btn-text">{{loginBtnText}}</text></button> :disabled="disabled"><text class="btn-text">{{loginBtnText}}</text></button>
<view class="actions"> <!-- <view class="actions">
<navigator url="/pages/forgetpassword/forgetpassword"> <navigator url="/pages/forgetpassword/forgetpassword">
<text class="forgetpassword-btn">忘记密码</text> <text class="forgetpassword-btn">忘记密码</text>
</navigator> </navigator>
<text class="phone-btn" @click="fnChangeLogin">{{loginWayText}}</text> <text class="phone-btn" @click="fnChangeLogin">{{loginWayText}}</text>
</view> </view> -->
</view> </view>
</view> </view>
</template> </template>
......
<template> <template>
<view class="lists"> <view class="lists">
<view class="status_bar" :style="navHeight"></view> <view class="status_bar" :style="navHeight"></view>
<view class="header-bg"></view> <view class="header-bg">
<image class="header-bg-img" src="@/static/image/nav_bg@3x.png" mode="scaleToFill"></image>
</view>
<view class="main"> <view class="main">
<view class="middle view"> <view class="middle view">
<view class="text-block"> <view class="text-block">
...@@ -169,7 +171,11 @@ ...@@ -169,7 +171,11 @@
.header-bg { .header-bg {
height: 284rpx; height: 284rpx;
margin-top: -88rpx; margin-top: -88rpx;
background: linear-gradient(232deg, #f4e2e2 25%, #faf3f3 98%); }
.header-bg-img {
position: relative;
width: 750rpx;
} }
.lists { .lists {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<text class="date">10:18</text> <text class="date">10:18</text>
<view class="cell-list-block"> <view class="cell-list-block">
<view class="list-block-title"> <view class="list-block-title">
<image class="icon-address" src="@/static/image/uc_address@3x.png" mode="aspectFit"></image> <image class="icon-address" src="@/static/image/message_notice@3x.png" mode="aspectFit"></image>
<text class="list-block-title__text">最新消息</text> <text class="list-block-title__text">最新消息</text>
</view> </view>
<view class="cell-list-block__content"> <view class="cell-list-block__content">
...@@ -15,11 +15,12 @@ ...@@ -15,11 +15,12 @@
</view> </view>
<view class="cell-list-block"> <view class="cell-list-block">
<view class="list-block-title"> <view class="list-block-title">
<image class="icon-address" src="@/static/image/uc_address@3x.png" mode="aspectFit"></image> <image class="icon-address" src="@/static/image/message_notice@3x.png" mode="aspectFit"></image>
<text class="list-block-title__text">最新消息</text> <text class="list-block-title__text">最新消息</text>
</view> </view>
<view class="cell-list-block__content"> <view class="cell-list-block__content">
<text class="cell-list-block__title">新川商贸要货审批,请尽快审批。新川商贸要货审批,请尽快审批。新川商贸要货审批,请尽快审批。新川商贸要货审批,请尽快审批。</text> <text
class="cell-list-block__title">新川商贸要货审批,请尽快审批。新川商贸要货审批,请尽快审批。新川商贸要货审批,请尽快审批。新川商贸要货审批,请尽快审批。</text>
</view> </view>
</view> </view>
</view> </view>
...@@ -96,7 +97,7 @@ ...@@ -96,7 +97,7 @@
flex-direction: column; flex-direction: column;
} }
.date{ .date {
font-size: 28rpx; font-size: 28rpx;
color: #999999; color: #999999;
font-size: 28rpx; font-size: 28rpx;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<view class="listview"> <view class="listview">
<view class="cell-list"> <view class="cell-list">
<view class="cell-list-block" @click="goMessageList('unread')"> <view class="cell-list-block" @click="goMessageList('unread')">
<image class="icon-address" src="@/static/image/uc_address@3x.png" mode="aspectFit"></image> <image class="icon-address" src="@/static/image/message_unread@3x.png" mode="aspectFit"></image>
<view class="cell-list-block__content"> <view class="cell-list-block__content">
<text class="cell-list-block__title">未读消息</text> <text class="cell-list-block__title">未读消息</text>
<text class="cell-list-block__desc">最新消息:新川商贸要货审批</text> <text class="cell-list-block__desc">最新消息:新川商贸要货审批</text>
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<view class="line"></view> <view class="line"></view>
</view> </view>
<view class="cell-list-block" @click="goMessageList('read')"> <view class="cell-list-block" @click="goMessageList('read')">
<image class="icon-address" src="@/static/image/uc_setting@3x.png" mode="aspectFit"></image> <image class="icon-address" src="@/static/image/message_read@3x.png" mode="aspectFit"></image>
<view class="cell-list-block__content"> <view class="cell-list-block__content">
<text class="cell-list-block__title">已读消息</text> <text class="cell-list-block__title">已读消息</text>
<text class="cell-list-block__desc">暂无内容</text> <text class="cell-list-block__desc">暂无内容</text>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<text class="title-no">订单编号:{{newsItem.object_id}}</text> <text class="title-no">订单编号:{{newsItem.object_id}}</text>
<view class="title-info"> <view class="title-info">
<button class="title-info__status title-info__status-done" type="default"><text <button class="title-info__status title-info__status-done" type="default"><text
class="item-block-btn__text title-info__status-done__text">{{newsItem.status}}</text></button> class="item-block-btn__text title-info__status-done__text">{{newsItem.status_text}}</text></button>
</view> </view>
</view> </view>
<view class="middle view"> <view class="middle view">
...@@ -102,6 +102,7 @@ ...@@ -102,6 +102,7 @@
} }
.item-block-btn__text { .item-block-btn__text {
width: 100rpx;
height: 48rpx; height: 48rpx;
line-height: 48rpx; line-height: 48rpx;
font-size: 12px; font-size: 12px;
......
<template> <template>
<view class="apply-history view" :style="winHeight"> <view class="apply-history view" :style="winHeight">
<view class="status_bar" :style="navHeight"></view> <view class="status_bar" :style="navHeight"></view>
<view class="header-bg"></view> <view class="header-bg">
<image class="header-bg-img" src="@/static/image/nav_bg@3x.png" mode="scaleToFill"></image>
</view>
<view class="apply-history-wrapper view"> <view class="apply-history-wrapper view">
<view ref='top' id="top"> <view ref='top' id="top">
<view class="steps"> <view class="steps">
...@@ -160,9 +162,11 @@ ...@@ -160,9 +162,11 @@
.header-bg { .header-bg {
height: 284rpx; height: 284rpx;
opacity: 0.72;
margin-top: -88rpx; margin-top: -88rpx;
background: linear-gradient(232deg, #f4e2e2 25%, #faf3f3 98%); }
.header-bg-img {
width: 750rpx;
} }
.apply-history { .apply-history {
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<uni-popup ref="popup" background-color="#fff" @change="change" :mask-click='false'> <uni-popup ref="popup" background-color="#fff" @change="change" :mask-click='false'>
<view class="popup-content"> <view class="popup-content">
<view class="popup-content-head"> <view class="popup-content-head">
<image class="popup-content-head__icon" src="@/static/image/icon_plan@3x.png" mode=""></image> <image class="popup-content-head__icon" src="@/static/image/order_success@3x.png" mode=""></image>
</view> </view>
<view class="popup-content-content"> <view class="popup-content-content">
<text class="popup-content-content__title">提交成功</text> <text class="popup-content-content__title">提交成功</text>
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<view class="view"> <view class="view">
<view class="planout-block"> <view class="planout-block">
<text class="planout-block-title">订购产品</text> <text class="planout-block-title">订购产品</text>
<image class="planout-block-icon" src="@/static/image/shop_more@3x.png" @click="addPlanout()" <image class="planout-block-icon" src="@/static/image/order_more@3x.png" @click="addPlanout()"
mode="aspectFit"></image> mode="aspectFit"></image>
</view> </view>
<uni-swipe-action class="planout-block-lists"> <uni-swipe-action class="planout-block-lists">
......
<template> <template>
<view class="lists"> <view class="lists">
<view class="status_bar" :style="navHeight"></view> <view class="status_bar" :style="navHeight"></view>
<view class="header-bg"></view> <view class="header-bg">
<image class="header-bg-img" src="@/static/image/nav_bg@3x.png" mode="scaleToFill"></image>
</view>
<view class="main"> <view class="main">
<view class="list-wrapper" :style="scrollHeight"> <view class="list-wrapper" :style="scrollHeight">
<list class="list-block" scrollable loadmoreoffset='1' show-scrollbar='false'> <list class="list-block" scrollable loadmoreoffset='1' show-scrollbar='false'>
...@@ -11,7 +13,7 @@ ...@@ -11,7 +13,7 @@
<text class="title-no">订单编号:{{INFO.OBJECT_ID}}</text> <text class="title-no">订单编号:{{INFO.OBJECT_ID}}</text>
<view class="title-info"> <view class="title-info">
<button class="title-info__status" type="default"><text <button class="title-info__status" type="default"><text
class="item-block-btn__text">{{INFO.STATUS}}</text></button> class="item-block-btn__text">{{INFO.STATUS_TEXT}}</text></button>
</view> </view>
</view> </view>
<view class="order-main-middle view"> <view class="order-main-middle view">
...@@ -230,7 +232,10 @@ ...@@ -230,7 +232,10 @@
height: 284rpx; height: 284rpx;
opacity: 0.72; opacity: 0.72;
margin-top: -88rpx; margin-top: -88rpx;
background: linear-gradient(232deg, #f4e2e2 25%, #faf3f3 98%); }
.header-bg-img {
width: 750rpx;
} }
.lists { .lists {
......
<template> <template>
<view class="lists"> <view class="lists">
<view class="status_bar" :style="navHeight"></view> <view class="status_bar" :style="navHeight"></view>
<view class="header-bg"></view> <view class="header-bg">
<image class="header-bg-img" src="@/static/image/nav_bg@3x.png" mode="scaleToFill"></image>
</view>
<view class="main"> <view class="main">
<view class="list-wrapper" :style="scrollHeight"> <view class="list-wrapper" :style="scrollHeight">
<list class="list-block" scrollable loadmoreoffset='1' show-scrollbar='false'> <list class="list-block" scrollable loadmoreoffset='1' show-scrollbar='false'>
...@@ -11,7 +13,7 @@ ...@@ -11,7 +13,7 @@
<text class="title-no">订单编号:{{INFO.OBJECT_ID}}</text> <text class="title-no">订单编号:{{INFO.OBJECT_ID}}</text>
<view class="title-info"> <view class="title-info">
<button class="title-info__status title-info__status-done" type="default"><text <button class="title-info__status title-info__status-done" type="default"><text
class="title-info__status-text">{{INFO.STATUS}}</text> class="title-info__status-text">{{INFO.STATUS_TEXT}}</text>
</button> </button>
</view> </view>
</view> </view>
...@@ -186,7 +188,10 @@ ...@@ -186,7 +188,10 @@
height: 284rpx; height: 284rpx;
opacity: 0.72; opacity: 0.72;
margin-top: -88rpx; margin-top: -88rpx;
background: linear-gradient(232deg, #f4e2e2 25%, #faf3f3 98%); }
.header-bg-img {
width: 750rpx;
} }
.lists { .lists {
...@@ -196,6 +201,7 @@ ...@@ -196,6 +201,7 @@
} }
.main { .main {
position: relative;
flex-direction: column; flex-direction: column;
margin-top: -164rpx; margin-top: -164rpx;
padding: 0 16rpx; padding: 0 16rpx;
......
<template> <template>
<view class="lists"> <view class="lists">
<view class="status_bar" :style="navHeight"></view> <view class="status_bar" :style="navHeight"></view>
<view class="header-bg"></view> <view class="header-bg">
<image class="header-bg-img" src="@/static/image/nav_bg@3x.png" mode="scaleToFill"></image>
</view>
<view class="main"> <view class="main">
<view class="list-wrapper" :style="scrollHeight"> <view class="list-wrapper" :style="scrollHeight">
<list class="list-block" scrollable loadmoreoffset='1' show-scrollbar='false'> <list class="list-block" scrollable loadmoreoffset='1' show-scrollbar='false'>
...@@ -11,7 +13,7 @@ ...@@ -11,7 +13,7 @@
<text class="title-no">订单编号:{{INFO.OBJECT_ID}}</text> <text class="title-no">订单编号:{{INFO.OBJECT_ID}}</text>
<view class="title-info"> <view class="title-info">
<button class="title-info__status" type="default"> <button class="title-info__status" type="default">
<text class="title-info__status-text">{{INFO.STATUS}}</text> <text class="title-info__status-text">{{INFO.STATUS_TEXT}}</text>
</button> </button>
</view> </view>
</view> </view>
...@@ -218,7 +220,8 @@ ...@@ -218,7 +220,8 @@
handleShowReceiveDetail() { handleShowReceiveDetail() {
this.ishowReceiveDetail = !this.ishowReceiveDetail this.ishowReceiveDetail = !this.ishowReceiveDetail
if (this.ishowReceiveDetail === true) { if (this.ishowReceiveDetail === true) {
this.receiveInfoHeight = '480' let len = this.ITEM_INNER.length + this.ITEM_OUTER.length
this.receiveInfoHeight = `${230*len}`
} else { } else {
this.receiveInfoHeight = '132' this.receiveInfoHeight = '132'
} }
...@@ -236,7 +239,10 @@ ...@@ -236,7 +239,10 @@
height: 284rpx; height: 284rpx;
opacity: 0.72; opacity: 0.72;
margin-top: -88rpx; margin-top: -88rpx;
background: linear-gradient(232deg, #f4e2e2 25%, #faf3f3 98%); }
.header-bg-img {
width: 750rpx;
} }
.lists { .lists {
...@@ -248,6 +254,7 @@ ...@@ -248,6 +254,7 @@
} }
.main { .main {
position: relative;
flex-direction: column; flex-direction: column;
margin-top: -164rpx; margin-top: -164rpx;
padding: 0 16rpx; padding: 0 16rpx;
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<view class="planout-block"> <view class="planout-block">
<text class="planout-block-title">备料产品</text> <text class="planout-block-title">备料产品</text>
<image class="planout-block-icon" src="@/static/image/shop_more@3x.png" @click="addPlanout()" <image class="planout-block-icon" src="@/static/image/order_more@3x.png" @click="addPlanout()"
mode="aspectFit"></image> mode="aspectFit"></image>
</view> </view>
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
<uni-popup ref="popup" background-color="#fff" @change="change" :mask-click='false'> <uni-popup ref="popup" background-color="#fff" @change="change" :mask-click='false'>
<view class="popup-content"> <view class="popup-content">
<view class="popup-content-head"> <view class="popup-content-head">
<image class="popup-content-head__icon" src="@/static/image/icon_plan@3x.png" mode=""></image> <image class="popup-content-head__icon" src="@/static/image/order_success@3x.png" mode=""></image>
</view> </view>
<view class="popup-content-content"> <view class="popup-content-content">
<text class="popup-content-content__title">提交成功</text> <text class="popup-content-content__title">提交成功</text>
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<view class="planout-block"> <view class="planout-block">
<text class="planout-block-title">生产产品</text> <text class="planout-block-title">生产产品</text>
<image class="planout-block-icon" src="@/static/image/shop_more@3x.png" @click="addPlanout()" <image class="planout-block-icon" src="@/static/image/order_more@3x.png" @click="addPlanout()"
mode="aspectFit"></image> mode="aspectFit"></image>
</view> </view>
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
<uni-popup ref="popup" background-color="#fff" @change="change" :mask-click='false'> <uni-popup ref="popup" background-color="#fff" @change="change" :mask-click='false'>
<view class="popup-content"> <view class="popup-content">
<view class="popup-content-head"> <view class="popup-content-head">
<image class="popup-content-head__icon" src="@/static/image/icon_plan@3x.png" mode=""></image> <image class="popup-content-head__icon" src="@/static/image/order_success@3x.png" mode=""></image>
</view> </view>
<view class="popup-content-content"> <view class="popup-content-content">
<text class="popup-content-content__title">提交成功</text> <text class="popup-content-content__title">提交成功</text>
...@@ -125,6 +125,7 @@ ...@@ -125,6 +125,7 @@
checked: false, checked: false,
'quantity': 0, 'quantity': 0,
'total': 0, 'total': 0,
'DESCRIPTION': '请选择',
'product_info': {}, 'product_info': {},
}], }],
HEADINFO: {}, HEADINFO: {},
......
<template> <template>
<view class="lists"> <view class="lists">
<view class="status_bar" :style="navHeight"></view> <view class="status_bar" :style="navHeight"></view>
<view class="header-bg"></view> <view class="header-bg">
<image class="header-bg-img" src="@/static/image/nav_bg@3x.png" mode="scaleToFill"></image>
</view>
<view class="main" :style="mainHeight"> <view class="main" :style="mainHeight">
<view class="middle view planout-block-item"> <view class="middle view planout-block-item">
<view class="text-block"> <view class="text-block">
...@@ -211,9 +213,11 @@ ...@@ -211,9 +213,11 @@
height: 284rpx; height: 284rpx;
opacity: 0.72; opacity: 0.72;
margin-top: -88rpx; margin-top: -88rpx;
background: linear-gradient(232deg, #f4e2e2 25%, #faf3f3 98%);
} }
.header-bg-img {
width: 750rpx;
}
.lists { .lists {
position: relative; position: relative;
...@@ -223,6 +227,7 @@ ...@@ -223,6 +227,7 @@
} }
.main { .main {
position: relative;
flex-direction: column; flex-direction: column;
margin-top: -164rpx; margin-top: -164rpx;
padding: 0 16rpx; padding: 0 16rpx;
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<uni-popup ref="popup" background-color="#fff" @change="change" :mask-click='false'> <uni-popup ref="popup" background-color="#fff" @change="change" :mask-click='false'>
<view class="popup-content"> <view class="popup-content">
<view class="popup-content-head"> <view class="popup-content-head">
<image class="popup-content-head__icon" src="@/static/image/icon_plan@3x.png" mode=""></image> <image class="popup-content-head__icon" src="@/static/image/order_success@3x.png" mode=""></image>
</view> </view>
<view class="popup-content-content"> <view class="popup-content-content">
<text class="popup-content-content__title">提交成功</text> <text class="popup-content-content__title">提交成功</text>
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<view class="view"> <view class="view">
<view class="planout-block"> <view class="planout-block">
<text class="planout-block-title">计划内</text> <text class="planout-block-title">计划内</text>
<image class="planout-block-icon" src="@/static/image/shop_more@3x.png" @click="addPlanout()" <image class="planout-block-icon" src="@/static/image/order_more@3x.png" @click="addPlanout()"
mode="aspectFit"></image> mode="aspectFit"></image>
</view> </view>
<uni-swipe-action class="planout-block-lists"> <uni-swipe-action class="planout-block-lists">
......
<template> <template>
<view class="apply-history view" :style="winHeight"> <view class="apply-history view" :style="winHeight">
<view class="status_bar" :style="navHeight"></view> <view class="status_bar" :style="navHeight"></view>
<view class="header-bg"></view> <view class="header-bg">
<image class="header-bg-img" src="@/static/image/nav_bg@3x.png" mode="scaleToFill"></image>
</view>
<view class="apply-history-wrapper view"> <view class="apply-history-wrapper view">
<view ref='top' id="top"> <view ref='top' id="top">
<view class="steps"> <view class="steps">
...@@ -161,9 +163,11 @@ ...@@ -161,9 +163,11 @@
.header-bg { .header-bg {
height: 284rpx; height: 284rpx;
opacity: 0.72;
margin-top: -88rpx; margin-top: -88rpx;
background: linear-gradient(232deg, #f4e2e2 25%, #faf3f3 98%); }
.header-bg-img {
width: 750rpx;
} }
.apply-history { .apply-history {
......
<template> <template>
<view class="lists"> <view class="lists">
<view class="status_bar" :style="navHeight"></view> <view class="status_bar" :style="navHeight"></view>
<view class="header-bg"></view> <view class="header-bg">
<image class="header-bg-img" src="@/static/image/nav_bg@3x.png" mode="scaleToFill"></image>
</view>
<view class="main"> <view class="main">
<view class="middle view"> <view class="middle view">
<view class="text-block"> <view class="text-block">
...@@ -224,7 +226,10 @@ ...@@ -224,7 +226,10 @@
.header-bg { .header-bg {
height: 284rpx; height: 284rpx;
margin-top: -88rpx; margin-top: -88rpx;
background: linear-gradient(232deg, #f4e2e2 25%, #faf3f3 98%); }
.header-bg-img {
width: 750rpx;
} }
.lists { .lists {
...@@ -233,10 +238,11 @@ ...@@ -233,10 +238,11 @@
overflow-y: scroll; overflow-y: scroll;
background: #f0f4f5; background: #f0f4f5;
overflow-x: hidden; overflow-x: hidden;
height: 100%; height: 100vh;
} }
.main { .main {
position: relative;
flex-direction: column; flex-direction: column;
margin-top: -164rpx; margin-top: -164rpx;
padding: 0 16rpx; padding: 0 16rpx;
......
<template> <template>
<view class="lists"> <view class="lists">
<view class="status_bar" :style="navHeight"></view> <view class="status_bar" :style="navHeight"></view>
<view class="header-bg"></view> <view class="header-bg">
<image class="header-bg-img" src="@/static/image/nav_bg@3x.png" mode="scaleToFill"></image>
</view>
<view class="main"> <view class="main">
<view class="middle view"> <view class="middle view">
<view class="text-block"> <view class="text-block">
...@@ -233,7 +235,10 @@ ...@@ -233,7 +235,10 @@
.header-bg { .header-bg {
height: 284rpx; height: 284rpx;
margin-top: -88rpx; margin-top: -88rpx;
background: linear-gradient(232deg, #f4e2e2 25%, #faf3f3 98%); }
.header-bg-img {
width: 750rpx;
} }
.lists { .lists {
...@@ -242,10 +247,11 @@ ...@@ -242,10 +247,11 @@
overflow-y: scroll; overflow-y: scroll;
background: #f0f4f5; background: #f0f4f5;
overflow-x: hidden; overflow-x: hidden;
height: 100%; height: 100vh;
} }
.main { .main {
position: relative;
flex-direction: column; flex-direction: column;
margin-top: -164rpx; margin-top: -164rpx;
padding: 0 16rpx; padding: 0 16rpx;
......
<template> <template>
<view class="lists"> <view class="lists">
<view class="status_bar" :style="navHeight"></view> <view class="status_bar" :style="navHeight"></view>
<view class="header-bg"></view> <view class="header-bg">
<image class="header-bg-img" src="@/static/image/nav_bg@3x.png" mode="scaleToFill"></image>
</view>
<view class="main"> <view class="main">
<view class="middle view"> <view class="middle view">
<view class="text-block "> <view class="text-block ">
...@@ -238,7 +240,10 @@ ...@@ -238,7 +240,10 @@
.header-bg { .header-bg {
height: 284rpx; height: 284rpx;
margin-top: -88rpx; margin-top: -88rpx;
background: linear-gradient(232deg, #f4e2e2 25%, #faf3f3 98%); }
.header-bg-img {
width: 750rpx;
} }
.lists { .lists {
...@@ -247,10 +252,11 @@ ...@@ -247,10 +252,11 @@
overflow-y: scroll; overflow-y: scroll;
background: #f0f4f5; background: #f0f4f5;
overflow-x: hidden; overflow-x: hidden;
height: 100%; height: 100vh;
} }
.main { .main {
position: relative;
flex-direction: column; flex-direction: column;
margin-top: -164rpx; margin-top: -164rpx;
padding: 0 16rpx; padding: 0 16rpx;
......
<template> <template>
<view class="lists"> <view class="lists">
<view class="status_bar" :style="navHeight"></view> <view class="status_bar" :style="navHeight"></view>
<view class="header-bg"></view> <view class="header-bg">
<image class="header-bg-img" src="@/static/image/nav_bg@3x.png" mode="scaleToFill"></image>
</view>
<view class="main"> <view class="main">
<view class="middle view"> <view class="middle view">
<view class="text-block "> <view class="text-block ">
...@@ -227,7 +229,10 @@ ...@@ -227,7 +229,10 @@
.header-bg { .header-bg {
height: 284rpx; height: 284rpx;
margin-top: -88rpx; margin-top: -88rpx;
background: linear-gradient(232deg, #f4e2e2 25%, #faf3f3 98%); }
.header-bg-img {
width: 750rpx;
} }
.lists { .lists {
...@@ -236,10 +241,11 @@ ...@@ -236,10 +241,11 @@
overflow-y: scroll; overflow-y: scroll;
background: #f0f4f5; background: #f0f4f5;
overflow-x: hidden; overflow-x: hidden;
height: 100%; height: 100vh;
} }
.main { .main {
position: relative;
flex-direction: column; flex-direction: column;
margin-top: -164rpx; margin-top: -164rpx;
padding: 0 16rpx; padding: 0 16rpx;
......
<template> <template>
<view class="lists"> <view class="lists">
<view class="status_bar" :style="navHeight"></view> <view class="status_bar" :style="navHeight"></view>
<view class="header-bg"></view> <view class="header-bg">
<image class="header-bg-img" src="@/static/image/nav_bg@3x.png" mode="scaleToFill"></image>
</view>
<view class="main"> <view class="main">
<view class="middle view"> <view class="middle view">
<view class="text-block"> <view class="text-block">
...@@ -282,7 +284,10 @@ ...@@ -282,7 +284,10 @@
.header-bg { .header-bg {
height: 284rpx; height: 284rpx;
margin-top: -88rpx; margin-top: -88rpx;
background: linear-gradient(232deg, #f4e2e2 25%, #faf3f3 98%); }
.header-bg-img {
width: 750rpx;
} }
.lists { .lists {
...@@ -294,6 +299,7 @@ ...@@ -294,6 +299,7 @@
} }
.main { .main {
position: relative;
flex-direction: column; flex-direction: column;
margin-top: -164rpx; margin-top: -164rpx;
padding: 0 16rpx; padding: 0 16rpx;
......
...@@ -218,8 +218,8 @@ ...@@ -218,8 +218,8 @@
} }
.icon-arrow { .icon-arrow {
width: 7px; width: 8px;
height: 4px; height: 5px;
margin-left: 16rpx; margin-left: 16rpx;
margin-top: 2px; margin-top: 2px;
transition-property: transform; transition-property: transform;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<view class="userinfo"> <view class="userinfo">
<image class="avatar" src="@/static/image/avatar@3x.png" mode=""></image> <image class="avatar" src="@/static/image/avatar@3x.png" mode=""></image>
<view class="nick-block"> <view class="nick-block">
<text class="nick-block--name">{{userInfo.username}}</text> <text class="nick-block--name">{{userInfo.username || '苏州新川商贸有限公司'}}</text>
<text class="nick-block--no">编号:{{userInfo.customerCode}}</text> <text class="nick-block--no">编号:{{userInfo.customerCode}}</text>
</view> </view>
</view> </view>
...@@ -24,36 +24,39 @@ ...@@ -24,36 +24,39 @@
<view class="middle"> <view class="middle">
<view class="entry-block" @click="goPage('purchase-plan')"> <view class="entry-block" @click="goPage('purchase-plan')">
<view class="entry-bill"> <view class="entry-bill">
<image class="entry-bill-icon" src="@/static/image/uc_bill@3x.png" mode=""></image> <image class="entry-bill-icon" src="@/static/image/usercenter_purchaseplan@3x.png" mode=""></image>
<text class="entry-bill-dot">25</text> <!-- <text class="entry-bill-dot">25</text> -->
</view> </view>
<text class="entry-bill-text">采购计划</text> <text class="entry-bill-text">采购计划</text>
</view> </view>
<view class="entry-block" @click="goPage('produce-order')"> <view class="entry-block" @click="goPage('produce-order')">
<view class="entry-bill"> <view class="entry-bill">
<image class="entry-bill-icon" src="@/static/image/uc_shop@3x.png" mode=""></image> <image class="entry-bill-icon" src="@/static/image/usercenter_produceorder@3x.png" mode=""></image>
</view> </view>
<text class="entry-bill-text">生产下单</text> <text class="entry-bill-text">生产下单</text>
</view> </view>
<view class="entry-block" @click="goPage('ticket-order')"> <view class="entry-block" @click="goPage('ticket-order')">
<view class="entry-bill"> <view class="entry-bill">
<image class="entry-bill-icon" src="@/static/image/uc_company@3x.png" mode=""></image> <image class="entry-bill-icon entry-bill-icon_billing"
src="@/static/image/usercenter_ticketorder@3x.png" mode=""></image>
</view> </view>
<text class="entry-bill-text">我的开票</text> <text class="entry-bill-text">我的开票</text>
</view> </view>
<view class="entry-block" @click="goPage('produce-material')"> <view class="entry-block" @click="goPage('produce-material')">
<view class="entry-bill"> <view class="entry-bill">
<image class="entry-bill-icon" src="@/static/image/uc_company@3x.png" mode=""></image> <image class="entry-bill-icon entry-bill-icon_billing"
src="@/static/image/usercenter_producematerial@3x.png" mode="">
</image>
</view> </view>
<text class="entry-bill-text">生产备料</text> <text class="entry-bill-text">生产备料</text>
</view> </view>
<view class="entry-block" @click="goPage('my-purchase')"> <view class="entry-block" @click="goPage('my-purchase')">
<view class="entry-bill"> <view class="entry-bill">
<image class="entry-bill-icon" src="@/static/image/uc_company@3x.png" mode=""></image> <image class="entry-bill-icon" src="@/static/image/usercenter_mypurchase@3x.png" mode=""></image>
</view> </view>
<text class="entry-bill-text">我的要货</text> <text class="entry-bill-text">我的要货</text>
</view> </view>
...@@ -67,7 +70,9 @@ ...@@ -67,7 +70,9 @@
<view class="entry-block" @click="goPage('billing-invoice')"> <view class="entry-block" @click="goPage('billing-invoice')">
<view class="entry-bill"> <view class="entry-bill">
<image class="entry-bill-icon" src="@/static/image/uc_company@3x.png" mode=""></image> <image class="entry-bill-icon entry-bill-icon_billing"
src="@/static/image/usercenter_billinginvoice@3x.png" mode="">
</image>
</view> </view>
<text class="entry-bill-text">账票查询</text> <text class="entry-bill-text">账票查询</text>
</view> </view>
...@@ -99,6 +104,10 @@ ...@@ -99,6 +104,10 @@
apiGetBpPrice apiGetBpPrice
} from '@/servers/common.js' } from '@/servers/common.js'
import {
apiGetSalesOrder
} from '@/servers/salesOrder.js'
export default { export default {
onLoad() { onLoad() {
this.winHeight = `height:${this.sysinfo.safeArea.height}px` this.winHeight = `height:${this.sysinfo.safeArea.height}px`
...@@ -115,8 +124,25 @@ ...@@ -115,8 +124,25 @@
computed: { computed: {
...mapState(['sysinfo', 'userInfo']) ...mapState(['sysinfo', 'userInfo'])
}, },
created() { async created() {
this.getBpPrice() // this.getBpPrice()
const parm = {
"user_bp": "50000215",
"role": "WLY001",
"page": "1",
"pagesize": "1",
"PROCESS_TYPE": [{
"SIGN": "I",
"OPTION": "EQ",
"LOW": "ZS02"
}],
"zzfld00002j": [{
"SIGN": "I",
"OPTION": "EQ",
"LOW": "V013"
}]
}
apiGetSalesOrder(parm)
}, },
methods: { methods: {
async getBpPrice() { async getBpPrice() {
...@@ -126,6 +152,14 @@ ...@@ -126,6 +152,14 @@
this.bpPrice = res.DATA this.bpPrice = res.DATA
}, },
goPage(page) { goPage(page) {
if (page === 'my-purchase') {
uni.showToast({
title: '开发中...',
icon: 'none',
duration: 1500
});
return
}
uni.navigateTo({ uni.navigateTo({
url: `/pages/${page}/${page}` url: `/pages/${page}/${page}`
}) })
...@@ -268,6 +302,11 @@ ...@@ -268,6 +302,11 @@
margin-bottom: 20rpx; margin-bottom: 20rpx;
} }
.entry-bill-icon_billing {
width: 38rpx;
height: 42rpx;
}
.entry-bill-dot { .entry-bill-dot {
position: relative; position: relative;
z-index: 2; z-index: 2;
......
...@@ -100,6 +100,7 @@ class Request { ...@@ -100,6 +100,7 @@ class Request {
this.config.timer = null; this.config.timer = null;
}, this.config.loadingTime); }, this.config.loadingTime);
} }
// console.log('api.helper-----request', options)
uni.request(options); uni.request(options);
}) })
// .catch(res => { // .catch(res => {
......
...@@ -70,6 +70,16 @@ export async function apiGetBpPrice(params) { ...@@ -70,6 +70,16 @@ export async function apiGetBpPrice(params) {
return res return res
} }
/**
* 根据客户编号查询订单执行情况
* @param captcha 验证码
* @returns {Promise<AxiosResponse<T>>}
*/
export async function apiGetHomeStatistics(params) {
const res = await apiHelper.post('/sap/bc/ztpm/to_new_crm/masterdata/get_table_by_bp', params)
return res
}
export default { export default {
apiProductSelect, apiProductSelect,
apiSalesPlanSelect, apiSalesPlanSelect,
......
static/image/home@3x.png

1.5 KB | W: | H:

static/image/home@3x.png

2.15 KB | W: | H:

static/image/home@3x.png
static/image/home@3x.png
static/image/home@3x.png
static/image/home@3x.png
  • 2-up
  • Swipe
  • Onion skin
static/image/logo@3x.png

11 KB | W: | H:

static/image/logo@3x.png

17.1 KB | W: | H:

static/image/logo@3x.png
static/image/logo@3x.png
static/image/logo@3x.png
static/image/logo@3x.png
  • 2-up
  • Swipe
  • Onion skin
This diff is collapsed.
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":"__uniappview.html","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"},"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/home/home\"}","allowsInlineMediaPlayback":true,"safearea":{"background":"rgba(250,250,250,0.90)","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"3.4.7","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@3x.png","text":"首页"},{"pagePath":"pages/go-order/go-order","iconPath":"static/image/plan@3x.png","selectedIconPath":"static/image/plan@3x.png","text":"下单"},{"pagePath":"pages/purchase/purchase","iconPath":"static/image/shop@3x.png","selectedIconPath":"static/image/shop@3x.png","text":"要货"},{"pagePath":"pages/message/message","iconPath":"static/image/message@3x.png","selectedIconPath":"static/image/message@3x.png","text":"消息"},{"pagePath":"pages/usercenter/usercenter","iconPath":"static/image/usercenter@3x.png","selectedIconPath":"static/image/usercenter@3x.png","text":"我的"}],"height":"50px","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html"}} {"@platforms":["android","iPhone","iPad"],"id":"__UNI__343534B","name":"五粮液APP","version":{"name":"1.0.0","code":"100"},"description":"订货系统","launch_path":"__uniappview.html","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"},"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/home/home\"}","allowsInlineMediaPlayback":true,"safearea":{"background":"rgba(250,250,250,0.90)","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"3.4.7","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","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html"}}
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
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