Commit f977f50d authored by Facius's avatar Facius

文案修改

parent 0e548fcc
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<view class="title-view"> <view class="title-view">
<text class="title-text">{{title}}</text> <text class="title-text">{{title}}</text>
<view> <view>
<text>返件时间:</text> <text>退件时间:</text>
<text>{{info.createTime}}</text> <text>{{info.createTime}}</text>
</view> </view>
</view> </view>
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<view class="line-view"></view> <view class="line-view"></view>
<view class="info-item"> <view class="info-item">
<view> <view>
<text>返件编号:</text> <text>退件编号:</text>
<text @longpress="handleLongpress">{{info.number}}</text> <text @longpress="handleLongpress">{{info.number}}</text>
</view> </view>
<text class="copy-view" @click="$u.throttle(handleLongpress, 500)">复制</text> <text class="copy-view" @click="$u.throttle(handleLongpress, 500)">复制</text>
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
}, },
computed: { computed: {
title() { title() {
return this.info.finished ? '已返件' : '返件中' return this.info.finished ? '退件完成' : '退件中'
}, },
total() { // 合计 total() { // 合计
var i = 0 var i = 0
......
...@@ -267,16 +267,18 @@ ...@@ -267,16 +267,18 @@
"path": "warehouse/index", "path": "warehouse/index",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTitleText": "我的配件", "navigationBarTitleText": "配件订单",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"disableScroll": true
} }
}, },
{ {
"path": "warehouse/spare", "path": "warehouse/spare",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTitleText": "我的备件", "navigationBarTitleText": "备件库",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"disableScroll": true
} }
}, },
{ {
...@@ -284,7 +286,8 @@ ...@@ -284,7 +286,8 @@
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTitleText": "返件信息", "navigationBarTitleText": "返件信息",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"disableScroll": true
} }
}, },
{ {
......
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
}, },
{ {
pathName: 'warehouse/records', pathName: 'warehouse/records',
title: '出入记录', title: '出库记录',
value: '', value: '',
icon: process.uniEnv.qn_base_url + 'churuku.png', icon: process.uniEnv.qn_base_url + 'churuku.png',
imageStyle: 'width:50rpx;height:54rpx' imageStyle: 'width:50rpx;height:54rpx'
......
...@@ -14,27 +14,25 @@ ...@@ -14,27 +14,25 @@
bar-width="44" :offset="[0,0]" :list="list" count="total" :current="currentIndex" @change="change" bar-width="44" :offset="[0,0]" :list="list" count="total" :current="currentIndex" @change="change"
:is-scroll="false" font-size="28" bold></u-tabs> :is-scroll="false" font-size="28" bold></u-tabs>
</view> </view>
<view class="tab-view"> <scroll-view scroll-y style="height: 100%;width: 100%;" @scrolltolower="reachBottom" scroll-anchoring
<scroll-view scroll-y style="height: 100%;width: 100%;" @scrolltolower="reachBottom" scroll-anchoring refresher-enabled="true" :refresher-triggered="triggered" :refresher-threshold="100" @scroll="scroll"
refresher-enabled="true" :refresher-triggered="triggered" :refresher-threshold="100" @scroll="scroll" :scroll-top="scrollTop" refresher-background="#F4F5F7" @refresherpulling="triggered = true"
:scroll-top="scrollTop" refresher-background="#F4F5F7" @refresherpulling="triggered = true" @refresherrefresh="onRefresh" @refresherrestore="onRestore" enable-back-to-top>
@refresherrefresh="onRefresh" @refresherrestore="onRestore" enable-back-to-top> <view class="loading-view" v-if="!loaded">
<view class="loading-view" v-if="!loaded"> <u-loading mode="flower"></u-loading>
<u-loading mode="flower"></u-loading> </view>
<NoOrder v-else-if="noParts" imageName="wupeijianxinxi.png" text="当前暂无配件信息"
:customStyle="noPartsCustomStyle" />
<template v-else>
<view v-for="(item, index) in partsList" :key="item.id">
<AppliedCell @operate="handleOperate" :info="item" @action="handleClickCell" @express="handleClickExpress"></AppliedCell>
</view> </view>
<NoOrder v-else-if="noParts" imageName="wupeijianxinxi.png" text="当前暂无配件信息" <view class="load-more-view">
:customStyle="noPartsCustomStyle" /> <u-loadmore v-show="(pageNumber == 1 && loaded) || pageNumber > 2" :status="loadStatus"
<template v-else> bgColor="#F4F5F7"></u-loadmore>
<view v-for="(item, index) in partsList" :key="item.id"> </view>
<AppliedCell @operate="handleOperate" :info="item" @action="handleClickCell" @express="handleClickExpress"></AppliedCell> </template>
</view> </scroll-view>
<view class="load-more-view">
<u-loadmore v-show="(pageNumber == 1 && loaded) || pageNumber > 2" :status="loadStatus"
bgColor="#F4F5F7"></u-loadmore>
</view>
</template>
</scroll-view>
</view>
<view class="fixed-button"> <view class="fixed-button">
<ApplyButton :type="buttonType" @click="handleClickApply" /> <ApplyButton :type="buttonType" @click="handleClickApply" />
</view> </view>
...@@ -281,9 +279,9 @@ ...@@ -281,9 +279,9 @@
margin-bottom: 30rpx; margin-bottom: 30rpx;
} }
.tab-view { // .tab-view {
height: 100%; // height: 100%;
overflow: auto; // overflow: auto;
.load-more-view { .load-more-view {
margin-bottom: 20rpx; margin-bottom: 20rpx;
...@@ -297,7 +295,7 @@ ...@@ -297,7 +295,7 @@
margin-top: 300rpx; margin-top: 300rpx;
position: absolute; position: absolute;
} }
} // }
.fixed-button { .fixed-button {
position: fixed; position: fixed;
......
<template> <template>
<!-- 我的备件 --> <!-- 我的备件 -->
<view class="ware-house-spare"> <view class="ware-house-spare">
<u-navbar back-icon-color="#333333" background="#FFFFFF" title="我的备件" titleColor="#333333" <u-navbar back-icon-color="#333333" background="#FFFFFF" title="备件库" titleColor="#333333"
:border-bottom="false" title-bold></u-navbar> :border-bottom="false" title-bold></u-navbar>
<view class="search-view"> <view class="search-view">
<u-search v-model="keyword" :action-text="searchButtonText" @search="handleClickSearch" @clear="handleClear" <u-search v-model="keyword" :action-text="searchButtonText" @search="handleClickSearch" @clear="handleClear"
......
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