feat: 放大小屏界面并让待审核单直达编辑
This commit is contained in:
parent
63755eab5c
commit
bff563b444
@ -32,11 +32,11 @@ export default {
|
||||
border-bottom: 1rpx solid #f5f5f5;
|
||||
}
|
||||
.statusLabel {
|
||||
font-size: 28rpx;
|
||||
font-size: 40rpx;
|
||||
color: #333;
|
||||
}
|
||||
.statusTag {
|
||||
font-size: 24rpx;
|
||||
font-size: 34rpx;
|
||||
padding: 4rpx 12rpx;
|
||||
border-radius: 6rpx;
|
||||
font-weight: normal;
|
||||
|
||||
@ -800,30 +800,12 @@
|
||||
"backgroundColor": "#ffffff",
|
||||
"borderStyle": "white",
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/sys/msg/index",
|
||||
"iconPath": "static/aidex/tabbar/msg_1.png",
|
||||
"selectedIconPath": "static/aidex/tabbar/msg_2.png",
|
||||
"text": "消息"
|
||||
},
|
||||
// {
|
||||
// "pagePath": "pages/sys/home/index",
|
||||
// "iconPath": "static/aidex/tabbar/home_1.png",
|
||||
// "selectedIconPath": "static/aidex/tabbar/home_2.png",
|
||||
// "text": "首页"
|
||||
// },
|
||||
{
|
||||
"pagePath": "pages/sys/workbench/index",
|
||||
"iconPath": "static/aidex/tabbar/apply_1.png",
|
||||
"selectedIconPath": "static/aidex/tabbar/apply_2.png",
|
||||
"text": "工作台"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/sys/book/index",
|
||||
"iconPath": "static/aidex/tabbar/book_1.png",
|
||||
"selectedIconPath": "static/aidex/tabbar/book_2.png",
|
||||
"text": "通讯录"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/sys/user/index",
|
||||
"iconPath": "static/aidex/tabbar/my_1.png",
|
||||
|
||||
@ -76,6 +76,7 @@ import FabricOutItem from '@/components/card/storeFabricBusinessOutItem.vue';
|
||||
import SearchSelectPopup from '@/components/storefabric/SearchSelectPopup.vue';
|
||||
import {
|
||||
getStatusOptions,
|
||||
AUDIT_STATUS,
|
||||
AUDIT_STATUS_MAP,
|
||||
BILL_TYPES,
|
||||
BUSINESS_UNIT_TYPE_DYEING_FACTORY,
|
||||
@ -273,7 +274,10 @@ export default {
|
||||
this.loadList();
|
||||
},
|
||||
goView(item) {
|
||||
uni.navigateTo({ url: `./storeFabricBusinessOutView?id=${item.id}` });
|
||||
const page = Number(item.audit_status) === AUDIT_STATUS.PENDING
|
||||
? 'storeFabricBusinessOutEdit'
|
||||
: 'storeFabricBusinessOutView';
|
||||
uni.navigateTo({ url: `./${page}?id=${item.id}` });
|
||||
},
|
||||
openStatusSelect() { this.statusSelectShow = true; },
|
||||
onStatusConfirm(e) { this.filters.audit_status = e[0].value; },
|
||||
|
||||
@ -6,8 +6,25 @@
|
||||
.fabric-out-mt32 {
|
||||
margin-top: 32rpx;
|
||||
}
|
||||
.fabric-out-page .flex-white-plr26,
|
||||
.fabric-out-page .flex-white-plr26-column,
|
||||
.fabric-out-page .flex-white-plr26 text,
|
||||
.fabric-out-page .flex-white-plr26 view,
|
||||
.fabric-out-page .u-input__input,
|
||||
.fabric-out-page .uni-input-input,
|
||||
.fabric-out-page .uni-textarea-textarea {
|
||||
font-size: 40rpx;
|
||||
}
|
||||
.fabric-out-page .redXingh {
|
||||
font-size: 40rpx;
|
||||
}
|
||||
.fabric-out-page .u-btn {
|
||||
font-size: 36rpx !important;
|
||||
height: 88rpx;
|
||||
line-height: 88rpx;
|
||||
}
|
||||
.fabric-out-sectionTitle {
|
||||
font-size: 30rpx;
|
||||
font-size: 42rpx;
|
||||
font-weight: bold;
|
||||
padding: 24rpx 26rpx 12rpx;
|
||||
border-left: 6rpx solid #007AFF;
|
||||
@ -16,7 +33,7 @@
|
||||
.fabric-out-scanTip {
|
||||
padding: 20rpx 26rpx;
|
||||
color: #fa8c16;
|
||||
font-size: 26rpx;
|
||||
font-size: 36rpx;
|
||||
background: #fff7e6;
|
||||
margin: 16rpx 26rpx;
|
||||
border-radius: 8rpx;
|
||||
@ -24,7 +41,7 @@
|
||||
.fabric-out-msgTip {
|
||||
padding: 12rpx 26rpx;
|
||||
color: #52c41a;
|
||||
font-size: 26rpx;
|
||||
font-size: 36rpx;
|
||||
}
|
||||
.fabric-out-detailList {
|
||||
padding: 0 26rpx;
|
||||
@ -39,7 +56,7 @@
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
font-size: 28rpx;
|
||||
font-size: 38rpx;
|
||||
font-weight: bold;
|
||||
padding-bottom: 12rpx;
|
||||
border-bottom: 1rpx solid #f0f0f0;
|
||||
@ -49,7 +66,7 @@
|
||||
align-items: center;
|
||||
gap: 20rpx;
|
||||
padding-top: 12rpx;
|
||||
font-size: 26rpx;
|
||||
font-size: 36rpx;
|
||||
color: #666;
|
||||
}
|
||||
.fabric-out-scanRow {
|
||||
@ -66,7 +83,7 @@
|
||||
.fabric-out-delCheck {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 26rpx;
|
||||
font-size: 36rpx;
|
||||
color: #666;
|
||||
white-space: nowrap;
|
||||
}
|
||||
@ -82,7 +99,7 @@
|
||||
flex-wrap: wrap;
|
||||
padding: 16rpx 20rpx;
|
||||
border-bottom: 1rpx solid #f0f0f0;
|
||||
font-size: 26rpx;
|
||||
font-size: 36rpx;
|
||||
color: #333;
|
||||
}
|
||||
.fabric-out-scanDetailRow--2col {
|
||||
@ -124,7 +141,7 @@
|
||||
}
|
||||
.fabric-out-scanDetailTableCell {
|
||||
padding: 14rpx 8rpx;
|
||||
font-size: 24rpx;
|
||||
font-size: 32rpx;
|
||||
color: #333;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
@ -133,7 +150,7 @@
|
||||
.fabric-out-scanDetailEmpty {
|
||||
padding: 24rpx;
|
||||
text-align: center;
|
||||
font-size: 26rpx;
|
||||
font-size: 36rpx;
|
||||
color: #999;
|
||||
}
|
||||
.fabric-out-submitView {
|
||||
|
||||
@ -8,12 +8,12 @@
|
||||
<!-- <u-tabs :list="list" :is-scroll="false" :current="current" @change="onClickItem"></u-tabs> -->
|
||||
<!-- <view v-if="current === 0"> -->
|
||||
<view class="list">
|
||||
<view class="list-call">
|
||||
<view class="iconfont icon-link" style="font-size: 22px;color:#5473e8;"></view>
|
||||
<view class="list-call env-call">
|
||||
<view class="iconfont icon-link" style="font-size: 28px;color:#5473e8;"></view>
|
||||
<view style="width: 100%;">
|
||||
<view class="server-selector" @click="showServerPicker">
|
||||
<text>{{ getApiUrlLabel() }}</text>
|
||||
<view class="iconfont icon-arrow-down" style="font-size: 16px;"></view>
|
||||
<view class="iconfont icon-arrow-down"></view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -103,7 +103,7 @@
|
||||
<!-- </view>-->
|
||||
<!-- </view>-->
|
||||
<!-- </div>-->
|
||||
<u-picker v-model="showApiUrlPicker" mode="selector" :range="apiUrlList" range-key="label"
|
||||
<u-picker class="login-env-picker" v-model="showApiUrlPicker" mode="selector" :range="apiUrlList" range-key="label"
|
||||
@confirm="onApiUrlConfirm" @cancel="showApiUrlPicker = false"></u-picker>
|
||||
<!-- 版本信息显示 -->
|
||||
<view class="version-info">
|
||||
@ -450,14 +450,25 @@ export default {
|
||||
<style lang="scss">
|
||||
@import 'index.scss';
|
||||
|
||||
.env-call {
|
||||
height: auto;
|
||||
min-height: 140rpx;
|
||||
}
|
||||
|
||||
.server-selector {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 10rpx 0;
|
||||
min-height: 80rpx;
|
||||
padding: 16rpx 0;
|
||||
font-size: 40rpx;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.server-selector .icon-arrow-down {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.list-call {
|
||||
.u-select {
|
||||
margin-bottom: 10rpx;
|
||||
@ -572,3 +583,23 @@ export default {
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
</style>
|
||||
<style lang="scss" scoped>
|
||||
.login-env-picker {
|
||||
::v-deep .u-picker-header,
|
||||
::v-deep .u-btn-picker {
|
||||
height: 100rpx;
|
||||
font-size: 36rpx;
|
||||
}
|
||||
|
||||
::v-deep .u-picker-body {
|
||||
height: 560rpx;
|
||||
}
|
||||
|
||||
::v-deep .u-column-item,
|
||||
::v-deep .u-line-1 {
|
||||
height: 88rpx;
|
||||
font-size: 40rpx;
|
||||
line-height: 88rpx;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -79,7 +79,7 @@
|
||||
<!-- </view>-->
|
||||
<view class="workbench-title">坯布管理</view>
|
||||
<view class="toolbar">
|
||||
<u-grid class="grid" :col="4" :border="false">
|
||||
<u-grid class="grid" :col="2" :border="false">
|
||||
<!-- <u-grid-item @click="navTo('/pages/storefabric/storefabricInStore')">-->
|
||||
<!-- <view class="home-icon icon-color04">-->
|
||||
<!-- <i class="iconfont icon-hetongguanli"></i>-->
|
||||
@ -87,16 +87,16 @@
|
||||
<!-- <view class="grid-text">坯布进仓</view>-->
|
||||
<!-- </u-grid-item>-->
|
||||
<u-grid-item @click="navTo('/pages/storefabric/storeFabricBusinessOutList')">
|
||||
<view class="home-icon icon-color03">
|
||||
<view class="workbench-tile tile-out" hover-class="tile-pressed">
|
||||
<i class="iconfont icon-chucha"></i>
|
||||
<text class="tile-label">坯布出库</text>
|
||||
</view>
|
||||
<view class="grid-text">坯布出库</view>
|
||||
</u-grid-item>
|
||||
<u-grid-item @click="navTo('/pages/storefabric/storeFabricWarehouseGroupList')">
|
||||
<view class="home-icon icon-color05">
|
||||
<view class="workbench-tile tile-stock" hover-class="tile-pressed">
|
||||
<i class="iconfont icon-huiyishi"></i>
|
||||
<text class="tile-label">坯布库存</text>
|
||||
</view>
|
||||
<view class="grid-text">坯布库存</view>
|
||||
</u-grid-item>
|
||||
<!-- <u-grid-item @click="navTo('/pages/storefabric/storefabricstoreallin')">-->
|
||||
<!-- <view class="home-icon icon-color05">-->
|
||||
@ -295,4 +295,46 @@ export default {
|
||||
.home-icon i.icon-tongzhi {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.wrap .toolbar .workbench-tile {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
width: 88%;
|
||||
height: 300rpx;
|
||||
margin: 8rpx auto 28rpx;
|
||||
padding: 40rpx 28rpx 36rpx;
|
||||
border-radius: 8rpx;
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.wrap .toolbar .tile-out {
|
||||
background: #14343f;
|
||||
}
|
||||
|
||||
.wrap .toolbar .tile-stock {
|
||||
background: #7a2e24;
|
||||
}
|
||||
|
||||
.wrap .toolbar .workbench-tile i {
|
||||
position: static;
|
||||
margin: 0 0 28rpx;
|
||||
font-size: 88rpx;
|
||||
line-height: 1;
|
||||
color: #f4efe6;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.wrap .toolbar .tile-label {
|
||||
font-size: 36rpx;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
color: #f4efe6;
|
||||
}
|
||||
|
||||
.wrap .toolbar .tile-pressed {
|
||||
opacity: 0.82;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -209,10 +209,6 @@ const store = new Vuex.Store({
|
||||
name: 'vuex_messageList',
|
||||
value: newList
|
||||
});
|
||||
uni.setTabBarBadge({
|
||||
index: 0,
|
||||
text: `${newList.length}`
|
||||
});
|
||||
}
|
||||
// 使用 $uStore 方式更新状态
|
||||
commit('$uStore', {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user