diff --git a/src/views/modules/base/companyInformation.vue b/src/views/modules/base/companyInformation.vue index e1b4944..c8bb812 100644 --- a/src/views/modules/base/companyInformation.vue +++ b/src/views/modules/base/companyInformation.vue @@ -54,7 +54,7 @@ - + @@ -294,6 +294,12 @@ if(localStorage.getItem('companyInformation')!=undefined){ this.getData() } + }, + modelData: { + deep: true, + handler: function (newV, oldV) { + this.modelData.companyID = this.modelData.companyID.toUpperCase() + } } }, methods: { @@ -342,7 +348,7 @@ }, saveData(){ if(this.modelData.companyID==''||this.modelData.companyID==null){ - this.$alert("请输入会计单位编号!",'错误',{ + this.$alert("请输入会计单位编码!",'错误',{ confirmButtonText:'确定' }) return false; diff --git a/src/views/modules/base/factoryInformation.vue b/src/views/modules/base/factoryInformation.vue index 8e4806d..f18eb1d 100644 --- a/src/views/modules/base/factoryInformation.vue +++ b/src/views/modules/base/factoryInformation.vue @@ -53,7 +53,7 @@ - + @@ -620,6 +620,13 @@ if(localStorage.getItem('factoryInformation')!=undefined){ this.getData(); } + }, + siteData: { + deep: true, + handler: function (newV, oldV) { + this.siteData.companyID = this.modelData.companyID.toUpperCase() + this.siteData.siteID = this.modelData.siteID.toUpperCase() + } } }, methods: { diff --git a/src/views/modules/base/operator.vue b/src/views/modules/base/operator.vue index be6d91e..fb2dd31 100644 --- a/src/views/modules/base/operator.vue +++ b/src/views/modules/base/operator.vue @@ -101,7 +101,7 @@ - + @@ -208,6 +208,20 @@ InputFlag:false, } }, + watch: { + modelData: { + deep: true, + handler: function (newV, oldV) { + this.modelData.operatorID = this.modelData.operatorID.toUpperCase() + } + }, + searchData: { + deep: true, + handler: function (newV, oldV) { + this.searchData.operatorID = this.searchData.operatorID.toUpperCase() + } + }, + }, mounted() { this.$nextTick(()=>{ this.height = window.innerHeight - 210; @@ -267,7 +281,7 @@ return false; } if(this.modalData.operatorID==''||this.modalData.operatorID==null){ - this.$alert("请输入操作员ID!",'错误',{ + this.$alert("请输入操作员编码!",'错误',{ confirmButtonText:'确定' }) return false; diff --git a/src/views/modules/base/resource.vue b/src/views/modules/base/resource.vue index 5da5b8d..88e06c5 100644 --- a/src/views/modules/base/resource.vue +++ b/src/views/modules/base/resource.vue @@ -8,7 +8,7 @@ - + @@ -31,26 +31,26 @@ - + - + - + - + - + - - + + @@ -119,7 +119,7 @@ - + @@ -451,7 +451,7 @@ columnProp: "site", headerAlign: "center", align: "left", - columnLabel: "工厂编号", + columnLabel: "工厂编码", columnHidden: false, columnImage: false, columnSortable: false, diff --git a/src/views/modules/base/shift.vue b/src/views/modules/base/shift.vue index b22e7ca..fd8e450 100644 --- a/src/views/modules/base/shift.vue +++ b/src/views/modules/base/shift.vue @@ -53,7 +53,7 @@ - + @@ -294,7 +294,13 @@ if(localStorage.getItem('factoryInformation')!=undefined){ this.getData(); } - } + }, + modalData: { + deep: true, + handler: function (newV, oldV) { + this.modalData.shiftNo = this.modalData.shiftNo.toUpperCase() + } + }, }, methods: { getBaseData(val){ diff --git a/src/views/modules/board/scheduleBoard.vue b/src/views/modules/board/scheduleBoard.vue index bbf98b6..7896739 100644 --- a/src/views/modules/board/scheduleBoard.vue +++ b/src/views/modules/board/scheduleBoard.vue @@ -25,7 +25,7 @@ diff --git a/src/views/modules/schedule/schedule.vue b/src/views/modules/schedule/schedule.vue index dfc415c..6d96f30 100644 --- a/src/views/modules/schedule/schedule.vue +++ b/src/views/modules/schedule/schedule.vue @@ -81,7 +81,7 @@ - + @@ -137,7 +137,7 @@ - + @@ -350,6 +350,7 @@ { this.height = window.innerHeight - 220; @@ -824,7 +841,7 @@ scheduleQty: '', resourceId: this.schedulingModalData.resourceId, shiftNo: this.schedulingModalData.shiftNo, - scheduleDate: null, + scheduleDate: new Date(), operatorId:this.schedulingModalData.operatorId, }) this.sumQty += this.schedulingModalData.scheduleQty @@ -913,7 +930,7 @@ } } if(flag){ - this.$confirm(`派工日期大于需求完成日期,是否继续`, '提示', { + this.$confirm(`派工日期晚于需求完成日期,是否继续`, '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' @@ -1009,12 +1026,16 @@ } this.schedulesModalTableData=JSON.parse(JSON.stringify(this.dataListSelections)) this.schedulesModalData = [] + this.schedulesModalData.scheduleDate=new Date(); let inData={ site:this.dataListSelections[0].site, workCenterNo:this.dataListSelections[0].workCenterNo } this.getAvailableResourceList(inData) this.getWorkCenterOperatorList(inData); + // this.$nextTick(()=>{ + // this.$refs['tables'].doLayout(); + // }); this.schedulesModalFlag=true; }, diff --git a/src/views/modules/schedule/searchSOScheduleRouting.vue b/src/views/modules/schedule/searchSOScheduleRouting.vue index 1e7e603..ff86080 100644 --- a/src/views/modules/schedule/searchSOScheduleRouting.vue +++ b/src/views/modules/schedule/searchSOScheduleRouting.vue @@ -14,6 +14,20 @@ + + + + + + + + + + + + + + @@ -41,20 +55,6 @@ 机台ID - - - - - - - - - - - - - - 查询