Browse Source

订片记录删除

360view
bianyaqi 2 years ago
parent
commit
1163330510
  1. 5
      src/page-subspecialty/views/modules/optometryManagement/seeDoctor/ok-lens-rgp/index.vue

5
src/page-subspecialty/views/modules/optometryManagement/seeDoctor/ok-lens-rgp/index.vue

@ -179,13 +179,14 @@
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-show="scope.row.status==3" command="退货">退货</el-dropdown-item>
<el-dropdown-item command="编辑">编辑</el-dropdown-item>
<el-dropdown-item command="删除">删除</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
<div v-show="scope.row.status==6 || scope.row.status==7 || scope.row.status==8 || scope.row.status==100 || tabTitle =='LJRJ'">
<span v-show="scope.row.status==7 || scope.row.status==8 || tabTitle =='LJRJ'" class="operation-details" @click="addOrUpdateHandle(scope.row.id,scope.row,`编辑${scope.row.status===7 ? '补录' : (scope.row.status==8 ? '借片' : (tabTitle =='LJRJ' ? '离焦软镜' :''))}`)">编辑</span>
<template>
<span v-show="scope.row.status==6 || scope.row.status==7 || scope.row.status==8 || scope.row.status==100 || tabTitle =='LJRJ'" class="operation-details" @click="deleteOrder(scope.row.id)">删除</span>
<span v-show="scope.row.status==6 || scope.row.status==7 || scope.row.status==8 || scope.row.status==100 || tabTitle =='LJRJ'" style="color: #F56C6C" class="operation-details" @click="deleteOrder(scope.row.id)">删除</span>
</template>
</div>
</template>
@ -310,6 +311,8 @@ export default {
this.addOrUpdateHandle(id, scopeRow, e)
} else if (e === '退货') {
this.removeLensReturnGoodsClick(id, scopeRow, e)
} else if (e === '删除') {
this.deleteOrder(id)
}
},
// -

Loading…
Cancel
Save