|
|
|
@ -83,7 +83,7 @@
|
|
|
|
|
<el-button type="text" size="small" slot="reference">下载
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-popconfirm>
|
|
|
|
|
<el-popconfirm @confirm="deleteData(scope.row.id)" confirm-button-text='删除' cancel-button-text='不用了'
|
|
|
|
|
<el-popconfirm v-if="scope.row.status==4" @confirm="deleteData(scope.row.id)" confirm-button-text='删除' cancel-button-text='不用了'
|
|
|
|
|
icon="el-icon-info" icon-color="red" title="是否确认要删除这条数据?">
|
|
|
|
|
<el-button type="text" size="small" slot="reference">删除
|
|
|
|
|
</el-button>
|
|
|
|
@ -342,18 +342,15 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
statusFilterType(status) {
|
|
|
|
|
const statusMap = {
|
|
|
|
|
0: "warning",
|
|
|
|
|
1: "success",
|
|
|
|
|
1: "danger",
|
|
|
|
|
2: "danger",
|
|
|
|
|
3: "danger",
|
|
|
|
|
4: "success",
|
|
|
|
|
};
|
|
|
|
|
return statusMap[status];
|
|
|
|
|
},
|
|
|
|
|
wmsFilterType(status) {
|
|
|
|
|
const statusMap = {
|
|
|
|
|
"未处理": "warning",
|
|
|
|
|
"处理成功": "success",
|
|
|
|
|
};
|
|
|
|
|
return statusMap[status];
|
|
|
|
|
return status?'success':'warning';
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|