Commit 3bf20aba authored by 刘文虎's avatar 刘文虎

修改维修字样为服务

parent 127ec6d3
;(function() {
let NODE_ENV = 'test' // dev:开发环境 | test:测试环境 | prod:生产环境
let NODE_ENV = 'prod' // dev:开发环境 | test:测试环境 | prod:生产环境
let ENV_VAR = null
let VERSION = 'v1.0.11'
let VERSION = 'v1.0.15'
if (process.env.NODE_ENV === 'development') {
if (NODE_ENV === 'dev') {
ENV_VAR = require('./.env.dev.js')
......
......@@ -22,7 +22,7 @@
>
</view>
</view>
<view class="item-view" v-for="(item, ind) in items.list" :key="ind">
<view class="item-view" v-for="(item, ind) in items.list" :key="item.id">
<CellBill
@select="handleSelect"
:info="item"
......
......@@ -8,9 +8,9 @@
@click="$u.throttle(handleClickDelete, 500)"
>删除</view
>
<view class="title-view">明细信息</view>
<view class="title-view">服务明细</view>
<view class="item-view">
<view class="label-view">工时/配件</view>
<view class="label-view">收费项</view>
<view class="value-view">
<u-input
type="text"
......
......@@ -332,7 +332,7 @@
"path": "index",
"name": "maintain-bill",
"style": {
"navigationBarTitleText": "维修记账",
"navigationBarTitleText": "服务记账",
"navigationStyle": "custom",
"enablePullDownRefresh": false,
"disableScroll": true
......@@ -359,7 +359,7 @@
"path": "particulars",
"name": "maintain-bill-particulars",
"style": {
"navigationBarTitleText": "维修明细",
"navigationBarTitleText": "服务明细",
"navigationStyle": "custom",
"enablePullDownRefresh": false,
"disableScroll": true
......
......@@ -20,7 +20,7 @@
<view class="item" v-for="(item, index) in list" :key="index">
<view class="item-label">{{ item.label }}</view>
<view class="item-value">
<text class="item-value-repair" v-if="item.value === 'remark' && detail.repairId" @click="toRepair">点击查看维修账单</text>
<text class="item-value-repair" v-if="item.value === 'remark' && detail.repairId" @click="toRepair">点击查看账单</text>
<text v-else-if="item.value === 'happenTime'">{{ resetHappenTime(detail[item.value]) || '' }}</text>
<text v-else>{{ detail[item.value]|| '' }}</text>
</view>
......
......@@ -183,7 +183,7 @@ export default {
{
image: this.baseUrl + 'weixiushoujutubiao-n@3x.png',
path: '/pages/maintain-bill/index',
name: '维修记账',
name: '收据记账',
subtiile: '电子收据'
},
{
......
......@@ -10,7 +10,7 @@
<text v-else>立即登录</text>
</view>
<view class="license-num">
<text v-if="userInfo.id">{{ userInfo.repairShopName || userInfo.nickname + '的维修店' }}</text>
<text v-if="userInfo.id">{{ userInfo.repairShopName || userInfo.nickname + '的店' }}</text>
<text v-else>登录可体验更多功能</text>
</view>
<view class="vip" v-if="userInfo.id" @click.stop="toPay">
......
......@@ -29,28 +29,7 @@ export default {
return {
logoImage:baseUrl+'login-logo@3x.png',
needAuth: true,
list: [
{
img: '/static/images/datum/gzmcx@2x.png',
title: '故障码查询',
intro: '173个家电品牌;4207条故障码;2437篇检修方案'
},
{
img: '/static/images/datum/cjgzxx@2x.png',
title: '常见故障现象查询',
intro: '空调,洗衣机,冰箱,电磁炉等常见故障检修方案'
},
{
img: '/static/images/datum/cjzl@2x.png',
title: '厂家维修资料免费看',
intro: '各大厂商维修手册,培训资料,故障修复指引免费看'
},
{
img: '/static/images/datum/zsdgz@2x.png',
title: '指示灯故障查询',
intro: '各大品牌空调指示灯,一应俱全'
}
],
canIUseGetUserProfile: false,
agree: false,
params: {},
......
......@@ -45,7 +45,7 @@ export default {
show: true,
arrowUrl: billBaseUrl + 'baojiashunxu@3x.png',
steps: quotedPriceSteps,
previewImage: billBaseUrl + 'weixiupreview.png',
previewImage: billBaseUrl + 'weixiuzhangdan-1.png',
closeIcon: billBaseUrl + 'guanbitanchuang@3x.png',
customStyle: {
// 'margin-top': '90rpx',
......
<template>
<view class="maintain-create">
<NavbarRight title="维修记账(开收据)" />
<NavbarRight title="收据记账(开收据)" />
<view class="content-view">
<required-tips @preview="preview"></required-tips>
<u-form :model="form" ref="uForm" label-width="180">
......@@ -61,14 +61,14 @@
</view>
</u-form>
<view class="maintain-view part-view">
<view class="title-view">维修信息</view>
<view class="title-view">服务信息</view>
<view class="item-view">
<view class="lable-view">维修时间</view>
<view class="lable-view">服务时间</view>
<view class="right-view">
<DateRangePicker type="date" :clear-icon="false" v-show="showDatePicker" v-model="form.repairTime" @maskClick="maskClick">
<view class="date-view" hover-class="u-hover-class">
<view class="date-text" v-if="repairTime.dayTime">{{ repairTime.dayTime }}</view>
<view class="placeholder-text" v-else>选择维修日期</view>
<view class="placeholder-text" v-else>选择服务日期</view>
<view class="image-view"><image :src="dateImage"></image></view>
</view>
</DateRangePicker>
......@@ -81,7 +81,7 @@
</view>
<view class="line-view"></view>
<view class="item-view address-item-view">
<view class="lable-view address-label-view">维修地址</view>
<view class="lable-view address-label-view">客户地址</view>
<view class="address-value-view">
<!-- <view :class="['address-view', { adress: form.address }]">{{ form.address || '选择地址' }}</view> -->
<view class="address-view">
......@@ -120,7 +120,7 @@
<view class="accessory-view part-view">
<view class="title-view">
<text>记录凭证</text>
<text class="sub-title-view">上传维修配件图片、物流单等</text>
<text class="sub-title-view">上传服务凭证、物流单等</text>
</view>
<view class="images-view">
......
......@@ -30,7 +30,7 @@
></view
>
<view class="info-view part-view">
<view class="title-view">维修信息</view>
<view class="title-view">服务信息</view>
<view class="list-view" v-for="(item, key) in infoKeys" :key="key">
<view v-if="key" class="item-view">
<view class="label-view">{{ item }}</view>
......@@ -238,12 +238,12 @@ export default {
},
infoKeys() {
return {
id: '维修单号:',
id: '服务单号:',
name: '客户姓名:',
phone: '联系电话:',
'': '',
address: '维修地址:',
repairTime: '维修时间:',
address: '客户地址:',
repairTime: '服务时间:',
}
},
settleState() {
......
......@@ -10,7 +10,7 @@
height="80"
search-icon-color="#bdbdbd"
color="#333333"
placeholder="搜索维修单号、客户姓名/手机、维修备注"
placeholder="搜索单号、客户姓名/手机、备注"
placeholder-color="#CCCCCC"
:search-icon="searchImage"
@change="changeSearch"
......@@ -85,7 +85,7 @@ export default {
},
data() {
return {
backText:'维修记账',
backText:'收据记账',
keyword: '',
customerId:'',
daterange: [],
......@@ -119,7 +119,7 @@ export default {
}
: {
image: this.baseUrl + 'wuweixiuzhangdan@3x.png',
text: '当前暂无维修账单信息'
text: '当前暂无账单信息'
};
},
dateString() {
......
<template>
<view class="maintain-particulars">
<NavbarRight title="维修明细" />
<NavbarRight title="服务明细" />
<view class="content-view">
<view class="tip-view">
<u-icon name="error-circle" color="#02A074" size="30"></u-icon>
<view class="tip-text">若客户需要详细维修账单请填写</view>
<view class="tip-text">若客户需要详细服务账单请填写</view>
<view class="other-text">(如不需要可不填)</view>
</view>
<view class="part-view">
......
......@@ -6,7 +6,7 @@
:background="{
'background-color': '#02A074',
}"
title="维修账单"
title="服务账单"
/>
<view class="back-view"></view>
<view class="status-view">
......@@ -72,7 +72,7 @@
class="remark-view part-view"
v-if="info.remark || (info.attach && info.attach.length > 0)"
>
<view class="title-view">本次维修记录</view>
<view class="title-view">本次服务记录</view>
<view class="label-view">备注信息:</view>
<view class="remark-content-view">
<text class="remark-text">{{ info.remark }}</text>
......@@ -346,7 +346,7 @@ export default {
return {
customerName: '客户姓名:',
customerPhone: '联系电话:',
address: '维修地址:',
address: '客户地址:',
}
},
moneyKeys() {
......@@ -360,15 +360,15 @@ export default {
color: this.info.settleState.code == 'YES' ? '#333333' : '#FC524D',
line: true,
},
{ key: 'id', title: '维修单号:', text: '' },
{ key: 'repairTime', title: '维修时间:', text: '' },
{ key: 'id', title: '服务单号:', text: '' },
{ key: 'repairTime', title: '服务时间:', text: '' },
]
return this.receive
? [...arr, { key: 'repairShopName', title: '维修商户:', text: '' }]
? [...arr, { key: 'repairShopName', title: '服务商户:', text: '' }]
: [
...arr,
{ key: 'createTime', title: '账单创建:', text: '' },
{ key: 'repairShopName', title: '维修商户:', text: '' },
{ key: 'repairShopName', title: '服务商户:', text: '' },
]
},
customScan() {
......@@ -803,7 +803,7 @@ export default {
display: 'block',
},
type: 'text',
text: '本次维修记录',
text: '本次服务记录',
},
{
css: {
......
......@@ -78,7 +78,7 @@ export default {
if (options && options.type) {
if (options.type === 'maintain') {
uni.setNavigationBarTitle({
title: '维修帐单导出'
title: '服务帐单导出'
});
}
this.type = options.type;
......
......@@ -5,7 +5,7 @@
<view class="top">
<view class="t-left">
<image :src="userInfo.avatar" class="avatar"></image>
<view class="nickname">{{ userInfo.repairShopName || userInfo.nickname + '的维修店' }}</view>
<view class="nickname">{{ userInfo.repairShopName || userInfo.nickname + '的店' }}</view>
</view>
<text class="t-right">{{ userStatus }}</text>
</view>
......
......@@ -2,7 +2,7 @@
<view class="content">
<setting-card :detail="stopInfo" @update="updateDetail"></setting-card>
<view class="switch">
<view class="label">维修记账自动统计为收入</view>
<view class="label">收据记账自动统计为收入</view>
<u-switch slot="right-icon" v-model="stopInfo.intoBookRecord" active-color="#02A074" inactive-color="#8D8D8D" :loading="switchLoading" @change="switchChange"></u-switch>
</view>
</view>
......
export const version = "1.0.13"
export const version = "1.0.15"
export const baseURL = "/baseapi"
export const token = "TOKEN"
export const PHONENUMBER = "PHONENUMBER"
......
......@@ -8,7 +8,7 @@ export const minPopupOptions = [{
type: '1',
},
{
label: '维修帐',
label: '开收据',
path: '/pages/maintain-bill/create',
icon: 'weixiuzhangfapiao@3x.png',
type: '2',
......
......@@ -7,7 +7,7 @@ export const exportOptions = [{
},
{
id: 2,
title: '维修账单',
title: '服务账单',
icon: baseUrl + 'weixiuzhangdaochuicon@3x.png',
path: "/pages/mine/import-export/export/export?type=maintain"
},
......
......@@ -7,7 +7,7 @@ export const introOptions = [{
icon: mineBaseUrl + 'huiyuanwuguanggao@3x.png',
},
{
label: '维修记账',
label: '服务记账',
icon: mineBaseUrl + 'huiyuanweixiujizhang@3x.png',
},
{
......
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