|
|
@ -455,7 +455,7 @@ export default { |
|
|
|
drawer: false, |
|
|
|
list: null, |
|
|
|
totalCount: 0, |
|
|
|
listLoading: true, |
|
|
|
listLoading: false, |
|
|
|
listLoaddingPrint: true, |
|
|
|
customerInfo: { |
|
|
|
bomId: "", |
|
|
@ -636,7 +636,7 @@ export default { |
|
|
|
|
|
|
|
tempsTabs.push({ |
|
|
|
label: "柱护板状态", |
|
|
|
prop: "billStatus", |
|
|
|
prop: "printbillnum", |
|
|
|
width: 120, |
|
|
|
}); |
|
|
|
|
|
|
@ -1344,10 +1344,12 @@ export default { |
|
|
|
console.log("获取文件base64编码"); |
|
|
|
console.log(response); |
|
|
|
this.formLoading = false; |
|
|
|
this.isDisable = false; |
|
|
|
this.printpdf(response); //打印我文件流 |
|
|
|
}) |
|
|
|
.catch((error) => { |
|
|
|
this.formLoading = false; |
|
|
|
this.isDisable = false; |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
@ -1389,10 +1391,12 @@ export default { |
|
|
|
console.log("获取文件base64编码"); |
|
|
|
console.log(response); |
|
|
|
this.formLoading = false; |
|
|
|
this.isDisable = false; |
|
|
|
this.printpdf(response); //打印我文件流 |
|
|
|
}) |
|
|
|
.catch((error) => { |
|
|
|
this.formLoading = false; |
|
|
|
this.isDisable = false; |
|
|
|
}); |
|
|
|
} |
|
|
|
}) |
|
|
@ -1401,6 +1405,7 @@ export default { |
|
|
|
message: response.message, |
|
|
|
type: "error", |
|
|
|
}); |
|
|
|
this.isDisable = false; |
|
|
|
return; |
|
|
|
}); |
|
|
|
} |
|
|
@ -1469,10 +1474,12 @@ export default { |
|
|
|
console.log("获取文件base64编码"); |
|
|
|
console.log(response); |
|
|
|
this.formLoading = false; |
|
|
|
this.isDisable = false; |
|
|
|
this.printpdf(response); //打印我文件流 |
|
|
|
}) |
|
|
|
.catch((error) => { |
|
|
|
this.formLoading = false; |
|
|
|
this.isDisable = false; |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
@ -1514,10 +1521,12 @@ export default { |
|
|
|
console.log("获取文件base64编码"); |
|
|
|
console.log(response); |
|
|
|
this.formLoading = false; |
|
|
|
this.isDisable = false |
|
|
|
this.printpdf(response); //打印我文件流 |
|
|
|
}) |
|
|
|
.catch((error) => { |
|
|
|
this.formLoading = false; |
|
|
|
this.isDisable = false; |
|
|
|
}); |
|
|
|
} |
|
|
|
}) |
|
|
@ -1526,6 +1535,7 @@ export default { |
|
|
|
message: response.message, |
|
|
|
type: "error", |
|
|
|
}); |
|
|
|
this.isDisable = false; |
|
|
|
return; |
|
|
|
}); |
|
|
|
} |
|
|
@ -2120,7 +2130,9 @@ export default { |
|
|
|
}, |
|
|
|
//获取所有产线 |
|
|
|
getProductLine() { |
|
|
|
|
|
|
|
this.listPLQuery.UserId = this.userInfo.userId; |
|
|
|
console.log("this.listPLQuery.UserIdthis.listPLQuery.UserIdthis.listPLQuery.UserIdthis.listPLQuery.UserIdthis.listPLQuery.UserId"+this.listPLQuery.UserId); |
|
|
|
this.$axios |
|
|
|
.gets("/api/newjit/product-line/list", this.listPLQuery) |
|
|
|
.then((response) => { |
|
|
@ -2233,6 +2245,7 @@ export default { |
|
|
|
this.doPrint("printPdf" + date); |
|
|
|
window.URL.revokeObjectURL(ifr.src); // 释放URL 对象 |
|
|
|
this.dialogFormVisible = false; |
|
|
|
this.getList(); |
|
|
|
}, |
|
|
|
httpPost(URL, PARAMS) { |
|
|
|
var temp = document.createElement("form"); |
|
|
|