Commit dff8a107 authored by Facius's avatar Facius

1.3第一轮测试bug修复

parent d3738e98
......@@ -58,7 +58,7 @@
id: 3
},
{
label: '件申请',
label: '件申请',
type: 'image',
image: 'peijian.png',
show: false,
......
......@@ -3,7 +3,7 @@
<view class="apply-button">
<u-button :custom-style="customStyle" shape="circle" @click.stop="handleClick" type="primary">
<u-icon class="apply-icon" name="plus"></u-icon>
<text class="apply-text" v-if="showText">申请</text>
<text class="apply-text" v-if="showText">申请</text>
</u-button>
</view>
</template>
......
......@@ -29,7 +29,7 @@
></u-field>
</view>
<view class="bottom">
<button class="btn, bottom-btn" v-if="siteType=='select'" @click="$u.throttle(commitSite, 500)"><text class="button-text">提交</text></button>
<button class="btn, bottom-btn" v-if="siteType=='select'" @click="$u.throttle(commitSite, 500)"><text class="button-text">保存</text></button>
<button class="btn, bottom-btn" v-else @click="show = true"><text class="button-text">保存</text></button>
</view>
<u-picker mode="region" v-model="showPicker" :default-region="region" @confirm="confirmRegion" />
......@@ -100,7 +100,7 @@ export default {
this.title = '新增地址';
this.siteType = 'add';
} else if (e.type === 'select') {
this.title = '选择地址';
this.title = '收货地址';
this.siteType = 'select';
} else if (e.type == 'edit') {
this.title = '修改地址';
......
......@@ -120,7 +120,8 @@ export default {
}
},
onLoad(e) {
getApp().trackPage('选择配件页')
getApp().trackPage('选择配件页')
debugger
if (e) {
this.categaryId = e.categaryId
this.type = e.type
......
<template>
<view class="app-wrap">
<w-navbar title="件申请" navbar-color="#FFFFFF" />
<w-navbar title="件申请" navbar-color="#FFFFFF" />
<view class="content">
<view class="card parts">
<view class="title" v-if="isEmptyParts">备件信息</view>
<view class="u-flex u-row-between title" v-else>
<view>选择</view>
<view>选择</view>
<u-icon name="arrow-right" size="24" color="#2272FF"
@click="$u.throttle(addParts, 500)" label="添加件"
@click="$u.throttle(addParts, 500)" label="添加件"
label-pos="left" label-color="#2272FF" label-size="26"/>
</view>
<view class="body">
......
......@@ -57,9 +57,9 @@
},
computed: {
title() {
if (this.nodeInfo.type == 'parts') return '件申请结果页'
if (this.nodeInfo.type == 'parts') return '件申请结果页'
if (this.nodeInfo.type == 'return') return '返件结果页'
return '件申请结果页'
return '件申请结果页'
},
nodeInfo() {
return this.nodes[this.curType]
......
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