Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-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-operator-master
Commits
ca98cfca
Commit
ca98cfca
authored
Oct 05, 2022
by
huhaiqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
装柜外部仓以及批量装柜修改
parent
4aa1c862
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
42 additions
and
12 deletions
+42
-12
box.js
src/api/ecw/box.js
+13
-3
indexSea.vue
src/views/ecw/box/indexSea.vue
+21
-3
index.vue
src/views/ecw/box/ladingBill/index.vue
+1
-3
startPacking.vue
...ews/ecw/box/shippingSea/nodePage/cabinet/startPacking.vue
+4
-3
preinstall.vue
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
+3
-0
No files found.
src/api/ecw/box.js
View file @
ca98cfca
...
...
@@ -229,10 +229,20 @@ export function getBoxApproval(params) {
});
}
// 下载
清关
文件
export
function
download
Clearance
Files
(
params
)
{
// 下载
agent list
文件
export
function
download
AgentList
Files
(
params
)
{
return
request
({
url
:
"
/ecw/box-preload-goods/downloadClearanceFiles
"
,
url
:
"
/ecw/box-preload-goods/downloadAgentListFiles
"
,
responseType
:
"
arraybuffer
"
,
method
:
"
get
"
,
params
,
});
}
// 下载son cap文件
export
function
downloadSoncapFiles
(
params
)
{
return
request
({
url
:
"
/ecw/box-preload-goods/downloadSoncapFiles
"
,
responseType
:
"
arraybuffer
"
,
method
:
"
get
"
,
params
,
...
...
src/views/ecw/box/indexSea.vue
View file @
ca98cfca
...
...
@@ -135,8 +135,8 @@
<el-dropdown-item
command=
"downloadPreloadGoodsList"
>
预装单
</el-dropdown-item>
<el-dropdown-item
command=
"downloadLoadGoodsList"
>
已装单
</el-dropdown-item>
<el-dropdown-item
command=
"downloadReceivableList"
>
应收汇总表
</el-dropdown-item>
<el-dropdown-item
command=
""
>
agent list
</el-dropdown-item>
<el-dropdown-item
command=
""
>
soncap
</el-dropdown-item>
<el-dropdown-item
command=
"
downloadAgentListFiles
"
>
agent list
</el-dropdown-item>
<el-dropdown-item
command=
"
downloadSoncapFiles
"
>
soncap
</el-dropdown-item>
<el-dropdown-item
command=
""
>
提货单
</el-dropdown-item>
<el-dropdown-item
command=
""
>
提单Copy
</el-dropdown-item>
</el-dropdown-menu>
...
...
@@ -301,7 +301,9 @@ export default {
this
.
$set
(
this
.
dialogCfg
,
"
width
"
,
"
600px
"
);
this
.
$set
(
this
.
dialogCfg
,
"
fullscreen
"
,
false
);
this
.
$set
(
this
.
dialogCfg
,
"
open
"
,
true
);
this
.
currRow
=
{};
this
.
currRow
=
{
transportType
:
"
1
"
,
};
},
/** 修改按钮操作 */
handleUpdate
(
row
)
{
...
...
@@ -416,6 +418,22 @@ export default {
"xlsx"
);
break;
case "downloadAgentListFiles":
downloadFile(
command,
{ shipmentId: row.id },
`
agentList
(
$
{
row
.
selfNo
}).
xlsx
`,
"xlsx"
);
break;
case "downloadSoncapFiles":
downloadFile(
command,
{ shipmentId: row.id },
`
soncap
(
$
{
row
.
selfNo
}).
xlsx
`,
"xlsx"
);
break;
}
if (["editLadingBill", "cost", "error"].includes(command)) {
...
...
src/views/ecw/box/ladingBill/index.vue
View file @
ca98cfca
...
...
@@ -195,11 +195,9 @@ export default {
this.$set(this.dialogCfg, "visible", true);
},
makeBill(row) {
// TODO zgDate需要返回
makeBillService({
orderId: row.orderId,
zgDate: "2022-09-27",
// zgDate: bookSeaInfo.sailTime,
shipmentId: this.shipmentObj.id,
}).then((res) => {
const { data } = res;
const { titleZh = "", contentZh = "" } = data?.ladingTemplate ?? {};
...
...
src/views/ecw/box/shippingSea/nodePage/cabinet/startPacking.vue
View file @
ca98cfca
...
...
@@ -202,9 +202,9 @@
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"箱数"
>
<el-input-number
v-if=
"boxOrderInfo.isExternalWarehouse === 1"
v-model=
"batchObj.boxNum"
:min=
"0"
:max=
"b
atchObj.boxN
um"
/>
<el-input-number
v-if=
"boxOrderInfo.isExternalWarehouse === 1"
v-model=
"batchObj.boxNum"
:min=
"0"
:max=
"b
oxOrderInfo.n
um"
/>
<template
v-else
>
{{
b
atchObj
.
boxN
um
}}
{{
b
oxOrderInfo
.
n
um
}}
</
template
>
</el-form-item>
</el-col>
...
...
@@ -576,7 +576,7 @@ export default {
}).
then
((
res
)
=>
{
const
{
data
}
=
res
;
this
.
boxOrderInfo
=
data
;
this
.
batchObj
.
boxNum
=
data
.
num
-
data
.
installNum
;
this
.
batchObj
.
boxNum
=
data
.
num
;
});
}
});
...
...
@@ -590,6 +590,7 @@ export default {
this
.
$message
.
error
(
"
箱数不能为0
"
);
return
;
}
let
params
=
{
boxNum
:
this
.
boxOrderInfo
.
num
,
orderId
:
this
.
boxOrderInfo
.
orderId
,
...
...
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
View file @
ca98cfca
...
...
@@ -214,6 +214,9 @@
<p>
重货比:
</p>
<p>
{{item.weightRatio}}
</p>
</div>
<div
v-if=
"item.isExternalWarehouse === 0"
style=
"color:blue;fontWeight:bold;"
>
<p>
外部仓
</p>
</div>
<div
class=
"table-button"
>
<el-dropdown
trigger=
"click"
@
command=
"(command)=>handleGoods('all',item,command)"
>
<el-button
type=
"success"
size=
"small"
>
预装全部
</el-button>
...
...
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