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
ea27782a
Commit
ea27782a
authored
Dec 28, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提单指定名称,路线价格和优惠的bug
parent
35557a25
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
12 deletions
+26
-12
index.vue
src/views/ecw/box/ladingBill/index.vue
+1
-1
makeLadingBill.vue
src/views/ecw/box/ladingBill/makeLadingBill.vue
+2
-0
edit.vue
src/views/ecw/coupon/edit.vue
+18
-7
PrintLadingBill.vue
src/views/ecw/order/components/PrintLadingBill.vue
+1
-1
edit.vue
src/views/ecw/productPrice/edit.vue
+4
-3
No files found.
src/views/ecw/box/ladingBill/index.vue
View file @
ea27782a
...
...
@@ -80,7 +80,7 @@
</el-row>
<el-dialog
:title=
"dialogCfg.title"
:visible.sync=
"dialogCfg.visible"
:width=
"dialogCfg.width"
:fullscreen=
"dialogCfg.fullscreen"
append-to-body
class=
"shippingSea-dialog"
>
<makeLadingBill
v-if=
"['makeBill','queryBill','resetBill'].includes(dialogCfg.type)"
:currData=
"currData"
:currRow=
"currRow"
:dialogCfg=
"dialogCfg"
@
closeDialog=
"closeDialog"
/>
<makeLadingBill
v-if=
"['makeBill','queryBill','resetBill'].includes(dialogCfg.type)"
:currData=
"currData"
:currRow=
"currRow"
:dialogCfg=
"dialogCfg"
@
closeDialog=
"closeDialog"
:selfNo=
"shipmentObj.selfNo"
/>
<previewBill
v-if=
"dialogCfg.type === 'previewBill'"
:contentHtml=
"currData.billContent"
:currRow=
"currRow"
:type=
"dialogCfg.type"
/>
</el-dialog>
</el-row>
...
...
src/views/ecw/box/ladingBill/makeLadingBill.vue
View file @
ea27782a
...
...
@@ -60,6 +60,7 @@ export default {
currData
:
Object
,
currRow
:
Object
,
dialogCfg
:
Object
,
selfNo
:
String
},
data
()
{
return
{
...
...
@@ -191,6 +192,7 @@ export default {
return Promise.reject() */
let
form
=
new
FormData
()
form
.
append
(
'
file
'
,
new
File
([
doc
.
output
(
'
arraybuffer
'
)],
Date
.
now
()
+
'
.pdf
'
,
{
type
:
'
application/pdf
'
}))
form
.
append
(
'
path
'
,
this
.
selfNo
+
'
.pdf
'
)
return
uploadFile
(
form
)
}).
then
(
res
=>
{
return
this
.
submit
(
res
.
data
)
...
...
src/views/ecw/coupon/edit.vue
View file @
ea27782a
...
...
@@ -89,9 +89,12 @@
<selector
v-model=
"item.prodUnit"
:options=
"unitList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
</
template
>
<!-- 特价只有一行,不显示增删 -->
<
template
v-if=
"form.type != 6"
>
<el-button
class=
"el-icon-plus"
size=
"mini"
type=
"primary"
@
click=
"fee[1].push(
{type:1})" />
<el-button
v-if=
"fee[1].length > 1"
class=
"el-icon-minus"
size=
"mini"
type=
"danger"
@
click=
"fee[1].splice(index,1)"
/>
<div
class=
"red-tips"
v-if=
"errTips[1] && errTips[1][index]"
>
{{errTips[1][index]}}
</div>
</
template
>
<!-- <div class="red-tips" v-if="errTips[1] && errTips[1][index]">{{errTips[1][index]}}</div> -->
</div>
</el-form-item>
...
...
@@ -127,9 +130,12 @@
/
<selector
v-model=
"item.prodUnit"
:options=
"unitList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
</
template
>
<!-- 特价只有一行,不显示增删 -->
<
template
v-if=
"form.type != 6"
>
<el-button
class=
"el-icon-plus"
size=
"mini"
type=
"primary"
@
click=
"fee[2].push(
{type:2})" />
<el-button
v-if=
"fee[2].length > 1"
class=
"el-icon-minus"
size=
"mini"
type=
"danger"
@
click=
"fee[2].splice(index,1)"
/>
</
template
>
<!-- <div class="red-tips" v-if="errTips[2] && errTips[1][index]">{{errTips[2][index]}}</div> -->
</div>
...
...
@@ -383,6 +389,11 @@ export default {
}
}
if
(
val
==
6
){
this
.
fee
[
1
]
=
[{}]
this
.
fee
[
2
]
=
[{}]
}
// 过一遍费用,禁用/启用、同步 部分货币单位
[
1
,
2
].
forEach
(
index
=>
{
this
.
fee
[
index
].
forEach
(
item
=>
{
...
...
src/views/ecw/order/components/PrintLadingBill.vue
View file @
ea27782a
...
...
@@ -85,7 +85,7 @@ export default {
download
(){
let
blob
=
new
Blob
([
this
.
pdfData
],
{
type
:
"
application/pdf
"
})
FileSaver
.
saveAs
(
blob
,
this
.
title
+
'
.pdf
'
);
FileSaver
.
saveAs
(
blob
,
this
.
detail
.
imgUrl
.
split
(
"
/
"
).
pop
()
);
},
print
(){
lodop
().
then
(
LODOP
=>
{
...
...
src/views/ecw/productPrice/edit.vue
View file @
ea27782a
...
...
@@ -107,7 +107,7 @@
<
el
-
form
-
item
:
label
=
"
$t('默认清关费')
"
v
-
if
=
"
form.priceType != 1
"
:
prop
=
"
`priceStepList.${index
}
.transportPrice`
"
:
rules
=
"
{validator: priceValidator, trigger: 'blur', message: '价格错误'
}
"
>
<
inputor
default2
=
"
0
"
v
-
model
.
number
=
"
item.clearancePrice
"
type
=
"
number
"
:
placeholder
=
"
$t('整数或者两位小数')
"
class
=
"
w-100 mr-10
"
:
rules
=
"
{validator: priceValidator, trigger: 'blur', message: '价格错误'
}
"
/>
<
selector
:
disabled
=
"
index > 0
"
@
input
=
"
syncAllUnit
"
v
-
model
=
"
item.clearancePriceUnit
"
:
options
=
"
currencyList
"
:
label
-
field
=
"
$l(null, 'title')
"
value
-
field
=
"
id
"
defaultable
class
=
"
w-100
"
/>
/ <selector
:disabled="index > 0"
@input="syncAllUnit" v-model="item.clearanceVolumeUnit" :options="unitList" :label-field="$l
(
null, 'title'
)
" value-field="id" defaultable class="w-100" /
>
/ <selector
disabled
@input="syncAllUnit" v-model="item.clearanceVolumeUnit" :options="unitList" :label-field="$l
(
null, 'title'
)
" value-field="id" defaultable class="w-100" /
>
<
/el-form-item
>
<
el
-
form
-
item
...
...
@@ -148,7 +148,7 @@
<
selector
v
-
model
=
"
form.clearancePriceUnit
"
:
options
=
"
currencyList
"
:
label
-
field
=
"
$l('title')
"
value
-
field
=
"
id
"
defaultable2
class
=
"
w-100 mr-10
"
/>
<
inputor
default2
=
"
0
"
v
-
model
.
number
=
"
form.clearancePrice
"
type
=
"
number
"
:
placeholder
=
"
$t('整数或者两位小数')
"
class
=
"
w-100 mr-10
"
/>
<
span
class
=
"
mr-10
"
>
/</
span
>
<
selector
v
-
model
=
"
form.clearanceVolumeUnit
"
:
options
=
"
unitList
"
:
label
-
field
=
"
$l('title')
"
value
-
field
=
"
id
"
defaultable2
class
=
"
w-100
"
/>
<
selector
disabled
v
-
model
=
"
form.clearanceVolumeUnit
"
:
options
=
"
unitList
"
:
label
-
field
=
"
$l('title')
"
value
-
field
=
"
id
"
defaultable2
class
=
"
w-100
"
/>
<
/el-form-item
>
<
/template
>
...
...
@@ -436,6 +436,7 @@ export default {
// 最小其计量
this
.
$set
(
this
.
form
,
'
minWeightUnit
'
,
transportVolumeUnit
)
this
.
syncSpecialUnit
({
transportVolumeUnit
}
)
this
.
form
.
clearanceVolumeUnit
=
transportVolumeUnit
// 清关费体积单位同步运费体积单位
}
,
'
form.clearanceVolumeUnit
'
(
clearanceVolumeUnit
){
this
.
syncSpecialUnit
({
clearanceVolumeUnit
}
)
...
...
@@ -645,7 +646,7 @@ export default {
transportPriceUnit
:
obj
.
transportPriceUnit
,
transportVolumeUnit
:
obj
.
transportVolumeUnit
,
clearancePriceUnit
:
obj
.
clearancePriceUnit
,
clearanceVolumeUnit
:
obj
.
clearanceVolumeUnit
,
clearanceVolumeUnit
:
obj
.
transportVolumeUnit
,
// 清关费和运费的体积单位同步
}
}
...
...
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