Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-pda-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-pda-master
Commits
96ce959c
Commit
96ce959c
authored
Mar 24, 2025
by
honghy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
需求124 PDA-集运包裹验货
parent
5e431348
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1203 additions
and
54 deletions
+1203
-54
cons.js
src/api/cons.js
+9
-0
pages.json
src/pages.json
+7
-0
cargoInformation.vue
src/pages/cons/components/cargoInformation.vue
+1183
-0
detailCons.vue
src/pages/cons/components/detailCons.vue
+4
-54
No files found.
src/api/cons.js
View file @
96ce959c
...
@@ -77,3 +77,12 @@ export const getByWarehouseId = (params) => {
...
@@ -77,3 +77,12 @@ export const getByWarehouseId = (params) => {
method
:
'
GET
'
,
method
:
'
GET
'
,
})
})
}
}
/**
* 创建集运验货明细
*/
export
const
createConsInspectionDetails
=
(
params
)
=>
{
return
http
(
'
/ecw/cons-inspection-details/create
'
,
params
,
{
method
:
'
post
'
,
})
}
src/pages.json
View file @
96ce959c
...
@@ -443,6 +443,13 @@
...
@@ -443,6 +443,13 @@
{
{
"navigationBarTitleText"
:
"包裹信息"
"navigationBarTitleText"
:
"包裹信息"
}
}
},
{
"path"
:
"pages/cons/components/cargoInformation"
,
"style"
:
{
"navigationBarTitleText"
:
"货物信息"
}
}
}
],
],
"globalStyle"
:
{
"globalStyle"
:
{
...
...
src/pages/cons/components/cargoInformation.vue
0 → 100644
View file @
96ce959c
This diff is collapsed.
Click to expand it.
src/pages/cons/components/detailCons.vue
View file @
96ce959c
...
@@ -103,27 +103,10 @@
...
@@ -103,27 +103,10 @@
</uni-forms>
</uni-forms>
<uni-row
class=
"padding-xl text-center"
>
<uni-row
class=
"padding-xl text-center"
>
<button
type=
"primary"
@
click=
"
consModel='show'
"
>
<button
type=
"primary"
@
click=
"
goList
"
>
{{
$t
(
'
下一步
'
)
}}
{{
$t
(
'
下一步
'
)
}}
</button>
</button>
</uni-row>
</uni-row>
<view
class=
"cu-modal"
:class=
"consModel ? 'show' : ''"
style=
"z-index: 999;"
>
<view
class=
"cu-dialog"
>
<view
class=
"cu-bar bg-white justify-end"
>
<view
class=
"content"
>
提示
</view>
</view>
<view
class=
"padding-xl"
>
包裹已签收,是否更新信息
</view>
<view
class=
"cu-bar bg-white justify-end"
>
<view
class=
"action"
>
<button
class=
"cu-btn bg-blue margin-left"
@
tap=
"submitModel('form')"
>
提交
</button>
<button
class=
"cu-btn bg-grey margin-left"
@
tap=
"consModel=!consModel"
>
取消
</button>
</view>
</view>
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -173,7 +156,6 @@ export default {
...
@@ -173,7 +156,6 @@ export default {
transportList
:
[],
transportList
:
[],
expressList
:
[],
expressList
:
[],
productIndex
:
null
,
productIndex
:
null
,
consModel
:
false
,
cons
:
{},
cons
:
{},
id
:
null
,
id
:
null
,
keyword
:
''
,
keyword
:
''
,
...
@@ -364,42 +346,10 @@ export default {
...
@@ -364,42 +346,10 @@ export default {
console
.
log
(
'
err
'
,
err
);
console
.
log
(
'
err
'
,
err
);
})
})
},
},
submitModel
(
ref
)
{
this
.
consModel
=
false
this
.
$refs
[
ref
].
validate
().
then
(
res
=>
{
var
form
=
{
...
this
.
cons
,
mediaUrl
:
this
.
cons
.
mediaUrl
.
map
(
e
=>
e
.
url
).
join
(
'
,
'
)
}
console
.
log
(
form
.
mediaUrl
)
if
(
form
.
mediaUrl
===
""
)
{
uni
.
showToast
({
title
:
`请拍照`
,
icon
:
'
none
'
})
return
}
signedPda
(
form
).
then
(()
=>
{
uni
.
showToast
({
title
:
`保存成功`
})
this
.
getList
()
})
console
.
log
(
form
)
}).
catch
(
err
=>
{
console
.
log
(
'
err
'
,
err
);
})
},
goList
()
{
goList
()
{
uni
.
navigateBack
({
uni
.
navigateTo
({
delta
:
1
url
:
'
/pages/cons/components/cargoInformation?consId=
'
+
this
.
id
})
});
},
delProduct
(
index
)
{
this
.
consItemVOList
.
splice
(
index
,
1
)
},
addProduct
()
{
this
.
consItemVOList
.
push
({
prodId
:
0
,
titleZh
:
""
,
quantity
:
1
})
}
}
}
}
}
}
...
...
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