|
|
@ -46,11 +46,11 @@ |
|
|
|
</el-form-item> |
|
|
|
<!-- 柱护板时候显示 --> |
|
|
|
<el-form-item |
|
|
|
prop="Groupname" |
|
|
|
prop="GroupName" |
|
|
|
v-show="this.listQuery.productType == 2" |
|
|
|
> |
|
|
|
<el-select |
|
|
|
v-model="listQuery.Groupname" |
|
|
|
v-model="listQuery.GroupName" |
|
|
|
clearable |
|
|
|
placeholder="请选择" |
|
|
|
size="medium" |
|
|
@ -571,7 +571,7 @@ export default { |
|
|
|
MaxResultCount: 15, |
|
|
|
productType: 1, //1:门板;2:柱护板 |
|
|
|
ProductLine: undefined, |
|
|
|
Groupname:undefined,//仅在柱护板时候显示 |
|
|
|
GroupName:undefined,//仅在柱护板时候显示 |
|
|
|
Version: undefined, |
|
|
|
printBillNum: undefined, |
|
|
|
serialNumBegin: undefined, |
|
|
@ -610,7 +610,7 @@ export default { |
|
|
|
}, |
|
|
|
hostSNQuery: { |
|
|
|
productLine: undefined, |
|
|
|
Groupname: undefined |
|
|
|
GroupName: undefined |
|
|
|
}, |
|
|
|
hostCheckQuery: { |
|
|
|
printType: undefined, //0:打印;1:重打;2:补打; |
|
|
@ -627,7 +627,7 @@ export default { |
|
|
|
endHostSN: undefined, |
|
|
|
beginVin: undefined, |
|
|
|
endVin: undefined, |
|
|
|
Groupname: undefined, |
|
|
|
GroupName: undefined, |
|
|
|
}, |
|
|
|
vinPrintQuery: { |
|
|
|
printType: undefined, //0:打印;1:重打;2:补打; |
|
|
@ -1153,7 +1153,7 @@ export default { |
|
|
|
this.listQueryList.BillStatus = 2; //状态 |
|
|
|
this.listQueryList.ProductLine = this.listQuery.productLine; //产线 |
|
|
|
this.listQueryList.CanNotPrint = false; //不可打印 |
|
|
|
this.listQueryList.GroupNmae = this.listQuery.Groupname |
|
|
|
this.listQueryList.GroupNmae = this.listQuery.GroupName |
|
|
|
console.log("日常打印M100查询条件:" + JSON.stringify(this.listQueryList)); |
|
|
|
//this.click(); |
|
|
|
this.$axios |
|
|
@ -1216,7 +1216,7 @@ export default { |
|
|
|
{ |
|
|
|
PrintType: 1, |
|
|
|
ProductLine: this.listQuery.productLine, |
|
|
|
Groupname:this.listQuery.Groupname |
|
|
|
GroupName:this.listQuery.GroupName |
|
|
|
}, |
|
|
|
]; |
|
|
|
} |
|
|
@ -1276,7 +1276,7 @@ export default { |
|
|
|
} |
|
|
|
// 柱护板 |
|
|
|
else if(type == 2){ |
|
|
|
_name = this.productTypeList[1].name + ': ' + _productLineName + ' (' + this.listQuery.Groupname + ')' |
|
|
|
_name = this.productTypeList[1].name + ': ' + _productLineName + ' (' + this.listQuery.GroupName + ')' |
|
|
|
} |
|
|
|
return _name |
|
|
|
}, |
|
|
@ -1289,7 +1289,7 @@ export default { |
|
|
|
endHostSN: undefined, |
|
|
|
beginVin: undefined, |
|
|
|
endVin: undefined, |
|
|
|
Groupname: undefined, |
|
|
|
GroupName: undefined, |
|
|
|
}), |
|
|
|
(this.hostCheckQuery.printType = 0); |
|
|
|
this.hostPrintQuery.printType = 0; |
|
|
@ -1301,7 +1301,7 @@ export default { |
|
|
|
}); |
|
|
|
return; |
|
|
|
} |
|
|
|
if(this.listQuery.productType == '2' && (this.listQuery.Groupname === "" || this.listQuery.Groupname === undefined)){ |
|
|
|
if(this.listQuery.productType == '2' && (this.listQuery.GroupName === "" || this.listQuery.GroupName === undefined)){ |
|
|
|
this.$message({ |
|
|
|
message: "请选择生产线", |
|
|
|
type: "warning", |
|
|
@ -1312,8 +1312,8 @@ export default { |
|
|
|
(this.printNumZHB = "24"), |
|
|
|
(this.hostSNQuery.productLine = this.listQuery.productLine); |
|
|
|
this.hostPrintQuery.productLine = this.listQuery.productLine; |
|
|
|
this.hostPrintQuery.Groupname = this.listQuery.Groupname; |
|
|
|
this.hostSNQuery.Groupname = this.listQuery.Groupname |
|
|
|
this.hostPrintQuery.GroupName = this.listQuery.GroupName; |
|
|
|
this.hostSNQuery.GroupName = this.listQuery.GroupName |
|
|
|
|
|
|
|
//后端服务更改了 前端跟着更改成以下方式 |
|
|
|
if (this.listQuery.productType === 1) { |
|
|
@ -1431,7 +1431,7 @@ export default { |
|
|
|
}); |
|
|
|
return; |
|
|
|
} |
|
|
|
if(this.listQuery.productType == '2' && (this.listQuery.Groupname === "" || this.listQuery.Groupname === undefined)){ |
|
|
|
if(this.listQuery.productType == '2' && (this.listQuery.GroupName === "" || this.listQuery.GroupName === undefined)){ |
|
|
|
this.$message({ |
|
|
|
message: "请选择生产线", |
|
|
|
type: "warning", |
|
|
@ -1471,7 +1471,7 @@ export default { |
|
|
|
}); |
|
|
|
return; |
|
|
|
} |
|
|
|
if(this.listQuery.productType == '2' && (this.listQuery.Groupname === "" || this.listQuery.Groupname === undefined)){ |
|
|
|
if(this.listQuery.productType == '2' && (this.listQuery.GroupName === "" || this.listQuery.GroupName === undefined)){ |
|
|
|
this.$message({ |
|
|
|
message: "请选择生产线", |
|
|
|
type: "warning", |
|
|
@ -1836,7 +1836,7 @@ export default { |
|
|
|
return a.productLineCode - b.productLineCode; |
|
|
|
}); |
|
|
|
this.listQuery.productLine = this.PLChildList[0].productLineCode; |
|
|
|
this.listQuery.Groupname = this.listQuery.productType == '1' ? undefined : this.PLChildGroupList[0] |
|
|
|
this.listQuery.GroupName = this.listQuery.productType == '1' ? undefined : this.PLChildGroupList[0] |
|
|
|
this.changeMainTableHeight() |
|
|
|
this.valueselectChange() |
|
|
|
//变更打印按钮文字 |
|
|
|