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
daaf98a4
Commit
daaf98a4
authored
Jul 06, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
变更空运渠道无法提交的bug
parent
fe2fb604
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
edit.vue
src/views/ecw/order/edit.vue
+12
-4
No files found.
src/views/ecw/order/edit.vue
View file @
daaf98a4
...
...
@@ -497,17 +497,25 @@
<work-flow
xmlkey=
"order_modify"
v-model=
"ccIdArr"
/>
</el-card>
<el-form-item
label=
""
style=
"margin: 30px 0"
>
<div
style=
"margin: 30px 0; display: flex"
>
<!--返回按钮应该在表单被禁用的情况下也可以点击,所以需要用一个form来包裹以脱离原form的disabled控制-->
<el-form
inline
class=
"mr-10"
>
<el-button
@
click=
"$store.dispatch('tagsView/delCurrentView')"
>
{{$t('返回')}}
</el-button>
</el-form>
<
template
v-if=
"form.applyStatus == 1"
>
<el-button
type=
"primary"
@
click=
"$router.push('/bpm/process-instance/detail?id=' + form.formId)"
>
{{
$t
(
'
审核中
'
)
}}
</el-button>
</
template
>
<!--更新渠道的时候用一个form包裹按钮,脱离原form的disabled控制-->
<el-form
v-else-if=
"updateChannel"
inline
>
<el-button
type=
"primary"
@
click=
"submitForm(2)"
>
{{$t('编辑订单')}}
</el-button>
<!--修改-->
</el-form>
<
template
v-else
>
<el-button
type=
"primary"
@
click=
"submitForm(0)"
v-if=
"!form.status"
>
{{
$t
(
'
保存草稿
'
)
}}
</el-button>
<!--草稿-->
<el-button
type=
"primary"
@
click=
"submitForm(2)"
v-if=
"!form.orderId || !form.status"
>
{{
$t
(
'
新建订单
'
)
}}
</el-button>
<!--待入仓-->
<el-button
type=
"primary"
@
click=
"submitForm(2)"
v-else
>
{{
$t
(
'
编辑订单
'
)
}}
</el-button>
<!--修改-->
</
template
>
<el-button
@
click=
"$store.dispatch('tagsView/delCurrentView')"
>
{{$t('返回')}}
</el-button>
</el-form-item>
</div>
</el-form>
<el-dialog
:title=
"$t('批量导入')"
:visible.sync=
"showBatchImportDialog"
width=
"1000px"
:close-on-click-modal=
"false"
>
...
...
@@ -941,7 +949,7 @@ export default {
this
.
getOrder
()
}
if
(
this
.
$route
.
query
.
transportType
!=
this
.
transportId
){
this
.
set
(
this
.
form
.
transportId
,
+
this
.
$route
.
query
.
transportType
||
null
)
this
.
$
set
(
this
.
form
.
transportId
,
+
this
.
$route
.
query
.
transportType
||
null
)
}
// 变更出货渠道
...
...
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