refactor(wms/mes/cost): 优化多页面表单与表格交互逻辑
1. 调整质检任务表单的任务类型与入场卷号展示顺序,根据任务类型动态显示入场卷号字段并优化校验规则 2. 替换wms报表页面的pendingAction接口为轻量版listLightPendingAction 3. 给成本综合页面的表格拖拽排序功能新增置于最上/最下按钮,完善拖拽交互与样式
This commit is contained in:
@@ -128,7 +128,7 @@
|
||||
<script>
|
||||
import { listCoilWithIds } from "@/api/wms/coil";
|
||||
import {
|
||||
listPendingAction,
|
||||
listLightPendingAction,
|
||||
} from '@/api/wms/pendingAction';
|
||||
import MemoInput from "@/components/MemoInput";
|
||||
import MutiSelect from "@/components/MutiSelect";
|
||||
@@ -271,7 +271,7 @@ export default {
|
||||
},
|
||||
async getList() {
|
||||
this.loading = true;
|
||||
const actions = await listPendingAction({ ...this.queryParams, actionTypes: this.actionTypes, actionStatus: 2 });
|
||||
const actions = await listLightPendingAction({ ...this.queryParams, actionTypes: this.actionTypes, actionStatus: 2 });
|
||||
|
||||
const outIds = actions.rows.map(item => item.processedCoilIds).join(',');
|
||||
|
||||
|
||||
@@ -325,7 +325,6 @@
|
||||
import { listCoilWithIds } from "@/api/wms/coil";
|
||||
import {
|
||||
listLightPendingAction,
|
||||
listPendingAction,
|
||||
} from '@/api/wms/pendingAction';
|
||||
import MemoInput from "@/components/MemoInput";
|
||||
import MutiSelect from "@/components/MutiSelect";
|
||||
@@ -763,7 +762,7 @@ export default {
|
||||
return item
|
||||
})
|
||||
|
||||
listPendingAction({
|
||||
listLightPendingAction({
|
||||
actionStatus: 2,
|
||||
actionType: this.actionType,
|
||||
pageSize: 99999,
|
||||
|
||||
Reference in New Issue
Block a user