@ -53,7 +53,7 @@
< el -input v-model ="searchData.site" style="width: 85px" > < / el -input >
< / e l - f o r m - i t e m >
< el -form -item : label = labels.resourceId >
< span slot = "label" style = "" @click ="getBaseList(88 )" > < a herf = "#" > 机台编号 : < / a > < / span >
< span slot = "label" style = "" @click ="getBaseList(95 )" > < a herf = "#" > 机台编号 : < / a > < / span >
< el -input v-model ="searchData.resourceId" clearable style="width: 110px" > < / el -input >
< / e l - f o r m - i t e m >
< el -form -item : label = labels.planStartTime >
@ -275,7 +275,7 @@ import {
} from '@/api/table.js'
/* 引入组件 */
import Chooselist from '@/views/modules/common/Chooselist' /* 列表组件 */
import Chooselist from '@/views/modules/common/Chooselist_eam '
import comSwitchOperator from './com_switch_operator' /* 切换操作员 */
import comProduceReportNormal from './com_produce_report_normal' /* 报工的组件 */
import comFinishSchedule from './com_finish_schedule' /* 结束派工的组件 */
@ -1872,6 +1872,7 @@ export default {
this . $refs . changePackaging . init ( this . currentRow . seqNo , this . operatorData )
} )
} ,
/* 查询派工单 */
getProduceScheduleList ( ) {
/ / 开 始 真 的 查 询 ;
@ -2153,7 +2154,7 @@ export default {
this . tagNo = val
this . $nextTick ( ( ) => {
let strVal = ''
if ( val === 88 ) {
if ( val === 95 ) {
strVal = this . searchData . resourceId
}
this . $refs . baseList . init ( val , strVal , " AND WorkCenterNo <> 'FQC'" )
@ -2312,6 +2313,7 @@ export default {
} ,
} ,
created ( ) {
/ / 根 据 登 陆 人 员 的 u s e r n a m e 查 询 机 台 授 权 表 中 的 权 限 , 筛 选 出 对 应 的 机 台 ( 默 认 第 一 个 )
let tempData = {
@ -2325,10 +2327,11 @@ export default {
}
} )
this . searchData . searchFlag = true ;
/ / 不 查 询
getProduceScheduleList ( this . searchData ) . then ( ( { data } ) => {
/ / 设 置 查 询 数 据
this . searchData . searchFlag = false ;
/ / t h i s . s e a r c h D a t a . s e a r c h F l a g = f a l s e ;
this . searchData . exportFlag = 'N' ;
this . produceScheduleList = data . rows
} )