|
|
@ -116,8 +116,8 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<template v-if="!viewDisabled && !renewDisabled && coursePermissions.length"> |
|
|
|
<template v-if="!viewDisabled && !renewDisabled && coursePermissions.length"> |
|
|
|
<el-button v-if="coursePermissions.find(e => !e.ship)" type="primary" round @click="batchDeliver(1, 0)">一键发货</el-button> |
|
|
|
<el-button v-if="coursePermissions.find(e => !e.ship)" v-auth="'/order:发货'" type="primary" round @click="batchDeliver(1, 0)">一键发货</el-button> |
|
|
|
<el-button v-else type="primary" round @click="batchDeliver(0, 0)">取消全部发货</el-button> |
|
|
|
<el-button v-else v-auth="'/order:发货'" type="primary" round @click="batchDeliver(0, 0)">取消全部发货</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<el-button v-if="!viewDisabled&&!editDisabled&&!renewDisabled" type="primary" round @click="addCourseJurisdiction()">添加</el-button> |
|
|
|
<el-button v-if="!viewDisabled&&!editDisabled&&!renewDisabled" type="primary" round @click="addCourseJurisdiction()">添加</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -237,6 +237,7 @@ |
|
|
|
--> |
|
|
|
--> |
|
|
|
<el-switch |
|
|
|
<el-switch |
|
|
|
v-if="scope.row.status === 1 || dispose || isAdd" |
|
|
|
v-if="scope.row.status === 1 || dispose || isAdd" |
|
|
|
|
|
|
|
v-auth="'/order:发货'" |
|
|
|
style="margin-right:10px;" |
|
|
|
style="margin-right:10px;" |
|
|
|
v-model="scope.row.ship" |
|
|
|
v-model="scope.row.ship" |
|
|
|
:active-value="1" |
|
|
|
:active-value="1" |
|
|
@ -271,8 +272,8 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<template v-if="!viewDisabled && !renewDisabled && dataPlatformPermissions.length"> |
|
|
|
<template v-if="!viewDisabled && !renewDisabled && dataPlatformPermissions.length"> |
|
|
|
<el-button v-if="dataPlatformPermissions.find(e => !e.ship)" type="primary" round @click="batchDeliver(1, 1)">一键发货</el-button> |
|
|
|
<el-button v-if="dataPlatformPermissions.find(e => !e.ship)" v-auth="'/order:发货'" type="primary" round @click="batchDeliver(1, 1)">一键发货</el-button> |
|
|
|
<el-button v-else type="primary" round @click="batchDeliver(0, 1)">取消全部发货</el-button> |
|
|
|
<el-button v-else v-auth="'/order:发货'" type="primary" round @click="batchDeliver(0, 1)">取消全部发货</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<el-button v-if="!viewDisabled&&!editDisabled&&!renewDisabled" type="primary" round class="mag" @click="addDataJurisdiction()">添加</el-button> |
|
|
|
<el-button v-if="!viewDisabled&&!editDisabled&&!renewDisabled" type="primary" round class="mag" @click="addDataJurisdiction()">添加</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -414,6 +415,7 @@ |
|
|
|
>删除</el-button> |
|
|
|
>删除</el-button> |
|
|
|
<el-switch |
|
|
|
<el-switch |
|
|
|
v-if="scope.row.status === 1 || dispose || isAdd" |
|
|
|
v-if="scope.row.status === 1 || dispose || isAdd" |
|
|
|
|
|
|
|
v-auth="'/order:发货'" |
|
|
|
style="margin-right:10px;" |
|
|
|
style="margin-right:10px;" |
|
|
|
v-model="scope.row.ship" |
|
|
|
v-model="scope.row.ship" |
|
|
|
:active-value="1" |
|
|
|
:active-value="1" |
|
|
|