@@ -1186,7 +1186,7 @@ export default {
this.printTableData = res.data.leaseOutVoList;
setTimeout(() => {
- this.chapter('机具检验专用章', this.checkDataInfo.leaseUnit)
+ this.chapter('检验专用章', '机具设备分公司')
}, 200);
this.openPrint = true;
this.title = "出库检验单";
@@ -1203,13 +1203,12 @@ export default {
//打开领料单
async handleLld(row) {
+ this.title = "领料单";
this.open = true;
var ids = row.id;
const res = await getApplyInfo(ids);
- console.log(res);
this.leaseApplyDetails = res.data.leaseApplyDetailsList;
this.leaseApplyData = res.data.leaseApplyInfo;
- console.log(this.leaseApplyData);
},
//出库检验单打印
@@ -1223,7 +1222,7 @@ export default {
},
//领料单打印
- print() {
+ print() {
this.$refs.remarksPrintRef.print();
},
@@ -1275,7 +1274,7 @@ export default {
},
printView() {
- // this.$refs.remarksPrintRef.print();
+ this.$refs.remarksPrintRefView.print();
},
// 关闭弹窗并刷新页面
closeDialogAndRefresh() {
@@ -1305,16 +1304,16 @@ export default {
this.create5star(context, width, height, 20, "#f00", 0);
// 绘制印章名称
- context.font = "14px 宋体";
+ context.font = "18px 宋体";
context.textBaseline = "middle"; //设置文本的垂直对齐方式
context.textAlign = "center"; //设置文本的水平对对齐方式
context.lineWidth = 1;
- context.strokeStyle = "#f00";
+ context.strokeStyle = "#ff2f2f";
context.strokeText(text, width, height + 50);
// 绘制印章单位
context.translate(width, height); // 平移到此位置,
- context.font = "14px 宋体";
+ context.font = "16px 宋体";
let count = companyName.length; // 字数
let angle = (4 * Math.PI) / (3 * (count - 1)); // 字间角度
let chars = companyName.split("");
@@ -1330,10 +1329,11 @@ export default {
context.save();
context.translate(65, 0); // 平移到此位置,此时字和x轴垂直,公司名称和最外圈的距离
context.rotate(Math.PI / 2); // 旋转90度,让字平行于x轴
+ context.strokeStyle = "#ff5050"; // 设置印章单位字体颜色为较浅的红色
context.strokeText(c, 0, 0); // 此点为字的中心点
context.restore();
}
- },
+ },
//绘制五角星
create5star(context, sx, sy, radius, color, rotato) {
diff --git a/src/views/material/repair/repairManage/component/edit.vue b/src/views/material/repair/repairManage/component/edit.vue
index 77f0238c..8a4a4aed 100644
--- a/src/views/material/repair/repairManage/component/edit.vue
+++ b/src/views/material/repair/repairManage/component/edit.vue
@@ -218,6 +218,12 @@