Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
supply-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1982e993
authored
Jun 05, 2021
by
wangql
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
操作栏改成拉下方式
1 parent
d816630b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
2 deletions
src/views/orderManage/assignOrder.vue
src/views/orderManage/assignOrder.vue
View file @
1982e99
...
@@ -96,8 +96,8 @@
...
@@ -96,8 +96,8 @@
<el-table-column
prop=
"bsAddressDto.name"
label=
"收货联系人"
:width=
"tdWidth"
/>
<el-table-column
prop=
"bsAddressDto.name"
label=
"收货联系人"
:width=
"tdWidth"
/>
<el-table-column
prop=
"bsAddressDto.mobile"
label=
"收货联系电话"
:width=
"tdWidth"
/>
<el-table-column
prop=
"bsAddressDto.mobile"
label=
"收货联系电话"
:width=
"tdWidth"
/>
<el-table-column
prop=
"subjectName"
label=
"项目"
:width=
"tdWidth"
/>
<el-table-column
prop=
"subjectName"
label=
"项目"
:width=
"tdWidth"
/>
<el-table-column
label=
"操作"
fixed=
"right"
align=
"center"
width=
"
36
0"
>
<el-table-column
label=
"操作"
fixed=
"right"
align=
"center"
width=
"
15
0"
>
<
template
slot-scope=
"scope"
>
<
!-- <
template slot-scope="scope">
<el-button type="primary" size="mini" v-if="scope.row.status == '8'" @click="assignShipment(scope.row)">分配发货</el-button>
<el-button type="primary" size="mini" v-if="scope.row.status == '8'" @click="assignShipment(scope.row)">分配发货</el-button>
<el-button type="primary" size="mini" v-if="scope.row.status == '8' && scope.row.deviceScanType == 'N'" @click="directDelivery(scope.row)">直接发货</el-button>
<el-button type="primary" size="mini" v-if="scope.row.status == '8' && scope.row.deviceScanType == 'N'" @click="directDelivery(scope.row)">直接发货</el-button>
<el-button type="primary" size="mini" v-if="scope.row.status == '3' && scope.row.deviceScanType == 'N'" @click="continueDelivery(scope.row)">继续发货</el-button>
<el-button type="primary" size="mini" v-if="scope.row.status == '3' && scope.row.deviceScanType == 'N'" @click="continueDelivery(scope.row)">继续发货</el-button>
...
@@ -105,6 +105,20 @@
...
@@ -105,6 +105,20 @@
<el-button type="danger" size="mini" v-if="scope.row.status == '2'" @click="withdraw(scope.row)">撤回</el-button>
<el-button type="danger" size="mini" v-if="scope.row.status == '2'" @click="withdraw(scope.row)">撤回</el-button>
<el-button type="success" size="mini" v-if="scope.row.status == '3'" @click="advanceOver(scope.row)">提前结束</el-button>
<el-button type="success" size="mini" v-if="scope.row.status == '3'" @click="advanceOver(scope.row)">提前结束</el-button>
<el-button type="primary" size="mini" v-if="scope.row.urlDispatchBills" @click="downloadInvoice(scope.row)">下载发货单</el-button>
<el-button type="primary" size="mini" v-if="scope.row.urlDispatchBills" @click="downloadInvoice(scope.row)">下载发货单</el-button>
</template> -->
<
template
slot-scope=
"scope"
>
<el-dropdown
size=
"mini"
split-button
type=
"primary"
@
command=
"e => handleCommand(e,scope.row)"
>
操作
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
command=
"assignShipment"
:disabled=
"scope.row.status == '8'?false:true"
>
分配发货
</el-dropdown-item>
<el-dropdown-item
command=
"directDelivery"
:disabled=
"scope.row.status == '8' && scope.row.deviceScanType == 'N'?false:true"
>
直接发货
</el-dropdown-item>
<el-dropdown-item
command=
"continueDelivery"
:disabled=
"scope.row.status == '3' && scope.row.deviceScanType == 'N'?false:true"
>
继续发货
</el-dropdown-item>
<el-dropdown-item
command=
"reject"
:disabled=
"scope.row.status == '8'?false:true"
>
驳回
</el-dropdown-item>
<el-dropdown-item
command=
"withdraw"
:disabled=
"scope.row.status == '2'?false:true"
>
撤回
</el-dropdown-item>
<el-dropdown-item
command=
"advanceOver"
:disabled=
"scope.row.status == '3'?false:true"
>
提前结束
</el-dropdown-item>
<el-dropdown-item
command=
"downloadInvoice"
:disabled=
"scope.row.urlDispatchBills?false:true"
>
下载发货单
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -606,6 +620,10 @@ export default {
...
@@ -606,6 +620,10 @@ export default {
// console.log(selection)
// console.log(selection)
// },
// },
handleCommand
:
function
(
methodName
,
row
){
this
[
methodName
](
row
)
},
/**
/**
* 复选框操作
* 复选框操作
*/
*/
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment