|
|
@@ -221,7 +221,7 @@
|
|
|
const saveDocument = async() => {
|
|
|
datas.value = gyData.value.map((item)=>(item.gy))
|
|
|
data.value= datas.value.join(",")
|
|
|
- const saveDocumentDatas = await saveDocumentData({order:workData.value.Gd_gdbh,data:data.value,peijian:peijian.value})
|
|
|
+ const saveDocumentDatas = await saveDocumentData({order:workData.value.Gd_gdbh,data:`${data.value},`,peijian:peijian.value})
|
|
|
if (saveDocumentDatas.code === 0) {
|
|
|
getDocument()
|
|
|
}
|
|
|
@@ -308,7 +308,7 @@
|
|
|
"paperType": "A4",
|
|
|
"height": 297,
|
|
|
"width": 210,
|
|
|
- "paperHeader": 195,
|
|
|
+ "paperHeader": 192,
|
|
|
"paperFooter": 822,
|
|
|
"printElements": [
|
|
|
{
|
|
|
@@ -718,13 +718,29 @@
|
|
|
"type": "text"
|
|
|
}
|
|
|
},
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 13,
|
|
|
+ "top": 196,
|
|
|
+ "height": 9,
|
|
|
+ "width": 571,
|
|
|
+ "borderWidth": "0.75",
|
|
|
+ "draggable": false,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "横线",
|
|
|
+ "type": "hline"
|
|
|
+ }
|
|
|
+ },
|
|
|
{
|
|
|
"options": {
|
|
|
"left": 89,
|
|
|
"top": 196,
|
|
|
"height": 28,
|
|
|
"width": 203,
|
|
|
- "title": "产品名称",
|
|
|
+ "title": "文本",
|
|
|
"coordinateSync": false,
|
|
|
"widthHeightSync": false,
|
|
|
"textContentVerticalAlign": "middle",
|
|
|
@@ -866,6 +882,22 @@
|
|
|
"type": "text"
|
|
|
}
|
|
|
},
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 13,
|
|
|
+ "top": 224,
|
|
|
+ "height": 9,
|
|
|
+ "width": 571,
|
|
|
+ "borderWidth": "0.75",
|
|
|
+ "draggable": false,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "横线",
|
|
|
+ "type": "hline"
|
|
|
+ }
|
|
|
+ },
|
|
|
{
|
|
|
"options": {
|
|
|
"left": 13,
|
|
|
@@ -929,7 +961,7 @@
|
|
|
"tableSummary": ""
|
|
|
},
|
|
|
{
|
|
|
- "width": 48.82303417337862,
|
|
|
+ "width": 48.573284173378624,
|
|
|
"title": "合格品数",
|
|
|
"titleSync": false,
|
|
|
"field": "hgps",
|
|
|
@@ -943,7 +975,7 @@
|
|
|
"tableSummary": ""
|
|
|
},
|
|
|
{
|
|
|
- "width": 43.158539450283484,
|
|
|
+ "width": 43.40828945028348,
|
|
|
"title": "次品数",
|
|
|
"titleSync": false,
|
|
|
"field": "cps",
|