Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
biz-trina5-app
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
贺双
biz-trina5-app
Commits
11a28580
Commit
11a28580
authored
Jun 05, 2025
by
贺世双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app调整
parent
12e96c99
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
41 additions
and
64 deletions
+41
-64
apiList.js
api/apiList.js
+4
-0
pages.json
pages.json
+4
-2
carrierMenu.vue
pages/carrierMenu/carrierMenu.vue
+1
-0
config.js
publicConfig/config.js
+3
-1
orderPodSignEdit.vue
subpkg/orderPodSignEdit/orderPodSignEdit.vue
+29
-61
No files found.
api/apiList.js
View file @
11a28580
...
@@ -181,6 +181,10 @@ export function getOrderPodDelete(data) {
...
@@ -181,6 +181,10 @@ export function getOrderPodDelete(data) {
return
Request
(
`/api/entry/{mini}/m-action/getOrderPodDelete`
,
data
);
return
Request
(
`/api/entry/{mini}/m-action/getOrderPodDelete`
,
data
);
}
}
//签收编辑重新保存数量tm_ie_shipmentstatus
export
function
getAppUpdatePodSign
(
data
)
{
return
Request
(
`/api/entry/{mini}/m-action/getAppUpdatePodSign`
,
data
);
}
// 查询货量明细
// 查询货量明细
// OM模式
// OM模式
...
...
pages.json
View file @
11a28580
...
@@ -19,14 +19,16 @@
...
@@ -19,14 +19,16 @@
"style"
:
{
"style"
:
{
"navigationBarBackgroundColor"
:
"#005BB5"
,
"navigationBarBackgroundColor"
:
"#005BB5"
,
"navigationBarTitleText"
:
"司机"
,
"navigationBarTitleText"
:
"司机"
,
"enablePullDownRefresh"
:
false
"enablePullDownRefresh"
:
false
,
"disableScroll"
:
true
}
}
},{
},{
"path"
:
"pages/carrierMenu/carrierMenu"
,
"path"
:
"pages/carrierMenu/carrierMenu"
,
"style"
:
{
"style"
:
{
"navigationBarBackgroundColor"
:
"#005BB5"
,
"navigationBarBackgroundColor"
:
"#005BB5"
,
"navigationBarTitleText"
:
"承运商"
,
"navigationBarTitleText"
:
"承运商"
,
"enablePullDownRefresh"
:
false
"enablePullDownRefresh"
:
false
,
"disableScroll"
:
true
}
}
},
},
{
{
...
...
pages/carrierMenu/carrierMenu.vue
View file @
11a28580
...
@@ -58,6 +58,7 @@
...
@@ -58,6 +58,7 @@
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.park_content
{
.park_content
{
width
:
100%
;
.mask
{
.mask
{
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
...
...
publicConfig/config.js
View file @
11a28580
...
@@ -4,7 +4,9 @@
...
@@ -4,7 +4,9 @@
2. 打包生产模式: 小程序切换url; H5切换ENV_MODEL
2. 打包生产模式: 小程序切换url; H5切换ENV_MODEL
*/
*/
let
BASEURL
=
{
let
BASEURL
=
{
url
:
"http://127.0.0.1:8080"
,
//TMS
url
:
"http://127.0.0.1:8080"
,
//开发
//url: "https://otmuat.trinasolar.com", //UAT
//url: "https://otms.trinasolar.com", //正式
}
}
//当使用多域名代理服务时生效,用于统一添加API前缀以区分服务代理地址。本地开发H5注意修改manifest.json中Proxy代理规则
//当使用多域名代理服务时生效,用于统一添加API前缀以区分服务代理地址。本地开发H5注意修改manifest.json中Proxy代理规则
...
...
subpkg/orderPodSignEdit/orderPodSignEdit.vue
View file @
11a28580
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
<
script
>
<
script
>
import
{
getAppIeShipmentStatus
,
getOrderPodDelete
,
import
{
getAppIeShipmentStatus
,
getOrderPodDelete
,
getOrderPodDetailSign
}
from
'../../api/apiList.js'
getOrderPodDetailSign
,
getAppUpdatePodSign
}
from
'../../api/apiList.js'
import
{
formatGMT
}
from
'../../utils/util'
import
{
formatGMT
}
from
'../../utils/util'
export
default
{
export
default
{
name
:
'orderPodSignEdit'
,
name
:
'orderPodSignEdit'
,
...
@@ -129,6 +129,7 @@
...
@@ -129,6 +129,7 @@
sign_qty
:
""
,
//签收数量
sign_qty
:
""
,
//签收数量
plan_qty
:
""
,
//应签收数量
plan_qty
:
""
,
//应签收数量
remark
:
""
,
//备注
remark
:
""
,
//备注
id
:
""
,
//id
},
},
rules
:
{
rules
:
{
...
@@ -224,7 +225,7 @@
...
@@ -224,7 +225,7 @@
},
},
buttonEdit
(
e
)
{
buttonEdit
(
e
)
{
var
datas
=
this
.
podData
var
datas
=
this
.
podData
console
.
log
(
datas
)
//
console.log(datas)
for
(
var
i
=
0
;
i
<
datas
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
datas
.
length
;
i
++
){
console
.
log
(
datas
[
i
].
sign_status
)
console
.
log
(
datas
[
i
].
sign_status
)
this
.
formData
.
time
=
datas
[
i
].
sign_time
;
//签收时间
this
.
formData
.
time
=
datas
[
i
].
sign_time
;
//签收时间
...
@@ -234,6 +235,7 @@
...
@@ -234,6 +235,7 @@
this
.
formData
.
remark
=
datas
[
i
].
remark
;
//备注
this
.
formData
.
remark
=
datas
[
i
].
remark
;
//备注
this
.
formData
.
sign_qty
=
datas
[
i
].
sign_qty
;
//签收数量
this
.
formData
.
sign_qty
=
datas
[
i
].
sign_qty
;
//签收数量
this
.
formData
.
plan_qty
=
null
;
//应签收数量
this
.
formData
.
plan_qty
=
null
;
//应签收数量
this
.
formData
.
id
=
datas
[
i
].
id
;
//id
}
}
},
},
onSignQty
(
qty
){
onSignQty
(
qty
){
...
@@ -309,62 +311,30 @@
...
@@ -309,62 +311,30 @@
this
.
searchValue
=
''
this
.
searchValue
=
''
},
},
// 提交表单数据
// 提交表单数据
,保存ie_shipmentstatus
onSubmitForm
()
{
onSubmitForm
()
{
const
row
=
getApp
().
globalData
.
orderPodSignEdit
;
//回单表数据
const
row
=
getApp
().
globalData
.
orderPodSignEdit
;
//回单表数据
if
(
this
.
formData
.
sign_status
==
null
||
this
.
formData
.
sign_status
==
""
)
{
const
executeBu
=
row
.
execute_bu
console
.
log
(
executeBu
)
//验证金额
var
signQty
=
uni
.
$u
.
test
.
number
(
this
.
formData
.
sign_qty
)
if
(
!
signQty
&&
executeBu
!=
'TBU'
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
"
签收状态必填
"
,
title
:
"
请填写正确的金额
"
,
icon
:
'none'
,
icon
:
'none'
,
duration
:
2000
duration
:
2000
})
})
return
;
return
;
}
else
{
if
(
this
.
formData
.
sign_status
==
"异常签收"
){
if
(
this
.
formData
.
remark
==
null
||
this
.
formData
.
remark
==
""
)
{
uni
.
showToast
({
title
:
"异常签收时备注必填"
,
icon
:
'none'
,
duration
:
2000
})
return
;
}
}
}
//验证签收
var
cargoDetails
=
this
.
orderList
[
0
].
cargoDetails
;
var
totle
=
0
;
if
(
cargoDetails
.
length
>
0
){
cargoDetails
.
map
(
item
=>
{
item
.
this_qty
=
Number
(
item
.
this_qty
);
var
thisQty
=
uni
.
$u
.
test
.
number
(
item
.
this_qty
)
if
(
!
thisQty
)
{
totle
+=
1
;
}
})
if
(
totle
>
0
){
uni
.
showToast
({
title
:
"请填写正确的签收数量"
,
icon
:
'none'
,
duration
:
2000
})
return
;
}
}
}
const
imgInstance
=
this
.
$refs
.
myUploadImg
//获取图片上传实例
//只更新数量信息
imgInstance
.
uploadImage
(
images
=>
{
this
.
formData
.
files
=
images
;
//图片或者文件
this
.
formData
.
time
=
this
.
convertTimeHh24
(
this
.
formData
.
time
)
var
baseData
=
{
var
baseData
=
{
"aux"
:
{
"args"
:
{
"row"
:
row
,
"row"
:
this
.
formData
,
"headData"
:
this
.
formData
,
"detailData"
:
cargoDetails
,
},
},
}
}
//明细签收
//明细签收
/* getOrderPodDetail
Sign(baseData).then(res => {
getAppUpdatePod
Sign
(
baseData
).
then
(
res
=>
{
if
(
res
.
data
.
data
.
messageType
===
'success'
)
{
if
(
res
.
data
.
data
.
messageType
===
'success'
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'操作成功!'
,
title
:
'操作成功!'
,
...
@@ -374,9 +344,7 @@
...
@@ -374,9 +344,7 @@
uni
.
navigateBack
()
uni
.
navigateBack
()
},
1500
)
},
1500
)
}
}
})*/
})
})
},
},
//设置显示枚举
//设置显示枚举
...
...
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