Commit 256d7cfb authored by zhengyi's avatar zhengyi

海运/空运出货详情添加异常按钮

parent 90046ad6
...@@ -252,15 +252,20 @@ ...@@ -252,15 +252,20 @@
align="center" align="center"
width="120px" width="120px"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
type="primary" type="primary"
size="small" size="small"
:disabled="scope.row.abnormalDealStatus === 1" :disabled="scope.row.abnormalDealStatus === 1"
@click="() => updateStatus('single', scope.row)" @click="() => updateStatus('single', scope.row)"
style="margin-top: 5px"
>{{ $t("更新状态") }}</el-button >{{ $t("更新状态") }}</el-button
> >
<el-button type="danger" style="margin-top: 5px;" size="small" @click="openError(scope.row)">{{$t('异常')}}</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</el-tab-pane> </el-tab-pane>
...@@ -590,6 +595,7 @@ import { listUser } from "@/api/system/user"; ...@@ -590,6 +595,7 @@ import { listUser } from "@/api/system/user";
//lanbm 2024-05-16 add //lanbm 2024-05-16 add
import { getCurrencyList } from "@/api/ecw/currency"; import { getCurrencyList } from "@/api/ecw/currency";
import unloadingError from "@/views/ecw/box/shippingSea/nodePage/unloading/unloadingError.vue"; import unloadingError from "@/views/ecw/box/shippingSea/nodePage/unloading/unloadingError.vue";
import Template from "@/views/cms/template/index.vue";
export default { export default {
name: "EcwBoxQuery", name: "EcwBoxQuery",
...@@ -597,6 +603,7 @@ export default { ...@@ -597,6 +603,7 @@ export default {
shipmentId: String, shipmentId: String,
}, },
components: { components: {
Template,
costForm, costForm,
regError, regError,
editForm, editForm,
...@@ -746,6 +753,11 @@ export default { ...@@ -746,6 +753,11 @@ export default {
this.currRow = row; this.currRow = row;
this.dialogVisible = true; this.dialogVisible = true;
}, },
/* 打开异常 */
openError(row) {
this.currRow = row;
this.dialogVisible = true;
},
/* 更新状态 */ /* 更新状态 */
updateStatus(type, row) { updateStatus(type, row) {
let orders = []; let orders = [];
......
...@@ -323,7 +323,7 @@ ...@@ -323,7 +323,7 @@
>{{ $t("撤销清关申请") }}</el-button >{{ $t("撤销清关申请") }}</el-button
> >
<!-- <el-button type="danger" style="margin-top: 5px;" size="small" @click="openError(scope.row)">{{$t('异常')}}</el-button> --> <el-button type="danger" style="margin-top: 5px;" size="small" @click="openError(scope.row)">{{$t('异常')}}</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment