Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
account-book
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘文虎
account-book
Commits
3bf20aba
Commit
3bf20aba
authored
Aug 20, 2022
by
刘文虎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改维修字样为服务
parent
127ec6d3
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
42 additions
and
63 deletions
+42
-63
.env.js
.env.js
+2
-2
index.vue
components/bill-list/index.vue
+1
-1
index.vue
components/cell-particular/index.vue
+2
-2
pages.json
pages.json
+2
-2
bill-detail.vue
pages/bill/bill-detail/bill-detail.vue
+1
-1
index.vue
pages/index/index.vue
+1
-1
user-header.vue
pages/index/mine/components/user-header.vue
+1
-1
quick-login.vue
pages/login/quick-login/quick-login.vue
+1
-22
receipt-preview.vue
pages/maintain-bill/components/receipt-preview.vue
+1
-1
create.vue
pages/maintain-bill/create.vue
+6
-6
detail.vue
pages/maintain-bill/detail.vue
+4
-4
index.vue
pages/maintain-bill/index.vue
+3
-3
particulars.vue
pages/maintain-bill/particulars.vue
+2
-2
show.vue
pages/maintain-bill/show.vue
+8
-8
export.vue
pages/mine/import-export/export/export.vue
+1
-1
pay.vue
pages/mine/pay/pay.vue
+1
-1
shop-setting.vue
pages/mine/shop-setting/shop-setting.vue
+1
-1
config.js
utils/config.js
+1
-1
index.js
utils/options/index/index.js
+1
-1
import-export.js
utils/options/mine/import-export.js
+1
-1
pay.js
utils/options/mine/pay.js
+1
-1
No files found.
.env.js
View file @
3bf20aba
;(
function
()
{
let
NODE_ENV
=
'
test
'
// dev:开发环境 | test:测试环境 | prod:生产环境
let
NODE_ENV
=
'
prod
'
// dev:开发环境 | test:测试环境 | prod:生产环境
let
ENV_VAR
=
null
let
VERSION
=
'v1.0.1
1
'
let
VERSION
=
'v1.0.1
5
'
if
(
process
.
env
.
NODE_ENV
===
'development'
)
{
if
(
NODE_ENV
===
'dev'
)
{
ENV_VAR
=
require
(
'./.env.dev.js'
)
...
...
components/bill-list/index.vue
View file @
3bf20aba
...
...
@@ -22,7 +22,7 @@
>
</view>
</view>
<view
class=
"item-view"
v-for=
"(item, ind) in items.list"
:key=
"i
n
d"
>
<view
class=
"item-view"
v-for=
"(item, ind) in items.list"
:key=
"i
tem.i
d"
>
<CellBill
@
select=
"handleSelect"
:info=
"item"
...
...
components/cell-particular/index.vue
View file @
3bf20aba
...
...
@@ -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"
...
...
pages.json
View file @
3bf20aba
...
...
@@ -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
...
...
pages/bill/bill-detail/bill-detail.vue
View file @
3bf20aba
...
...
@@ -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>
...
...
pages/index/index.vue
View file @
3bf20aba
...
...
@@ -183,7 +183,7 @@ export default {
{
image
:
this
.
baseUrl
+
'weixiushoujutubiao-n@3x.png'
,
path
:
'/pages/maintain-bill/index'
,
name
:
'
维修
记账'
,
name
:
'
收据
记账'
,
subtiile
:
'电子收据'
},
{
...
...
pages/index/mine/components/user-header.vue
View file @
3bf20aba
...
...
@@ -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"
>
...
...
pages/login/quick-login/quick-login.vue
View file @
3bf20aba
...
...
@@ -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
:
{},
...
...
pages/maintain-bill/components/receipt-preview.vue
View file @
3bf20aba
...
...
@@ -45,7 +45,7 @@ export default {
show
:
true
,
arrowUrl
:
billBaseUrl
+
'baojiashunxu@3x.png'
,
steps
:
quotedPriceSteps
,
previewImage
:
billBaseUrl
+
'weixiu
preview
.png'
,
previewImage
:
billBaseUrl
+
'weixiu
zhangdan-1
.png'
,
closeIcon
:
billBaseUrl
+
'guanbitanchuang@3x.png'
,
customStyle
:
{
// 'margin-top': '90rpx',
...
...
pages/maintain-bill/create.vue
View file @
3bf20aba
<
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"
>
...
...
pages/maintain-bill/detail.vue
View file @
3bf20aba
...
...
@@ -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
()
{
...
...
pages/maintain-bill/index.vue
View file @
3bf20aba
...
...
@@ -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
()
{
...
...
pages/maintain-bill/particulars.vue
View file @
3bf20aba
<
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"
>
...
...
pages/maintain-bill/show.vue
View file @
3bf20aba
...
...
@@ -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
:
{
...
...
pages/mine/import-export/export/export.vue
View file @
3bf20aba
...
...
@@ -78,7 +78,7 @@ export default {
if
(
options
&&
options
.
type
)
{
if
(
options
.
type
===
'maintain'
)
{
uni
.
setNavigationBarTitle
({
title
:
'
维修
帐单导出'
title
:
'
服务
帐单导出'
});
}
this
.
type
=
options
.
type
;
...
...
pages/mine/pay/pay.vue
View file @
3bf20aba
...
...
@@ -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>
...
...
pages/mine/shop-setting/shop-setting.vue
View file @
3bf20aba
...
...
@@ -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>
...
...
utils/config.js
View file @
3bf20aba
export
const
version
=
"1.0.1
3
"
export
const
version
=
"1.0.1
5
"
export
const
baseURL
=
"/baseapi"
export
const
token
=
"TOKEN"
export
const
PHONENUMBER
=
"PHONENUMBER"
...
...
utils/options/index/index.js
View file @
3bf20aba
...
...
@@ -8,7 +8,7 @@ export const minPopupOptions = [{
type
:
'1'
,
},
{
label
:
'
维修帐
'
,
label
:
'
开收据
'
,
path
:
'/pages/maintain-bill/create'
,
icon
:
'weixiuzhangfapiao@3x.png'
,
type
:
'2'
,
...
...
utils/options/mine/import-export.js
View file @
3bf20aba
...
...
@@ -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"
},
...
...
utils/options/mine/pay.js
View file @
3bf20aba
...
...
@@ -7,7 +7,7 @@ export const introOptions = [{
icon
:
mineBaseUrl
+
'huiyuanwuguanggao@3x.png'
,
},
{
label
:
'
维修
记账'
,
label
:
'
服务
记账'
,
icon
:
mineBaseUrl
+
'huiyuanweixiujizhang@3x.png'
,
},
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment