|
|
@@ -10,6 +10,7 @@
|
|
|
:pageSize="20"
|
|
|
:pageSizes="[20, 30, 40, 50, 100]"
|
|
|
:height="500"
|
|
|
+ :key="key"
|
|
|
>
|
|
|
<!-- 操作列 -->
|
|
|
<template v-slot:toolbar>
|
|
|
@@ -225,6 +226,10 @@
|
|
|
mixins: [dictMixins],
|
|
|
data() {
|
|
|
return {
|
|
|
+ key: '',
|
|
|
+ response: {
|
|
|
+ dataName: 'sampleVOList'
|
|
|
+ },
|
|
|
warehouseList: [],
|
|
|
type6Form: {
|
|
|
sampleCondition: '',
|
|
|
@@ -448,8 +453,10 @@
|
|
|
},
|
|
|
reload(where) {
|
|
|
console.log('reload');
|
|
|
-
|
|
|
+ this.key = Math.random();
|
|
|
this.$nextTick(() => {
|
|
|
+ // this.datasource();
|
|
|
+ // this.$refs.table.reRenderTable();
|
|
|
this.$refs.table.reload({ page: 1, where: where });
|
|
|
});
|
|
|
},
|
|
|
@@ -515,7 +522,7 @@
|
|
|
this.$refs['type6Form'].validate(async (valid) => {
|
|
|
if (valid) {
|
|
|
const pa = { ...deepClone(this.current), ...this.type6Form };
|
|
|
- const params = { disposeType: this.disposeType, polist: [pa] };
|
|
|
+ const params = { disposeType: this.disposeType, poList: [pa] };
|
|
|
await disposeApi(params);
|
|
|
this.dialogVisible = false;
|
|
|
this.current = null;
|