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
5de0e9b0
Commit
5de0e9b0
authored
Dec 25, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量设置路线价格阶梯价格异常
parent
fe057805
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
28 deletions
+41
-28
SplitDetail.vue
src/views/ecw/order/components/SplitDetail.vue
+37
-24
splitApply.vue
src/views/ecw/order/splitApply.vue
+2
-2
batchEdit.vue
src/views/ecw/productPrice/batchEdit.vue
+2
-2
No files found.
src/views/ecw/order/components/SplitDetail.vue
View file @
5de0e9b0
...
...
@@ -23,7 +23,7 @@
</el-descriptions-item>
</el-descriptions>
<template
v-for=
"item in
detail.
orderSplitBackVOList"
>
<template
v-for=
"item in orderSplitBackVOList"
>
<div
class=
"title mt-20"
:key=
"item.orderNo"
>
<span
class=
"mr-10"
>
{{
item
.
orderNo
}}
</span>
<dict-tag
class=
"mr-10"
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"item.transportId"
/>
...
...
@@ -31,28 +31,32 @@
<span>
{{
$t
(
'
发往
'
)
}}{{
item
.
dstWarehouseName
}}
</span>
</div>
<el-table
:data=
"item.orderSplitItemBackVOList"
:key=
"'items-' + item.orderNo"
>
<el-table-column
:label=
"$t('序号')"
>
<template
slot-scope=
"scope"
>
{{
scope
.
$index
+
1
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('中文品名')"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
prodTitleZh
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('英文品名')"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
prodTitleEn
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('品牌')"
>
<
template
slot-scope=
"{row}"
>
<dict-tag
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"row.brandType"
/>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('体积')"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
volume
}}
m³
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('重量')"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
weight
}}
kg
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('箱数')"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
num
}}
</
template
></el-table-column>
<el-table-column
:label=
"$t('序号')"
>
<template
slot-scope=
"scope"
>
{{
scope
.
$index
+
1
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('中文品名')"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
prodTitleZh
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('英文品名')"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
prodTitleEn
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('品牌')"
>
<
template
slot-scope=
"{row}"
>
<dict-tag
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"row.brandType"
/>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('体积')"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
volume
}}
m³
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('重量')"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
weight
}}
kg
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('箱数')"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
num
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('备注')"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
remark
}}
</
template
>
</el-table-column>
</el-table>
</template>
</div>
...
...
@@ -60,6 +64,7 @@
<
script
>
import
{
getApproval
,
getOrder
}
from
'
@/api/ecw/order
'
import
{
getChannel
}
from
'
@/api/ecw/channel
'
import
{
getSplitList
}
from
'
@/api/ecw/orderHandle
'
export
default
{
props
:{
id
:
[
String
,
Number
]
...
...
@@ -68,7 +73,8 @@ export default {
return
{
detail
:
null
,
order
:
null
,
channel
:
null
channel
:
null
,
orderSplitBackVOList
:
[]
}
},
watch
:{
...
...
@@ -76,6 +82,7 @@ export default {
this
.
getData
()
},
detail
(){
this
.
getSplit
()
this
.
getOrder
()
},
order
(){
...
...
@@ -95,6 +102,12 @@ export default {
this
.
detail
=
JSON
.
parse
(
res
.
data
.
details
)
})
},
getSplit
(){
getSplitList
({
orderId
:
this
.
detail
.
orderId
,
lang
:
this
.
$i18n
.
locale
.
toLowerCase
().
indexOf
(
'
zh
'
)
>
-
1
?
0
:
1
}).
then
(
res
=>
{
console
.
log
(
'
getSplitList
'
,
res
)
this
.
orderSplitBackVOList
=
res
.
data
.
orderSplitBackVOList
})
},
getOrder
(){
getOrder
(
this
.
detail
.
orderId
).
then
(
res
=>
{
this
.
order
=
res
.
data
...
...
src/views/ecw/order/splitApply.vue
View file @
5de0e9b0
...
...
@@ -236,7 +236,7 @@
<el-input-number
v-model=
"shopForm.quantity"
controls-position=
"right"
:min=
"1"
:max=
"quantitySum"
></el-input-number>
</el-form-item>
<el-form-item
:label=
"$t('备注信息')+':'"
>
<el-input
v-model=
"shopForm.remark
s
"
></el-input>
<el-input
v-model=
"shopForm.remark"
></el-input>
</el-form-item>
</el-row>
</el-form>
...
...
@@ -552,7 +552,7 @@ export default {
num
:
this
.
shopForm
.
num
,
orderItemId
:
this
.
shopForm
.
orderItemId
,
orderSplitId
:
this
.
splitData
[
this
.
splitItemIndex
].
id
,
remark
s
:
this
.
shopForm
.
remarks
remark
:
this
.
shopForm
.
remark
}
createSplitItem
(
params
).
then
(
res
=>
{
this
.
$message
.
success
(
this
.
$t
(
"
放入成功
"
));
...
...
src/views/ecw/productPrice/batchEdit.vue
View file @
5de0e9b0
...
...
@@ -68,7 +68,7 @@
<
inputor
default2
=
"
0
"
v
-
model
.
number
=
"
form.minWeight
"
type
=
"
number
"
class
=
"
w-100
"
:
rules
=
"
{validator: priceValidator, trigger: 'blur', message: '数量错误'
}
"
/>
/ <selector v-model="form.minWeightUnit" :options="unitList" :label-field="$l
(
null, 'title'
)
" value-field="id" defaultable2 class="w-100" disabled /
>
<
/el-form-item
>
<
el
-
form
-
item
:
label
=
"
$t('默认全包价')
"
v
-
if
=
"
form.priceType == 1
"
>
<
inputor
default2
=
"
0
"
v
-
model
.
number
=
"
form.allPrice
"
type
=
"
number
"
:
placeholder
=
"
$t('整数或者两位小数')
"
class
=
"
w100 mr10
"
/>
<
selector
v
-
model
=
"
form.allPriceUnit
"
@
input
=
"
syncAllUnit
"
:
options
=
"
currencyList
"
:
label
-
field
=
"
$l('title')
"
value
-
field
=
"
id
"
defaultable2
class
=
"
w100
"
/>
...
...
@@ -368,7 +368,7 @@ export default {
data.priceStepList = this.form.priceStepList
}
*/
// 没有设置阶梯价格则不提交priceStepList
if
(
!
data
.
stepPrice
!=
1
){
if
(
data
.
stepPrice
!=
1
){
delete
data
.
priceStepList
}
...
...
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