Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
wly-APP
Project
Project
Details
Activity
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
刘川
wly-APP
Commits
2727ebc4
Commit
2727ebc4
authored
Dec 29, 2025
by
chicheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加账票管理模块
parent
fbe1daab
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
772 additions
and
392 deletions
+772
-392
pages.json
pages.json
+30
-33
billing-invoice.nvue
pages/billing-invoice/billing-invoice.nvue
+5
-7
invoice-query.nvue
pages/billing-invoice/invoice-query.nvue
+286
-333
market-support-query.nvue
pages/billing-invoice/market-support-query.nvue
+412
-0
usercenter.nvue
pages/usercenter/usercenter.nvue
+1
-2
api.helper.js
servers/api.helper.js
+12
-12
index.js
store/index.js
+26
-5
No files found.
pages.json
View file @
2727ebc4
...
@@ -937,39 +937,6 @@
...
@@ -937,39 +937,6 @@
}
}
}
}
},
},
{
"path"
:
"pages/account-inquiry/account-inquiry"
,
"style"
:
{
"app-plus"
:
{
"titleNView"
:
{
"titleAlign"
:
"left"
,
"titleColor"
:
"#333"
,
"titleSize"
:
"17px"
,
"backgroundColor"
:
"transparent"
,
"titleText"
:
"账款查询"
,
"autoBackButton"
:
true
},
"bounce"
:
"none"
}
}
},
{
"path"
:
"pages/marketsupportfee-select/marketsupportfee-select"
,
"style"
:
{
"app-plus"
:
{
"titleNView"
:
{
"titleAlign"
:
"left"
,
"titleColor"
:
"#333"
,
"titleSize"
:
"17px"
,
"backgroundColor"
:
"transparent"
,
"titleText"
:
"市场支持费用查询"
,
"autoBackButton"
:
true
},
"bounce"
:
"none"
}
//
"enablePullDownRefresh"
:
true
}
},
{
{
"path"
:
"pages/storage-list/storage-list"
,
"path"
:
"pages/storage-list/storage-list"
,
"style"
:
{
"style"
:
{
...
@@ -1456,6 +1423,36 @@
...
@@ -1456,6 +1423,36 @@
}
}
}
}
}
}
},
{
"path"
:
"pages/billing-invoice/invoice-query"
,
"style"
:
{
"app-plus"
:
{
"titleNView"
:
{
"titleAlign"
:
"left"
,
"titleColor"
:
"#333"
,
"titleSize"
:
"17px"
,
"backgroundColor"
:
"transparent"
,
"titleText"
:
"账款查询"
,
"autoBackButton"
:
true
}
}
}
},
{
"path"
:
"pages/billing-invoice/market-support-query"
,
"style"
:
{
"app-plus"
:
{
"titleNView"
:
{
"titleAlign"
:
"left"
,
"titleColor"
:
"#333"
,
"titleSize"
:
"17px"
,
"backgroundColor"
:
"#fff"
,
"titleText"
:
"市场支持费用查询"
,
"autoBackButton"
:
true
}
}
}
}
}
],
],
"globalStyle"
:
{
"globalStyle"
:
{
...
...
pages/billing-invoice/billing-invoice.nvue
View file @
2727ebc4
...
@@ -3,19 +3,17 @@
...
@@ -3,19 +3,17 @@
<view class="status_bar" :style="navHeight"></view>
<view class="status_bar" :style="navHeight"></view>
<view class="listview">
<view class="listview">
<view class="cell-list">
<view class="cell-list">
<view class="cell-list-block" @click="goOrder('
account-inqui
ry')">
<view class="cell-list-block" @click="goOrder('
billing-invoice/invoice-que
ry')">
<image class="icon-address" src="@/static/image/billing_inquiry@3x.png" mode="aspectFit"></image>
<image class="icon-address" src="@/static/image/billing_inquiry@3x.png" mode="aspectFit"></image>
<view class="cell-list-block__content">
<view class="cell-list-block__content">
<text class="cell-list-block__title">账款查询</text>
<text class="cell-list-block__title">账款查询</text>
<text class="cell-list-block__desc">Account inquiry</text>
</view>
</view>
<image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image>
<image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image>
</view>
</view>
<view class="cell-list-block" @click="goOrder('
marketsupportfee-select
')">
<view class="cell-list-block" @click="goOrder('
billing-invoice/market-support-query
')">
<image class="icon-address" src="@/static/image/billing_market@3x.png" mode="aspectFit"></image>
<image class="icon-address" src="@/static/image/billing_market@3x.png" mode="aspectFit"></image>
<view class="cell-list-block__content">
<view class="cell-list-block__content">
<text class="cell-list-block__title">市场支持费用查询</text>
<text class="cell-list-block__title">市场支持费用查询</text>
<text class="cell-list-block__desc">Market support fee inquiry</text>
</view>
</view>
<image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image>
<image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image>
</view>
</view>
...
@@ -45,9 +43,9 @@
...
@@ -45,9 +43,9 @@
...mapState(['sysinfo'])
...mapState(['sysinfo'])
},
},
methods: {
methods: {
goOrder(
type
) {
goOrder(
path
) {
uni.navigateTo({
uni.navigateTo({
url: `/pages/${
type}/${type
}`
url: `/pages/${
path
}`
});
});
}
}
}
}
...
@@ -129,4 +127,4 @@
...
@@ -129,4 +127,4 @@
padding: 0 36rpx 0 16rpx;
padding: 0 36rpx 0 16rpx;
align-items: center;
align-items: center;
}
}
</style>
</style>
pages/
account-inquiry/account-inqui
ry.nvue
→
pages/
billing-invoice/invoice-que
ry.nvue
View file @
2727ebc4
This diff is collapsed.
Click to expand it.
pages/
marketsupportfee-select/marketsupportfee-select
.nvue
→
pages/
billing-invoice/market-support-query
.nvue
View file @
2727ebc4
This diff is collapsed.
Click to expand it.
pages/usercenter/usercenter.nvue
View file @
2727ebc4
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
<text class="entry-bill-text">销售订单</text>
<text class="entry-bill-text">销售订单</text>
</view>
</view>
<
!-- <
view class="entry-block" @click="goPage('billing-invoice')">
<view class="entry-block" @click="goPage('billing-invoice')">
<view class="entry-bill">
<view class="entry-bill">
<image class="entry-bill-icon entry-bill-icon_billing"
<image class="entry-bill-icon entry-bill-icon_billing"
src="@/static/image/usercenter_billinginvoice@3x.png" mode="">
src="@/static/image/usercenter_billinginvoice@3x.png" mode="">
...
@@ -44,7 +44,6 @@
...
@@ -44,7 +44,6 @@
</view>
</view>
<text class="entry-bill-text">账票管理</text>
<text class="entry-bill-text">账票管理</text>
</view>
</view>
-->
<view class="entry-block" @click="goPage('ticket-order')" v-if='!isChildCustomer'>
<view class="entry-block" @click="goPage('ticket-order')" v-if='!isChildCustomer'>
<view class="entry-bill">
<view class="entry-bill">
<image class="entry-bill-icon entry-bill-icon_billing"
<image class="entry-bill-icon entry-bill-icon_billing"
...
...
servers/api.helper.js
View file @
2727ebc4
...
@@ -183,23 +183,23 @@ class Request {
...
@@ -183,23 +183,23 @@ class Request {
if
(
config
.
url
.
indexOf
(
'crm-app'
)
!==
-
1
)
{
if
(
config
.
url
.
indexOf
(
'crm-app'
)
!==
-
1
)
{
config
.
baseUrl
=
'https://crm.wuliangye.com.cn'
//
config.baseUrl = 'https://crm.wuliangye.com.cn'
//
config.baseUrl = 'http://221.10.127.60:5000'
config
.
baseUrl
=
'http://221.10.127.60:5000'
}
else
if
(
config
.
url
.
indexOf
(
'adapter'
)
!==
-
1
)
{
}
else
if
(
config
.
url
.
indexOf
(
'adapter'
)
!==
-
1
)
{
config
.
baseUrl
=
'http://api.wuliangcreart.com'
//
config.baseUrl = 'http://api.wuliangcreart.com'
//
config.baseUrl = 'http://221.10.127.60:5000/gateway/cyj'
config
.
baseUrl
=
'http://221.10.127.60:5000/gateway/cyj'
}
else
if
(
config
.
url
.
indexOf
(
'wmdpwebservices'
)
!==
-
1
)
{
}
else
if
(
config
.
url
.
indexOf
(
'wmdpwebservices'
)
!==
-
1
)
{
config
.
baseUrl
=
'https://crm.wuliangye.com.cn/gateway/sczx'
//
config.baseUrl = 'https://crm.wuliangye.com.cn/gateway/sczx'
//
config.baseUrl = 'http://221.10.127.60:5000/gateway/sczx'
config
.
baseUrl
=
'http://221.10.127.60:5000/gateway/sczx'
}
else
if
(
config
.
url
.
indexOf
(
'wmdp-storeapp'
)
!==
-
1
)
{
}
else
if
(
config
.
url
.
indexOf
(
'wmdp-storeapp'
)
!==
-
1
)
{
config
.
baseUrl
=
'https://crm.wuliangye.com.cn/gateway/zdcx'
//
config.baseUrl = 'https://crm.wuliangye.com.cn/gateway/zdcx'
//
config.baseUrl = 'http://221.10.127.60:5000/gateway/zdcx'
config
.
baseUrl
=
'http://221.10.127.60:5000/gateway/zdcx'
}
else
if
(
config
.
url
.
indexOf
(
'uusafe'
)
!==
-
1
)
{
}
else
if
(
config
.
url
.
indexOf
(
'uusafe'
)
!==
-
1
)
{
config
.
baseUrl
=
'https://apps.wuliangye.com.cn:9076'
//
config.baseUrl = 'https://apps.wuliangye.com.cn:9076'
//
config.baseUrl = 'https://zzy.ipincloud.cn:9070'
config
.
baseUrl
=
'https://zzy.ipincloud.cn:9070'
}
else
{
}
else
{
config
.
baseUrl
=
'http://218.89.67.37:8001/wlySap'
//
config.baseUrl = 'http://218.89.67.37:8001/wlySap'
//
config.baseUrl = 'http://221.10.127.60:5000/wlySap'
config
.
baseUrl
=
'http://221.10.127.60:5000/wlySap'
}
}
console
.
log
(
config
.
baseUrl
)
console
.
log
(
config
.
baseUrl
)
}
catch
(
e
)
{
}
catch
(
e
)
{
...
...
store/index.js
View file @
2727ebc4
...
@@ -12,7 +12,7 @@ try {
...
@@ -12,7 +12,7 @@ try {
}
}
// 需要永久存储,且下次APP启动需要取出的,在state中的变量名
// 需要永久存储,且下次APP启动需要取出的,在state中的变量名
let
saveStateKeys
=
[
'vuex_user'
,
'vuex_token'
];
let
saveStateKeys
=
[
'vuex_user'
,
'vuex_token'
,
'userInfo'
,
'userBpData'
,
'isChildCustomer'
];
// 保存变量到本地存储中
// 保存变量到本地存储中
const
saveLifeData
=
function
(
key
,
value
)
{
const
saveLifeData
=
function
(
key
,
value
)
{
...
@@ -38,11 +38,12 @@ const store = new Vuex.Store({
...
@@ -38,11 +38,12 @@ const store = new Vuex.Store({
// 如果vuex_version无需保存到本地永久存储,无需lifeData.vuex_version方式
// 如果vuex_version无需保存到本地永久存储,无需lifeData.vuex_version方式
vuex_version
:
'1.0.1'
,
vuex_version
:
'1.0.1'
,
vuex_demo
:
'绛紫'
,
vuex_demo
:
'绛紫'
,
userInfo
:
{
// 从本地存储恢复登录信息,避免热重载时丢失
userInfo
:
lifeData
.
userInfo
?
lifeData
.
userInfo
:
{
name
:
''
,
name
:
''
,
code
:
''
code
:
''
},
},
userBpData
:
{
userBpData
:
lifeData
.
userBpData
?
lifeData
.
userBpData
:
{
USER_BP
:
''
,
USER_BP
:
''
,
ROLES
:
[{
ROLES
:
[{
"ROLE_DESC"
:
""
,
"ROLE_DESC"
:
""
,
...
@@ -69,7 +70,27 @@ const store = new Vuex.Store({
...
@@ -69,7 +70,27 @@ const store = new Vuex.Store({
'INFO'
:
{},
'INFO'
:
{},
'baseinfo'
:
{}
'baseinfo'
:
{}
},
},
isChildCustomer
:
false
// 从本地存储恢复登录信息,避免热重载时丢失
isChildCustomer
:
lifeData
.
isChildCustomer
!==
undefined
?
lifeData
.
isChildCustomer
:
false
},
getters
:
{
// 获取角色信息,包含 USER_BP 和 ROLE
role
(
state
)
{
if
(
!
state
.
userBpData
)
{
return
{
USER_BP
:
''
,
ROLE
:
''
}
}
// 获取第一个角色的 ROLE_ID
const
roleId
=
state
.
userBpData
.
ROLES
&&
state
.
userBpData
.
ROLES
.
length
>
0
?
state
.
userBpData
.
ROLES
[
0
].
ROLE_ID
:
''
return
{
USER_BP
:
state
.
userBpData
.
USER_BP
||
''
,
ROLE
:
roleId
}
}
},
},
mutations
:
{
mutations
:
{
$uStore
(
state
,
payload
)
{
$uStore
(
state
,
payload
)
{
...
@@ -95,4 +116,4 @@ const store = new Vuex.Store({
...
@@ -95,4 +116,4 @@ const store = new Vuex.Store({
}
}
})
})
export
default
store
export
default
store
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