Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mocp-uniapp
Overview
Overview
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
pangchong
mocp-uniapp
Commits
26abeb4f
Commit
26abeb4f
authored
Oct 29, 2024
by
pangchong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修改
parent
6a0ecd96
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
src/mocp/hooks/use-dict/dict-data/electronicBill.js
+1
-1
src/mocp/utils/http.js
+2
-2
src/pages/modules/mocp/panel/electronicBill/deicing/add.vue
+1
-1
src/pages/modules/mocp/panel/electronicBill/deicing/constants/add.compositions.js
+2
-2
src/pages/modules/mocp/panel/electronicBill/deicing/constants/add.functionals.js
+3
-3
src/pages/modules/mocp/panel/electronicBill/deicing/constants/sign.functionals.js
+2
-2
No files found.
src/mocp/hooks/use-dict/dict-data/electronicBill.js
View file @
26abeb4f
...
...
@@ -18,8 +18,8 @@ export const eb_antiicingMix = [
{
label
:
'Other'
,
value
:
'Other'
}
]
export
const
eb_antiicingUnit
=
[
{
label
:
'USG'
,
value
:
'USG'
},
{
label
:
'L'
,
value
:
'L'
},
{
label
:
'USG'
,
value
:
'USG'
},
{
label
:
'KG'
,
value
:
'KG'
}
]
export
const
eb_antiicingType
=
[
...
...
src/mocp/utils/http.js
View file @
26abeb4f
import
useUserStore
from
'mocp/store/user'
//
const baseURL = 'https://hna-platform.anyremote.cn' //测试
const
baseURL
=
'https://hna-platform.anyremote.cn'
//测试
// const baseURL = 'https://moc.hnatechnic.com/api' //生产
// const baseURL = "http://10.123.48.67/api" //Amms内网
const
baseURL
=
'https://hnaelbtest.hnatechnic.com/mocptest/api'
//内网
//
const baseURL = 'https://hnaelbtest.hnatechnic.com/mocptest/api' //内网
class
ServiceLoading
{
open
(
loading
)
{
...
...
src/pages/modules/mocp/panel/electronicBill/deicing/add.vue
View file @
26abeb4f
...
...
@@ -264,7 +264,7 @@
<view
class=
"sample-table"
>
<view
class=
"sample-thead"
>
<view
class=
"sample-thead-th"
>
<view
class=
"sample-thead-td"
>
防
冰车号
</view>
<view
class=
"sample-thead-td"
>
除
冰车号
</view>
<view
class=
"spacer"
></view>
<view
class=
"sample-thead-td"
>
防冰人员
</view>
<view
class=
"spacer"
></view>
...
...
src/pages/modules/mocp/panel/electronicBill/deicing/constants/add.compositions.js
View file @
26abeb4f
...
...
@@ -9,7 +9,7 @@ export const formData = reactive({
antiicingCartNo4
:
''
,
antiicingDuration
:
''
,
antiicingEndTime
:
''
,
antiicingMix
:
''
,
antiicingMix
:
'
100:0
'
,
antiicingMix1
:
undefined
,
antiicingMix2
:
undefined
,
antiicingPersion1
:
''
,
...
...
@@ -34,7 +34,7 @@ export const formData = reactive({
deicingCartNo3
:
''
,
deicingCartNo4
:
''
,
deicingEndTime
:
''
,
deicingMix
:
''
,
deicingMix
:
'
50:50
'
,
deicingMix1
:
undefined
,
deicingMix2
:
undefined
,
deicingPersion1
:
''
,
...
...
src/pages/modules/mocp/panel/electronicBill/deicing/constants/add.functionals.js
View file @
26abeb4f
...
...
@@ -88,10 +88,10 @@ export const handleFooterClick = async () => {
return
}
//是否点击提交验证除冰/防冰用量
if
(
!
deicingFlag
.
value
&&
formData
.
deicing
Mix
)
{
if
(
!
deicingFlag
.
value
&&
formData
.
deicing
QuantityTotal
>
0
)
{
return
uni
.
$mocpMessage
.
warning
(
'请提交除冰记录'
)
}
if
(
!
antiicingFlag
.
value
&&
formData
.
antiicing
Mix
)
{
if
(
!
antiicingFlag
.
value
&&
formData
.
antiicing
QuantityTotal
>
0
)
{
return
uni
.
$mocpMessage
.
warning
(
'请提交防冰记录'
)
}
uni
.
$mocpJump
.
navigateTo
(
'/panel/electronicBill/deicing/sign'
)
...
...
@@ -150,7 +150,7 @@ export const submitDeicing = () => {
showDeicing
.
value
=
true
}
else
{
deicingFlag
.
value
=
true
showToast
(
'提交成功
1
'
)
showToast
(
'提交成功'
)
}
}
}
...
...
src/pages/modules/mocp/panel/electronicBill/deicing/constants/sign.functionals.js
View file @
26abeb4f
...
...
@@ -54,7 +54,7 @@ export const resetData = () => {
antiicingCartNo4
:
''
,
antiicingDuration
:
''
,
antiicingEndTime
:
''
,
antiicingMix
:
''
,
antiicingMix
:
'
100:0
'
,
antiicingMix1
:
undefined
,
antiicingMix2
:
undefined
,
antiicingPersion1
:
''
,
...
...
@@ -79,7 +79,7 @@ export const resetData = () => {
deicingCartNo3
:
''
,
deicingCartNo4
:
''
,
deicingEndTime
:
''
,
deicingMix
:
''
,
deicingMix
:
'
50:50
'
,
deicingMix1
:
undefined
,
deicingMix2
:
undefined
,
deicingPersion1
:
''
,
...
...
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