|
@@ -31,10 +31,21 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ <template v-slot:action="{ row }">
|
|
|
|
|
+
|
|
|
|
|
+ <el-link type="primary" :underline="false" @click="details(row)">
|
|
|
|
|
+ 详情
|
|
|
|
|
+ </el-link>
|
|
|
|
|
+
|
|
|
|
|
+ </template>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</ele-pro-table>
|
|
</ele-pro-table>
|
|
|
</el-card>
|
|
</el-card>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ <tgDetails ref="tgDetailsRefs"></tgDetails>
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -42,9 +53,11 @@
|
|
|
import { getList } from '@/api/warehousing/index.js';
|
|
import { getList } from '@/api/warehousing/index.js';
|
|
|
|
|
|
|
|
import search from './components/search.vue';
|
|
import search from './components/search.vue';
|
|
|
|
|
+import tgDetails from './components/tgDetails.vue'
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
- search
|
|
|
|
|
|
|
+ search,
|
|
|
|
|
+ tgDetails
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
@@ -139,6 +152,16 @@ export default {
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ columnKey: 'action',
|
|
|
|
|
+ label: '操作',
|
|
|
|
|
+ width: 120,
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ resizable: false,
|
|
|
|
|
+ fixed: 'right',
|
|
|
|
|
+ slot: 'action',
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
|
|
|
];
|
|
];
|
|
@@ -163,6 +186,13 @@ export default {
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ details(row) {
|
|
|
|
|
+ console.log(row)
|
|
|
|
|
+ this.$refs.tgDetailsRefs.open(row)
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
|
|
|
/* 刷新表格 */
|
|
/* 刷新表格 */
|
|
|
reload(where) {
|
|
reload(where) {
|