bugfix 0703反馈
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
@size-change="handleSizeChange"
|
||||
@current-change="handlePageChange"
|
||||
:current-page.sync="page"
|
||||
:page-sizes="[1, 5, 10, 20, 50, 100]"
|
||||
:page-sizes="[10, 20, 50, 100]"
|
||||
:page-size="size"
|
||||
:total="totalPage"
|
||||
layout="total, sizes, prev, pager, next, jumper"></el-pagination>
|
||||
@@ -48,7 +48,13 @@
|
||||
v-if="uploadDialogVisible"
|
||||
title="导入原料"
|
||||
filename="bomTemplate.xlsx"
|
||||
@refresh-list="getList" />
|
||||
@refresh-list="getList"
|
||||
@uploadSuccess="getList"
|
||||
@destroy-dialog="
|
||||
() => {
|
||||
uploadDialogVisible = false;
|
||||
}
|
||||
" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -181,7 +187,7 @@ export default {
|
||||
],
|
||||
},
|
||||
},
|
||||
cachedSearchCondition: {}
|
||||
cachedSearchCondition: {},
|
||||
};
|
||||
},
|
||||
inject: ["urls"],
|
||||
@@ -280,9 +286,7 @@ export default {
|
||||
if (res.code === 0) {
|
||||
this.$message.success("删除成功!");
|
||||
|
||||
this.page = 1;
|
||||
this.size = 10;
|
||||
this.getList();
|
||||
this.getList(this.cachedSearchCondition);
|
||||
}
|
||||
});
|
||||
})
|
||||
@@ -343,7 +347,7 @@ export default {
|
||||
this.openDialog();
|
||||
break;
|
||||
case "查询": {
|
||||
Object.assign(this.cachedSearchCondition, payload)
|
||||
Object.assign(this.cachedSearchCondition, payload);
|
||||
this.getList(this.cachedSearchCondition);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user