Browse Source

增加批次号字段

班组增加过滤条件
离线登记修改查询条件
master_hella_20240701
TengXF 7 months ago
parent
commit
cbab1934ab
  1. 1
      src/api/mes/orderDay/index.ts
  2. 18
      src/views/mes/orderDay/components/schedule.vue
  3. 4
      src/views/mes/productOffline/productOffline.data.ts

1
src/api/mes/orderDay/index.ts

@ -18,6 +18,7 @@ export interface OrderDayVO {
startTime: Date
endTime: Date
taskMode: string
batchCode:string
}
// 查询生产日计划列表

18
src/views/mes/orderDay/components/schedule.vue

@ -260,7 +260,14 @@ const workstationData=ref([])
const dialogVisible = ref(false) //
const dialogTitle = ref('') //
const graphJson =ref()
const currentNode = ref({})
const currentNode = ref({
attrs:{
title:{
text:''
}
},
id:''
})
/*班组数据*/
const teamData = ref([])
/*班组弹窗搜索条件*/
@ -283,6 +290,8 @@ const closeTeamUser = () =>{
const workerData=ref([])
/*查询班组接口参数*/
const teamParams = ref({
workshopCode:'',
productionLineCode:'',
teamGroup: '',
name: '',
pageNo:1,
@ -304,6 +313,8 @@ const searchTeamList = () => {
}
/** 打开弹窗 */
const open = async (type: string, row?: any, titleName?: any) => {
currentNode.value.attrs.title.text=''
currentNode.value.id=''
//
workerData.value = []
equipmentData.value = []
@ -464,7 +475,8 @@ const doPublishPlan= ()=>{
planDate: detailData.value.planDate,
startTime: detailData.value.planDate,
endTime: detailData.value.endTime,
taskMode: detailData.value.taskMode
taskMode: detailData.value.taskMode,
batchCode:detailData.value.batchCode,
}
let res = OrderDayApi.publishPlan(data)
@ -567,6 +579,8 @@ const opensearchTableUser = async (
teamParams.value.teamGroup = ''
teamParams.value.name = ''
teamParams.value.pageNo = 1
teamParams.value.workshopCode = detailData.value.workroomCode
teamParams.value.productionLineCode = detailData.value.lineCode
var teamList = await getTeamList(teamParams.value)
teamData.value = teamList.list
totalTeam.value = teamList.total

4
src/views/mes/productOffline/productOffline.data.ts

@ -48,8 +48,8 @@ export const ProductOffline = useCrudSchemas(reactive<CrudSchema[]>([
searchAllSchemas: workscheduling.allSchemas, // 查询弹窗所需类
searchPage: ProductOfflineApi.getworkSchedulingPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'flagDo',
value: '3',
key: 'status',
value: '1',
action: '==',
isSearch: true,
isMainValue: false

Loading…
Cancel
Save