|
|
@ -1069,6 +1069,9 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
if(this.queryParam.rqopt=='03'){ // 取消打印
|
|
|
|
if(this.queryParam.rqopt=='03'){ // 取消打印
|
|
|
|
let selectRecords = this.$refs.xGrid.getCheckboxRecords()
|
|
|
|
let selectRecords = this.$refs.xGrid.getCheckboxRecords()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(selectRecords.length>0){
|
|
|
|
if(selectRecords.length>0){
|
|
|
|
slPrintqx(selectRecords).then(res=>{
|
|
|
|
slPrintqx(selectRecords).then(res=>{
|
|
|
|
if(res.success){
|
|
|
|
if(res.success){
|
|
|
@ -1084,6 +1087,13 @@ export default {
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
let selectRecords = this.$refs.xGrid.getCheckboxRecords()
|
|
|
|
let selectRecords = this.$refs.xGrid.getCheckboxRecords()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for(let i = 0; i < selectRecords.length; i++) {
|
|
|
|
|
|
|
|
if(selectRecords[i].dcth =='' || selectRecords[i].dcth ===null){
|
|
|
|
|
|
|
|
this.$message({ message: '套料图为空', type: 'warning' })
|
|
|
|
|
|
|
|
retrun
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
if(selectRecords.length>0){
|
|
|
|
if(selectRecords.length>0){
|
|
|
|
slPrint(selectRecords).then(res=>{
|
|
|
|
slPrint(selectRecords).then(res=>{
|
|
|
|
this.sljhPrintData=res.data
|
|
|
|
this.sljhPrintData=res.data
|
|
|
|