|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <tableDetail :layout="tablecols" :data="tableData" :opwidth="200" :custom="true" :checkbox="true" @rowClick="rowClick">
|
|
|
+ <tableDetail :layout="tablecols" :data="tableData" :opwidth="200" :custom="true" :checkbox="true" @rowClick="rowClick" fixedName="operation">
|
|
|
<template v-slot:customcol="scope">
|
|
|
<div v-if="scope.column.columnname === 'shipmentstatus'" :style="{color:tool.getStatusColor(scope.column.data[scope.column.columnname])}">
|
|
|
{{scope.column.data[scope.column.columnname]}}
|
|
@@ -43,7 +43,7 @@
|
|
|
}
|
|
|
})
|
|
|
this.tool.showMessage(res,()=>{
|
|
|
- this.listData()
|
|
|
+ this.listData('删除')
|
|
|
this.$emit('delSuccess')
|
|
|
})
|
|
|
} else {
|
|
@@ -52,7 +52,7 @@
|
|
|
})
|
|
|
}
|
|
|
},
|
|
|
- async listData(){
|
|
|
+ async listData(val){
|
|
|
const res = await this.$api.requested({
|
|
|
"id": 20221122133004,
|
|
|
"content": {
|
|
@@ -67,7 +67,7 @@
|
|
|
if(res.data && res.data.length > 0) this.$emit('onInit',res.data[0]);
|
|
|
this.tableData = res.data
|
|
|
this.$emit('isCorrelation',res.data.length,res.data)
|
|
|
- console.log(this.tableData);
|
|
|
+ console.log(this.tableData,'333333');
|
|
|
|
|
|
res.data.length > 0?this.rowClick(res.data[0]):''
|
|
|
},
|