refactor(wms): 优化发货记录和钢卷列表页面逻辑
移除发货记录页面的planId校验,增加默认分页大小 简化钢卷列表页面的查询逻辑和样式类名
This commit is contained in:
@@ -66,7 +66,7 @@ export default {
|
||||
// 查询参数
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
pageSize: 50,
|
||||
planId: undefined,
|
||||
coilId: undefined,
|
||||
operateType: undefined,
|
||||
@@ -81,9 +81,9 @@ export default {
|
||||
methods: {
|
||||
/** 查询发货计划钢卷操作记录列表 */
|
||||
getList() {
|
||||
if (!this.planId) {
|
||||
return
|
||||
}
|
||||
// if (!this.planId) {
|
||||
// return
|
||||
// }
|
||||
this.loading = true;
|
||||
listDeliveryPlanCoilOperate(this.queryParams).then(response => {
|
||||
this.deliveryPlanCoilOperateList = response.rows;
|
||||
|
||||
Reference in New Issue
Block a user