Compare commits
No commits in common. "c595794b1a7d931c18e21eea09867e01e5e715f7" and "d8336aced05c9047454a1d6571d96767efd30fe8" have entirely different histories.
c595794b1a
...
d8336aced0
@ -2,13 +2,13 @@
|
|||||||
* @Author: zwq
|
* @Author: zwq
|
||||||
* @Date: 2022-01-17 14:55:09
|
* @Date: 2022-01-17 14:55:09
|
||||||
* @LastEditors: zwq
|
* @LastEditors: zwq
|
||||||
* @LastEditTime: 2022-03-28 13:52:12
|
* @LastEditTime: 2022-03-10 14:13:22
|
||||||
* @Description:
|
* @Description:
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import request from '@/utils/request'
|
import request from '@/utils/request'
|
||||||
|
|
||||||
export function ProcessInfoList(data) { // 获取工单列表
|
export function ProcessInfoList(data) { // 获取工单工艺列表
|
||||||
return request({
|
return request({
|
||||||
url: '/api/wms/work/order/page',
|
url: '/api/wms/work/order/page',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
|
@ -518,6 +518,7 @@ export const constantRoutes = [
|
|||||||
path: 'menumanager',
|
path: 'menumanager',
|
||||||
component: () => import('@/views/MenuManager'),
|
component: () => import('@/views/MenuManager'),
|
||||||
name: 'MenuManager',
|
name: 'MenuManager',
|
||||||
|
hidden: true,
|
||||||
meta: { title: routerTitle.basic.menumanage?.[language] || routerTitle.basic.menumanage.en, icon: 'form', affix: true, required: true, requireToken: true }
|
meta: { title: routerTitle.basic.menumanage?.[language] || routerTitle.basic.menumanage.en, icon: 'form', affix: true, required: true, requireToken: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* @Author: zwq
|
* @Author: zwq
|
||||||
* @Date: 2020-12-29 15:41:11
|
* @Date: 2020-12-29 15:41:11
|
||||||
* @LastEditors: zwq
|
* @LastEditors: zwq
|
||||||
* @LastEditTime: 2022-03-28 13:52:30
|
* @LastEditTime: 2022-03-16 09:54:40
|
||||||
* @Description:
|
* @Description:
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
@ -37,8 +37,8 @@
|
|||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item :label="$t('module.basicData.ScrapInfo.workOrderName')" prop="workOrderId">
|
<el-form-item :label="$t('module.basicData.ScrapInfo.workOrderName')" prop="orderId">
|
||||||
<el-select v-model="formData.workOrderId" :placeholder="$i18nForm(['placeholder.input', $t('module.basicData.ScrapInfo.workOrderName')])" clearable :style="{width: '100%'}" filterable>
|
<el-select v-model="formData.orderId" :placeholder="$i18nForm(['placeholder.input', $t('module.basicData.ScrapInfo.workOrderName')])" clearable :style="{width: '100%'}" filterable>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="(item, index) in orderList"
|
v-for="(item, index) in orderList"
|
||||||
:key="index"
|
:key="index"
|
||||||
@ -88,7 +88,7 @@ import MethodBtn from '@/components/BaseTable/subcomponents/MethodBtn'
|
|||||||
import { timeFormatter } from '@/filters'
|
import { timeFormatter } from '@/filters'
|
||||||
import i18n from '@/lang'
|
import i18n from '@/lang'
|
||||||
import { getEqList } from '@/api/equipment/maintain'
|
import { getEqList } from '@/api/equipment/maintain'
|
||||||
import { ProcessInfoList } from '@/api/orderManage/00A'
|
import { ExecutionInfoList } from '@/api/orderManage/00A'
|
||||||
// import DictFilter from '@/components/BaseTable/subcomponents/DataDictFilter'
|
// import DictFilter from '@/components/BaseTable/subcomponents/DataDictFilter'
|
||||||
/**
|
/**
|
||||||
* 表格表头配置项 TypeScript接口注释
|
* 表格表头配置项 TypeScript接口注释
|
||||||
@ -182,7 +182,7 @@ export default {
|
|||||||
formData: {
|
formData: {
|
||||||
timeSlot: null,
|
timeSlot: null,
|
||||||
substrateId: '',
|
substrateId: '',
|
||||||
workOrderId: '',
|
orderId: '',
|
||||||
equipmentId: '',
|
equipmentId: '',
|
||||||
current: 1,
|
current: 1,
|
||||||
size: 10,
|
size: 10,
|
||||||
@ -254,7 +254,7 @@ export default {
|
|||||||
if (result1.code === 0) {
|
if (result1.code === 0) {
|
||||||
this.device = result1.data.records
|
this.device = result1.data.records
|
||||||
}
|
}
|
||||||
const result2 = await ProcessInfoList({
|
const result2 = await ExecutionInfoList({
|
||||||
current: 1,
|
current: 1,
|
||||||
size: 999
|
size: 999
|
||||||
})
|
})
|
||||||
|
@ -1,52 +1,32 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: zwq
|
* @Author: zwq
|
||||||
* @Date: 2020-12-29 16:37:56
|
* @Date: 2020-12-29 16:37:56
|
||||||
* @LastEditors: zwq
|
* @LastEditors: gtz
|
||||||
* @LastEditTime: 2022-04-02 15:57:14
|
* @LastEditTime: 2022-03-18 16:18:38
|
||||||
* @Description:
|
* @Description:
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
:title="'btn.detail' | i18nFilter"
|
:title="'btn.detail' | i18nFilter"
|
||||||
:visible.sync="visible"
|
:visible.sync="visible"
|
||||||
width="70%"
|
|
||||||
>
|
>
|
||||||
<el-row :gutter="10">
|
|
||||||
<el-form ref="dataForm" :model="dataForm" label-width="150px">
|
<el-form ref="dataForm" :model="dataForm" label-width="150px">
|
||||||
<el-col :span="8">
|
|
||||||
<el-form-item :label="$t('module.dashboard.name')" prop="name">
|
<el-form-item :label="$t('module.dashboard.name')" prop="name">
|
||||||
{{ dataForm.name }}
|
{{ dataForm.name }}
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
|
||||||
<el-col :span="8">
|
|
||||||
<el-form-item :label="$t('module.dashboard.attribute')" prop="attribute">
|
<el-form-item :label="$t('module.dashboard.attribute')" prop="attribute">
|
||||||
{{ dataForm.attribute ? portAttributeObj[dataForm.attribute] : '' }}
|
{{ dataForm.attribute ? portAttributeObj[dataForm.attribute] : '' }}
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
|
||||||
<el-col :span="8">
|
|
||||||
<el-form-item :label="$t('module.dashboard.cassetteStatus')" prop="cassetteVoList">
|
<el-form-item :label="$t('module.dashboard.cassetteStatus')" prop="cassetteVoList">
|
||||||
{{ dataForm.cassetteVoList && dataForm.cassetteVoList.length && dataForm.cassetteVoList[0].status ? cassetteStatusObj[dataForm.cassetteVoList[0].status] : '' }}
|
{{ dataForm.cassetteVoList && dataForm.cassetteVoList.length && dataForm.cassetteVoList[0].status ? cassetteStatusObj[dataForm.cassetteVoList[0].status] : '' }}
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
|
||||||
<el-col :span="8">
|
|
||||||
<el-form-item :label="$t('module.dashboard.workOrderNo')" prop="workOrderNo">
|
<el-form-item :label="$t('module.dashboard.workOrderNo')" prop="workOrderNo">
|
||||||
{{ dataForm.workOrderNo }}
|
{{ dataForm.workOrderNo }}
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
|
||||||
<el-col :span="8">
|
|
||||||
<el-form-item :label="$t('module.dashboard.storageBoxCode')" prop="storageBoxCode">
|
<el-form-item :label="$t('module.dashboard.storageBoxCode')" prop="storageBoxCode">
|
||||||
{{ dataForm.storageBoxCode }}
|
{{ dataForm.storageBoxCode }}
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
|
||||||
</el-form>
|
</el-form>
|
||||||
</el-row>
|
|
||||||
<base-table
|
|
||||||
:page="listQuery.current"
|
|
||||||
:limit="listQuery.size"
|
|
||||||
:table-config="tableProps"
|
|
||||||
:table-data="list"
|
|
||||||
:is-loading="listLoading"
|
|
||||||
/>
|
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button @click="visible = false">{{ 'btn.cancel' | i18nFilter }}</el-button>
|
<el-button @click="visible = false">{{ 'btn.cancel' | i18nFilter }}</el-button>
|
||||||
</span>
|
</span>
|
||||||
@ -54,56 +34,11 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import i18n from '@/lang'
|
|
||||||
import { listSubstrate } from '@/api/report-manage/report'
|
|
||||||
import BaseTable from '@/components/BaseTable'
|
|
||||||
|
|
||||||
const tableProps = [
|
|
||||||
{
|
|
||||||
prop: 'substrateCode',
|
|
||||||
label: i18n.t('module.report.substrate.substrateCode'),
|
|
||||||
align: 'center'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
prop: 'subPosition',
|
|
||||||
label: i18n.t('module.report.substrate.location'),
|
|
||||||
align: 'center'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
prop: 'storeTime',
|
|
||||||
label: i18n.t('module.report.substrate.storeTime'),
|
|
||||||
align: 'center'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
prop: 'status',
|
|
||||||
label: i18n.t('module.report.substrate.substrateStatus'),
|
|
||||||
align: 'center'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
prop: 'subStorageStatusName',
|
|
||||||
label: i18n.t('module.report.substrate.subStorageStatus'),
|
|
||||||
align: 'center'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
prop: 'machineHandID',
|
|
||||||
label: i18n.t('module.report.substrate.machineHandID'),
|
|
||||||
align: 'center'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: { BaseTable },
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
visible: false,
|
visible: false,
|
||||||
tableProps,
|
|
||||||
list: [],
|
|
||||||
listLoading: true,
|
|
||||||
listQuery: {
|
|
||||||
current: 1,
|
|
||||||
size: 500,
|
|
||||||
locationStorageSubID: ''
|
|
||||||
},
|
|
||||||
dataForm: {
|
dataForm: {
|
||||||
code: null,
|
code: null,
|
||||||
createTime: null,
|
createTime: null,
|
||||||
@ -134,23 +69,6 @@ export default {
|
|||||||
console.log(data)
|
console.log(data)
|
||||||
this.visible = true
|
this.visible = true
|
||||||
this.dataForm = data
|
this.dataForm = data
|
||||||
this.listQuery.locationStorageSubID = data.locationStorageSubId
|
|
||||||
this.listLoading = true
|
|
||||||
listSubstrate(this.listQuery).then(response => {
|
|
||||||
if (response.data) {
|
|
||||||
this.list = response.data
|
|
||||||
for (var x = 0; x < this.list.length; x++) {
|
|
||||||
if (this.list[x].subStorageStatus === 1) {
|
|
||||||
this.list[x].subStorageStatusName = this.$t('module.report.substrate.load')
|
|
||||||
} else if (this.list[x].subStorageStatus === 2) {
|
|
||||||
this.list[x].subStorageStatusName = this.$t('module.report.substrate.unload')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
this.list.splice(0, this.list.length)
|
|
||||||
}
|
|
||||||
this.listLoading = false
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* @Author: fzq
|
* @Author: fzq
|
||||||
* @Date: 2022-03-04 20:54:54
|
* @Date: 2022-03-04 20:54:54
|
||||||
* @LastEditors: fzq
|
* @LastEditors: fzq
|
||||||
* @LastEditTime: 2022-05-30 13:40:33
|
* @LastEditTime: 2022-03-20 09:31:14
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
@ -223,7 +223,6 @@ export default {
|
|||||||
// link.click()
|
// link.click()
|
||||||
// URL.revokeObjectURL(link.href)
|
// URL.revokeObjectURL(link.href)
|
||||||
// }
|
// }
|
||||||
this.getList()
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 新增 / 修改
|
// 新增 / 修改
|
||||||
|
Loading…
Reference in New Issue
Block a user