|
|
@@ -60,14 +60,18 @@
|
|
|
@click.stop="rowCellfun(scope.row, scope.index)"
|
|
|
>编辑
|
|
|
</el-button> -->
|
|
|
- <el-button
|
|
|
+ <!-- <el-button
|
|
|
:type="scope.type"
|
|
|
:size="scope.size"
|
|
|
icon="el-icon-delete"
|
|
|
:disabled="detailData.seeDisabled || pleasereviewType || showLock"
|
|
|
@click.stop="rowDel(scope.row, scope.index)"
|
|
|
>{{ $t("btn118n.deleted") }}
|
|
|
- </el-button>
|
|
|
+ </el-button> -->
|
|
|
+ <el-popover placement="left" width="400" trigger="click">
|
|
|
+ <avue-crud :option="recordOption" :data="recordData"></avue-crud>
|
|
|
+ <el-button slot="reference" size="small" type="text" @click="rowRecord(scope.row)" style="margin-left: 6px;">记录</el-button>
|
|
|
+ </el-popover>
|
|
|
</template>
|
|
|
<template slot-scope="scope" slot="cntrNo">
|
|
|
<el-input
|
|
|
@@ -218,7 +222,8 @@ import {
|
|
|
containersSubmitList,
|
|
|
containersExportContainers,
|
|
|
containersImportBoxNo,
|
|
|
- containersList
|
|
|
+ containersList,
|
|
|
+ getRecordlist
|
|
|
} from "@/api/iosBasicData/containers";
|
|
|
import { getAccurate } from "@/api/boxManagement/buyContainer/index.js";
|
|
|
import { mapGetters } from "vuex";
|
|
|
@@ -249,6 +254,34 @@ export default {
|
|
|
headers: { "Blade-Auth": "Bearer " + getToken() },
|
|
|
// 是否禁用
|
|
|
extendedDisabled: false,
|
|
|
+ recordData: [],
|
|
|
+ recordOption: {
|
|
|
+ align: "center",
|
|
|
+ menu: false,
|
|
|
+ header: false,
|
|
|
+ column: [
|
|
|
+ {
|
|
|
+ label: "操作类型",
|
|
|
+ prop: "operatorType",
|
|
|
+ overHidden: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "操作内容",
|
|
|
+ prop: "operatorContent",
|
|
|
+ overHidden: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "操作人",
|
|
|
+ prop: "operatorName",
|
|
|
+ overHidden: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "操作时间",
|
|
|
+ prop: "operatorDate",
|
|
|
+ overHidden: true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
// 装货港数据
|
|
|
polData: [],
|
|
|
// 附件配置
|
|
|
@@ -303,8 +336,9 @@ export default {
|
|
|
selection: true,
|
|
|
dialogClickModal: false,
|
|
|
refreshBtn: false,
|
|
|
+ delBtn:false,
|
|
|
columnBtn: false,
|
|
|
- menu: false,
|
|
|
+ menu: true,
|
|
|
menuWidth: 70,
|
|
|
summaryText: "合计",
|
|
|
showSummary: true,
|
|
|
@@ -785,6 +819,15 @@ export default {
|
|
|
}
|
|
|
);
|
|
|
},
|
|
|
+ rowRecord(row) {
|
|
|
+ this.recordData = [];
|
|
|
+ let obj = {
|
|
|
+ pid: row.id
|
|
|
+ };
|
|
|
+ getRecordlist(1, 50, obj).then(res => {
|
|
|
+ this.recordData = res.data.data.records;
|
|
|
+ });
|
|
|
+ },
|
|
|
// 删除
|
|
|
rowDel(row) {
|
|
|
this.$confirm("确定将选择数据删除?", {
|