修改bug #81

Merged
zwq merged 1 commits from zwq into develop 2022-03-28 13:56:32 +08:00
3 changed files with 8 additions and 9 deletions

View File

@ -2,13 +2,13 @@
* @Author: zwq
* @Date: 2022-01-17 14:55:09
* @LastEditors: zwq
* @LastEditTime: 2022-03-10 14:13:22
* @LastEditTime: 2022-03-28 13:52:12
* @Description:
*/
import request from '@/utils/request'
export function ProcessInfoList(data) { // 获取工单工艺列表
export function ProcessInfoList(data) { // 获取工单列表
return request({
url: '/api/wms/work/order/page',
method: 'post',

View File

@ -518,7 +518,6 @@ export const constantRoutes = [
path: 'menumanager',
component: () => import('@/views/MenuManager'),
name: 'MenuManager',
hidden: true,
meta: { title: routerTitle.basic.menumanage?.[language] || routerTitle.basic.menumanage.en, icon: 'form', affix: true, required: true, requireToken: true }
},
{

View File

@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2020-12-29 15:41:11
* @LastEditors: zwq
* @LastEditTime: 2022-03-16 09:54:40
* @LastEditTime: 2022-03-28 13:52:30
* @Description:
-->
<template>
@ -37,8 +37,8 @@
/>
</el-select>
</el-form-item>
<el-form-item :label="$t('module.basicData.ScrapInfo.workOrderName')" prop="orderId">
<el-select v-model="formData.orderId" :placeholder="$i18nForm(['placeholder.input', $t('module.basicData.ScrapInfo.workOrderName')])" clearable :style="{width: '100%'}" filterable>
<el-form-item :label="$t('module.basicData.ScrapInfo.workOrderName')" prop="workOrderId">
<el-select v-model="formData.workOrderId" :placeholder="$i18nForm(['placeholder.input', $t('module.basicData.ScrapInfo.workOrderName')])" clearable :style="{width: '100%'}" filterable>
<el-option
v-for="(item, index) in orderList"
:key="index"
@ -88,7 +88,7 @@ import MethodBtn from '@/components/BaseTable/subcomponents/MethodBtn'
import { timeFormatter } from '@/filters'
import i18n from '@/lang'
import { getEqList } from '@/api/equipment/maintain'
import { ExecutionInfoList } from '@/api/orderManage/00A'
import { ProcessInfoList } from '@/api/orderManage/00A'
// import DictFilter from '@/components/BaseTable/subcomponents/DataDictFilter'
/**
* 表格表头配置项 TypeScript接口注释
@ -182,7 +182,7 @@ export default {
formData: {
timeSlot: null,
substrateId: '',
orderId: '',
workOrderId: '',
equipmentId: '',
current: 1,
size: 10,
@ -254,7 +254,7 @@ export default {
if (result1.code === 0) {
this.device = result1.data.records
}
const result2 = await ExecutionInfoList({
const result2 = await ProcessInfoList({
current: 1,
size: 999
})