zck 1 month ago
parent
commit
63c9ea2eaf

+ 1 - 1
src/view/performance/12-orderAccounting/componets/detail.vue

@@ -1,7 +1,7 @@
 <template>
   <el-dialog
     :model-value="isShow"
-    title="产品工艺流程"
+    title="工单工艺流程"
     destroy-on-close
     :before-close="()=>{emits('destroy')}"
     style="width: 80vw; height: 80vh"

+ 2 - 0
src/view/performance/12-orderAccounting/componets/gdcjstj.vue

@@ -83,6 +83,7 @@ const handlePrint1 = async() => {
       'gdbh': data['Gd_gdbh'],
       'cpdh': data['成品代号'],
       'cpmc': data['成品名称'],
+      'kh':data['考核'],
       'xsddh': data['销售订单号'],
       'ddsl': `${parseFloat(data['订单数量']).toFixed(4)} 万张`,
       'sjtl': `${parseFloat(data['实际投料']).toFixed(4)} `,
@@ -151,6 +152,7 @@ const handlePrint2 = async() => {
       "minong": "/src/assets/logotx.png",
       'gdbh': data['Gd_gdbh'],
       'cpmc': data['成品名称'],
+      'kh':data['考核'],
       'sjtl': parseFloat(data['实际投料']).toFixed(2),
       'rcs': data['warehousing_num'],
       'wg': data['warehousing_date'],

File diff suppressed because it is too large
+ 6 - 1925
src/view/performance/12-orderAccounting/componets/template-bz.json


+ 1601 - 1454
src/view/performance/12-orderAccounting/componets/template-gx.json

@@ -1,5 +1,6 @@
 {
-    "panels": [{
+  "panels": [
+    {
       "index": 0,
       "name": 1,
       "paperType": "A4",
@@ -7,1460 +8,1606 @@
       "width": 297,
       "paperHeader": 118.75,
       "paperFooter": 528.75,
-      "printElements": [{
-        "options": {
-          "left": 15,
-          "top": 6,
-          "height": 40,
-          "width": 40,
-          "field": "minong",
-          "src": "https://shangbiaopic.11467.com/13/85/13855845.jpg",
-          "fit": "contain",
-          "coordinateSync": false,
-          "widthHeightSync": false
-        },
-        "printElementType": {
-          "title": "图片",
-          "type": "image"
-        }
-      }, {
-        "options": {
-          "left": 57,
-          "top": 12,
-          "height": 14,
-          "width": 180,
-          "title": "浙江翌星包装科技有限公司",
-          "coordinateSync": false,
-          "widthHeightSync": false,
-          "fontSize": 13.5,
-          "textContentVerticalAlign": "middle",
-          "qrCodeLevel": 0
-        },
-        "printElementType": {
-          "title": "文本",
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 310,
-          "top": 16,
-          "height": 15,
-          "width": 200,
-          "title": "工单工序各班组超节损统计表",
-          "fontSize": 14.5,
-          "fontWeight": "bold",
-          "textAlign": "center",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 57,
-          "top": 28.5,
-          "height": 9.75,
-          "width": 209,
-          "title": "ZHEJIANG YIXING CENTURY GROUP CO.LTD.",
-          "coordinateSync": false,
-          "widthHeightSync": false,
-          "fontSize": 7.5,
-          "textContentVerticalAlign": "middle",
-          "qrCodeLevel": 0
-        },
-        "printElementType": {
-          "title": "文本",
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 10,
-          "top": 55,
-          "height": 12,
-          "width": 55,
-          "title": "工单编号:",
-          "fontSize": 10.5,
-          "textAlign": "center",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 65,
-          "top": 55,
-          "height": 12,
-          "width": 60,
-          "field": "gdbh",
-          "fontSize": 9.75,
-          "fontWeight": "bold",
-          "textAlign": "left",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 125,
-          "top": 55,
-          "height": 12,
-          "width": 55,
-          "title": "成品代号:",
-          "fontSize": 10.5,
-          "textAlign": "center",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 180,
-          "top": 55,
-          "height": 12,
-          "width": 70,
-          "field": "cpdh",
-          "fontSize": 9.75,
-          "fontWeight": "bold",
-          "textAlign": "left",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 250,
-          "top": 55,
-          "height": 12,
-          "width": 55,
-          "title": "成品名称:",
-          "fontSize": 10.5,
-          "textAlign": "center",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 305,
-          "top": 55,
-          "height": 12,
-          "width": 400,
-          "field": "cpmc",
-          "fontSize": 9.75,
-          "fontWeight": "bold",
-          "textAlign": "left",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 10,
-          "top": 70,
-          "height": 24,
-          "width": 66,
-          "title": "销售订单号",
-          "fontSize": 10.5,
-          "textAlign": "center",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 11.5,
-          "top": 70,
-          "height": 478.75,
-          "width": 792,
-          "borderWidth": "1.5"
-        },
-        "printElementType": {
-          "type": "rect"
-        }
-      }, {
-        "options": {
-          "left": 76,
-          "top": 70,
-          "height": 24,
-          "width": 9
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 76,
-          "top": 70,
-          "height": 24,
-          "width": 83,
-          "field": "xsddh",
-          "fontSize": 9.75,
-          "contentPaddingLeft": 5,
-          "textContentWrap": "clip",
-          "textAlign": "left",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 159,
-          "top": 70,
-          "height": 24,
-          "width": 9
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 159,
-          "top": 70,
-          "height": 24,
-          "width": 52,
-          "title": "订单数量",
-          "fontSize": 10.5,
-          "textAlign": "center",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 211,
-          "top": 70,
-          "height": 24,
-          "width": 86,
-          "field": "ddsl",
-          "color": "#ff0000",
-          "fontSize": 9.75,
-          "contentPaddingLeft": 5,
-          "textAlign": "left",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 211,
-          "top": 70,
-          "height": 24,
-          "width": 9
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 297,
-          "top": 70,
-          "height": 24,
-          "width": 9
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 297,
-          "top": 70,
-          "height": 24,
-          "width": 54,
-          "title": "实际投料",
-          "fontSize": 10.5,
-          "textAlign": "center",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 351,
-          "top": 70,
-          "height": 24,
-          "width": 138,
-          "field": "sjtl",
-          "color": "#ff0000",
-          "fontSize": 9.75,
-          "contentPaddingLeft": 5,
-          "textAlign": "left",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 351,
-          "top": 70,
-          "height": 24,
-          "width": 9
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 489,
-          "top": 70,
-          "height": 24,
-          "width": 53,
-          "title": "入仓日期",
-          "fontSize": 10.5,
-          "textAlign": "center",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 489,
-          "top": 70,
-          "height": 24,
-          "width": 9
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 542,
-          "top": 70,
-          "height": 24,
-          "width": 70,
-          "field": "rcrq",
-          "fontSize": 9.75,
-          "contentPaddingLeft": 5,
-          "textAlign": "left",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 542,
-          "top": 70,
-          "height": 24,
-          "width": 9
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 612,
-          "top": 70,
-          "height": 24,
-          "width": 53,
-          "title": "入仓合计",
-          "fontSize": 10.5,
-          "textAlign": "center",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 612,
-          "top": 70,
-          "height": 24,
-          "width": 9
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 666,
-          "top": 70,
-          "height": 24,
-          "width": 120,
-          "field": "rchj",
-          "fontSize": 9,
-          "fontWeight": "bold",
-          "color": "#ff0000",
-          "contentPaddingLeft": 5,
-          "textAlign": "left",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 666,
-          "top": 70,
-          "height": 24,
-          "width": 9
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 10,
-          "top": 94,
-          "height": 24,
-          "width": 33,
-          "title": "材料废",
-          "fontSize": 10.5,
-          "textAlign": "center",
-          "textContentVerticalAlign": "middle",
-          "coordinateSync": false,
-          "widthHeightSync": false,
-          "qrCodeLevel": 0
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 10,
-          "top": 94,
-          "height": 9,
-          "width": 792,
-          "borderWidth": 0.75
-        },
-        "printElementType": {
-          "type": "hline"
-        }
-      }, {
-        "options": {
-          "left": 79,
-          "top": 94,
-          "height": 24,
-          "width": 9
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 79,
-          "top": 94,
-          "height": 24,
-          "width": 33,
-          "title": "外发废",
-          "fontSize": 10.5,
-          "textAlign": "center",
-          "textContentVerticalAlign": "middle",
-          "coordinateSync": false,
-          "widthHeightSync": false,
-          "qrCodeLevel": 0
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 112.5,
-          "top": 94,
-          "height": 24,
-          "width": 9,
-          "coordinateSync": false,
-          "widthHeightSync": false
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 149.5,
-          "top": 94,
-          "height": 24,
-          "width": 9
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 175.5,
-          "top": 94,
-          "height": 24,
-          "width": 9
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 583,
-          "top": 94,
-          "height": 24,
-          "width": 9,
-          "coordinateSync": false,
-          "widthHeightSync": false
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 741,
-          "top": 94,
-          "height": 24,
-          "width": 62,
-          "field": "sjhgl",
-          "fontSize": 9,
-          "fontWeight": "bold",
-          "color": "#ff0000",
-          "contentPaddingLeft": 3,
-          "textContentVerticalAlign": "middle",
-          "coordinateSync": false,
-          "widthHeightSync": false,
-          "qrCodeLevel": 0
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 42,
-          "top": 94.5,
-          "height": 24,
-          "width": 39,
-          "field": "clf",
-          "fontSize": 9,
-          "fontWeight": "bold",
-          "color": "#ff0000",
-          "contentPaddingLeft": 3,
-          "textContentVerticalAlign": "middle",
-          "title": "9999999",
-          "coordinateSync": false,
-          "widthHeightSync": false,
-          "hideTitle": true,
-          "qrCodeLevel": 0
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 42,
-          "top": 94.5,
-          "height": 24,
-          "width": 9,
-          "coordinateSync": false,
-          "widthHeightSync": false
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 112.5,
-          "top": 94.5,
-          "height": 24,
-          "width": 39,
-          "field": "wff",
-          "fontSize": 9,
-          "fontWeight": "bold",
-          "color": "#ff0000",
-          "contentPaddingLeft": 3,
-          "textContentVerticalAlign": "middle",
-          "coordinateSync": false,
-          "widthHeightSync": false,
-          "qrCodeLevel": 0
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 150.5,
-          "top": 94.5,
-          "height": 24,
-          "width": 24,
-          "title": "零头",
-          "fontSize": 10.5,
-          "textAlign": "center",
-          "textContentVerticalAlign": "middle",
-          "coordinateSync": false,
-          "widthHeightSync": false,
-          "qrCodeLevel": 0
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 177.5,
-          "top": 94.5,
-          "height": 24,
-          "width": 39,
-          "field": "ltcl",
-          "fontSize": 9,
-          "fontWeight": "bold",
-          "color": "#ff0000",
-          "contentPaddingLeft": 3,
-          "textContentVerticalAlign": "middle",
-          "coordinateSync": false,
-          "widthHeightSync": false,
-          "qrCodeLevel": 0
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 214.5,
-          "top": 94.5,
-          "height": 24,
-          "width": 9
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 214.5,
-          "top": 94.5,
-          "height": 24,
-          "width": 39,
-          "title": "机检废",
-          "fontSize": 10.5,
-          "textAlign": "center",
-          "textContentVerticalAlign": "middle",
-          "coordinateSync": false,
-          "widthHeightSync": false,
-          "qrCodeLevel": 0
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 253.5,
-          "top": 94.5,
-          "height": 24,
-          "width": 9
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 256.5,
-          "top": 94.5,
-          "height": 24,
-          "width": 53,
-          "field": "jjf",
-          "fontSize": 9,
-          "fontWeight": "bold",
-          "color": "#ff0000",
-          "contentPaddingLeft": 3,
-          "textContentVerticalAlign": "middle",
-          "coordinateSync": false,
-          "widthHeightSync": false,
-          "qrCodeLevel": 0
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 309,
-          "top": 94.5,
-          "height": 24,
-          "width": 9
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 310.5,
-          "top": 94.5,
-          "height": 24,
-          "width": 39,
-          "title": "制程废",
-          "fontSize": 10.5,
-          "textAlign": "center",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 353.5,
-          "top": 94.5,
-          "height": 24,
-          "width": 9,
-          "coordinateSync": false,
-          "widthHeightSync": false
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 360,
-          "top": 94.5,
-          "height": 24,
-          "width": 53,
-          "field": "zcf",
-          "fontSize": 9,
-          "fontWeight": "bold",
-          "color": "#ff0000",
-          "contentPaddingLeft": 3,
-          "textContentVerticalAlign": "middle",
-          "coordinateSync": false,
-          "widthHeightSync": false,
-          "qrCodeLevel": 0
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 413,
-          "top": 94.5,
-          "height": 24,
-          "width": 9,
-          "coordinateSync": false,
-          "widthHeightSync": false
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 414,
-          "top": 94.5,
-          "height": 24,
-          "width": 33,
-          "title": "检验废",
-          "fontSize": 10.5,
-          "textAlign": "center",
-          "textContentVerticalAlign": "middle",
-          "coordinateSync": false,
-          "widthHeightSync": false,
-          "qrCodeLevel": 0
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 445,
-          "top": 94.5,
-          "height": 24,
-          "width": 9,
-          "coordinateSync": false,
-          "widthHeightSync": false
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 446,
-          "top": 94.5,
-          "height": 24,
-          "width": 54,
-          "field": "zjf",
-          "fontSize": 9,
-          "fontWeight": "bold",
-          "color": "#ff0000",
-          "contentPaddingLeft": 3,
-          "textContentVerticalAlign": "middle",
-          "coordinateSync": false,
-          "widthHeightSync": false,
-          "qrCodeLevel": 0
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 500,
-          "top": 94.5,
-          "height": 24,
-          "width": 9,
-          "coordinateSync": false,
-          "widthHeightSync": false
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 501,
-          "top": 94.5,
-          "height": 24,
-          "width": 33,
-          "title": "无形损",
-          "fontSize": 10.5,
-          "textAlign": "center",
-          "textContentVerticalAlign": "middle",
-          "coordinateSync": false,
-          "widthHeightSync": false,
-          "qrCodeLevel": 0
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 532,
-          "top": 94.5,
-          "height": 24,
-          "width": 9,
-          "coordinateSync": false,
-          "widthHeightSync": false
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 534,
-          "top": 94.5,
-          "height": 24,
-          "width": 51,
-          "field": "wxs",
-          "fontSize": 9,
-          "fontWeight": "bold",
-          "color": "#ff0000",
-          "contentPaddingLeft": 3,
-          "textContentVerticalAlign": "middle",
-          "coordinateSync": false,
-          "widthHeightSync": false,
-          "qrCodeLevel": 0
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 583,
-          "top": 94.5,
-          "height": 24,
-          "width": 54,
-          "title": "目标合格率",
-          "fontSize": 10.5,
-          "textAlign": "center",
-          "textContentVerticalAlign": "middle",
-          "coordinateSync": false,
-          "widthHeightSync": false,
-          "qrCodeLevel": 0
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 635,
-          "top": 94.5,
-          "height": 24,
-          "width": 9,
-          "coordinateSync": false,
-          "widthHeightSync": false
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 636,
-          "top": 94.5,
-          "height": 24,
-          "width": 53,
-          "field": "mbhgl",
-          "fontSize": 9,
-          "fontWeight": "bold",
-          "color": "#ff0000",
-          "contentPaddingLeft": 3,
-          "textContentVerticalAlign": "middle",
-          "coordinateSync": false,
-          "widthHeightSync": false,
-          "qrCodeLevel": 0
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 687,
-          "top": 94.5,
-          "height": 24,
-          "width": 56,
-          "title": "实际合格率",
-          "fontSize": 10.5,
-          "textAlign": "center",
-          "textContentVerticalAlign": "middle",
-          "coordinateSync": false,
-          "widthHeightSync": false,
-          "qrCodeLevel": 0
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 688,
-          "top": 94.5,
-          "height": 24,
-          "width": 9,
-          "coordinateSync": false,
-          "widthHeightSync": false
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 741,
-          "top": 94.5,
-          "height": 24,
-          "width": 9,
-          "coordinateSync": false,
-          "widthHeightSync": false
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 10,
-          "top": 118,
-          "height": 9,
-          "width": 792,
-          "borderWidth": "1.5"
-        },
-        "printElementType": {
-          "type": "hline"
-        }
-      }, {
-        "options": {
-          "left": 169.25,
-          "top": 118,
-          "height": 430,
-          "width": 9,
-          "borderWidth": "1.5"
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 217,
-          "top": 118,
-          "height": 411,
-          "width": 9
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 262,
-          "top": 118,
-          "height": 430,
-          "width": 9,
-          "borderWidth": "1.5"
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 312,
-          "top": 118,
-          "height": 430,
-          "width": 9,
-          "borderWidth": "1.5"
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 353.25,
-          "top": 118,
-          "height": 430,
-          "width": 9,
-          "borderWidth": "1.5"
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 397.25,
-          "top": 118,
-          "height": 430,
-          "width": 9,
-          "borderWidth": "1.5"
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 445.25,
-          "top": 118,
-          "height": 430,
-          "width": 9,
-          "borderWidth": "1.5"
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 493,
-          "top": 118,
-          "height": 430,
-          "width": 9
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 535,
-          "top": 118,
-          "height": 430,
-          "width": 9,
-          "borderWidth": "1.5"
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 586,
-          "top": 118,
-          "height": 411,
-          "width": 9
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 635.25,
-          "top": 118,
-          "height": 411,
-          "width": 9,
-          "borderWidth": "1.5"
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 681.25,
-          "top": 118,
-          "height": 411,
-          "width": 9,
-          "borderWidth": "1.5"
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 732.25,
-          "top": 118,
-          "height": 430,
-          "width": 9
-        },
-        "printElementType": {
-          "type": "vline"
-        }
-      }, {
-        "options": {
-          "left": 10,
-          "top": 118.75,
-          "height": 410,
-          "width": 792,
-          "field": "table",
-          "tableHeaderBackground": "#ffffff",
-          "fontSize": 8,
-          "lineHeight": 12,
-          "tableHeaderRowHeight": 30,
-          "tableHeaderFontSize": 9,
-          "tableBodyRowHeight": 20,
-          "columns": [
-            [{
-              "width": 160,
-              "title": "印件及工序名称",
-              "field": "gxmc",
-              "checked": true,
-              "columnId": "gxmc",
-              "fixed": false,
-              "rowspan": 1,
-              "colspan": 1,
-              "halign": "center"
-            }, {
-              "width": 47,
-              "title": "工序计划产量",
-              "field": "jhcl",
-              "checked": true,
-              "columnId": "jhcl",
-              "fixed": false,
-              "rowspan": 1,
-              "colspan": 1,
-              "align": "right",
-              "halign": "center"
-            }, {
-              "width": 45,
-              "title": "工序计划损耗",
-              "field": "jhsh",
-              "checked": true,
-              "columnId": "jhsh",
-              "fixed": false,
-              "rowspan": 1,
-              "colspan": 1,
-              "align": "right",
-              "halign": "center"
-            }, {
-              "width": 50,
-              "title": "制程废",
-              "field": "zcf",
-              "checked": true,
-              "columnId": "zcf",
-              "fixed": false,
-              "rowspan": 1,
-              "colspan": 1,
-              "align": "right",
-              "halign": "center"
-            }, {
-              "width": 42,
-              "title": "质检废",
-              "field": "zjf",
-              "checked": true,
-              "columnId": "zjf",
-              "fixed": false,
-              "rowspan": 1,
-              "colspan": 1,
-              "align": "right",
-              "halign": "center"
-            }, {
-              "width": 44,
-              "title": "无形损",
-              "field": "wxs",
-              "checked": true,
-              "columnId": "wxs",
-              "fixed": false,
-              "rowspan": 1,
-              "colspan": 1,
-              "align": "right",
-              "halign": "center"
-            }, {
-              "width": 48,
-              "title": "报废合计",
-              "field": "bfhj",
-              "checked": true,
-              "columnId": "bfhj",
-              "fixed": false,
-              "rowspan": 1,
-              "colspan": 1,
-              "align": "right",
-              "halign": "center",
-              "styler2": "function(value,row,index,options){ return {color:'red'}; }",
-              "stylerHeader": "function(options){ return {color:'red' }; }"
-            }, {
-              "width": 47,
-              "title": "工序节损数",
-              "field": "jss",
-              "checked": true,
-              "columnId": "jss",
-              "fixed": false,
-              "rowspan": 1,
-              "colspan": 1,
-              "align": "right",
-              "halign": "center"
-            }, {
-              "width": 42,
-              "title": "工序节损",
-              "field": "tlbfl",
-              "checked": true,
-              "columnId": "tlbfl",
-              "fixed": false,
-              "rowspan": 1,
-              "colspan": 1,
-              "align": "right",
-              "halign": "center"
-            }, {
-              "width": 51,
-              "title": "工序目标报废率",
-              "field": "mbbfl",
-              "checked": true,
-              "columnId": "mbbfl",
-              "fixed": false,
-              "rowspan": 1,
-              "colspan": 1,
-              "align": "right",
-              "halign": "center"
-            }, {
-              "width": 50,
-              "title": "工序实际报废率",
-              "field": "sjbfl",
-              "checked": true,
-              "columnId": "sjbfl",
-              "fixed": false,
-              "rowspan": 1,
-              "colspan": 1,
-              "align": "right",
-              "halign": "center"
-            }, {
-              "width": 46,
-              "title": "超节损承担比例",
-              "field": "cdbl",
-              "checked": true,
-              "columnId": "cdbl",
-              "fixed": false,
-              "rowspan": 1,
-              "colspan": 1,
-              "align": "right",
-              "halign": "center"
-            }, {
-              "width": 51,
-              "title": "工序超节损金额",
-              "field": "gxcjsje",
-              "checked": true,
-              "columnId": "gxcjsje",
-              "fixed": false,
-              "rowspan": 1,
-              "colspan": 1,
-              "align": "right",
-              "halign": "center",
-              "styler2": "function(value,row,index,options){ return {color:'red' }; }",
-              "stylerHeader": "function(options){ return {color:'red' }; }"
-            }, {
-              "width": 69,
-              "title": "主管确认",
-              "checked": true,
-              "fixed": false,
-              "rowspan": 1,
-              "colspan": 1,
-              "halign": "center"
-            }]
-          ]
-        },
-        "printElementType": {
-          "title": "表格",
-          "type": "table",
-          "editable": true,
-          "columnDisplayEditable": true,
-          "columnDisplayIndexEditable": true,
-          "columnTitleEditable": true,
-          "columnResizable": true,
-          "columnAlignEditable": true,
-          "isEnableEditField": true,
-          "isEnableContextMenu": true,
-          "isEnableInsertRow": true,
-          "isEnableDeleteRow": true,
-          "isEnableInsertColumn": true,
-          "isEnableDeleteColumn": true,
-          "isEnableMergeCell": true
-        }
-      }, {
-        "options": {
-          "left": 10,
-          "top": 528.75,
-          "height": 20,
-          "width": 160,
-          "title": "合计",
-          "fontSize": 9.75,
-          "contentPaddingRight": 15,
-          "textAlign": "right",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 10,
-          "top": 528.75,
-          "height": 9,
-          "width": 792,
-          "borderWidth": 0.75
-        },
-        "printElementType": {
-          "type": "hline"
-        }
-      }, {
-        "options": {
-          "left": 170,
-          "top": 528.75,
-          "height": 20,
-          "width": 92,
-          "field": "total1",
-          "fontSize": 8,
-          "color": "#ff0000",
-          "contentPaddingRight": 5,
-          "textAlign": "right",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 262,
-          "top": 528.75,
-          "height": 20,
-          "width": 50,
-          "field": "total2",
-          "fontSize": 8,
-          "color": "#ff0000",
-          "contentPaddingRight": 5,
-          "textAlign": "right",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 312,
-          "top": 528.75,
-          "height": 20,
-          "width": 42,
-          "field": "total3",
-          "fontSize": 8,
-          "color": "#ff0000",
-          "contentPaddingRight": 5,
-          "textAlign": "right",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 354,
-          "top": 528.75,
-          "height": 20,
-          "width": 44,
-          "field": "total4",
-          "fontSize": 8,
-          "contentPaddingRight": 5,
-          "textAlign": "right",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 398,
-          "top": 528.75,
-          "height": 20,
-          "width": 48,
-          "field": "total5",
-          "fontSize": 8,
-          "color": "#ff0000",
-          "contentPaddingRight": 5,
-          "textAlign": "right",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 446,
-          "top": 528.75,
-          "height": 20,
-          "width": 47,
-          "field": "total6",
-          "fontSize": 8,
-          "contentPaddingRight": 5,
-          "textAlign": "right",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 535,
-          "top": 528.75,
-          "height": 20,
-          "width": 198,
-          "field": "total7",
-          "fontSize": 8,
-          "color": "#ff0000",
-          "contentPaddingRight": 5,
-          "textAlign": "right",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 30,
-          "top": 560,
-          "height": 12,
-          "width": 50,
-          "title": "会签:",
-          "fontSize": 10.5,
-          "textAlign": "left",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 320,
-          "top": 560,
-          "height": 12,
-          "width": 50,
-          "title": "复核:",
-          "fontSize": 10.5,
-          "textAlign": "left",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }, {
-        "options": {
-          "left": 610,
-          "top": 560,
-          "height": 12,
-          "width": 50,
-          "title": "审批:",
-          "fontSize": 10.5,
-          "textAlign": "left",
-          "textContentVerticalAlign": "middle"
-        },
-        "printElementType": {
-          "type": "text"
-        }
-      }],
-      "paperNumberLeft": 822,
-      "paperNumberTop": 501,
+      "orient": 2,
       "paperNumberDisabled": true,
       "paperNumberContinue": true,
       "backgroundColor": "#f1ebff",
-      "rotate": true,
-      "orient": 2,
+      "expandCss": "",
       "overPrintOptions": {},
-      "watermarkOptions": {}
-    }]
-  }
+      "watermarkOptions": {
+        "content": "sv-print",
+        "fillStyle": "rgba(87, 13, 248, 0.5)",
+        "fontSize": "36px",
+        "rotate": 25,
+        "width": 413,
+        "height": 310,
+        "timestamp": true,
+        "format": "YYYY-MM-DD HH:mm"
+      },
+      "panelLayoutOptions": {},
+      "printElements": [
+        {
+          "options": {
+            "left": 15,
+            "top": 6,
+            "height": 40,
+            "width": 40,
+            "field": "minong",
+            "src": "https://shangbiaopic.11467.com/13/85/13855845.jpg",
+            "fit": "contain",
+            "coordinateSync": false,
+            "widthHeightSync": false
+          },
+          "printElementType": {
+            "title": "图片",
+            "type": "image"
+          }
+        },
+        {
+          "options": {
+            "left": 57,
+            "top": 12,
+            "height": 14,
+            "width": 180,
+            "title": "浙江翌星包装科技有限公司",
+            "coordinateSync": false,
+            "widthHeightSync": false,
+            "fontSize": 13.5,
+            "textContentVerticalAlign": "middle",
+            "qrCodeLevel": 0
+          },
+          "printElementType": {
+            "title": "文本",
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 586.5,
+            "top": 15,
+            "height": 50,
+            "width": 200,
+            "title": "不参与考核",
+            "field": "kh",
+            "coordinateSync": false,
+            "widthHeightSync": false,
+            "fontSize": 30,
+            "qrCodeLevel": 0,
+            "color": "#ff0000",
+            "backgroundColor": "#f0f009",
+            "textAlign": "center",
+            "textContentVerticalAlign": "middle",
+            "hideTitle": true
+          },
+          "printElementType": {
+            "title": "文本",
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 310,
+            "top": 16,
+            "height": 15,
+            "width": 200,
+            "title": "工单工序各班组超节损统计表",
+            "fontSize": 14.5,
+            "fontWeight": "bold",
+            "textAlign": "center",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 57,
+            "top": 28.5,
+            "height": 9.75,
+            "width": 209,
+            "title": "ZHEJIANG YIXING CENTURY GROUP CO.LTD.",
+            "coordinateSync": false,
+            "widthHeightSync": false,
+            "fontSize": 7.5,
+            "textContentVerticalAlign": "middle",
+            "qrCodeLevel": 0
+          },
+          "printElementType": {
+            "title": "文本",
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 10,
+            "top": 55,
+            "height": 12,
+            "width": 55,
+            "title": "工单编号:",
+            "fontSize": 10.5,
+            "textAlign": "center",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 65,
+            "top": 55,
+            "height": 12,
+            "width": 60,
+            "field": "gdbh",
+            "fontSize": 9.75,
+            "fontWeight": "bold",
+            "textContentVerticalAlign": "middle",
+            "coordinateSync": false,
+            "widthHeightSync": false,
+            "qrCodeLevel": 0
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 125,
+            "top": 55,
+            "height": 12,
+            "width": 55,
+            "title": "成品代号:",
+            "fontSize": 10.5,
+            "textAlign": "center",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 180,
+            "top": 55,
+            "height": 12,
+            "width": 70,
+            "field": "cpdh",
+            "fontSize": 9.75,
+            "fontWeight": "bold",
+            "textAlign": "left",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 250,
+            "top": 55,
+            "height": 12,
+            "width": 55,
+            "title": "成品名称:",
+            "fontSize": 10.5,
+            "textAlign": "center",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 305,
+            "top": 55,
+            "height": 12,
+            "width": 400,
+            "field": "cpmc",
+            "fontSize": 9.75,
+            "fontWeight": "bold",
+            "textAlign": "left",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 10,
+            "top": 70,
+            "height": 24,
+            "width": 66,
+            "title": "销售订单号",
+            "fontSize": 10.5,
+            "textAlign": "center",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 11.5,
+            "top": 70,
+            "height": 478.75,
+            "width": 792,
+            "borderWidth": "1.5"
+          },
+          "printElementType": {
+            "type": "rect"
+          }
+        },
+        {
+          "options": {
+            "left": 76,
+            "top": 70,
+            "height": 24,
+            "width": 83,
+            "field": "xsddh",
+            "fontSize": 9.75,
+            "contentPaddingLeft": 5,
+            "textContentWrap": "clip",
+            "textAlign": "left",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 76,
+            "top": 70,
+            "height": 24,
+            "width": 9
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 159,
+            "top": 70,
+            "height": 24,
+            "width": 9
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 159,
+            "top": 70,
+            "height": 24,
+            "width": 52,
+            "title": "订单数量",
+            "fontSize": 10.5,
+            "textAlign": "center",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 211,
+            "top": 70,
+            "height": 24,
+            "width": 86,
+            "field": "ddsl",
+            "color": "#ff0000",
+            "fontSize": 9.75,
+            "contentPaddingLeft": 5,
+            "textAlign": "left",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 211,
+            "top": 70,
+            "height": 24,
+            "width": 9
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 297,
+            "top": 70,
+            "height": 24,
+            "width": 9
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 297,
+            "top": 70,
+            "height": 24,
+            "width": 54,
+            "title": "实际投料",
+            "fontSize": 10.5,
+            "textAlign": "center",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 351,
+            "top": 70,
+            "height": 24,
+            "width": 138,
+            "field": "sjtl",
+            "color": "#ff0000",
+            "fontSize": 9.75,
+            "contentPaddingLeft": 5,
+            "textAlign": "left",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 351,
+            "top": 70,
+            "height": 24,
+            "width": 9
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 489,
+            "top": 70,
+            "height": 24,
+            "width": 53,
+            "title": "入仓日期",
+            "fontSize": 10.5,
+            "textAlign": "center",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 489,
+            "top": 70,
+            "height": 24,
+            "width": 9
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 542,
+            "top": 70,
+            "height": 24,
+            "width": 70,
+            "field": "rcrq",
+            "fontSize": 9.75,
+            "contentPaddingLeft": 5,
+            "textAlign": "left",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 542,
+            "top": 70,
+            "height": 24,
+            "width": 9
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 612,
+            "top": 70,
+            "height": 24,
+            "width": 53,
+            "title": "入仓合计",
+            "fontSize": 10.5,
+            "textAlign": "center",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 612,
+            "top": 70,
+            "height": 24,
+            "width": 9
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 666,
+            "top": 70,
+            "height": 24,
+            "width": 120,
+            "field": "rchj",
+            "fontSize": 9,
+            "fontWeight": "bold",
+            "color": "#ff0000",
+            "contentPaddingLeft": 5,
+            "textAlign": "left",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 666,
+            "top": 70,
+            "height": 24,
+            "width": 9
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 10,
+            "top": 94,
+            "height": 9,
+            "width": 792,
+            "borderWidth": 0.75
+          },
+          "printElementType": {
+            "type": "hline"
+          }
+        },
+        {
+          "options": {
+            "left": 10,
+            "top": 94,
+            "height": 24,
+            "width": 33,
+            "title": "材料废",
+            "fontSize": 10.5,
+            "textAlign": "center",
+            "textContentVerticalAlign": "middle",
+            "coordinateSync": false,
+            "widthHeightSync": false,
+            "qrCodeLevel": 0
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 79,
+            "top": 94,
+            "height": 24,
+            "width": 33,
+            "title": "外发废",
+            "fontSize": 10.5,
+            "textAlign": "center",
+            "textContentVerticalAlign": "middle",
+            "coordinateSync": false,
+            "widthHeightSync": false,
+            "qrCodeLevel": 0
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 79,
+            "top": 94,
+            "height": 24,
+            "width": 9
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 112.5,
+            "top": 94,
+            "height": 24,
+            "width": 9,
+            "coordinateSync": false,
+            "widthHeightSync": false
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 149.5,
+            "top": 94,
+            "height": 24,
+            "width": 9
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 175.5,
+            "top": 94,
+            "height": 24,
+            "width": 9
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 583,
+            "top": 94,
+            "height": 24,
+            "width": 9,
+            "coordinateSync": false,
+            "widthHeightSync": false
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 741,
+            "top": 94,
+            "height": 24,
+            "width": 62,
+            "field": "sjhgl",
+            "fontSize": 9,
+            "fontWeight": "bold",
+            "color": "#ff0000",
+            "contentPaddingLeft": 3,
+            "textContentVerticalAlign": "middle",
+            "coordinateSync": false,
+            "widthHeightSync": false,
+            "qrCodeLevel": 0
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 42,
+            "top": 94.5,
+            "height": 24,
+            "width": 39,
+            "field": "clf",
+            "fontSize": 9,
+            "fontWeight": "bold",
+            "color": "#ff0000",
+            "contentPaddingLeft": 3,
+            "textContentVerticalAlign": "middle",
+            "title": "9999999",
+            "coordinateSync": false,
+            "widthHeightSync": false,
+            "hideTitle": true,
+            "qrCodeLevel": 0
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 42,
+            "top": 94.5,
+            "height": 24,
+            "width": 9,
+            "coordinateSync": false,
+            "widthHeightSync": false
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 112.5,
+            "top": 94.5,
+            "height": 24,
+            "width": 39,
+            "field": "wff",
+            "fontSize": 9,
+            "fontWeight": "bold",
+            "color": "#ff0000",
+            "contentPaddingLeft": 3,
+            "textContentVerticalAlign": "middle",
+            "coordinateSync": false,
+            "widthHeightSync": false,
+            "qrCodeLevel": 0
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 150.5,
+            "top": 94.5,
+            "height": 24,
+            "width": 24,
+            "title": "零头",
+            "fontSize": 10.5,
+            "textAlign": "center",
+            "textContentVerticalAlign": "middle",
+            "coordinateSync": false,
+            "widthHeightSync": false,
+            "qrCodeLevel": 0
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 177.5,
+            "top": 94.5,
+            "height": 24,
+            "width": 39,
+            "field": "ltcl",
+            "fontSize": 9,
+            "fontWeight": "bold",
+            "color": "#ff0000",
+            "contentPaddingLeft": 3,
+            "textContentVerticalAlign": "middle",
+            "coordinateSync": false,
+            "widthHeightSync": false,
+            "qrCodeLevel": 0
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 214.5,
+            "top": 94.5,
+            "height": 24,
+            "width": 9
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 214.5,
+            "top": 94.5,
+            "height": 24,
+            "width": 39,
+            "title": "机检废",
+            "fontSize": 10.5,
+            "textAlign": "center",
+            "textContentVerticalAlign": "middle",
+            "coordinateSync": false,
+            "widthHeightSync": false,
+            "qrCodeLevel": 0
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 253.5,
+            "top": 94.5,
+            "height": 24,
+            "width": 9
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 256.5,
+            "top": 94.5,
+            "height": 24,
+            "width": 53,
+            "field": "jjf",
+            "fontSize": 9,
+            "fontWeight": "bold",
+            "color": "#ff0000",
+            "contentPaddingLeft": 3,
+            "textContentVerticalAlign": "middle",
+            "coordinateSync": false,
+            "widthHeightSync": false,
+            "qrCodeLevel": 0
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 309,
+            "top": 94.5,
+            "height": 24,
+            "width": 9
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 310.5,
+            "top": 94.5,
+            "height": 24,
+            "width": 39,
+            "title": "制程废",
+            "fontSize": 10.5,
+            "textAlign": "center",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 353.5,
+            "top": 94.5,
+            "height": 24,
+            "width": 9,
+            "coordinateSync": false,
+            "widthHeightSync": false
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 360,
+            "top": 94.5,
+            "height": 24,
+            "width": 53,
+            "field": "zcf",
+            "fontSize": 9,
+            "fontWeight": "bold",
+            "color": "#ff0000",
+            "contentPaddingLeft": 3,
+            "textContentVerticalAlign": "middle",
+            "coordinateSync": false,
+            "widthHeightSync": false,
+            "qrCodeLevel": 0
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 413,
+            "top": 94.5,
+            "height": 24,
+            "width": 9,
+            "coordinateSync": false,
+            "widthHeightSync": false
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 414,
+            "top": 94.5,
+            "height": 24,
+            "width": 33,
+            "title": "检验废",
+            "fontSize": 10.5,
+            "textAlign": "center",
+            "textContentVerticalAlign": "middle",
+            "coordinateSync": false,
+            "widthHeightSync": false,
+            "qrCodeLevel": 0
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 445,
+            "top": 94.5,
+            "height": 24,
+            "width": 9,
+            "coordinateSync": false,
+            "widthHeightSync": false
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 446,
+            "top": 94.5,
+            "height": 24,
+            "width": 54,
+            "field": "zjf",
+            "fontSize": 9,
+            "fontWeight": "bold",
+            "color": "#ff0000",
+            "contentPaddingLeft": 3,
+            "textContentVerticalAlign": "middle",
+            "coordinateSync": false,
+            "widthHeightSync": false,
+            "qrCodeLevel": 0
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 500,
+            "top": 94.5,
+            "height": 24,
+            "width": 9,
+            "coordinateSync": false,
+            "widthHeightSync": false
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 501,
+            "top": 94.5,
+            "height": 24,
+            "width": 33,
+            "title": "无形损",
+            "fontSize": 10.5,
+            "textAlign": "center",
+            "textContentVerticalAlign": "middle",
+            "coordinateSync": false,
+            "widthHeightSync": false,
+            "qrCodeLevel": 0
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 532,
+            "top": 94.5,
+            "height": 24,
+            "width": 9,
+            "coordinateSync": false,
+            "widthHeightSync": false
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 534,
+            "top": 94.5,
+            "height": 24,
+            "width": 51,
+            "field": "wxs",
+            "fontSize": 9,
+            "fontWeight": "bold",
+            "color": "#ff0000",
+            "contentPaddingLeft": 3,
+            "textContentVerticalAlign": "middle",
+            "coordinateSync": false,
+            "widthHeightSync": false,
+            "qrCodeLevel": 0
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 583,
+            "top": 94.5,
+            "height": 24,
+            "width": 54,
+            "title": "目标合格率",
+            "fontSize": 10.5,
+            "textAlign": "center",
+            "textContentVerticalAlign": "middle",
+            "coordinateSync": false,
+            "widthHeightSync": false,
+            "qrCodeLevel": 0
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 635,
+            "top": 94.5,
+            "height": 24,
+            "width": 9,
+            "coordinateSync": false,
+            "widthHeightSync": false
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 636,
+            "top": 94.5,
+            "height": 24,
+            "width": 53,
+            "field": "mbhgl",
+            "fontSize": 9,
+            "fontWeight": "bold",
+            "color": "#ff0000",
+            "contentPaddingLeft": 3,
+            "textContentVerticalAlign": "middle",
+            "coordinateSync": false,
+            "widthHeightSync": false,
+            "qrCodeLevel": 0
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 687,
+            "top": 94.5,
+            "height": 24,
+            "width": 56,
+            "title": "实际合格率",
+            "fontSize": 10.5,
+            "textAlign": "center",
+            "textContentVerticalAlign": "middle",
+            "coordinateSync": false,
+            "widthHeightSync": false,
+            "qrCodeLevel": 0
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 688,
+            "top": 94.5,
+            "height": 24,
+            "width": 9,
+            "coordinateSync": false,
+            "widthHeightSync": false
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 741,
+            "top": 94.5,
+            "height": 24,
+            "width": 9,
+            "coordinateSync": false,
+            "widthHeightSync": false
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 10,
+            "top": 118,
+            "height": 9,
+            "width": 792,
+            "borderWidth": "1.5"
+          },
+          "printElementType": {
+            "type": "hline"
+          }
+        },
+        {
+          "options": {
+            "left": 169.25,
+            "top": 118,
+            "height": 430,
+            "width": 9,
+            "borderWidth": "1.5"
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 217,
+            "top": 118,
+            "height": 411,
+            "width": 9
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 262,
+            "top": 118,
+            "height": 430,
+            "width": 9,
+            "borderWidth": "1.5"
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 312,
+            "top": 118,
+            "height": 430,
+            "width": 9,
+            "borderWidth": "1.5"
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 353.25,
+            "top": 118,
+            "height": 430,
+            "width": 9,
+            "borderWidth": "1.5"
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 397.25,
+            "top": 118,
+            "height": 430,
+            "width": 9,
+            "borderWidth": "1.5"
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 445.25,
+            "top": 118,
+            "height": 430,
+            "width": 9,
+            "borderWidth": "1.5"
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 493,
+            "top": 118,
+            "height": 430,
+            "width": 9
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 535,
+            "top": 118,
+            "height": 430,
+            "width": 9,
+            "borderWidth": "1.5"
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 586,
+            "top": 118,
+            "height": 411,
+            "width": 9
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 635.25,
+            "top": 118,
+            "height": 411,
+            "width": 9,
+            "borderWidth": "1.5"
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 681.25,
+            "top": 118,
+            "height": 411,
+            "width": 9,
+            "borderWidth": "1.5"
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 732.25,
+            "top": 118,
+            "height": 430,
+            "width": 9
+          },
+          "printElementType": {
+            "type": "vline"
+          }
+        },
+        {
+          "options": {
+            "left": 10,
+            "top": 118.75,
+            "height": 410,
+            "width": 792,
+            "field": "table",
+            "tableHeaderBackground": "#ffffff",
+            "fontSize": 8,
+            "lineHeight": 12,
+            "tableHeaderRowHeight": 30,
+            "tableHeaderFontSize": 9,
+            "tableBodyRowHeight": 20,
+            "columns": [
+              [
+                {
+                  "title": "印件及工序名称",
+                  "halign": "center",
+                  "width": 160,
+                  "field": "gxmc",
+                  "checked": true,
+                  "columnId": "gxmc",
+                  "fixed": false,
+                  "rowspan": 1,
+                  "colspan": 1
+                },
+                {
+                  "title": "工序计划产量",
+                  "align": "right",
+                  "halign": "center",
+                  "width": 47,
+                  "field": "jhcl",
+                  "checked": true,
+                  "columnId": "jhcl",
+                  "fixed": false,
+                  "rowspan": 1,
+                  "colspan": 1
+                },
+                {
+                  "title": "工序计划损耗",
+                  "align": "right",
+                  "halign": "center",
+                  "width": 45,
+                  "field": "jhsh",
+                  "checked": true,
+                  "columnId": "jhsh",
+                  "fixed": false,
+                  "rowspan": 1,
+                  "colspan": 1
+                },
+                {
+                  "title": "制程废",
+                  "align": "right",
+                  "halign": "center",
+                  "width": 50,
+                  "field": "zcf",
+                  "checked": true,
+                  "columnId": "zcf",
+                  "fixed": false,
+                  "rowspan": 1,
+                  "colspan": 1
+                },
+                {
+                  "title": "质检废",
+                  "align": "right",
+                  "halign": "center",
+                  "width": 42,
+                  "field": "zjf",
+                  "checked": true,
+                  "columnId": "zjf",
+                  "fixed": false,
+                  "rowspan": 1,
+                  "colspan": 1
+                },
+                {
+                  "title": "无形损",
+                  "align": "right",
+                  "halign": "center",
+                  "width": 44,
+                  "field": "wxs",
+                  "checked": true,
+                  "columnId": "wxs",
+                  "fixed": false,
+                  "rowspan": 1,
+                  "colspan": 1
+                },
+                {
+                  "title": "报废合计",
+                  "align": "right",
+                  "halign": "center",
+                  "styler2": "function(value,row,index,options){ return {color:'red'}; }",
+                  "stylerHeader": "function(options){ return {color:'red' }; }",
+                  "width": 48,
+                  "field": "bfhj",
+                  "checked": true,
+                  "columnId": "bfhj",
+                  "fixed": false,
+                  "rowspan": 1,
+                  "colspan": 1
+                },
+                {
+                  "title": "工序节损数",
+                  "align": "right",
+                  "halign": "center",
+                  "width": 47,
+                  "field": "jss",
+                  "checked": true,
+                  "columnId": "jss",
+                  "fixed": false,
+                  "rowspan": 1,
+                  "colspan": 1
+                },
+                {
+                  "title": "工序节损",
+                  "align": "right",
+                  "halign": "center",
+                  "width": 42,
+                  "field": "tlbfl",
+                  "checked": true,
+                  "columnId": "tlbfl",
+                  "fixed": false,
+                  "rowspan": 1,
+                  "colspan": 1
+                },
+                {
+                  "title": "工序目标报废率",
+                  "align": "right",
+                  "halign": "center",
+                  "width": 51,
+                  "field": "mbbfl",
+                  "checked": true,
+                  "columnId": "mbbfl",
+                  "fixed": false,
+                  "rowspan": 1,
+                  "colspan": 1
+                },
+                {
+                  "title": "工序实际报废率",
+                  "align": "right",
+                  "halign": "center",
+                  "width": 50,
+                  "field": "sjbfl",
+                  "checked": true,
+                  "columnId": "sjbfl",
+                  "fixed": false,
+                  "rowspan": 1,
+                  "colspan": 1
+                },
+                {
+                  "title": "超节损承担比例",
+                  "align": "right",
+                  "halign": "center",
+                  "width": 46,
+                  "field": "cdbl",
+                  "checked": true,
+                  "columnId": "cdbl",
+                  "fixed": false,
+                  "rowspan": 1,
+                  "colspan": 1
+                },
+                {
+                  "title": "工序超节损金额",
+                  "align": "right",
+                  "halign": "center",
+                  "styler2": "function(value,row,index,options){ return {color:'red' }; }",
+                  "stylerHeader": "function(options){ return {color:'red' }; }",
+                  "width": 51,
+                  "field": "gxcjsje",
+                  "checked": true,
+                  "columnId": "gxcjsje",
+                  "fixed": false,
+                  "rowspan": 1,
+                  "colspan": 1
+                },
+                {
+                  "title": "主管确认",
+                  "halign": "center",
+                  "width": 69,
+                  "checked": true,
+                  "fixed": false,
+                  "rowspan": 1,
+                  "colspan": 1
+                }
+              ]
+            ]
+          },
+          "printElementType": {
+            "title": "表格",
+            "type": "table",
+            "editable": true,
+            "columnDisplayEditable": true,
+            "columnDisplayIndexEditable": true,
+            "columnTitleEditable": true,
+            "columnResizable": true,
+            "columnAlignEditable": true,
+            "isEnableEditField": true,
+            "isEnableContextMenu": true,
+            "isEnableInsertRow": true,
+            "isEnableDeleteRow": true,
+            "isEnableInsertColumn": true,
+            "isEnableDeleteColumn": true,
+            "isEnableMergeCell": true
+          }
+        },
+        {
+          "options": {
+            "left": 10,
+            "top": 528.75,
+            "height": 20,
+            "width": 160,
+            "title": "合计",
+            "fontSize": 9.75,
+            "contentPaddingRight": 15,
+            "textAlign": "right",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 10,
+            "top": 528.75,
+            "height": 9,
+            "width": 792,
+            "borderWidth": 0.75
+          },
+          "printElementType": {
+            "type": "hline"
+          }
+        },
+        {
+          "options": {
+            "left": 170,
+            "top": 528.75,
+            "height": 20,
+            "width": 92,
+            "field": "total1",
+            "fontSize": 8,
+            "color": "#ff0000",
+            "contentPaddingRight": 5,
+            "textAlign": "right",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 262,
+            "top": 528.75,
+            "height": 20,
+            "width": 50,
+            "field": "total2",
+            "fontSize": 8,
+            "color": "#ff0000",
+            "contentPaddingRight": 5,
+            "textAlign": "right",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 312,
+            "top": 528.75,
+            "height": 20,
+            "width": 42,
+            "field": "total3",
+            "fontSize": 8,
+            "color": "#ff0000",
+            "contentPaddingRight": 5,
+            "textAlign": "right",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 354,
+            "top": 528.75,
+            "height": 20,
+            "width": 44,
+            "field": "total4",
+            "fontSize": 8,
+            "contentPaddingRight": 5,
+            "textAlign": "right",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 398,
+            "top": 528.75,
+            "height": 20,
+            "width": 48,
+            "field": "total5",
+            "fontSize": 8,
+            "color": "#ff0000",
+            "contentPaddingRight": 5,
+            "textAlign": "right",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 446,
+            "top": 528.75,
+            "height": 20,
+            "width": 47,
+            "field": "total6",
+            "fontSize": 8,
+            "contentPaddingRight": 5,
+            "textAlign": "right",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 535,
+            "top": 528.75,
+            "height": 20,
+            "width": 198,
+            "field": "total7",
+            "fontSize": 8,
+            "color": "#ff0000",
+            "contentPaddingRight": 5,
+            "textAlign": "right",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 30,
+            "top": 560,
+            "height": 12,
+            "width": 50,
+            "title": "会签:",
+            "fontSize": 10.5,
+            "textAlign": "left",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 320,
+            "top": 560,
+            "height": 12,
+            "width": 50,
+            "title": "复核:",
+            "fontSize": 10.5,
+            "textAlign": "left",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        },
+        {
+          "options": {
+            "left": 610,
+            "top": 560,
+            "height": 12,
+            "width": 50,
+            "title": "审批:",
+            "fontSize": 10.5,
+            "textAlign": "left",
+            "textContentVerticalAlign": "middle"
+          },
+          "printElementType": {
+            "type": "text"
+          }
+        }
+      ],
+      "paperNumberLeft": 822,
+      "paperNumberTop": 501,
+      "rotate": true
+    }
+  ]
+}

+ 0 - 15
src/view/performance/chejianbaogong.vue

@@ -1539,13 +1539,8 @@
 						  <el-select v-model="formData3.sczl_bh11" id="bh11" @change="GetLl('create')">
 							  <el-option label="" value="" />
 							  <el-option label="自备" value="自备" />
-							  <el-option label="李有文" value="李有文" />
 							  <el-option label="张杭强" value="张杭强" />
-							  <el-option label="朱喜文" value="朱喜文" />
-							  <el-option label="刘旭青" value="刘旭青" />
-							  <el-option label="刘芳民" value="刘芳民" />
 							  <el-option label="李当林" value="李当林" />
-							  <el-option label="王赞文" value="王赞文" />
 						  </el-select>
 						<!-- <el-input v-model="formData3.sczl_bh11" id="bh11"  @keyup.enter.native="getygsubmit($event, '11','1')"  placeholder="" /> -->
 					  </el-col>
@@ -2118,13 +2113,8 @@
 				  <el-select v-model="dbformData.sczl_bh11" id="bh11" @change="GetLl('update')">
 					  <el-option label="" value="" />
 					  <el-option label="自备" value="自备" />
-					  <el-option label="李有文" value="李有文" />
 					  <el-option label="张杭强" value="张杭强" />
-					  <el-option label="朱喜文" value="朱喜文" />
-					  <el-option label="刘旭青" value="刘旭青" />
-					  <el-option label="刘芳民" value="刘芳民" />
 					  <el-option label="李当林" value="李当林" />
-					  <el-option label="王赞文" value="王赞文" />
 				  </el-select>
 				  <!-- <el-input v-model="dbformData.sczl_bh11" id="bh11"  @keydown="ents($event, 'bh10', 'bh11', 'name1')" @keyup.enter.native="getlaliaoyg($event)"  placeholder="" /> -->
 				</el-col>
@@ -3010,13 +3000,8 @@ const warningres = (arr) => {
   const GetLl = (falg) => {
 	  let llyg = {
 			  '自备':'自备',
-			  '李有文':1027,
 			  '张杭强':1024,
-			  '朱喜文':2022,
-			  '刘旭青':2021,
-			  '刘芳民':2020,
 			  '李当林':2019,
-			  '王赞文':2018,
 		  }
 	  switch(falg){
 		  case 'create':

+ 93 - 16
src/view/yunyin/shengchanguanli/gongdanshengchan.vue

@@ -110,7 +110,7 @@
             </el-row>
           </el-dialog>
           <!--车间设备排程【弹窗】-->
-          <el-dialog v-model="cjsbpclist" title="车间设备制程排序" style="width: 100%;height: 100%;margin: 0px;padding: 0px">
+          <el-dialog id="paichengDialog" v-model="cjsbpclist" title="车间设备制程排序" style="width: 100%;height: 100%;margin: 0px;padding: 0px">
             <el-button type="" @click="cjsbpcCancel">退出</el-button>
             <div style="width: 100%; height: 60px; padding: 0px; margin: 10px 0px 0px 0px; ">
               <div style="width: 100%; height: 60px; padding: 0px;  display: flex; align-items: center;">
@@ -145,13 +145,14 @@
                         :header-cell-style="{ padding: '0px' }"
                         style="width: 100%;height: 74vh" border tooltip-effect="dark"
                         @row-click="cjpc_tableRowClick"
-                        :data="paichengData" row-key="ID"
+                        :data="paichengData" :row-key="getRowKey"
                         :cell-class-name="cjzcCellClass"
+                        :key="tableKey"
               >
                 <!--                highlight-current-row="true"-->
                 <template v-for="(item, idx) in paichengColumns">
                   <el-table-column #default="{ row, column, $index }" align="left" :label="item.label" :width="item.width" >
-                    <div v-if="['优先次序', '小时产能', '生产工时', '辅助工时', '班次安排', '排单备注','最早开工时间', '计划开工时间'].includes(item.prop)">
+                    <div v-if="[ '小时产能', '生产工时', '辅助工时', '班次安排', '排单备注','最早开工时间', '计划开工时间'].includes(item.prop)">
                       <el-input v-model="row[item.prop]"
                                 :id="`input${idx}${$index}`"
                                 @blur="handleBlur(item['label'], item)"
@@ -461,8 +462,9 @@ import { Layout, LayoutSider, LayoutContent } from '@arco-design/web-vue';
 import {createCompany, deleteCompany, deleteCompanyByIds, updateCompany, findCompany, getCompanyList} from '@/api/company'
 import { getDictFunc, formatDate, formatBoolean, filterDict, ReturnArrImg, onDownloadFile } from '@/utils/format'
 import { ElMessage, ElMessageBox } from 'element-plus'
-import { ref, reactive } from 'vue'
+import { ref, reactive, onMounted, watch, nextTick } from 'vue'
 import dayjs from 'dayjs'
+import Sortable from 'sortablejs'
 import {
   DataList,
   getProduct,
@@ -1438,15 +1440,15 @@ const paichengColumns = ref(
     ])
 
 const handleDataSortAndSettingDate = () => {
-  paichengData.value.sort((a, b) => {
-    const priorityA = parseFloat(a['优先次序']);
-    const priorityB = parseFloat(b['优先次序']);
-    // 将空白值放在最后
-    if (isNaN(priorityA)) return 1;
-    if (isNaN(priorityB)) return -1;
-    // 按优先次序升序排序
-    return priorityA - priorityB;
-  });
+  // paichengData.value.sort((a, b) => {
+  //   const priorityA = parseFloat(a['优先次序']);
+  //   const priorityB = parseFloat(b['优先次序']);
+  //   // 将空白值放在最后
+  //   if (isNaN(priorityA)) return 1;
+  //   if (isNaN(priorityB)) return -1;
+  //   // 按优先次序升序排序
+  //   return priorityA - priorityB;
+  // });
 
   paichengData.value.map((item, index) => {
     console.log(Math.round(((item['计划接货数'] ?? 0) - Number(item['已完成'] ?? 0)) / item['小时产能']).toFixed(1))
@@ -1563,10 +1565,20 @@ const pd_gdprintonClick = () => {
 const oncjsbpcClick = async () => {
   cjsbpcformData['sbdh'] = _machine.value;
   paichengData.value = [];
-   _EquipmentSchedulingdata();
-   _ScheduleSelectiondata();
-
+  
+  // 先加载数据
+  await _EquipmentSchedulingdata();
+  await _ScheduleSelectiondata();
+  
+  // 打开弹窗
   cjsbpclist.value = true;
+  
+  // 等待弹窗渲染完成后初始化拖拽排序
+  nextTick(() => {
+    setTimeout(() => {
+      initSortable();
+    }, 500);
+  });
 };
 //调用班次选择列表接口
 const _ScheduleSelectiondata = async ()=>{
@@ -1584,6 +1596,71 @@ const _ScheduleSelectiondata = async ()=>{
 }
 //车间设备排程->数据展示
 const paichengData = ref([])
+const tableKey = ref(0)
+
+// 动态生成 row key
+const getRowKey = (row) => {
+  return `${row.ID}-${row['优先次序']}`;
+}
+
+// 初始化拖拽排序
+let sortableInstance = null;
+const initSortable = () => {
+  // 如果已经初始化过,先销毁
+  if (sortableInstance) {
+    sortableInstance.destroy();
+    sortableInstance = null;
+  }
+  
+  // 使用 ref 来获取表格
+  const tableRef = document.querySelector('#paichengDialog .el-table__body-wrapper table tbody');
+  console.log('tableBody:', tableRef);
+  
+  if (tableRef) {
+    sortableInstance = new Sortable(tableRef, {
+      animation: 150,
+      ghostClass: 'sortable-ghost',
+      onEnd: function(evt) {
+        console.log('拖拽结束:', evt);
+        // 获取拖拽前后的索引
+        const oldIndex = evt.oldIndex;
+        const newIndex = evt.newIndex;
+        
+        console.log('oldIndex:', oldIndex, 'newIndex:', newIndex);
+        console.log('拖拽前数据:', paichengData.value.map(item => item['工单编号']));
+        
+        // 创建新数组来触发响应式更新
+        const newData = [...paichengData.value];
+        const [movedItem] = newData.splice(oldIndex, 1);
+        newData.splice(newIndex, 0, movedItem);
+        paichengData.value = newData;
+        
+        console.log('拖拽后数据:', paichengData.value.map(item => item['工单编号']));
+        
+        // 更新优先次序
+        paichengData.value.forEach((item, index) => {
+          item['优先次序'] = index + 1;
+        });
+        
+        console.log('更新后的优先次序:', paichengData.value.map(item => item['优先次序']));
+        
+        // 强制重新渲染表格
+        tableKey.value++;
+        
+        // 等待 DOM 更新完成后重新初始化拖拽排序
+        nextTick(() => {
+          initSortable();
+        });
+        
+        // 重新计算时间
+        handleDataSortAndSettingDate();
+      }
+    });
+    console.log('Sortable 初始化成功');
+  } else {
+    console.error('未找到表格 tbody 元素');
+  }
+}
 //点击车间排程行
 const _bcxz_val = ref(null)
 

+ 0 - 10
src/view/yunyin/shengchanguanli/shebeiyunxing.vue

@@ -1686,13 +1686,8 @@
 			<el-select v-model="formdata3.value.拉料['编号']" id="bh11" @change="GetLl('create')">
 				<el-option label="" value="" />
 				<el-option label="自备" value="自备" />
-				<el-option label="李有文" value="李有文" />
 				<el-option label="张杭强" value="张杭强" />
-				<el-option label="朱喜文" value="朱喜文" />
-				<el-option label="刘旭青" value="刘旭青" />
-				<el-option label="刘芳民" value="刘芳民" />
 				<el-option label="李当林" value="李当林" />
-				<el-option label="王赞文" value="王赞文" />
 			</el-select>
 		  </el-col>
 		  	</el-row>
@@ -7061,13 +7056,8 @@ const jtbh_change = () => {
 const GetLl = (falg) => {
 	let llyg = {
 		'自备':'自备',
-		'李有文':1027,
 		'张杭强':1024,
-		'朱喜文':2022,
-		'刘旭青':2021,
-		'刘芳民':2020,
 		'李当林':2019,
-		'王赞文':2018,
 	} 
 	switch(falg){
 		case 'create':

Some files were not shown because too many files changed in this diff