commit 20221020
This commit is contained in:
@@ -325,8 +325,10 @@ export default {
|
||||
getOrderNumber() {
|
||||
this.orderNumber = []
|
||||
var param = []
|
||||
param[0] = ['开始时间', this.dateTime[0]]
|
||||
param[1] = ['结束时间', this.dateTime[1]]
|
||||
param[0] = ['开始时间', this.dateTime[0] + ' ' + '00:00']
|
||||
param[1] = ['结束时间', this.dateTime[1] + ' ' + '23:59']
|
||||
// param[0] = ['开始时间', this.dateTime[0]]
|
||||
// param[1] = ['结束时间', this.dateTime[1]]
|
||||
var Data = this.CreateData('11', '测量数据发动机在线状态_订单号_查询 ', param)
|
||||
this.ExecDatabase(Data).then(response => {
|
||||
if (response.data.length) { this.orderNumberValue = response.data[0].订单号 }
|
||||
@@ -345,8 +347,10 @@ export default {
|
||||
this.engineTypeValue ? engineTypeValue_check = 1 : engineTypeValue_check = 0
|
||||
this.stationNumberValue ? stationNumberValue_check = 1 : stationNumberValue_check = 0
|
||||
var param = []
|
||||
param[0] = ['开始时间', this.dateTime[0]]
|
||||
param[1] = ['结束时间', this.dateTime[1]]
|
||||
param[0] = ['开始时间', this.dateTime[0] + ' ' + '00:00']
|
||||
param[1] = ['结束时间', this.dateTime[1] + ' ' + '23:59']
|
||||
// param[0] = ['开始时间', this.dateTime[0]]
|
||||
// param[1] = ['结束时间', this.dateTime[1]]
|
||||
param[2] = ['发动机型号_ischeck', engineTypeValue_check]
|
||||
param[3] = ['发动机型号', this.engineTypeValue]
|
||||
param[4] = ['工位号_ischeck', stationNumberValue_check]
|
||||
@@ -370,8 +374,10 @@ export default {
|
||||
this.engineTypeValue ? engineTypeValue_check = 1 : engineTypeValue_check = 0
|
||||
this.stationNumberValue ? stationNumberValue_check = 1 : stationNumberValue_check = 0
|
||||
var param = []
|
||||
param[0] = ['开始时间', this.dateTime[0]]
|
||||
param[1] = ['结束时间', this.dateTime[1]]
|
||||
param[0] = ['开始时间', this.dateTime[0] + ' ' + '00:00']
|
||||
param[1] = ['结束时间', this.dateTime[1] + ' ' + '23:59']
|
||||
// param[0] = ['开始时间', this.dateTime[0]]
|
||||
// param[1] = ['结束时间', this.dateTime[1]]
|
||||
param[2] = ['发动机型号_ischeck', engineTypeValue_check]
|
||||
param[3] = ['发动机型号', this.engineTypeValue]
|
||||
param[4] = ['工位号_ischeck', stationNumberValue_check]
|
||||
@@ -391,16 +397,18 @@ export default {
|
||||
getBatchBarcode() {
|
||||
this.batchBarcode = []
|
||||
var param = []
|
||||
param[0] = ['开始时间', this.dateTime[0]]
|
||||
param[1] = ['结束时间', this.dateTime[1]]
|
||||
param[0] = ['开始时间', this.dateTime[0] + ' ' + '00:00']
|
||||
param[1] = ['结束时间', this.dateTime[1] + ' ' + '23:59']
|
||||
// param[0] = ['开始时间', this.dateTime[0]]
|
||||
// param[1] = ['结束时间', this.dateTime[1]]
|
||||
param[2] = ['工位号', this.stationNumberValue]
|
||||
var Data = this.CreateData('11', '物料数据分线_视图_物料条码批次号_查询 ', param)
|
||||
this.ExecDatabase(Data).then(response => {
|
||||
if (response.data.length) { this.batchBarcodeValue = response.data[0].物料条码 }
|
||||
if (response.data.length) { this.batchBarcodeValue = response.data[0].物料条码批次 }
|
||||
for (let i = 0; i < response.data.length; i++) {
|
||||
this.batchBarcode.push({
|
||||
label: response.data[i].物料条码,
|
||||
value: response.data[i].物料条码
|
||||
label: response.data[i].物料条码批次,
|
||||
value: response.data[i].物料条码批次
|
||||
})
|
||||
}
|
||||
})
|
||||
@@ -449,8 +457,10 @@ export default {
|
||||
this.traceabilityCode ? traceabilityCode_check = 1 : (traceabilityCode_check = 0, this.traceabilityCode = '')
|
||||
this.orderNumberValue ? orderNumberValue_check = 1 : (orderNumberValue_check = 0, this.orderNumberValue = '')
|
||||
var param = []
|
||||
param[0] = ['开始时间', this.dateTime[0]]
|
||||
param[1] = ['结束时间', this.dateTime[1]]
|
||||
param[0] = ['开始时间', this.dateTime[0] + ' ' + '00:00']
|
||||
param[1] = ['结束时间', this.dateTime[1] + ' ' + '23:59']
|
||||
// param[0] = ['开始时间', this.dateTime[0]]
|
||||
// param[1] = ['结束时间', this.dateTime[1]]
|
||||
param[2] = ['发动机型号_ischeck', engineTypeValue_check]
|
||||
param[3] = ['发动机型号', this.engineTypeValue]
|
||||
param[4] = ['发动机号_ischeck', assemblyNumberValue_check]
|
||||
@@ -491,8 +501,10 @@ export default {
|
||||
this.traceabilityCode ? traceabilityCode_check = 1 : (traceabilityCode_check = 0, this.traceabilityCode = '')
|
||||
this.orderNumberValue ? orderNumberValue_check = 1 : (orderNumberValue_check = 0, this.orderNumberValue = '')
|
||||
var param = []
|
||||
param[0] = ['开始时间', this.dateTime[0]]
|
||||
param[1] = ['结束时间', this.dateTime[1]]
|
||||
param[0] = ['开始时间', this.dateTime[0] + ' ' + '00:00']
|
||||
param[1] = ['结束时间', this.dateTime[1] + ' ' + '23:59']
|
||||
// param[0] = ['开始时间', this.dateTime[0]]
|
||||
// param[1] = ['结束时间', this.dateTime[1]]
|
||||
param[2] = ['发动机型号_ischeck', engineTypeValue_check]
|
||||
param[3] = ['发动机型号', this.engineTypeValue]
|
||||
param[4] = ['发动机号_ischeck', assemblyNumberValue_check]
|
||||
|
||||
Reference in New Issue
Block a user