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
c241018d
Commit
c241018d
authored
Oct 15, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复几个bug和提单显示异常
parent
36c978ac
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
200 additions
and
152 deletions
+200
-152
index.vue
src/components/PdfViewer/index.vue
+9
-4
index.vue
src/components/ProductsSelector/index.vue
+1
-1
index.vue
src/components/UserSelector/index.vue
+2
-2
index.vue
src/views/bpm/processInstance/index.vue
+2
-2
copy.vue
src/views/bpm/task/copy.vue
+1
-1
done.vue
src/views/bpm/task/done.vue
+10
-20
todo.vue
src/views/bpm/task/todo.vue
+7
-7
edit.vue
src/views/ecw/coupon/edit.vue
+88
-77
ApprovalDetail.vue
src/views/ecw/order/components/ApprovalDetail.vue
+15
-1
detail.vue
src/views/ecw/order/detail.vue
+1
-1
index.vue
src/views/ecw/order/index.vue
+43
-24
Discount.vue
src/views/ecw/order/special/Discount.vue
+2
-2
Preferential.vue
src/views/ecw/order/special/Preferential.vue
+18
-10
index.vue
src/views/ecw/order/special/index.vue
+1
-0
No files found.
src/components/PdfViewer/index.vue
View file @
c241018d
...
@@ -10,7 +10,7 @@ const pdfViewerPath = '/static/plugins/pdfviewer/'
...
@@ -10,7 +10,7 @@ const pdfViewerPath = '/static/plugins/pdfviewer/'
const
ID_Prefix
=
'
pdfviewer-canvas
'
const
ID_Prefix
=
'
pdfviewer-canvas
'
export
default
{
export
default
{
props
:{
props
:{
url
:
[
String
,
Object
]
url
:
[
String
,
Object
,
ArrayBuffer
]
},
},
data
(){
data
(){
return
{
return
{
...
@@ -48,12 +48,17 @@ export default {
...
@@ -48,12 +48,17 @@ export default {
// The workerSrc property shall be specified.
// The workerSrc property shall be specified.
//
//
let
pdfjsLib
=
window
.
pdfjsLib
let
pdfjsLib
=
window
.
pdfjsLib
pdfjsLib
.
GlobalWorkerOptions
.
workerSrc
=
pdfViewerPath
+
'
/js/pdf.worker.js
'
;
pdfjsLib
.
GlobalWorkerOptions
.
workerSrc
=
pdfViewerPath
+
'
js/pdf.worker.js
'
;
/* pdfjsLib.GlobalWorkerOptions.useWorkerFetch = true
pdfjsLib.GlobalWorkerOptions.cMapUrl = pdfViewerPath + 'cmaps/' */
//
//
// Asynchronous download PDF
// Asynchronous download PDF
//
//
const
loadingTask
=
pdfjsLib
.
getDocument
(
this
.
url
);
const
loadingTask
=
pdfjsLib
.
getDocument
({
data
:
this
.
url
,
useWorkerFetch
:
true
,
cMapUrl
:
pdfViewerPath
+
'
cmaps/
'
});
(
async
()
=>
{
(
async
()
=>
{
const
pdf
=
await
loadingTask
.
promise
;
const
pdf
=
await
loadingTask
.
promise
;
window
.
pdf2
=
pdf
window
.
pdf2
=
pdf
...
...
src/components/ProductsSelector/index.vue
View file @
c241018d
...
@@ -56,7 +56,7 @@ export default {
...
@@ -56,7 +56,7 @@ export default {
pages
:
1
,
pages
:
1
,
queryParams
:
{
queryParams
:
{
pageNo
:
1
,
pageNo
:
1
,
pageSize
:
1000
00
,
pageSize
:
5
00
,
attrId
:
null
,
attrId
:
null
,
titleZh
:
null
,
titleZh
:
null
,
typeId
:
null
typeId
:
null
...
...
src/components/UserSelector/index.vue
View file @
c241018d
...
@@ -33,8 +33,8 @@ export default {
...
@@ -33,8 +33,8 @@ export default {
},
},
watch
:{
watch
:{
index
(
val
){
index
(
val
){
this
.
$emit
(
'
input
'
,
val
!==
null
?
this
.
list
[
val
].
id
:
null
)
this
.
$emit
(
'
input
'
,
val
!==
null
&&
val
!==
undefined
&&
val
!=
''
?
this
.
list
[
val
].
id
:
null
)
this
.
$emit
(
'
change
'
,
val
!==
null
?
this
.
list
[
val
]:
null
)
this
.
$emit
(
'
change
'
,
val
!==
null
&&
val
!==
undefined
&&
val
!=
''
?
this
.
list
[
val
]:
null
)
},
},
value
(
val
){
value
(
val
){
this
.
resetIndex
()
this
.
resetIndex
()
...
...
src/views/bpm/processInstance/index.vue
View file @
c241018d
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"当前审批任务"
align=
"center"
prop=
"tasks"
>
<el-table-column
label=
"当前审批任务"
align=
"center"
prop=
"tasks"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-for=
"
task in scope.row.tasks"
type=
"text"
@
click=
"handleFormDetail(task.id)
"
>
<el-button
v-for=
"
(task, taskIndex) in scope.row.tasks"
type=
"text"
@
click=
"handleFormDetail(task.id)"
:key=
"taskIndex
"
>
<span>
{{
task
.
name
}}
</span>
<span>
{{
task
.
name
}}
</span>
</el-button>
</el-button>
</
template
>
</
template
>
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
<span>
{{
parseTime
(
scope
.
row
.
endTime
)
}}
</span>
<span>
{{
parseTime
(
scope
.
row
.
endTime
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
align=
"center"
fixed=
"right"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
icon=
"el-icon-delete"
v-if=
"scope.row.result === 1"
<el-button
type=
"text"
size=
"small"
icon=
"el-icon-delete"
v-if=
"scope.row.result === 1"
v-hasPermi=
"['bpm:process-instance:cancel']"
@
click=
"handleCancel(scope.row)"
>
取消
</el-button>
v-hasPermi=
"['bpm:process-instance:cancel']"
@
click=
"handleCancel(scope.row)"
>
取消
</el-button>
...
...
src/views/bpm/task/copy.vue
View file @
c241018d
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
:label=
"$t('操作')"
align=
"center"
fixed=
"right"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleAudit(scope.row)"
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleAudit(scope.row)"
v-hasPermi=
"['bpm:task:query']"
>
详情
v-hasPermi=
"['bpm:task:query']"
>
详情
...
...
src/views/bpm/task/done.vue
View file @
c241018d
...
@@ -5,24 +5,20 @@
...
@@ -5,24 +5,20 @@
<el-form-item
:label=
"$t('任务名称')"
prop=
"name"
>
<el-form-item
:label=
"$t('任务名称')"
prop=
"name"
>
<el-input
v-model=
"queryParams.name"
:placeholder=
"$t('请输入任务名称')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.name"
:placeholder=
"$t('请输入任务名称')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('流程编号')"
prop=
"name"
>
<!--
<el-form-item
:label=
"$t('流程编号')"
prop=
"name"
>
<!--// TODO 缺少查询字段-->
<!--
<el-input
v-model=
"queryParams.no"
:placeholder=
"$t('请输入流程编号')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
-->
缺少字段
缺少字段
</el-form-item>
</el-form-item>
-->
<el-form-item
:label=
"$t('流程分类')"
prop=
"name"
>
<!--
<el-form-item
:label=
"$t('流程分类')"
prop=
"name"
>
<!--// TODO 缺少查询字段-->
<!--
<el-input
v-model=
"queryParams.no"
:placeholder=
"$t('请输入流程编号')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
-->
缺少字段
缺少字段
</el-form-item>
</el-form-item>
-->
<el-form-item
:label=
"$t('提交时间')"
>
<el-form-item
:label=
"$t('提交时间')"
>
<el-date-picker
v-model=
"dateRangeCreateTime"
style=
"width: 240px"
value-format=
"yyyy-MM-dd"
<el-date-picker
v-model=
"dateRangeCreateTime"
style=
"width: 240px"
value-format=
"yyyy-MM-dd"
type=
"daterange"
range-separator=
"-"
:start-placeholder=
"$t('开始日期')"
:end-placeholder=
"$t('结束日期')"
/>
type=
"daterange"
range-separator=
"-"
:start-placeholder=
"$t('开始日期')"
:end-placeholder=
"$t('结束日期')"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('业务编号')"
prop=
"name"
>
<
!--
<
el-form-item
:label=
"$t('业务编号')"
prop=
"name"
>
缺少字段
缺少字段
</el-form-item>
</el-form-item>
-->
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
{{
$t
(
'
重置
'
)
}}
</el-button>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
{{
$t
(
'
重置
'
)
}}
</el-button>
...
@@ -33,21 +29,20 @@
...
@@ -33,21 +29,20 @@
<el-table
v-loading=
"loading"
:data=
"list"
>
<el-table
v-loading=
"loading"
:data=
"list"
>
<el-table-column
:label=
"$t('任务编号')"
align=
"center"
prop=
"id"
width=
"320"
fixed
/>
<el-table-column
:label=
"$t('任务编号')"
align=
"center"
prop=
"id"
width=
"320"
fixed
/>
<el-table-column
:label=
"$t('任务名称')"
align=
"center"
prop=
"processInstance.name"
width=
"200"
/>
<el-table-column
:label=
"$t('任务名称')"
align=
"center"
prop=
"processInstance.name"
width=
"200"
/>
<el-table-column
:label=
"$t('业务编号')"
align=
"center"
prop=
""
width=
"200"
>
<
!--
<
el-table-column
:label=
"$t('业务编号')"
align=
"center"
prop=
""
width=
"200"
>
缺少字段
缺少字段
</el-table-column>
</el-table-column>
-->
<el-table-column
:label=
"$t('流程分类')"
align=
"center"
prop=
"category"
width=
"200"
/>
<el-table-column
:label=
"$t('流程分类')"
align=
"center"
prop=
"category"
width=
"200"
/>
<el-table-column
:label=
"$t('当前审批节点')"
align=
"center"
prop=
"name"
width=
"200"
/>
<el-table-column
:label=
"$t('当前审批节点')"
align=
"center"
prop=
"name"
width=
"200"
/>
<el-table-column
:label=
"$t('状态')"
align=
"center"
prop=
""
width=
"200"
>
<
!--
<
el-table-column
:label=
"$t('状态')"
align=
"center"
prop=
""
width=
"200"
>
缺少字段
缺少字段
</el-table-column>
</el-table-column>
-->
<el-table-column
:label=
"$t('流程发起人')"
align=
"center"
prop=
"processInstance.startUserNickname"
width=
"120"
/>
<el-table-column
:label=
"$t('流程发起人')"
align=
"center"
prop=
"processInstance.startUserNickname"
width=
"120"
/>
<el-table-column
:label=
"$t('结果')"
align=
"center"
prop=
"result"
>
<el-table-column
:label=
"$t('结果')"
align=
"center"
prop=
"result"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.BPM_PROCESS_INSTANCE_RESULT"
:value=
"scope.row.result"
/>
<dict-tag
:type=
"DICT_TYPE.BPM_PROCESS_INSTANCE_RESULT"
:value=
"scope.row.result"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<!-- <el-table-column :label="$t('审批意见')" align="center" prop="comment" width="200" />-->
<el-table-column
:label=
"$t('提交时间')"
align=
"center"
prop=
"createTime"
width=
"180"
>
<el-table-column
:label=
"$t('提交时间')"
align=
"center"
prop=
"createTime"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
...
@@ -58,11 +53,6 @@
...
@@ -58,11 +53,6 @@
<span>
{{
parseTime
(
scope
.
row
.
endTime
)
}}
</span>
<span>
{{
parseTime
(
scope
.
row
.
endTime
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<!-- <el-table-column :label="$t('耗时')" align="center" prop="durationInMillis" width="180">
<template slot-scope="scope">
<span>{{ getDateStar(scope.row.durationInMillis) }}</span>
</template>
</el-table-column>-->
<el-table-column
:label=
"$t('操作')"
align=
"center"
fixed=
"right"
class-name=
"small-padding fixed-width"
>
<el-table-column
:label=
"$t('操作')"
align=
"center"
fixed=
"right"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleAudit(scope.row)"
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleAudit(scope.row)"
...
...
src/views/bpm/task/todo.vue
View file @
c241018d
...
@@ -5,9 +5,9 @@
...
@@ -5,9 +5,9 @@
<el-form-item
:label=
"$t('流程名')"
prop=
"name"
>
<el-form-item
:label=
"$t('流程名')"
prop=
"name"
>
<el-input
v-model=
"queryParams.name"
:placeholder=
"$t('请输入流程名')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.name"
:placeholder=
"$t('请输入流程名')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"编号"
prop=
"name"
>
<
!--
<
el-form-item
label=
"编号"
prop=
"name"
>
缺少字段
缺少字段
</el-form-item>
</el-form-item>
-->
<el-form-item
:label=
"$t('流程分类')"
prop=
"category"
>
<el-form-item
:label=
"$t('流程分类')"
prop=
"category"
>
<el-select
v-model=
"queryParams.category"
:placeholder=
"$t('请选择流程分类')"
clearable
>
<el-select
v-model=
"queryParams.category"
:placeholder=
"$t('请选择流程分类')"
clearable
>
<el-option
v-for=
"dict in this.getDictDatas(DICT_TYPE.BPM_MODEL_CATEGORY)"
<el-option
v-for=
"dict in this.getDictDatas(DICT_TYPE.BPM_MODEL_CATEGORY)"
...
@@ -49,20 +49,20 @@
...
@@ -49,20 +49,20 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('结果')"
align=
"center"
prop=
"processInstance.startUserNickname"
>
<
!-- <
el-table-column :label="$t('结果')" align="center" prop="processInstance.startUserNickname">
缺少字段
缺少字段
</el-table-column>
</el-table-column>
-->
<el-table-column
:label=
"$t('提交时间')"
align=
"center"
prop=
"createTime"
width=
"180"
>
<el-table-column
:label=
"$t('提交时间')"
align=
"center"
prop=
"createTime"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('结束时间')"
align=
"center"
prop=
"createTime"
width=
"180"
>
<
!-- <
el-table-column :label="$t('结束时间')" align="center" prop="createTime" width="180">
<template slot-scope="scope">
<template slot-scope="scope">
缺少字段
缺少字段
</template>
</template>
</el-table-column>
</el-table-column>
-->
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
:label=
"$t('操作')"
align=
"center"
fixed=
"right"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleAudit(scope.row)"
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleAudit(scope.row)"
v-hasPermi=
"['bpm:task:update']"
>
{{
$t
(
'
审批
'
)
}}
v-hasPermi=
"['bpm:task:update']"
>
{{
$t
(
'
审批
'
)
}}
...
...
src/views/ecw/coupon/edit.vue
View file @
c241018d
...
@@ -54,82 +54,81 @@
...
@@ -54,82 +54,81 @@
<el-form-item
label=
"*运费"
v-if=
"[2,3,4,5,6,7].indexOf(form.type) > -1"
>
<el-form-item
label=
"*运费"
v-if=
"[2,3,4,5,6,7].indexOf(form.type) > -1"
>
<div
class=
"fee-item"
v-for=
"(item, index) in fee[1]"
:key=
"index"
>
<div
class=
"fee-item"
v-for=
"(item, index) in fee[1]"
:key=
"index"
>
<template
v-if=
"[1,2,3,4,5].indexOf(form.type) > -1"
>
<template
v-if=
"[1,2,3,4,5].indexOf(form.type) > -1"
>
满
满
<el-input
v-model=
"item.fullAmount
"
style=
"width:100px"
/>
<el-input
v-model=
"item.fullAmount"
type=
"number
"
style=
"width:100px"
/>
<!--
<el-select
v-model=
"item.fullCurrencyId"
style=
"width:100px"
>
<!--
<el-select
v-model=
"item.fullCurrencyId"
style=
"width:100px"
>
<el-option
v-for=
"item in currencyList"
:key=
"item.id"
:label=
"item.titleZh"
:value=
"item.id"
/>
<el-option
v-for=
"item in currencyList"
:key=
"item.id"
:label=
"item.titleZh"
:value=
"item.id"
/>
</el-select>
-->
</el-select>
-->
<selector
v-if=
"[4,5].indexOf(form.type) > -1"
v-model=
"item.fullCurrencyId"
:options=
"currencyList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
<selector
v-if=
"[4,5].indexOf(form.type) > -1"
v-model=
"item.fullCurrencyId"
:options=
"currencyList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
<selector
v-if=
"form.type == 2"
v-model=
"item.combUnit"
:options=
"combUnitList"
label-field=
"label"
value-field=
"value"
defaultable
style=
"width:100px"
/>
<selector
v-if=
"form.type == 2"
v-model=
"item.combUnit"
:options=
"combUnitList"
label-field=
"label"
value-field=
"value"
defaultable
style=
"width:100px"
/>
<span
v-if=
"[2].indexOf(form.type) > -1"
>
减
</span>
<span
v-if=
"[2].indexOf(form.type) > -1"
>
减
</span>
<span
v-if=
"[4].indexOf(form.type) > -1"
>
折扣率
</span>
<span
v-if=
"[4].indexOf(form.type) > -1"
>
折扣率
</span>
<span
v-if=
"[5].indexOf(form.type) > -1"
>
收
</span>
<span
v-if=
"[5].indexOf(form.type) > -1"
>
收
</span>
<el-input
v-if=
"[2,3,4].indexOf(form.type) > -1"
type=
"number"
v-model=
"item.reduceAmount"
style=
"width:100px"
/>
<el-input
v-if=
"[2,3,4].indexOf(form.type) > -1"
type=
"number"
v-model=
"item.reduceAmount"
style=
"width:100px"
/>
<selector
v-if=
"[2,3].indexOf(form.type) > -1"
v-model=
"item.reduceCurrencyId"
:options=
"currencyList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
<selector
v-if=
"[2,3].indexOf(form.type) > -1"
v-model=
"item.reduceCurrencyId"
:options=
"currencyList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
<span
v-if=
"[4].indexOf(form.type) > -1"
>
%
</span>
<span
v-if=
"[4].indexOf(form.type) > -1"
>
%
</span>
</
template
>
</
template
>
<
template
v-if=
"form.type==7"
>
<
template
v-if=
"form.type==7"
>
>
<el-input
v-model=
"item.startAmount
"
style=
"width:100px"
/>
>
<el-input
v-model=
"item.startAmount"
type=
"number
"
style=
"width:100px"
/>
≤
<el-input
v-model=
"item.endAmount
"
style=
"width:100px"
/>
≤
<el-input
v-model=
"item.endAmount"
type=
"number
"
style=
"width:100px"
/>
<selector
v-model=
"item.startAndEndCurrencyId"
:options=
"currencyList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
<selector
v-model=
"item.startAndEndCurrencyId"
:options=
"currencyList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
价格
价格
</
template
>
</
template
>
<el-input
v-if=
"[5,6,7].indexOf(form.type) > -1"
type=
"number"
v-model=
"item.netReceiptsAmount"
style=
"width:100px"
/>
<el-input
v-if=
"[5,6,7].indexOf(form.type) > -1"
type=
"number"
v-model=
"item.netReceiptsAmount"
style=
"width:100px"
/>
<selector
v-if=
"[5,6,7].indexOf(form.type) > -1"
v-model=
"item.netReceiptsCurrencyId"
:options=
"currencyList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
<selector
v-if=
"[5,6,7].indexOf(form.type) > -1"
v-model=
"item.netReceiptsCurrencyId"
:options=
"currencyList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
<
template
v-if=
"form.type == 6"
>
<
template
v-if=
"form.type == 6"
>
/
/
<selector
v-model=
"item.prodUnit"
:options=
"unitList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
<selector
v-model=
"item.prodUnit"
:options=
"unitList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
</
template
>
</
template
>
<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>
<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>
</el-form-item>
</el-form-item>
<el-form-item
label=
"清关费"
v-if=
"[2,3,4,5,6,7].indexOf(form.type) > -1"
>
<el-form-item
label=
"清关费"
v-if=
"[2,3,4,5,6,7].indexOf(form.type) > -1"
>
<div
class=
"fee-item"
v-for=
"(item, index) in fee[2]"
:key=
"index"
>
<div
class=
"fee-item"
v-for=
"(item, index) in fee[2]"
:key=
"index"
>
<
template
v-if=
"[1,2,3,4,5].indexOf(form.type) > -1"
>
<
template
v-if=
"[1,2,3,4,5].indexOf(form.type) > -1"
>
满
满
<el-input
v-model=
"item.fullAmount
"
style=
"width:100px"
/>
<el-input
v-model=
"item.fullAmount"
type=
"number
"
style=
"width:100px"
/>
<selector
v-if=
"[2,4,5].indexOf(form.type) > -1"
v-model=
"item.fullCurrencyId"
:options=
"currencyList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
<selector
v-if=
"[2,4,5].indexOf(form.type) > -1"
v-model=
"item.fullCurrencyId"
:options=
"currencyList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
<selector
v-if=
"form.type == 3"
v-model=
"item.prodUnit"
:options=
"unitList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
<selector
v-if=
"form.type == 3"
v-model=
"item.prodUnit"
:options=
"unitList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
<span
v-if=
"[2].indexOf(form.type) > -1"
>
减
</span>
<span
v-if=
"[2].indexOf(form.type) > -1"
>
减
</span>
<span
v-if=
"[4].indexOf(form.type) > -1"
>
折扣率
</span>
<span
v-if=
"[4].indexOf(form.type) > -1"
>
折扣率
</span>
<span
v-if=
"[5].indexOf(form.type) > -1"
>
收
</span>
<span
v-if=
"[5].indexOf(form.type) > -1"
>
收
</span>
<el-input
v-if=
"[2,3,4].indexOf(form.type) > -1"
type=
"number"
v-model=
"item.reduceAmount"
style=
"width:100px"
/>
<el-input
v-if=
"[2,3,4].indexOf(form.type) > -1"
type=
"number"
v-model=
"item.reduceAmount"
style=
"width:100px"
/>
<selector
v-if=
"[2,3].indexOf(form.type) > -1"
v-model=
"item.reduceCurrencyId"
:options=
"currencyList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
<selector
v-if=
"[2,3].indexOf(form.type) > -1"
v-model=
"item.reduceCurrencyId"
:options=
"currencyList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
<span
v-if=
"[4].indexOf(form.type) > -1"
>
%
</span>
<span
v-if=
"[4].indexOf(form.type) > -1"
>
%
</span>
</
template
>
</
template
>
<
template
v-if=
"form.type==7"
>
<
template
v-if=
"form.type==7"
>
>
<el-input
v-model=
"item.startAmount
"
style=
"width:100px"
/>
>
<el-input
v-model=
"item.startAmount"
type=
"number
"
style=
"width:100px"
/>
≤
<el-input
v-model=
"item.endAmount
"
style=
"width:100px"
/>
≤
<el-input
v-model=
"item.endAmount"
type=
"number
"
style=
"width:100px"
/>
<Selector
v-model=
"item.startAndEndCurrencyId"
:options=
"currencyList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
<Selector
v-model=
"item.startAndEndCurrencyId"
:options=
"currencyList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
价格
价格
</
template
>
</
template
>
<el-input
v-if=
"[5,6,7].indexOf(form.type) > -1"
type=
"number"
v-model=
"item.netReceiptsAmount"
style=
"width:100px"
/>
<el-input
v-if=
"[5,6,7].indexOf(form.type) > -1"
type=
"number"
v-model=
"item.netReceiptsAmount"
style=
"width:100px"
/>
<selector
v-if=
"[5,6,7].indexOf(form.type) > -1"
v-model=
"item.netReceiptsCurrencyId"
:options=
"currencyList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
<selector
v-if=
"[5,6,7].indexOf(form.type) > -1"
v-model=
"item.netReceiptsCurrencyId"
:options=
"currencyList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
<
template
v-if=
"form.type == 6"
>
<
template
v-if=
"form.type == 6"
>
/
/
<selector
v-model=
"item.prodUnit"
:options=
"unitList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
<selector
v-model=
"item.prodUnit"
:options=
"unitList"
label-field=
"titleZh"
value-field=
"id"
defaultable
style=
"width:100px"
/>
</
template
>
</
template
>
<el-button
class=
"el-icon-plus"
size=
"mini"
type=
"primary"
@
click=
"fee[2].push({type:2})"
/>
<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)"
/>
<el-button
v-if=
"fee[2].length > 1"
class=
"el-icon-minus"
size=
"mini"
type=
"danger"
@
click=
"fee[2].splice(index,1)"
/>
</div>
</div>
</el-form-item>
</el-form-item>
...
@@ -195,11 +194,11 @@
...
@@ -195,11 +194,11 @@
prop=
"orderAttr"
prop=
"orderAttr"
v-if=
"form.type != 1"
v-if=
"form.type != 1"
>
>
<dict-selector
form-type=
"checkbox"
:type=
"DICT_TYPE.ECW_ORDER_ATTR"
v-model=
"form.orderAttr"
multiple
/>
<dict-selector
form-type=
"checkbox"
:type=
"DICT_TYPE.ECW_ORDER_ATTR"
v-model=
"form.orderAttr
Arr
"
multiple
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"是否发送站内信"
prop=
"isSiteContent"
>
<
!-- <
el-form-item label="是否发送站内信" prop="isSiteContent">
<dict-selector formatter="bool" form-type="radio" :type="DICT_TYPE.ECW_YESNO" v-model="form.isSiteContent" :formater="Boolean" />
<dict-selector formatter="bool" form-type="radio" :type="DICT_TYPE.ECW_YESNO" v-model="form.isSiteContent" :formater="Boolean" />
</el-form-item>
</el-form-item>
-->
<el-form-item
label=
"中文内容"
prop=
"contentZh"
:rules=
'[{required: true, message: "不能为空"}]'
>
<el-form-item
label=
"中文内容"
prop=
"contentZh"
:rules=
'[{required: true, message: "不能为空"}]'
>
<editor
v-model=
"form.contentZh"
:min-height=
"192"
/>
<editor
v-model=
"form.contentZh"
:min-height=
"192"
/>
</el-form-item>
</el-form-item>
...
@@ -211,21 +210,21 @@
...
@@ -211,21 +210,21 @@
prop=
"brand"
prop=
"brand"
v-if=
"form.type != 1"
v-if=
"form.type != 1"
>
>
<dict-selector
form-type=
"checkbox"
:type=
"DICT_TYPE.BRAND_REG_TYPE"
v-model=
"form.brand"
multiple
/>
<dict-selector
form-type=
"checkbox"
:type=
"DICT_TYPE.BRAND_REG_TYPE"
v-model=
"form.brand
Arr
"
multiple
/>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"是否控货"
label=
"是否控货"
prop=
"isCargoControl"
prop=
"isCargoControl"
v-if=
"form.type != 1"
v-if=
"form.type != 1"
>
>
<dict-selector
form-type=
"checkbox"
:type=
"DICT_TYPE.ECW_YESNO"
v-model=
"form.isCargoControl"
multiple
/>
<dict-selector
form-type=
"checkbox"
:type=
"DICT_TYPE.ECW_YESNO"
v-model=
"form.isCargoControl
Arr
"
multiple
/>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"单证报关"
label=
"单证报关"
prop=
"documentDeclaration"
prop=
"documentDeclaration"
v-if=
"form.type != 1"
v-if=
"form.type != 1"
>
>
<dict-selector
form-type=
"checkbox"
:type=
"DICT_TYPE.ECW_CUSTOMS_TYPE"
v-model=
"form.documentDeclaration"
multiple
/>
<dict-selector
form-type=
"checkbox"
:type=
"DICT_TYPE.ECW_CUSTOMS_TYPE"
v-model=
"form.documentDeclaration
Arr
"
multiple
/>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
...
@@ -264,8 +263,8 @@ export default {
...
@@ -264,8 +263,8 @@ export default {
loading
:
true
,
loading
:
true
,
// 表单参数
// 表单参数
form
:
{
form
:
{
status
:
1
,
status
:
1
,
},
},
// 表单校验
// 表单校验
rules
:
{
rules
:
{
isCargoControl
:
[{
required
:
true
,
message
:
'
请选择是否控货
'
}],
isCargoControl
:
[{
required
:
true
,
message
:
'
请选择是否控货
'
}],
...
@@ -353,10 +352,10 @@ export default {
...
@@ -353,10 +352,10 @@ export default {
this
.
getCouponSelect
()
this
.
getCouponSelect
()
// 非优惠券给默认数据
// 非优惠券给默认数据
this
.
$set
(
this
.
form
,
'
documentDeclaration
'
,
[
"
1
"
])
this
.
$set
(
this
.
form
,
'
documentDeclaration
Arr
'
,
[
"
1
"
])
this
.
$set
(
this
.
form
,
'
isCargoControl
'
,
[
"
0
"
])
this
.
$set
(
this
.
form
,
'
isCargoControl
Arr
'
,
[
"
0
"
])
this
.
$set
(
this
.
form
,
'
orderAttr
'
,
[
"
2
"
,
"
3
"
,
"
1
"
])
this
.
$set
(
this
.
form
,
'
orderAttr
Arr
'
,
[
"
2
"
,
"
3
"
,
"
1
"
])
this
.
$set
(
this
.
form
,
'
brand
'
,
[
"
0
"
,
"
1
"
])
this
.
$set
(
this
.
form
,
'
brand
Arr
'
,
[
"
0
"
,
"
1
"
])
}
}
},
},
'
form.isSimilarSuperposition
'
(
val
){
'
form.isSimilarSuperposition
'
(
val
){
...
@@ -369,12 +368,24 @@ export default {
...
@@ -369,12 +368,24 @@ export default {
})
})
this
.
couponIds
=
keepIds
this
.
couponIds
=
keepIds
}
}
}
},
'
form.orderAttrArr
'
(
v
){
this
.
$set
(
this
.
form
,
'
orderAttr
'
,
v
.
join
(
'
,
'
))
},
'
form.brandArr
'
(
v
){
this
.
$set
(
this
.
form
,
'
brand
'
,
v
.
join
(
'
,
'
))
},
'
form.isCargoControlArr
'
(
v
){
this
.
$set
(
this
.
form
,
'
isCargoControl
'
,
v
.
join
(
'
,
'
))
},
'
form.documentDeclarationArr
'
(
v
){
this
.
$set
(
this
.
form
,
'
documentDeclaration
'
,
v
.
join
(
'
,
'
))
}
},
},
created
()
{
created
()
{
getCurrencyList
().
then
(
res
=>
this
.
currencyList
=
res
.
data
)
getCurrencyList
().
then
(
res
=>
this
.
currencyList
=
res
.
data
)
if
(
this
.
$route
.
query
.
id
)
{
if
(
this
.
$route
.
query
.
id
)
{
getCoupon
(
this
.
$route
.
query
.
id
).
then
((
res
)
=>
{
getCoupon
(
this
.
$route
.
query
.
id
).
then
((
res
)
=>
{
this
.
form
=
res
.
data
this
.
form
=
res
.
data
if
(
this
.
form
.
couponIds
){
if
(
this
.
form
.
couponIds
){
let
couponIds
=
this
.
form
.
couponIds
.
split
(
'
,
'
).
filter
(
item
=>
item
&&
item
!=
''
)
let
couponIds
=
this
.
form
.
couponIds
.
split
(
'
,
'
).
filter
(
item
=>
item
&&
item
!=
''
)
...
@@ -479,14 +490,14 @@ export default {
...
@@ -479,14 +490,14 @@ export default {
if
(
data
.
couponId
!=
null
)
{
if
(
data
.
couponId
!=
null
)
{
updateCoupon
(
data
).
then
((
response
)
=>
{
updateCoupon
(
data
).
then
((
response
)
=>
{
this
.
$modal
.
msgSuccess
(
"
修改成功
"
);
this
.
$modal
.
msgSuccess
(
"
修改成功
"
);
this
.
$r
outer
.
back
(
);
this
.
$r
edirect
(
"
index
"
);
});
});
return
;
return
;
}
}
// 添加的提交
// 添加的提交
createCoupon
(
data
).
then
((
response
)
=>
{
createCoupon
(
data
).
then
((
response
)
=>
{
this
.
$modal
.
msgSuccess
(
"
新增成功
"
);
this
.
$modal
.
msgSuccess
(
"
新增成功
"
);
this
.
$r
outer
.
back
(
);
this
.
$r
edirect
(
"
index
"
);
});
});
});
});
},
},
...
...
src/views/ecw/order/components/ApprovalDetail.vue
View file @
c241018d
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
</el-descriptions-item>
</el-descriptions-item>
<!-- 优惠申请 -->
<!-- 优惠申请 -->
<el-descriptions-item
:label=
"$t('申请理由')"
v-if=
"type == 1"
:span=
"4"
>
<el-descriptions-item
:label=
"$t('申请理由')"
v-if=
"type == 1
|| type == 2
"
:span=
"4"
>
<div
class=
"bold"
>
<div
class=
"bold"
>
<div>
<div>
{{
$t
(
'
原运费
'
)
}}
:
{{
detail
.
orgFreight
}}
{{
currencyMap
[
detail
.
freightCurrency
]
}}
/
{{
unitMap
[
detail
.
freightVolume
]
}}
,
{{
$t
(
'
原运费
'
)
}}
:
{{
detail
.
orgFreight
}}
{{
currencyMap
[
detail
.
freightCurrency
]
}}
/
{{
unitMap
[
detail
.
freightVolume
]
}}
,
...
@@ -34,6 +34,20 @@
...
@@ -34,6 +34,20 @@
</div>
</div>
</el-descriptions-item>
</el-descriptions-item>
<!-- 管理折扣 -->
<!--
<el-descriptions-item
:label=
"$t('申请理由')"
v-if=
"type == 2"
:span=
"4"
>
<div
class=
"bold"
>
<div>
{{
$t
(
'
原运费
'
)
}}
:
{{
detail
.
orgFreight
}}
{{
currencyMap
[
detail
.
freightCurrency
]
}}
/
{{
unitMap
[
detail
.
freightVolume
]
}}
,
{{
$t
(
'
新运费
'
)
}}
:
{{
detail
.
freight
}}
{{
currencyMap
[
detail
.
freightCurrency
]
}}
/
{{
unitMap
[
detail
.
freightVolume
]
}}
</div>
<div>
{{
$t
(
'
原清关费
'
)
}}
:
{{
detail
.
orgClearanceFreight
}}
{{
currencyMap
[
detail
.
clearanceFreightCurrency
]
}}
/
{{
unitMap
[
detail
.
clearanceFreightVolume
]
}}
,
{{
$t
(
'
新清关费
'
)
}}
:
{{
detail
.
clearanceFreight
}}
{{
currencyMap
[
detail
.
clearanceFreightCurrency
]
}}
/
{{
unitMap
[
detail
.
clearanceFreightVolume
]
}}
</div>
</div>
</el-descriptions-item>
-->
<!-- 佣金设置 -->
<!-- 佣金设置 -->
<el-descriptions-item
:label=
"$t('申请理由')"
v-if=
"type == 3"
:span=
"4"
>
<el-descriptions-item
:label=
"$t('申请理由')"
v-if=
"type == 3"
:span=
"4"
>
<div
class=
"bold"
>
<div
class=
"bold"
>
...
...
src/views/ecw/order/detail.vue
View file @
c241018d
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
</el-card>
</el-card>
<print-warehouse-receipt
v-if=
"showWarehouseReceipt"
:order-id=
"order.orderId"
@
close=
"showWarehouseReceipt=false"
/>
<print-warehouse-receipt
v-if=
"showWarehouseReceipt"
:order-id=
"order.orderId"
@
close=
"showWarehouseReceipt=false"
/>
<print-lading-bill
v-if=
"showLadingBill"
:order-id=
"order.
tidanNo
"
:transport-type=
"order.transportId"
@
close=
"showLadingBill=false"
/>
<print-lading-bill
v-if=
"showLadingBill"
:order-id=
"order.
orderId
"
:transport-type=
"order.transportId"
@
close=
"showLadingBill=false"
/>
</div>
</div>
</template>
</template>
...
...
src/views/ecw/order/index.vue
View file @
c241018d
...
@@ -18,21 +18,28 @@
...
@@ -18,21 +18,28 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
""
>
<el-form-item
label=
""
>
<dict-selector
:type=
"DICT_TYPE.ECW_BEGINTIME_TYPE_ENDTIME"
v-model=
"dateFilterType"
defaultable
style=
"width: 150px; margin-right: 5px"
/>
<dict-selector
:type=
"DICT_TYPE.ECW_BEGINTIME_TYPE_ENDTIME"
v-model=
"dateFilterType"
defaultable
style=
"width: 150px; margin-right: 5px"
/>
<el-date-picker
v-model=
"dateFilter"
type=
"daterange"
range-separator=
"-"
:start-placeholder=
"$t('开始日期')"
:end-placeholder=
"$t('结束日期')"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
<el-date-picker
v-model=
"dateFilter"
type=
"daterange"
range-separator=
"-"
:start-placeholder=
"$t('开始日期')"
:end-placeholder=
"$t('结束日期')"
value-format=
"yyyy-MM-dd HH:mm:ss"
@
change=
"handleQuery"
>
</el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('始发
地
')"
prop=
"startWarehouseId"
>
<el-form-item
:label=
"$t('始发
仓
')"
prop=
"startWarehouseId"
>
<el-select
v-model=
"queryParams.startWarehouseId"
:placeholder=
"$t('请选择始发
地')"
clearable
>
<el-select
v-model=
"queryParams.startWarehouseId"
:placeholder=
"$t('请选择始发
仓')"
clearable
@
change=
"handleQuery"
>
<el-option
v-for=
"item in export
CityList"
:label=
"item.titleZh
"
:value=
"item.id"
:key=
"item.id"
></el-option>
<el-option
v-for=
"item in export
WarehouseList"
:label=
"$l(item, 'title')
"
:value=
"item.id"
:key=
"item.id"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('目的
地
')"
prop=
"destWarehouseId"
>
<el-form-item
:label=
"$t('目的
仓
')"
prop=
"destWarehouseId"
>
<el-select
v-model=
"queryParams.destWarehouseId"
:placeholder=
"$t('请选择目的
地')"
clearable
>
<el-select
v-model=
"queryParams.destWarehouseId"
:placeholder=
"$t('请选择目的
仓')"
clearable
@
change=
"handleQuery"
>
<el-option
v-for=
"item in import
CityList"
:label=
"item.titleZh
"
:value=
"item.id"
:key=
"item.id"
></el-option>
<el-option
v-for=
"item in import
WarehouseList"
:label=
"$l(item, 'title')
"
:value=
"item.id"
:key=
"item.id"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('运输方式')"
prop=
"transportId"
v-if=
"!transportId"
>
<el-form-item
:label=
"$t('运输方式')"
prop=
"transportId"
v-if=
"!transportId"
>
<dict-selector
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
v-model.number=
"queryParams.transportId"
clearable
/>
<dict-selector
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
v-model.number=
"queryParams.transportId"
clearable
@
change=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<!--
<el-form-item
label=
"商品分类"
prop=
"goodsType"
>
<!--
<el-form-item
label=
"商品分类"
prop=
"goodsType"
>
...
@@ -58,19 +65,18 @@
...
@@ -58,19 +65,18 @@
<dict-selector
:type=
"DICT_TYPE.ECW_WAREHOUSING_TYPE"
v-model=
"queryParams.warehousingType"
clearable
/>
<dict-selector
:type=
"DICT_TYPE.ECW_WAREHOUSING_TYPE"
v-model=
"queryParams.warehousingType"
clearable
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('客户经理')"
>
<el-form-item
:label=
"$t('客户经理')"
>
<user-selector
v-model=
"queryParams.salesmanId"
/>
<user-selector
v-model=
"queryParams.salesmanId"
clearable
@
change=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('订单状态')"
prop=
"status"
>
<el-form-item
:label=
"$t('订单状态')"
prop=
"status"
>
<dict-selector
:type=
"DICT_TYPE.ORDER_STATUS"
v-model=
"queryParams.status"
<dict-selector
:type=
"DICT_TYPE.ORDER_STATUS"
v-model=
"queryParams.status"
@
keyup.enter.native=
"handleQuery"
clearable
/>
@
keyup.enter.native=
"handleQuery"
clearable
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('报关方式')"
prop=
"customsType"
>
<el-form-item
:label=
"$t('报关方式')"
prop=
"customsType"
>
<dict-selector
:type=
"DICT_TYPE.ECW_CUSTOMS_TYPE"
v-model=
"queryParams.customsType"
clearable
<dict-selector
:type=
"DICT_TYPE.ECW_CUSTOMS_TYPE"
v-model=
"queryParams.customsType"
clearable
@
change=
"handleQuery"
/>
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('是否齐货')"
>
<el-form-item
:label=
"$t('是否齐货')"
>
<!--// 字段存疑-->
<!--// 字段存疑-->
<dict-selector
v-model=
"queryParams.isNeat"
:type=
"DICT_TYPE.INFRA_BOOLEAN_STRING"
fomatter=
"bool"
clearable
/>
<dict-selector
v-model=
"queryParams.isNeat"
:type=
"DICT_TYPE.INFRA_BOOLEAN_STRING"
fomatter=
"bool"
clearable
@
change=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<!--
<el-form-item
label=
"重货比"
prop=
"weightRatio"
>
<!--
<el-form-item
label=
"重货比"
prop=
"weightRatio"
>
<el-input
style=
"width: 100px;"
v-model=
"molecule"
placeholder=
""
clearable
@
change=
"moleculeChange"
<el-input
style=
"width: 100px;"
v-model=
"molecule"
placeholder=
""
clearable
@
change=
"moleculeChange"
...
@@ -80,8 +86,7 @@
...
@@ -80,8 +86,7 @@
@
keyup.enter.native=
"handleQuery"
/>
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
-->
</el-form-item>
-->
<el-form-item
:label=
"$t('备案属性')"
prop=
"productRecord"
>
<el-form-item
:label=
"$t('备案属性')"
prop=
"productRecord"
>
<dict-selector
:type=
"DICT_TYPE.PRODUCT_RECORD_ATTRIBUTE"
v-model=
"queryParams.productRecord"
clearable
<dict-selector
:type=
"DICT_TYPE.PRODUCT_RECORD_ATTRIBUTE"
v-model=
"queryParams.productRecord"
clearable
@
change=
"handleQuery"
/>
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('快递单号')"
prop=
"number"
>
<el-form-item
:label=
"$t('快递单号')"
prop=
"number"
>
<el-input
v-model=
"queryParams.number"
:placeholder=
"$t('快递单号')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.number"
:placeholder=
"$t('快递单号')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
...
@@ -138,15 +143,15 @@
...
@@ -138,15 +143,15 @@
<
template
v-else
>
{{
row
.
sumVolume
}}
m³ /
{{
row
.
sumWeight
}}
Kg
</
template
>
<
template
v-else
>
{{
row
.
sumVolume
}}
m³ /
{{
row
.
sumWeight
}}
Kg
</
template
>
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('始发仓')"
align=
"center"
prop=
"
departur
eName"
>
<el-table-column
:label=
"$t('始发仓')"
align=
"center"
prop=
"
startWarehous
eName"
>
<
template
slot-scope=
"{row}"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
departur
eName
}}
{{
row
.
startWarehous
eName
}}
<template
v-if=
"row.isExternalWarehouse"
>
(
{{
$t
(
'
外部仓
'
)
}}
)
</
template
>
<template
v-if=
"row.isExternalWarehouse"
>
(
{{
$t
(
'
外部仓
'
)
}}
)
</
template
>
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('运输方式/目的地')"
align=
"center"
prop=
"transportId"
>
<el-table-column
:label=
"$t('运输方式/目的地')"
align=
"center"
prop=
"transportId"
>
<
template
slot-scope=
"{row}"
>
<
template
slot-scope=
"{row}"
>
<dict-tag
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"row.transportId"
/>
/
{{
row
.
objectiv
eName
}}
<dict-tag
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"row.transportId"
/>
/
{{
row
.
dstWarehous
eName
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('控货')"
align=
"center"
prop=
"transportId"
>
<el-table-column
:label=
"$t('控货')"
align=
"center"
prop=
"transportId"
>
...
@@ -280,8 +285,11 @@
...
@@ -280,8 +285,11 @@
<!-- 退仓 -->
<!-- 退仓 -->
<
template
v-if=
"
<
template
v-if=
"
include(scope.row.inWarehouseState, [201, 202, 207, 202, 209, 210, 202, 211, 212, 202, 213, 214, 215, 216]) &&
(
exclude(scope.row.abnormalState, [1])
include(scope.row.inWarehouseState, [202, 210, 211, 213, 214, 215, 216]) &&
exclude(scope.row.abnormalState, [1])
) ||
include(scope.row.status, [16])
"
>
"
>
<el-dropdown-item
@
click.native=
"show = true;orderId = scope.row.orderId; "
v-hasPermi=
"['ecw:order:update']"
>
{{
$t
(
'
退仓
'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click.native=
"show = true;orderId = scope.row.orderId; "
v-hasPermi=
"['ecw:order:update']"
>
{{
$t
(
'
退仓
'
)
}}
</el-dropdown-item>
</
template
>
</
template
>
...
@@ -289,7 +297,8 @@
...
@@ -289,7 +297,8 @@
<!-- 调仓 -->
<!-- 调仓 -->
<
template
v-if=
"
<
template
v-if=
"
include(scope.row.inWarehouseState, [201, 202, 202, 210, 202, 211, 202, 213, 215, 216])
include(scope.row.inWarehouseState, [202, 207, 209, 210, 202, 211, 212, 215, 216, 218]) ||
(include(scope.row.status, [16]) && exclude(scope.row.inWarehouseState, [213,214]))
"
>
"
>
<el-dropdown-item
@
click.native=
"orderId = scope.row.orderId;warehouseBol=true;"
>
{{
$t
(
'
调仓
'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click.native=
"orderId = scope.row.orderId;warehouseBol=true;"
>
{{
$t
(
'
调仓
'
)
}}
</el-dropdown-item>
</
template
>
</
template
>
...
@@ -398,6 +407,7 @@ import BatchSingleApplication from "@/views/ecw/order/batchSingleApplication";
...
@@ -398,6 +407,7 @@ import BatchSingleApplication from "@/views/ecw/order/batchSingleApplication";
import
FeeApplication
from
"
@/views/ecw/order/feeApplication
"
;
import
FeeApplication
from
"
@/views/ecw/order/feeApplication
"
;
import
MergeLog
from
'
@/views/ecw/order/components/MergeLog
'
import
MergeLog
from
'
@/views/ecw/order/components/MergeLog
'
import
PickupLog
from
'
./components/PickupLog
'
import
PickupLog
from
'
./components/PickupLog
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
export
default
{
export
default
{
name
:
"
Order
"
,
name
:
"
Order
"
,
components
:
{
components
:
{
...
@@ -438,7 +448,8 @@ export default {
...
@@ -438,7 +448,8 @@ export default {
page
:
1
,
page
:
1
,
rows
:
10
rows
:
10
},
},
tradeCityList
:
[],
warehouseList
:[],
// tradeCityList: [],
productAttrList
:
[],
// 商品属性
productAttrList
:
[],
// 商品属性
molecule
:
''
,
//重货比分子
molecule
:
''
,
//重货比分子
denominator
:
''
,
//重货比分母
denominator
:
''
,
//重货比分母
...
@@ -464,12 +475,19 @@ export default {
...
@@ -464,12 +475,19 @@ export default {
};
};
},
},
computed
:
{
computed
:
{
exportCityList
()
{
exportWarehouseList
(){
/* tradeType 1 进口,2出口,3进出口 */
return
this
.
warehouseList
.
filter
(
item
=>
item
.
tradeType
==
2
||
item
.
tradeType
==
3
)
},
importWarehouseList
(){
return
this
.
warehouseList
.
filter
(
item
=>
item
.
tradeType
==
1
||
item
.
tradeType
==
3
)
},
/* exportCityList() {
return this.tradeCityList.filter(item => item.type == 2)
return this.tradeCityList.filter(item => item.type == 2)
},
},
importCityList() {
importCityList() {
return this.tradeCityList.filter(item => item.type == 1)
return this.tradeCityList.filter(item => item.type == 1)
},
},
*/
combinedQueryParams
(){
combinedQueryParams
(){
let
timeParams
=
{}
let
timeParams
=
{}
if
(
this
.
dateFilterType
&&
this
.
dateFilter
){
if
(
this
.
dateFilterType
&&
this
.
dateFilter
){
...
@@ -500,7 +518,8 @@ export default {
...
@@ -500,7 +518,8 @@ export default {
this
.
getTransportFromRoute
()
this
.
getTransportFromRoute
()
this
.
getList
();
this
.
getList
();
getProductAttrList
().
then
(
res
=>
this
.
productAttrList
=
res
.
data
)
getProductAttrList
().
then
(
res
=>
this
.
productAttrList
=
res
.
data
)
getTradeCityList
().
then
(
res
=>
this
.
tradeCityList
=
res
.
data
)
// getTradeCityList().then(res => this.tradeCityList = res.data)
getWarehouseList
().
then
(
res
=>
this
.
warehouseList
=
res
.
data
)
},
},
methods
:
{
methods
:
{
// 提取路径中的运输方式
// 提取路径中的运输方式
...
...
src/views/ecw/order/special/Discount.vue
View file @
c241018d
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
<
/el-row
>
<
/el-row
>
<
el
-
row
v
-
if
=
"
!orderItem.charging
"
>
<
el
-
row
v
-
if
=
"
!orderItem.charging
"
>
<
el
-
col
:
span
=
"
12
"
>
<
el
-
col
:
span
=
"
12
"
>
<
el
-
form
-
item
:
label
=
"
$t('新运费')
"
style
=
"
width: 400px
"
prop
=
"
seaF
reight
"
>
<
el
-
form
-
item
:
label
=
"
$t('新运费')
"
style
=
"
width: 400px
"
prop
=
"
f
reight
"
>
<
el
-
input
v
-
model
=
"
form.
seaF
reight
"
type
=
"
number
"
class
=
"
w-100
"
/>
<
el
-
input
v
-
model
=
"
form.
f
reight
"
type
=
"
number
"
class
=
"
w-100
"
/>
{{
currentMap
[
form
.
freightCurrency
]
}}
/
{{
unitMap
[
form
.
freightVolume
]
}}
{{
currentMap
[
form
.
freightCurrency
]
}}
/
{{
unitMap
[
form
.
freightVolume
]
}}
<
/el-form-item
>
<
/el-form-item
>
<
/el-col
>
<
/el-col
>
...
...
src/views/ecw/order/special/Preferential.vue
View file @
c241018d
<
template
>
<
template
>
<el-dialog
visible
:close-on-click-modal=
"false"
:before-close=
"closeDialog"
:title=
"$t('管理折扣')"
>
<el-dialog
visible
:close-on-click-modal=
"false"
:before-close=
"closeDialog"
:title=
"$t('管理折扣')"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"120px"
:rules=
"rules"
>
<el-form-item
:label=
"$t('旧全包价')"
v-if=
"orderItem.charging"
>
{{
form
.
freight
}}
{{
currentMap
[
form
.
freightCurrency
]
}}
/
{{
unitMap
[
form
.
freightVolume
]
}}
</el-form-item>
<el-form-item
:label=
"$t('新全包价')"
style=
"width: 400px"
prop=
"clearanceFreight"
v-if=
"orderItem.charging"
>
<el-input
v-model=
"form.freight"
type=
"number"
class=
"w-100"
/>
{{
currentMap
[
form
.
freightCurrency
]
}}
/
{{
unitMap
[
form
.
freightVolume
]
}}
</el-form-item>
<!-- 海运是重货,空运是泡货 -->
<template
v-if=
"order.transportId === 1 || order.transportId === 2"
>
<el-form-item
:label=
"$t('原重货标准')"
>
{{
form
.
orgWVolume
}}
kg/cbm
</el-form-item>
<el-form-item
:label=
"$t('现重货标准')"
style=
"width: 400px"
prop=
"clearanceFreight"
>
<el-input
v-model=
"form.WVolume"
type=
"number"
class=
"w-100"
/>
kg/cbm
</el-form-item>
</
template
>
<
template
v-else
>
<el-form-item
:label=
"$t('原泡货标准')"
>
{{
form
.
orgWVolume
}}
kg
</el-form-item>
<el-form-item
:label=
"$t('现泡货标准')"
style=
"width: 400px"
prop=
"clearanceFreight"
>
<el-input
v-model=
"form.VWeight"
type=
"number"
class=
"w-100"
/>
kg
</el-form-item>
</
template
>
</el-form>
</el-form>
<div
class=
"page-title"
>
审批流程
</div>
<div
class=
"page-title"
>
审批流程
</div>
<work-flow
xmlkey=
"special_apply"
v-model=
"ccIdArr"
/>
<work-flow
xmlkey=
"special_apply"
v-model=
"ccIdArr"
/>
...
...
src/views/ecw/order/special/index.vue
View file @
c241018d
...
@@ -204,6 +204,7 @@ export default {
...
@@ -204,6 +204,7 @@ export default {
},
},
onDiscountSuccess
(){
onDiscountSuccess
(){
this
.
showDiscountItem
=
null
this
.
showDiscountItem
=
null
this
.
showAllowanceItem
=
null
this
.
getOrder
()
this
.
getOrder
()
},
},
onCommissionSuccess
(){
onCommissionSuccess
(){
...
...
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