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
11f534d5
Commit
11f534d5
authored
Oct 14, 2022
by
huhaiqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
海运缺陷单修复
parent
a8b17a4a
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
88 additions
and
72 deletions
+88
-72
indexSea.vue
src/views/ecw/box/indexSea.vue
+45
-45
index.vue
src/views/ecw/box/ladingBill/index.vue
+3
-3
makeLadingBill.vue
src/views/ecw/box/ladingBill/makeLadingBill.vue
+8
-2
previewBill.vue
src/views/ecw/box/ladingBill/previewBill.vue
+7
-2
splitOrder.vue
...views/ecw/box/shippingSea/nodePage/cabinet/splitOrder.vue
+24
-19
startPacking.vue
...ews/ecw/box/shippingSea/nodePage/cabinet/startPacking.vue
+1
-1
No files found.
src/views/ecw/box/indexSea.vue
View file @
11f534d5
This diff is collapsed.
Click to expand it.
src/views/ecw/box/ladingBill/index.vue
View file @
11f534d5
...
...
@@ -192,6 +192,7 @@ export default {
}
this.currRow = row;
this.$set(this.dialogCfg, "type", type);
this.$set(this.dialogCfg, "width", "750px");
this.$set(this.dialogCfg, "visible", true);
},
makeBill(row) {
...
...
@@ -201,11 +202,10 @@ export default {
}).then((res) => {
const { data } = res;
const { titleZh = "", contentZh = "" } = data?.ladingTemplate ?? {};
let billContent = `
$
{
titleZh
}
$
{
data
.
orderInfo
}
$
{
contentZh
}
`,
orderNo = data.orderInfo?.orderNo ?? "";
let billContent = `
$
{
titleZh
}
$
{
data
.
orderInfo
}
$
{
contentZh
}
`;
this.currData = {
billContent,
orderNo,
orderNo
: this.currRow.orderNo
,
};
});
},
...
...
src/views/ecw/box/ladingBill/makeLadingBill.vue
View file @
11f534d5
...
...
@@ -3,7 +3,9 @@
<el-row>
<div
class=
"title-orderNo"
>
订单号:
{{
orderNo
}}
</div>
</el-row>
<vue-ueditor-wrap
v-model=
"billContent"
:config=
"editorConfig"
editor-id=
"billUeditor"
/>
<el-row
class=
"ueditor-row"
>
<vue-ueditor-wrap
v-model=
"billContent"
:config=
"editorConfig"
editor-id=
"billUeditor"
style=
"max-width: 690px;"
/>
</el-row>
<!-- 审核流程 -->
<el-row
class=
"process-area"
>
...
...
@@ -22,7 +24,7 @@
</div>
</el-row>
<el-dialog
:title=
"dialogCfg.title"
:visible.sync=
"visible"
width=
"8
0%
"
append-to-body
class=
"shippingSea-dialog"
>
<el-dialog
:title=
"dialogCfg.title"
:visible.sync=
"visible"
width=
"8
50px
"
append-to-body
class=
"shippingSea-dialog"
>
<previewBill
v-if=
"visible"
:contentHtml=
"billContent"
:currRow=
"currRow"
:type=
"dialogCfg.type"
/>
</el-dialog>
</el-row>
...
...
@@ -234,5 +236,9 @@ export default {
text-align
:
center
;
}
}
.ueditor-row
{
display
:
flex
;
justify-content
:
center
;
}
}
</
style
>
src/views/ecw/box/ladingBill/previewBill.vue
View file @
11f534d5
<
template
>
<el-row>
<div
v-html=
"contentHtml"
></div>
<div
v-html=
"contentHtml"
class=
"contentHtml"
></div>
<el-row
v-if=
"currRow.status === 2 && type === 'previewBill'"
style=
"text-align: center;"
>
<el-button
type=
"primary"
@
click=
"download"
>
下载
</el-button>
<el-button
type=
"primary"
@
click=
"print"
>
打印
</el-button>
...
...
@@ -55,6 +55,11 @@ export default {
};
</
script
>
<
style
lang=
"scss"
scoped
>
::v-deep
.contentHtml
{
>
table
{
width
:
96%
!
important
;
margin-left
:
2%
;
}
}
</
style
>
src/views/ecw/box/shippingSea/nodePage/cabinet/splitOrder.vue
View file @
11f534d5
...
...
@@ -318,22 +318,18 @@ export default {
},
/* 打开拆单 */
getSplit
()
{
this
.
querySplitGoods
().
then
((
res
)
=>
{
if
(
res
)
{
if
(
this
.
currRow
.
goodsList
&&
this
.
currRow
.
goodsList
.
length
)
{
const
[
orderItem
]
=
this
.
currRow
.
goodsList
;
createSplit
({
parentOrderId
:
this
.
currRow
.
orderId
,
parentOrderNo
:
this
.
currRow
.
orderNo
,
dstWarehouseId
:
orderItem
.
destWarehouseId
,
transportId
:
orderItem
.
transportId
,
shipmentType
:
1
,
}).
then
((
res
)
=>
{
this
.
querySplitGoods
();
});
}
}
});
if
(
this
.
currRow
.
goodsList
&&
this
.
currRow
.
goodsList
.
length
)
{
const
[
orderItem
]
=
this
.
currRow
.
goodsList
;
createSplit
({
parentOrderId
:
this
.
currRow
.
orderId
,
parentOrderNo
:
this
.
currRow
.
orderNo
,
dstWarehouseId
:
orderItem
.
destWarehouseId
,
transportId
:
orderItem
.
transportId
,
shipmentType
:
1
,
}).
then
((
res
)
=>
{
this
.
querySplitGoods
();
});
}
},
/* 查询拆单项 */
querySplitGoods
()
{
...
...
@@ -389,8 +385,14 @@ export default {
leviteSum
,
column
.
warehouseInInfoVO
?.
cartonsNum
??
0
).
toNumber
();
leviteV
+=
Decimal
.
add
(
leviteV
,
column
.
warehouseInInfoVO
?.
volume
??
0
).
toFixed
(
2
);
leviteW
+=
Decimal
.
add
(
leviteW
,
column
.
warehouseInInfoVO
?.
weight
??
0
).
toFixed
(
2
);
leviteV
+=
Decimal
.
add
(
leviteV
,
column
.
warehouseInInfoVO
?.
volume
??
0
).
toFixed
(
2
);
leviteW
+=
Decimal
.
add
(
leviteW
,
column
.
warehouseInInfoVO
?.
weight
??
0
).
toFixed
(
2
);
});
sums
[
1
]
=
"
下单统计:
"
+
...
...
@@ -460,7 +462,10 @@ export default {
if
(
valid
)
{
// 输入箱数大于实装箱数
const
total
=
this
.
totalSplitNum
();
const
canSplitNum
=
Decimal
.
sub
(
this
.
currRow
.
num
,
this
.
currRow
.
installNum
).
toNumber
();
const
canSplitNum
=
Decimal
.
sub
(
this
.
currRow
.
num
,
this
.
currRow
.
installNum
).
toNumber
();
const
remain
=
Decimal
.
sub
(
canSplitNum
,
total
).
toNumber
();
if
(
this
.
shopForm
.
num
>
remain
)
{
this
.
$message
.
error
(
"
放入箱数不能大于总箱数
"
);
...
...
src/views/ecw/box/shippingSea/nodePage/cabinet/startPacking.vue
View file @
11f534d5
...
...
@@ -545,7 +545,7 @@ export default {
},
/* 是否显示拆单 */
isShowSplitOrder
(
row
)
{
if
(
row
.
num
>
row
.
installNum
)
{
if
(
row
.
num
>
row
.
installNum
&&
row
.
installNum
!==
0
)
{
return
true
;
}
return
false
;
...
...
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