|
|
@@ -0,0 +1,2720 @@
|
|
|
+<template>
|
|
|
+ <!--工单打印【弹窗】-->
|
|
|
+ <el-dialog v-model="visibie" title="生产工单打印" style="width: 40%">
|
|
|
+ <el-row>
|
|
|
+ <el-form-item label="工单编号:" prop="currentProcess" class="mab">
|
|
|
+ <el-input v-model="form['gdbh']" @keydown="cp_print_ProductValue" style="width: 200px" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-form-item label="印件号:" prop="yjno" class="mab" label-width="70">
|
|
|
+ <el-select v-model="form['yjno']" placeholder="请选择印件号" style="width: 120px;" @change="getmc">
|
|
|
+ <el-option
|
|
|
+ v-for="item in yjlist"
|
|
|
+ :label="item.印件号"
|
|
|
+ :value="item.印件号"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="终止工序号:" prop="currentProcess" class="mab" label-width="100">
|
|
|
+ <el-select v-model="form['gxh']" placeholder="请选择工序号" style="width: 120px;">
|
|
|
+ <el-option
|
|
|
+ v-for="item in gxlist"
|
|
|
+ :label="item.工序号"
|
|
|
+ :value="item.工序号"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-form-item label="印件名称:" prop="currentProcess" class="mab" >
|
|
|
+ <el-input v-model="form['yjmc']" placeholder="" style="width: 500px;" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-form-item label="制单:" prop="currentProcess" class="mab" label-width="70">
|
|
|
+ <el-input v-model="form['zd']" placeholder="" style="width: 500px;" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-form-item label="审核:" prop="currentProcess" class="mab" label-width="70">
|
|
|
+ <el-input v-model="form['sh']" placeholder="" style="width: 500px;"/>
|
|
|
+ </el-form-item>
|
|
|
+ </el-row>
|
|
|
+ <div class="dialog-footer" style="text-align: right; margin-top: 30px;">
|
|
|
+ <el-button @click="() => visibie = false">取消</el-button>
|
|
|
+ <el-button type="primary" @click="cp_print_handleConfirm">确认</el-button>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </el-dialog>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script setup>
|
|
|
+import { ref, reactive } from 'vue'
|
|
|
+import {ElMessage} from "element-plus";
|
|
|
+import {PrintCodeList, PrintJobOrder, ProcessCodeList} from "@/api/yunyin/yunying";
|
|
|
+import {hiprint} from "vue-plugin-hiprint";
|
|
|
+
|
|
|
+const visibie = ref(false)
|
|
|
+const form = reactive({})
|
|
|
+const id = ref()
|
|
|
+const yjlist = ref([])
|
|
|
+const gxlist = ref([])
|
|
|
+
|
|
|
+const getmc = async (v) => {
|
|
|
+ const res = await ProcessCodeList({workOrder: id.value, yjno: v})
|
|
|
+ const row = yjlist.value.find(item => item.印件号 === v)
|
|
|
+ form['yjmc'] = row.印件名称;
|
|
|
+ gxlist.value = res.data
|
|
|
+}
|
|
|
+
|
|
|
+const open = (gongdanId) => {
|
|
|
+ if (gongdanId == null) {
|
|
|
+ ElMessage({type: 'warning',message: '请选择具体的工单后,再操作此功能'});
|
|
|
+ } else {
|
|
|
+ id.value = gongdanId
|
|
|
+ form['gdbh'] = gongdanId;
|
|
|
+ form['zd'] = "刘玲";
|
|
|
+ form['sh'] ="谭鸿忠";
|
|
|
+ form['gxh'] = 1;
|
|
|
+ _PrintCodeList();
|
|
|
+ visibie.value = true;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+//工单打印回车
|
|
|
+const cp_print_ProductValue = async (e) => {
|
|
|
+ if (e.key=='Tab' || e.key=='Enter') {
|
|
|
+ _PrintCodeList();
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+//打印作业通知单->工单印件及工序列表
|
|
|
+const _PrintCodeList = async () => {
|
|
|
+ const workOrder = form['gdbh'];
|
|
|
+ const PrintCodeList_list = await PrintCodeList({workOrder:workOrder});
|
|
|
+ if(PrintCodeList_list.data.length === 0){
|
|
|
+ ElMessage({type: 'warning',message: '工单编号错误 或 印件资料为空'});
|
|
|
+ }else{
|
|
|
+ yjlist.value = PrintCodeList_list.data
|
|
|
+ form['yjno'] = PrintCodeList_list.data[0].印件号;
|
|
|
+ form['yjmc'] = PrintCodeList_list.data[0].印件名称;
|
|
|
+
|
|
|
+ const res = await ProcessCodeList({workOrder:workOrder, yjno: form['yjno']});
|
|
|
+ gxlist.value = res.data
|
|
|
+ }
|
|
|
+}
|
|
|
+//json打印表格数据
|
|
|
+const jsondata = {
|
|
|
+ "panels": [
|
|
|
+ {
|
|
|
+ "index": 0,
|
|
|
+ "name": 1,
|
|
|
+ "paperType": "A4",
|
|
|
+ "height": 210,
|
|
|
+ "width": 297,
|
|
|
+ "paperHeader": 162,
|
|
|
+ "paperFooter": 516,
|
|
|
+ "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,
|
|
|
+ "right": 65,
|
|
|
+ "bottom": 50.807688786433296,
|
|
|
+ "vCenter": 40,
|
|
|
+ "hCenter": 25.807688786433292
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "图片",
|
|
|
+ "type": "image"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 510,
|
|
|
+ "top": 6,
|
|
|
+ "height": 40.5,
|
|
|
+ "width": 211.5,
|
|
|
+ "title": "文本",
|
|
|
+ "right": 723.75,
|
|
|
+ "bottom": 46.5,
|
|
|
+ "vCenter": 618,
|
|
|
+ "hCenter": 26.25,
|
|
|
+ "field": "ztlx",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "fontSize": 21,
|
|
|
+ "fontWeight": "bold",
|
|
|
+ "color": "#ff1414",
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 756,
|
|
|
+ "top": 10.5,
|
|
|
+ "height": 56,
|
|
|
+ "width": 56,
|
|
|
+ "textAlign": "center",
|
|
|
+ "title": "二维码",
|
|
|
+ "right": 817.6363761208273,
|
|
|
+ "bottom": 54.13636363636363,
|
|
|
+ "vCenter": 789.8863761208273,
|
|
|
+ "hCenter": 26.386363636363637,
|
|
|
+ "field": "printcode",
|
|
|
+ "testData": "2401191",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "二维码",
|
|
|
+ "type": "qrcode"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 57,
|
|
|
+ "top": 12,
|
|
|
+ "height": 14,
|
|
|
+ "width": 180,
|
|
|
+ "title": "浙江美浓世纪集团有限公司",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "fontSize": 13.5,
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 247.61537405160757,
|
|
|
+ "bottom": 27.999999999999996,
|
|
|
+ "vCenter": 157.61537405160757,
|
|
|
+ "hCenter": 21.499999999999996
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 319.5,
|
|
|
+ "top": 12,
|
|
|
+ "height": 30,
|
|
|
+ "width": 168,
|
|
|
+ "title": "生产作业通知单",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "fontSize": 16.5,
|
|
|
+ "color": "#000000",
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 486.94683837890614,
|
|
|
+ "bottom": 42.0000017606295,
|
|
|
+ "vCenter": 402.94683837890614,
|
|
|
+ "hCenter": 27.0000017606295,
|
|
|
+ "fontWeight": "bold"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 57,
|
|
|
+ "top": 28.5,
|
|
|
+ "height": 9.75,
|
|
|
+ "width": 209,
|
|
|
+ "title": "ZHEJIANG MINONG CENTURY GROUP CO.LTD.",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "fontSize": 7.5,
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 280.99999295748194,
|
|
|
+ "bottom": 40.326923076923066,
|
|
|
+ "vCenter": 176.49999295748196,
|
|
|
+ "hCenter": 35.451923076923066
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 259.5,
|
|
|
+ "top": 51,
|
|
|
+ "height": 16,
|
|
|
+ "width": 250.5,
|
|
|
+ "title": "文本",
|
|
|
+ "right": 509.4468955993651,
|
|
|
+ "bottom": 67.02812528610227,
|
|
|
+ "vCenter": 384.1968955993651,
|
|
|
+ "hCenter": 59.028125286102274,
|
|
|
+ "field": "xsddh",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "textContentWrap": "clip"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 510,
|
|
|
+ "top": 51,
|
|
|
+ "height": 16,
|
|
|
+ "width": 48,
|
|
|
+ "title": "打印时间",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 551.25,
|
|
|
+ "bottom": 66,
|
|
|
+ "vCenter": 527.25,
|
|
|
+ "hCenter": 55.5
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 557,
|
|
|
+ "top": 51,
|
|
|
+ "height": 16,
|
|
|
+ "width": 141,
|
|
|
+ "title": "文本",
|
|
|
+ "right": 697.5,
|
|
|
+ "bottom": 66,
|
|
|
+ "vCenter": 637.5,
|
|
|
+ "hCenter": 55.5,
|
|
|
+ "field": "dysj",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "textContentWrap": "clip"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 15,
|
|
|
+ "top": 51.5,
|
|
|
+ "height": 16,
|
|
|
+ "width": 74,
|
|
|
+ "title": "生产批次号:",
|
|
|
+ "right": 76.49999491373697,
|
|
|
+ "bottom": 64.77777523464624,
|
|
|
+ "vCenter": 40.49999491373698,
|
|
|
+ "hCenter": 54.27777523464624,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "fontSize": 12,
|
|
|
+ "fontWeight": "bold",
|
|
|
+ "color": "#f50808",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 87.95454545454545,
|
|
|
+ "top": 51.5,
|
|
|
+ "height": 16,
|
|
|
+ "width": 90,
|
|
|
+ "title": "文本",
|
|
|
+ "right": 182.38889058430985,
|
|
|
+ "bottom": 64.7777684529622,
|
|
|
+ "vCenter": 137.38889058430985,
|
|
|
+ "hCenter": 53.527768452962206,
|
|
|
+ "field": "scpch",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 183.95454545454544,
|
|
|
+ "top": 51.5,
|
|
|
+ "height": 16,
|
|
|
+ "width": 75,
|
|
|
+ "title": "销售订单号:",
|
|
|
+ "right": 312.75,
|
|
|
+ "bottom": 54.75,
|
|
|
+ "vCenter": 252.75,
|
|
|
+ "hCenter": 49.875,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "fontSize": 12,
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 15,
|
|
|
+ "top": 70.5,
|
|
|
+ "height": 88.5,
|
|
|
+ "width": 815,
|
|
|
+ "right": 831.5000057220459,
|
|
|
+ "bottom": 158.99999713897702,
|
|
|
+ "vCenter": 424.0000057220459,
|
|
|
+ "hCenter": 114.74999713897702,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "矩形",
|
|
|
+ "type": "rect"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 199.5,
|
|
|
+ "top": 70.5,
|
|
|
+ "height": 49,
|
|
|
+ "width": 2,
|
|
|
+ "right": 200.33333841959626,
|
|
|
+ "bottom": 163.49999745686844,
|
|
|
+ "vCenter": 195.83333841959626,
|
|
|
+ "hCenter": 118.49999745686844,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 262,
|
|
|
+ "top": 70.5,
|
|
|
+ "height": 49,
|
|
|
+ "width": 2,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "right": 265.44688951969135,
|
|
|
+ "bottom": 119.49999713897702,
|
|
|
+ "vCenter": 264.44688951969135,
|
|
|
+ "hCenter": 94.99999713897702
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 462,
|
|
|
+ "top": 70.5,
|
|
|
+ "height": 49,
|
|
|
+ "width": 2,
|
|
|
+ "right": 486.0874862670897,
|
|
|
+ "bottom": 119.52812099456784,
|
|
|
+ "vCenter": 485.0874862670897,
|
|
|
+ "hCenter": 95.02812099456784,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 64,
|
|
|
+ "top": 71,
|
|
|
+ "height": 48,
|
|
|
+ "width": 2,
|
|
|
+ "right": 69.01506181196729,
|
|
|
+ "bottom": 118.8181815580888,
|
|
|
+ "vCenter": 68.01506181196729,
|
|
|
+ "hCenter": 94.3181815580888,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 514,
|
|
|
+ "top": 71,
|
|
|
+ "height": 31,
|
|
|
+ "width": 2,
|
|
|
+ "right": 519.9969024658201,
|
|
|
+ "bottom": 102.49999713897702,
|
|
|
+ "vCenter": 518.9969024658201,
|
|
|
+ "hCenter": 86.49999713897702,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 201,
|
|
|
+ "top": 73,
|
|
|
+ "height": 12,
|
|
|
+ "width": 60,
|
|
|
+ "title": "产品代码",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 275.38638028231526,
|
|
|
+ "bottom": 83.97102329947728,
|
|
|
+ "vCenter": 245.38638028231526,
|
|
|
+ "hCenter": 77.97102329947728
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 16.5,
|
|
|
+ "top": 73.5,
|
|
|
+ "height": 12,
|
|
|
+ "width": 45,
|
|
|
+ "title": "客户代码",
|
|
|
+ "right": 61.99687957763671,
|
|
|
+ "bottom": 85.33465966311365,
|
|
|
+ "vCenter": 39.49687957763671,
|
|
|
+ "hCenter": 79.33465966311365,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 64.5,
|
|
|
+ "top": 73.5,
|
|
|
+ "height": 12,
|
|
|
+ "width": 132,
|
|
|
+ "title": "客户名称",
|
|
|
+ "right": 183.99608670748194,
|
|
|
+ "bottom": 85.49999647874095,
|
|
|
+ "vCenter": 120.99608670748194,
|
|
|
+ "hCenter": 79.49999647874095,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 264,
|
|
|
+ "top": 73.5,
|
|
|
+ "height": 12,
|
|
|
+ "width": 196,
|
|
|
+ "title": "产品名称",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 463,
|
|
|
+ "top": 73.5,
|
|
|
+ "height": 12,
|
|
|
+ "width": 46.5,
|
|
|
+ "title": "版本号",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 536.2499942779539,
|
|
|
+ "bottom": 85.96874427795407,
|
|
|
+ "vCenter": 512.9999942779539,
|
|
|
+ "hCenter": 79.96874427795407
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 515,
|
|
|
+ "top": 73.5,
|
|
|
+ "height": 12,
|
|
|
+ "width": 314,
|
|
|
+ "title": "警语版面",
|
|
|
+ "right": 636.3749999999998,
|
|
|
+ "bottom": 86.99999999999997,
|
|
|
+ "vCenter": 576.3749999999998,
|
|
|
+ "hCenter": 80.99999999999997,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "textAlign": "center"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 15,
|
|
|
+ "top": 87,
|
|
|
+ "height": 9,
|
|
|
+ "width": 815,
|
|
|
+ "borderWidth": "0.75",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "right": 839.9960895885121,
|
|
|
+ "bottom": 96.00000416148792,
|
|
|
+ "vCenter": 421.99608958851206,
|
|
|
+ "hCenter": 91.50000416148792
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "横线",
|
|
|
+ "type": "hline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 65,
|
|
|
+ "top": 88.5,
|
|
|
+ "height": 12,
|
|
|
+ "width": 132,
|
|
|
+ "title": "文本",
|
|
|
+ "field": "khmc",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 188.6052679764597,
|
|
|
+ "bottom": 97.5789413452148,
|
|
|
+ "vCenter": 127.10526797645967,
|
|
|
+ "hCenter": 87.0789413452148,
|
|
|
+ "textContentWrap": "clip"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 200.5,
|
|
|
+ "top": 88.5,
|
|
|
+ "height": 12,
|
|
|
+ "width": 60,
|
|
|
+ "title": "100301047",
|
|
|
+ "field": "cpdm",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 255.00000214576713,
|
|
|
+ "bottom": 119.99999999999996,
|
|
|
+ "vCenter": 225.75000214576713,
|
|
|
+ "hCenter": 109.49999999999996
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 264,
|
|
|
+ "top": 88.5,
|
|
|
+ "height": 12,
|
|
|
+ "width": 196,
|
|
|
+ "title": "文本",
|
|
|
+ "right": 384.23684873078986,
|
|
|
+ "bottom": 89.56578826904293,
|
|
|
+ "vCenter": 324.23684873078986,
|
|
|
+ "hCenter": 84.69078826904293,
|
|
|
+ "field": "cpmc",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "textContentWrap": "clip"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 463,
|
|
|
+ "top": 88.5,
|
|
|
+ "height": 13,
|
|
|
+ "width": 50,
|
|
|
+ "title": "文本",
|
|
|
+ "field": "bbh",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 572.4473732396174,
|
|
|
+ "bottom": 89.01315909937804,
|
|
|
+ "vCenter": 512.4473732396174,
|
|
|
+ "hCenter": 84.13815909937804,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 515,
|
|
|
+ "top": 88.5,
|
|
|
+ "height": 12,
|
|
|
+ "width": 314,
|
|
|
+ "title": "文本",
|
|
|
+ "right": 831.2812557220457,
|
|
|
+ "bottom": 99.18749999999997,
|
|
|
+ "vCenter": 680.5312557220457,
|
|
|
+ "hCenter": 93.18749999999997,
|
|
|
+ "field": "jybm",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "textContentWrap": "clip"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 16.5,
|
|
|
+ "top": 89,
|
|
|
+ "height": 12,
|
|
|
+ "width": 45,
|
|
|
+ "title": "文本",
|
|
|
+ "right": 63.74999999999999,
|
|
|
+ "bottom": 100.84090466932813,
|
|
|
+ "vCenter": 41.24999999999999,
|
|
|
+ "hCenter": 94.84090466932813,
|
|
|
+ "field": "khdh",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 15,
|
|
|
+ "top": 102,
|
|
|
+ "height": 9,
|
|
|
+ "width": 815,
|
|
|
+ "borderWidth": "0.75",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "横线",
|
|
|
+ "type": "hline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 514,
|
|
|
+ "top": 102,
|
|
|
+ "height": 17,
|
|
|
+ "width": 9,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "right": 543.4031238555906,
|
|
|
+ "bottom": 119.0000028610229,
|
|
|
+ "vCenter": 538.9031238555906,
|
|
|
+ "hCenter": 110.5000028610229
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 580,
|
|
|
+ "top": 102,
|
|
|
+ "height": 17,
|
|
|
+ "width": 9,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "right": 618.0000291304152,
|
|
|
+ "bottom": 118.99999895962796,
|
|
|
+ "vCenter": 613.5000291304152,
|
|
|
+ "hCenter": 110.49999895962796
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 636,
|
|
|
+ "top": 102,
|
|
|
+ "height": 17,
|
|
|
+ "width": 9,
|
|
|
+ "right": 664.4062557220457,
|
|
|
+ "bottom": 120.4062528610229,
|
|
|
+ "vCenter": 659.9062557220457,
|
|
|
+ "hCenter": 111.9062528610229,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 706,
|
|
|
+ "top": 102,
|
|
|
+ "height": 17,
|
|
|
+ "width": 9,
|
|
|
+ "right": 563.999985694885,
|
|
|
+ "bottom": 272.3437643051147,
|
|
|
+ "vCenter": 559.499985694885,
|
|
|
+ "hCenter": 227.3437643051147,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 764,
|
|
|
+ "top": 102,
|
|
|
+ "height": 17,
|
|
|
+ "width": 9,
|
|
|
+ "right": 774.0937414169308,
|
|
|
+ "bottom": 193.8750028610229,
|
|
|
+ "vCenter": 769.5937414169308,
|
|
|
+ "hCenter": 148.8750028610229,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 765,
|
|
|
+ "top": 103.5,
|
|
|
+ "height": 12,
|
|
|
+ "width": 62,
|
|
|
+ "title": "文本",
|
|
|
+ "field": "pzll",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 835.5000083229755,
|
|
|
+ "bottom": 115.15908973867236,
|
|
|
+ "vCenter": 801.0000083229755,
|
|
|
+ "hCenter": 109.15908973867236,
|
|
|
+ "color": "#fa1919"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 708,
|
|
|
+ "top": 104,
|
|
|
+ "height": 12,
|
|
|
+ "width": 54,
|
|
|
+ "title": "平张投料(张)",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 767.9062242507932,
|
|
|
+ "bottom": 114.9375028610229,
|
|
|
+ "vCenter": 731.9062242507932,
|
|
|
+ "hCenter": 108.9375028610229,
|
|
|
+ "color": "#ff0a0a"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 17,
|
|
|
+ "top": 105,
|
|
|
+ "height": 12,
|
|
|
+ "width": 45,
|
|
|
+ "title": "码源数量",
|
|
|
+ "right": 46.78570556640625,
|
|
|
+ "bottom": 117.2142933436802,
|
|
|
+ "vCenter": 26.535705566406246,
|
|
|
+ "hCenter": 111.2142933436802,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 64.5,
|
|
|
+ "top": 105,
|
|
|
+ "height": 12,
|
|
|
+ "width": 132,
|
|
|
+ "title": "文本",
|
|
|
+ "field": "mysl",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 201,
|
|
|
+ "top": 105,
|
|
|
+ "height": 12,
|
|
|
+ "width": 58.5,
|
|
|
+ "title": "客户ERP编码",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 318.78572736467623,
|
|
|
+ "bottom": 115.92856597900385,
|
|
|
+ "vCenter": 258.78572736467623,
|
|
|
+ "hCenter": 109.92856597900385,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 264,
|
|
|
+ "top": 105,
|
|
|
+ "height": 11,
|
|
|
+ "width": 196,
|
|
|
+ "title": "文本",
|
|
|
+ "field": "kherpbm",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 387.07142421177446,
|
|
|
+ "bottom": 113.96428680419916,
|
|
|
+ "vCenter": 327.07142421177446,
|
|
|
+ "hCenter": 109.08928680419916,
|
|
|
+ "textContentWrap": "clip"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 463,
|
|
|
+ "top": 105,
|
|
|
+ "height": 12,
|
|
|
+ "width": 52,
|
|
|
+ "title": "开单日期",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 536.687488555908,
|
|
|
+ "bottom": 117.37499427795406,
|
|
|
+ "vCenter": 516.687488555908,
|
|
|
+ "hCenter": 111.37499427795406
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 517,
|
|
|
+ "top": 105,
|
|
|
+ "height": 12,
|
|
|
+ "width": 61,
|
|
|
+ "title": "文本",
|
|
|
+ "field": "kdrq",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 553.8749742507932,
|
|
|
+ "bottom": 115.21874141693111,
|
|
|
+ "vCenter": 527.6249742507932,
|
|
|
+ "hCenter": 109.21874141693111,
|
|
|
+ "textContentWrap": "clip",
|
|
|
+ "fontWeight": "bold"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 582,
|
|
|
+ "top": 105,
|
|
|
+ "height": 12,
|
|
|
+ "width": 52,
|
|
|
+ "title": "交货日期",
|
|
|
+ "right": 607.499985694885,
|
|
|
+ "bottom": 115.9687585830688,
|
|
|
+ "vCenter": 584.999985694885,
|
|
|
+ "hCenter": 109.9687585830688,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 641,
|
|
|
+ "top": 105,
|
|
|
+ "height": 12,
|
|
|
+ "width": 61,
|
|
|
+ "title": "文本",
|
|
|
+ "right": 725.4710360440338,
|
|
|
+ "bottom": 117.0000026009299,
|
|
|
+ "vCenter": 696.4710360440338,
|
|
|
+ "hCenter": 111.0000026009299,
|
|
|
+ "field": "jhrq",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "textContentWrap": "clip",
|
|
|
+ "fontWeight": "bold"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 15,
|
|
|
+ "top": 118.5,
|
|
|
+ "height": 9,
|
|
|
+ "width": 815,
|
|
|
+ "borderWidth": "0.75",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "right": 831,
|
|
|
+ "bottom": 127.5000072826038,
|
|
|
+ "vCenter": 423,
|
|
|
+ "hCenter": 123.0000072826038
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "横线",
|
|
|
+ "type": "hline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 556,
|
|
|
+ "top": 118.5,
|
|
|
+ "height": 39,
|
|
|
+ "width": 5,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 609,
|
|
|
+ "top": 118.5,
|
|
|
+ "height": 39,
|
|
|
+ "width": 5,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "right": 564.4999771118162,
|
|
|
+ "bottom": 160.50000762939447,
|
|
|
+ "vCenter": 561.9999771118162,
|
|
|
+ "hCenter": 140.00000762939447
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 660,
|
|
|
+ "top": 118.5,
|
|
|
+ "height": 39,
|
|
|
+ "width": 5,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "right": 621.1590992320664,
|
|
|
+ "bottom": 159.15908973867238,
|
|
|
+ "vCenter": 618.6590992320664,
|
|
|
+ "hCenter": 138.65908973867238
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 718,
|
|
|
+ "top": 118.5,
|
|
|
+ "height": 39,
|
|
|
+ "width": 5,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "right": 702.9999771118162,
|
|
|
+ "bottom": 166.0000076293945,
|
|
|
+ "vCenter": 700.4999771118162,
|
|
|
+ "hCenter": 145.5000076293945
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 774,
|
|
|
+ "top": 118.5,
|
|
|
+ "height": 39,
|
|
|
+ "width": 5,
|
|
|
+ "right": 774.4999771118161,
|
|
|
+ "bottom": 170.50000762939447,
|
|
|
+ "vCenter": 771.9999771118161,
|
|
|
+ "hCenter": 150.00000762939447,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 505,
|
|
|
+ "top": 119,
|
|
|
+ "height": 40,
|
|
|
+ "width": 9,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 17,
|
|
|
+ "top": 121.5,
|
|
|
+ "height": 34.5,
|
|
|
+ "width": 49.5,
|
|
|
+ "title": "工单说明:",
|
|
|
+ "right": 126.79411495433133,
|
|
|
+ "bottom": 137.73529580060165,
|
|
|
+ "vCenter": 66.79411495433133,
|
|
|
+ "hCenter": 131.73529580060165,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "color": "#ff0000",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "textAlign": "center"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 66,
|
|
|
+ "top": 121.5,
|
|
|
+ "height": 34.5,
|
|
|
+ "width": 438,
|
|
|
+ "title": "文本",
|
|
|
+ "right": 499.49999982118607,
|
|
|
+ "bottom": 155.49374771118158,
|
|
|
+ "vCenter": 277.49999982118607,
|
|
|
+ "hCenter": 138.24374771118158,
|
|
|
+ "field": "gdsm",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 507,
|
|
|
+ "top": 121.5,
|
|
|
+ "height": 12,
|
|
|
+ "width": 49,
|
|
|
+ "title": "投料率",
|
|
|
+ "right": 499.1052679764595,
|
|
|
+ "bottom": 134.05263037430606,
|
|
|
+ "vCenter": 481.1052679764595,
|
|
|
+ "hCenter": 128.05263037430606,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 559,
|
|
|
+ "top": 121.5,
|
|
|
+ "height": 12,
|
|
|
+ "width": 49,
|
|
|
+ "title": "目标合格率",
|
|
|
+ "right": 659.6841960706207,
|
|
|
+ "bottom": 132.55263669867261,
|
|
|
+ "vCenter": 625.1841960706207,
|
|
|
+ "hCenter": 126.55263669867261,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 611,
|
|
|
+ "top": 121.5,
|
|
|
+ "height": 12,
|
|
|
+ "width": 49,
|
|
|
+ "title": "平均合格率",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 734.7631723504314,
|
|
|
+ "bottom": 134.36841653522686,
|
|
|
+ "vCenter": 700.2631723504314,
|
|
|
+ "hCenter": 128.36841653522686
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 663,
|
|
|
+ "top": 121.5,
|
|
|
+ "height": 12,
|
|
|
+ "width": 54,
|
|
|
+ "title": "订货数量(箱)",
|
|
|
+ "right": 676.8947320235401,
|
|
|
+ "bottom": 210.71053143551467,
|
|
|
+ "vCenter": 616.8947320235401,
|
|
|
+ "hCenter": 204.71053143551467,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 721.5,
|
|
|
+ "top": 121.5,
|
|
|
+ "height": 12,
|
|
|
+ "width": 53,
|
|
|
+ "title": "库存数量(箱)",
|
|
|
+ "right": 787.7727564031427,
|
|
|
+ "bottom": 171.5454545454545,
|
|
|
+ "vCenter": 753.2727564031427,
|
|
|
+ "hCenter": 165.5454545454545,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 775.5,
|
|
|
+ "top": 121.5,
|
|
|
+ "height": 12,
|
|
|
+ "width": 55,
|
|
|
+ "title": "投料数量(箱)",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 843.6818473122336,
|
|
|
+ "bottom": 134.18182650479406,
|
|
|
+ "vCenter": 809.1818473122336,
|
|
|
+ "hCenter": 128.18182650479406,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 505.5,
|
|
|
+ "top": 138,
|
|
|
+ "height": 6,
|
|
|
+ "width": 324,
|
|
|
+ "borderWidth": "0.75",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "横线",
|
|
|
+ "type": "hline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 560,
|
|
|
+ "top": 142,
|
|
|
+ "height": 12,
|
|
|
+ "width": 49,
|
|
|
+ "title": "文本",
|
|
|
+ "right": 554.5000381469724,
|
|
|
+ "bottom": 151.9999923706054,
|
|
|
+ "vCenter": 529.5000381469724,
|
|
|
+ "hCenter": 145.9999923706054,
|
|
|
+ "field": "mbhgl",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 720,
|
|
|
+ "top": 142,
|
|
|
+ "height": 12,
|
|
|
+ "width": 54,
|
|
|
+ "title": "文本",
|
|
|
+ "field": "kcsl",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 766.0000076293943,
|
|
|
+ "bottom": 155.0000076293945,
|
|
|
+ "vCenter": 731.5000076293943,
|
|
|
+ "hCenter": 149.5000076293945
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 775,
|
|
|
+ "top": 142,
|
|
|
+ "height": 12,
|
|
|
+ "width": 55,
|
|
|
+ "title": "文本",
|
|
|
+ "right": 864.0000076293944,
|
|
|
+ "bottom": 151.50000762939447,
|
|
|
+ "vCenter": 829.5000076293944,
|
|
|
+ "hCenter": 145.50000762939447,
|
|
|
+ "field": "tlsl",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 507,
|
|
|
+ "top": 142.5,
|
|
|
+ "height": 12,
|
|
|
+ "width": 49,
|
|
|
+ "title": "文本",
|
|
|
+ "right": 497.0000076293944,
|
|
|
+ "bottom": 153.5000076293945,
|
|
|
+ "vCenter": 479.0000076293944,
|
|
|
+ "hCenter": 147.5000076293945,
|
|
|
+ "field": "tll",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 611,
|
|
|
+ "top": 142.5,
|
|
|
+ "height": 12,
|
|
|
+ "width": 49,
|
|
|
+ "title": "文本",
|
|
|
+ "right": 613.9999771118162,
|
|
|
+ "bottom": 179.00000762939447,
|
|
|
+ "vCenter": 585.9999771118162,
|
|
|
+ "hCenter": 173.00000762939447,
|
|
|
+ "field": "pjhgl",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 661,
|
|
|
+ "top": 142.5,
|
|
|
+ "height": 12,
|
|
|
+ "width": 57,
|
|
|
+ "title": "文本",
|
|
|
+ "right": 608.9999771118162,
|
|
|
+ "bottom": 198.25000762939447,
|
|
|
+ "vCenter": 548.9999771118162,
|
|
|
+ "hCenter": 193.37500762939447,
|
|
|
+ "field": "dhsl",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 15,
|
|
|
+ "top": 163.5,
|
|
|
+ "height": 9,
|
|
|
+ "width": 815,
|
|
|
+ "borderWidth": "0.75",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "横线",
|
|
|
+ "type": "hline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 349,
|
|
|
+ "top": 163.5,
|
|
|
+ "height": 38,
|
|
|
+ "width": 9,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "right": 355.3333468967012,
|
|
|
+ "bottom": 205.50000423855244,
|
|
|
+ "vCenter": 350.8333468967012,
|
|
|
+ "hCenter": 189.00000423855244
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 654,
|
|
|
+ "top": 163.5,
|
|
|
+ "height": 38,
|
|
|
+ "width": 9,
|
|
|
+ "right": 655.827731662326,
|
|
|
+ "bottom": 205.6627646552191,
|
|
|
+ "vCenter": 651.327731662326,
|
|
|
+ "hCenter": 189.1627646552191,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 15,
|
|
|
+ "top": 164,
|
|
|
+ "height": 38,
|
|
|
+ "width": 9,
|
|
|
+ "right": 11.647058823529411,
|
|
|
+ "bottom": 211.38234705083505,
|
|
|
+ "vCenter": 7.147058823529411,
|
|
|
+ "hCenter": 192.38234705083505,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 45,
|
|
|
+ "top": 164,
|
|
|
+ "height": 38,
|
|
|
+ "width": 9,
|
|
|
+ "right": 47.383238050672716,
|
|
|
+ "bottom": 207.05165354410798,
|
|
|
+ "vCenter": 42.883238050672716,
|
|
|
+ "hCenter": 190.55165354410798,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 294,
|
|
|
+ "top": 164,
|
|
|
+ "height": 38,
|
|
|
+ "width": 9,
|
|
|
+ "right": 297.0499182807073,
|
|
|
+ "bottom": 207.72222646077464,
|
|
|
+ "vCenter": 292.5499182807073,
|
|
|
+ "hCenter": 191.22222646077464,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 577,
|
|
|
+ "top": 164,
|
|
|
+ "height": 38,
|
|
|
+ "width": 9,
|
|
|
+ "right": 577.1110975477427,
|
|
|
+ "bottom": 208.05555301242396,
|
|
|
+ "vCenter": 572.6110975477427,
|
|
|
+ "hCenter": 188.55555301242396,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 684,
|
|
|
+ "top": 164,
|
|
|
+ "height": 38,
|
|
|
+ "width": 9,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "right": 689.3889295789927,
|
|
|
+ "bottom": 207.27777184380417,
|
|
|
+ "vCenter": 684.8889295789927,
|
|
|
+ "hCenter": 190.77777184380417
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 830,
|
|
|
+ "top": 164,
|
|
|
+ "height": 39,
|
|
|
+ "width": 9,
|
|
|
+ "right": 863.478268830672,
|
|
|
+ "bottom": 259.63042881177813,
|
|
|
+ "vCenter": 858.978268830672,
|
|
|
+ "hCenter": 214.63042881177813,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 48,
|
|
|
+ "top": 165,
|
|
|
+ "height": 12,
|
|
|
+ "width": 245,
|
|
|
+ "title": "印件代号及名称",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 275.36842105263156,
|
|
|
+ "bottom": 173.6447371432655,
|
|
|
+ "vCenter": 161.36842105263156,
|
|
|
+ "hCenter": 168.7697371432655
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 299,
|
|
|
+ "top": 165,
|
|
|
+ "height": 12,
|
|
|
+ "width": 48,
|
|
|
+ "title": "平张投料量",
|
|
|
+ "right": 343.93882242838527,
|
|
|
+ "bottom": 186.1111119588215,
|
|
|
+ "vCenter": 317.43882242838527,
|
|
|
+ "hCenter": 180.1111119588215,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 350,
|
|
|
+ "top": 165,
|
|
|
+ "height": 12,
|
|
|
+ "width": 227,
|
|
|
+ "title": "纸张名称",
|
|
|
+ "right": 566.8832600911456,
|
|
|
+ "bottom": 186.66666751437708,
|
|
|
+ "vCenter": 457.88326009114564,
|
|
|
+ "hCenter": 180.66666751437708,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 579,
|
|
|
+ "top": 165,
|
|
|
+ "height": 12,
|
|
|
+ "width": 75,
|
|
|
+ "title": "投料规格",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 647.7222629123262,
|
|
|
+ "bottom": 186.3888897365993,
|
|
|
+ "vCenter": 609.4722629123262,
|
|
|
+ "hCenter": 180.3888897365993
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 656,
|
|
|
+ "top": 165,
|
|
|
+ "height": 12,
|
|
|
+ "width": 27,
|
|
|
+ "title": "联数",
|
|
|
+ "right": 678.6054823133676,
|
|
|
+ "bottom": 186.66666751437708,
|
|
|
+ "vCenter": 663.6054823133676,
|
|
|
+ "hCenter": 180.66666751437708,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 686,
|
|
|
+ "top": 165,
|
|
|
+ "height": 12,
|
|
|
+ "width": 27,
|
|
|
+ "title": "开数",
|
|
|
+ "right": 713.9388020833329,
|
|
|
+ "bottom": 186.55554962158195,
|
|
|
+ "vCenter": 698.9388020833329,
|
|
|
+ "hCenter": 180.55554962158195,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 712.5,
|
|
|
+ "top": 165,
|
|
|
+ "height": 38,
|
|
|
+ "width": 5,
|
|
|
+ "right": 720.9943983289927,
|
|
|
+ "bottom": 208.7777786254882,
|
|
|
+ "vCenter": 718.4943983289927,
|
|
|
+ "hCenter": 192.2777786254882,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "竖线",
|
|
|
+ "type": "vline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 714,
|
|
|
+ "top": 165,
|
|
|
+ "height": 12,
|
|
|
+ "width": 116,
|
|
|
+ "title": "备注",
|
|
|
+ "right": 832.6054551866315,
|
|
|
+ "bottom": 187.22222306993262,
|
|
|
+ "vCenter": 775.1054551866315,
|
|
|
+ "hCenter": 181.22222306993262,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 17,
|
|
|
+ "top": 166,
|
|
|
+ "height": 12,
|
|
|
+ "width": 27,
|
|
|
+ "title": "印件",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 41.05263639751233,
|
|
|
+ "bottom": 177.39473232470056,
|
|
|
+ "vCenter": 25.30263639751233,
|
|
|
+ "hCenter": 171.39473232470056
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 15,
|
|
|
+ "top": 178.5,
|
|
|
+ "height": 9,
|
|
|
+ "width": 815,
|
|
|
+ "borderWidth": "0.75",
|
|
|
+ "right": 516.3749999999998,
|
|
|
+ "bottom": 185.24998855590812,
|
|
|
+ "vCenter": 471.37499999999983,
|
|
|
+ "hCenter": 180.74998855590812,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "横线",
|
|
|
+ "type": "hline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 350,
|
|
|
+ "top": 180,
|
|
|
+ "height": 12,
|
|
|
+ "width": 227,
|
|
|
+ "title": "文本",
|
|
|
+ "right": 481.50000214576704,
|
|
|
+ "bottom": 188.99998855590812,
|
|
|
+ "vCenter": 421.50000214576704,
|
|
|
+ "hCenter": 184.12498855590812,
|
|
|
+ "field": "zzmc",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "textContentWrap": "clip"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 579,
|
|
|
+ "top": 180,
|
|
|
+ "height": 12,
|
|
|
+ "width": 75,
|
|
|
+ "title": "文本",
|
|
|
+ "field": "tlgg",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentWrap": "clip",
|
|
|
+ "right": 645.4388156467011,
|
|
|
+ "bottom": 204.2777854071722,
|
|
|
+ "vCenter": 607.4388156467011,
|
|
|
+ "hCenter": 198.2777854071722
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 656,
|
|
|
+ "top": 180,
|
|
|
+ "height": 12,
|
|
|
+ "width": 27,
|
|
|
+ "title": "文本",
|
|
|
+ "field": "ls",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 679.8276774088538,
|
|
|
+ "bottom": 205.49999745686839,
|
|
|
+ "vCenter": 664.8276774088538,
|
|
|
+ "hCenter": 199.49999745686839,
|
|
|
+ "textContentWrap": "clip"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 685.5,
|
|
|
+ "top": 180,
|
|
|
+ "height": 12,
|
|
|
+ "width": 27,
|
|
|
+ "title": "文本",
|
|
|
+ "field": "ks",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 715.1249999999997,
|
|
|
+ "bottom": 188.99998855590815,
|
|
|
+ "vCenter": 700.1249999999997,
|
|
|
+ "hCenter": 182.99998855590815,
|
|
|
+ "textContentWrap": "clip"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 714,
|
|
|
+ "top": 180,
|
|
|
+ "height": 12,
|
|
|
+ "width": 116,
|
|
|
+ "title": "文本",
|
|
|
+ "right": 833.5499403211802,
|
|
|
+ "bottom": 205.1111187405055,
|
|
|
+ "vCenter": 776.0499403211802,
|
|
|
+ "hCenter": 199.1111187405055,
|
|
|
+ "field": "bz",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "textContentWrap": "clip"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 296,
|
|
|
+ "top": 181,
|
|
|
+ "height": 14,
|
|
|
+ "width": 52,
|
|
|
+ "title": "文本",
|
|
|
+ "right": 348.7222425672742,
|
|
|
+ "bottom": 193.22222985161665,
|
|
|
+ "vCenter": 322.7222425672742,
|
|
|
+ "hCenter": 186.22222985161665,
|
|
|
+ "field": "pztll",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 17,
|
|
|
+ "top": 182,
|
|
|
+ "height": 12,
|
|
|
+ "width": 27,
|
|
|
+ "title": "文本",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 40.24999999999999,
|
|
|
+ "bottom": 192.99608612060536,
|
|
|
+ "vCenter": 24.749999999999993,
|
|
|
+ "hCenter": 186.99608612060536,
|
|
|
+ "field": "yjh",
|
|
|
+ "hideTitle": true
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 47,
|
|
|
+ "top": 182,
|
|
|
+ "height": 12,
|
|
|
+ "width": 247,
|
|
|
+ "title": "文本",
|
|
|
+ "field": "thdhjmc",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 287.125,
|
|
|
+ "bottom": 190.12498855590812,
|
|
|
+ "vCenter": 168.12499999999997,
|
|
|
+ "hCenter": 184.12498855590812,
|
|
|
+ "textContentWrap": "clip"
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 15,
|
|
|
+ "top": 202,
|
|
|
+ "height": 9,
|
|
|
+ "width": 816,
|
|
|
+ "borderWidth": "0.75",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "right": 936,
|
|
|
+ "bottom": 217.49999879535866,
|
|
|
+ "vCenter": 468,
|
|
|
+ "hCenter": 212.99999879535866
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "横线",
|
|
|
+ "type": "hline"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 15,
|
|
|
+ "top": 207,
|
|
|
+ "height": 151.5,
|
|
|
+ "width": 816,
|
|
|
+ "field": "table1",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "textAlign": "center",
|
|
|
+ "tableHeaderBackground": "#ffffff",
|
|
|
+ "autoCompletion": true,
|
|
|
+ "right": 839.3181776566939,
|
|
|
+ "bottom": 371.3181818181818,
|
|
|
+ "vCenter": 420.8181776566939,
|
|
|
+ "hCenter": 297.8181818181818,
|
|
|
+ "maxRows": 12,
|
|
|
+ "gridColumns": 2,
|
|
|
+ "columns": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "width": 306.2256573863597,
|
|
|
+ "title": "物料代码及名称",
|
|
|
+ "titleSync": true,
|
|
|
+ "field": "wldmjmc",
|
|
|
+ "checked": true,
|
|
|
+ "columnId": "wldmjmc",
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "align": "left",
|
|
|
+ "halign": "left",
|
|
|
+ "vAlign": "middle",
|
|
|
+ "tableQRCodeLevel": 0,
|
|
|
+ "tableSummaryTitle": true,
|
|
|
+ "tableSummary": "",
|
|
|
+ "tableSummaryAlign": "justify"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "width": 64.2564983208363,
|
|
|
+ "title": "计划用量",
|
|
|
+ "titleSync": false,
|
|
|
+ "field": "jhyl",
|
|
|
+ "checked": true,
|
|
|
+ "columnId": "jhyl",
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "tableQRCodeLevel": 0,
|
|
|
+ "tableSummaryTitle": true,
|
|
|
+ "tableSummary": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "width": 37.51784429280394,
|
|
|
+ "title": "单位",
|
|
|
+ "titleSync": false,
|
|
|
+ "field": "dw",
|
|
|
+ "checked": true,
|
|
|
+ "columnId": "dw",
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "align": "center",
|
|
|
+ "halign": "center",
|
|
|
+ "vAlign": "middle",
|
|
|
+ "tableQRCodeLevel": 0,
|
|
|
+ "tableSummaryTitle": true,
|
|
|
+ "tableSummary": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "width": 85.97291065362847,
|
|
|
+ "title": "物料代码及名称",
|
|
|
+ "titleSync": false,
|
|
|
+ "field": "wldmjmc1",
|
|
|
+ "checked": false,
|
|
|
+ "columnId": "wldmjmc1",
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "tableQRCodeLevel": 0,
|
|
|
+ "tableSummaryTitle": true,
|
|
|
+ "tableSummary": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "width": 107.88106549200486,
|
|
|
+ "title": "计划用量",
|
|
|
+ "titleSync": false,
|
|
|
+ "field": "jhyl1",
|
|
|
+ "checked": false,
|
|
|
+ "columnId": "jhyl1",
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "tableQRCodeLevel": 0,
|
|
|
+ "tableSummaryTitle": true,
|
|
|
+ "tableSummary": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "width": 170.29501525940995,
|
|
|
+ "title": "单位",
|
|
|
+ "titleSync": false,
|
|
|
+ "field": "dw1",
|
|
|
+ "checked": false,
|
|
|
+ "columnId": "dw1",
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "tableQRCodeLevel": 0,
|
|
|
+ "tableSummaryTitle": true,
|
|
|
+ "tableSummary": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "width": 85.25,
|
|
|
+ "checked": false,
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "width": 85.25,
|
|
|
+ "checked": false,
|
|
|
+ "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": 15,
|
|
|
+ "top": 372,
|
|
|
+ "height": 91.5,
|
|
|
+ "width": 816,
|
|
|
+ "right": 833.5,
|
|
|
+ "bottom": 466.83333333333337,
|
|
|
+ "vCenter": 425.5,
|
|
|
+ "hCenter": 370.08333333333337,
|
|
|
+ "field": "table2",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "tableHeaderBackground": "#ffffff",
|
|
|
+ "columns": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "width": 300.1855077418251,
|
|
|
+ "title": "印件及工序名称",
|
|
|
+ "titleSync": false,
|
|
|
+ "field": "yjjgxmc",
|
|
|
+ "checked": true,
|
|
|
+ "columnId": "yjjgxmc",
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "tableQRCodeLevel": 0,
|
|
|
+ "tableSummaryTitle": true,
|
|
|
+ "tableSummary": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "width": 54.48396735336328,
|
|
|
+ "title": "转序数(张)",
|
|
|
+ "titleSync": false,
|
|
|
+ "field": "zxs",
|
|
|
+ "checked": true,
|
|
|
+ "columnId": "zxs",
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "tableQRCodeLevel": 0,
|
|
|
+ "tableSummaryTitle": true,
|
|
|
+ "tableSummary": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "width": 45.53587180900963,
|
|
|
+ "title": "报废定额",
|
|
|
+ "titleSync": false,
|
|
|
+ "field": "bfde",
|
|
|
+ "checked": true,
|
|
|
+ "columnId": "bfde",
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "tableQRCodeLevel": 0,
|
|
|
+ "tableSummaryTitle": true,
|
|
|
+ "tableSummary": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "width": 46.13787813620061,
|
|
|
+ "title": "允许比例",
|
|
|
+ "titleSync": false,
|
|
|
+ "field": "yxbl",
|
|
|
+ "checked": true,
|
|
|
+ "columnId": "yxbl",
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "tableQRCodeLevel": 0,
|
|
|
+ "tableSummaryTitle": true,
|
|
|
+ "tableSummary": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "width": 46.26871540323957,
|
|
|
+ "title": "损耗系数",
|
|
|
+ "titleSync": false,
|
|
|
+ "field": "shxs",
|
|
|
+ "checked": true,
|
|
|
+ "columnId": "shxs",
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "tableQRCodeLevel": 0,
|
|
|
+ "tableSummaryTitle": true,
|
|
|
+ "tableSummary": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "width": 45.722331785648365,
|
|
|
+ "title": "装板工时",
|
|
|
+ "titleSync": false,
|
|
|
+ "field": "zbgs",
|
|
|
+ "checked": true,
|
|
|
+ "columnId": "zbgs",
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "tableQRCodeLevel": 0,
|
|
|
+ "tableSummaryTitle": true,
|
|
|
+ "tableSummary": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "width": 45.902414161246085,
|
|
|
+ "title": "小时定额",
|
|
|
+ "titleSync": false,
|
|
|
+ "field": "xsde",
|
|
|
+ "checked": true,
|
|
|
+ "columnId": "xsde",
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "tableQRCodeLevel": 0,
|
|
|
+ "tableSummaryTitle": true,
|
|
|
+ "tableSummary": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "width": 51.093669275306894,
|
|
|
+ "title": "生产工时",
|
|
|
+ "titleSync": false,
|
|
|
+ "field": "scgs",
|
|
|
+ "checked": true,
|
|
|
+ "columnId": "scgs",
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "tableQRCodeLevel": 0,
|
|
|
+ "tableSummaryTitle": true,
|
|
|
+ "tableSummary": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "width": 180.66964433416047,
|
|
|
+ "title": "备注",
|
|
|
+ "titleSync": false,
|
|
|
+ "field": "bz",
|
|
|
+ "checked": true,
|
|
|
+ "columnId": "bz",
|
|
|
+ "fixed": false,
|
|
|
+ "rowspan": 1,
|
|
|
+ "colspan": 1,
|
|
|
+ "align": "center",
|
|
|
+ "halign": "center",
|
|
|
+ "vAlign": "middle",
|
|
|
+ "tableQRCodeLevel": 0,
|
|
|
+ "tableSummaryTitle": true,
|
|
|
+ "tableSummary": ""
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "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": 15,
|
|
|
+ "top": 524,
|
|
|
+ "height": 14,
|
|
|
+ "width": 45,
|
|
|
+ "title": "制单:",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "fontSize": 12,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0,
|
|
|
+ "right": 45.54545038396662,
|
|
|
+ "bottom": 559.9999916770241,
|
|
|
+ "vCenter": 29.045450383966617,
|
|
|
+ "hCenter": 552.9999916770241
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 64.5,
|
|
|
+ "top": 524,
|
|
|
+ "height": 14,
|
|
|
+ "width": 120,
|
|
|
+ "title": "文本",
|
|
|
+ "right": 170.31817349520597,
|
|
|
+ "bottom": 559.0454711914062,
|
|
|
+ "vCenter": 110.31817349520597,
|
|
|
+ "hCenter": 552.0454711914062,
|
|
|
+ "field": "zdr",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "fontSize": 12,
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 396,
|
|
|
+ "top": 524,
|
|
|
+ "height": 14,
|
|
|
+ "width": 40.5,
|
|
|
+ "title": "审核:",
|
|
|
+ "right": 515.8636405251243,
|
|
|
+ "bottom": 559.3181734952059,
|
|
|
+ "vCenter": 455.8636405251243,
|
|
|
+ "hCenter": 552.3181734952059,
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "fontSize": 12,
|
|
|
+ "textAlign": "center",
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "left": 436.5,
|
|
|
+ "top": 524,
|
|
|
+ "height": 14,
|
|
|
+ "width": 120,
|
|
|
+ "title": "文本",
|
|
|
+ "right": 559.2421875,
|
|
|
+ "bottom": 557.99609375,
|
|
|
+ "vCenter": 499.2421875,
|
|
|
+ "hCenter": 550.99609375,
|
|
|
+ "field": "shr",
|
|
|
+ "coordinateSync": false,
|
|
|
+ "widthHeightSync": false,
|
|
|
+ "hideTitle": true,
|
|
|
+ "fontSize": 12,
|
|
|
+ "textContentVerticalAlign": "middle",
|
|
|
+ "qrCodeLevel": 0
|
|
|
+ },
|
|
|
+ "printElementType": {
|
|
|
+ "title": "文本",
|
|
|
+ "type": "text"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "paperNumberLeft": 565.5,
|
|
|
+ "paperNumberTop": 573,
|
|
|
+ "paperNumberDisabled": true,
|
|
|
+ "paperNumberContinue": true,
|
|
|
+ "backgroundColor": "#ffffff",
|
|
|
+ "overPrintOptions": {
|
|
|
+ "content": "",
|
|
|
+ "opacity": 0.7,
|
|
|
+ "type": 1
|
|
|
+ },
|
|
|
+ "watermarkOptions": {
|
|
|
+ "content": "",
|
|
|
+ "fillStyle": "rgba(255, 255, 255, 1)",
|
|
|
+ "fontSize": "36px",
|
|
|
+ "rotate": 25,
|
|
|
+ "width": 413,
|
|
|
+ "height": 310,
|
|
|
+ "timestamp": false,
|
|
|
+ "format": "YYYY-MM-DD HH:mm"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+}
|
|
|
+hiprint.init()
|
|
|
+const hiprintTemplate = new hiprint.PrintTemplate({ template: jsondata })
|
|
|
+const cp_print_handleConfirm = async () => {
|
|
|
+ let params = {};
|
|
|
+ //2310707
|
|
|
+ //2012127
|
|
|
+ params.workOrder = form['gdbh'];
|
|
|
+ params.PrepareDocument = form['zd'];
|
|
|
+ params.examine = form['sh'];
|
|
|
+ params.yjno = form['yjno'];
|
|
|
+ params.gxh = form['gxh'];
|
|
|
+ //调用打印接口【打印作业通知单】
|
|
|
+ const print_PrintJobOrder = await PrintJobOrder(params);
|
|
|
+ console.log(print_PrintJobOrder)
|
|
|
+ if(print_PrintJobOrder.data === null){
|
|
|
+ ElMessage({type: 'error',message: print_PrintJobOrder.msg})
|
|
|
+ }
|
|
|
+ // 获取当前日期
|
|
|
+ const today = new Date();
|
|
|
+ const year = today.getFullYear();
|
|
|
+ const month = String(today.getMonth() + 1).padStart(2, '0'); // 月份从 0 开始,需要补零
|
|
|
+ const day = String(today.getDate()).padStart(2, '0');
|
|
|
+ const hours = String(today.getHours()).padStart(2, '0');
|
|
|
+ const minutes = String(today.getMinutes()).padStart(2, '0');
|
|
|
+ const seconds = String(today.getSeconds()).padStart(2, '0');
|
|
|
+ const currentDate = `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
|
|
|
+ const printdata = {
|
|
|
+ "minong": "https://shangbiaopic.11467.com/13/85/13855845.jpg",
|
|
|
+ "printcode":print_PrintJobOrder.data['二维码'],
|
|
|
+ "dysj":currentDate,
|
|
|
+ "scpch":print_PrintJobOrder.data['生产批次号'],
|
|
|
+ "xsddh":print_PrintJobOrder.data['生产批次号'],
|
|
|
+ // "xsddh":print_PrintJobOrder.data['销售订单号'],
|
|
|
+ "khdh": print_PrintJobOrder.data['客户代码'],
|
|
|
+ "khmc": print_PrintJobOrder.data['客户名称'],
|
|
|
+ "cpdm": print_PrintJobOrder.data['产品代码'],
|
|
|
+ "cpmc": print_PrintJobOrder.data['产品名称'],
|
|
|
+ "bbh": print_PrintJobOrder.data['版本号'],
|
|
|
+ "jybm": print_PrintJobOrder.data['警语版面'],
|
|
|
+ "mysl": print_PrintJobOrder.data['码源数量'],
|
|
|
+ "kherpbm": print_PrintJobOrder.data['客户ERP编码'],
|
|
|
+ "kdrq": print_PrintJobOrder.data['开单日期'],
|
|
|
+ "jhrq": print_PrintJobOrder.data['交货日期'],
|
|
|
+ "pzll": print_PrintJobOrder.data['平张投料量'],
|
|
|
+ "gdsm":print_PrintJobOrder.data['工单说明'],
|
|
|
+ "tll":print_PrintJobOrder.data['投料率'],
|
|
|
+ "mbhgl":print_PrintJobOrder.data['目标合格率'],
|
|
|
+ "pjhgl":print_PrintJobOrder.data['平均合格率'],
|
|
|
+ "dhsl":print_PrintJobOrder.data['订货数量'],
|
|
|
+ "kcsl":print_PrintJobOrder.data['库存数量'],
|
|
|
+ "tlsl":print_PrintJobOrder.data['投料数量'],
|
|
|
+ "yjh":print_PrintJobOrder.data['印件'],
|
|
|
+ "thdhjmc":print_PrintJobOrder.data['印件代号及名称'],
|
|
|
+ "pztll":print_PrintJobOrder.data['平张投料量'],
|
|
|
+ "zzmc":print_PrintJobOrder.data['纸张名称'],
|
|
|
+ "tlgg":print_PrintJobOrder.data['投料规格'],
|
|
|
+ "ks":print_PrintJobOrder.data['开数'],
|
|
|
+ "ls":print_PrintJobOrder.data['联数'],
|
|
|
+ "bz":print_PrintJobOrder.data['印件备注'],
|
|
|
+ 'table1': print_PrintJobOrder.data.materiel.map(item => ({
|
|
|
+ 'wldmjmc': item.物料代码及名称,
|
|
|
+ 'jhyl': item['计划用量'].toFixed(2),
|
|
|
+ 'dw': item['投料单位'],
|
|
|
+ })),
|
|
|
+ 'table2': print_PrintJobOrder.data.printDetail.map(item => ({
|
|
|
+ 'yjjgxmc': item.印件及工序名称,
|
|
|
+ 'zxs': item['转序数'],
|
|
|
+ 'bfde': item['报废定额'],
|
|
|
+ 'yxbl': item['允损比例'],
|
|
|
+ 'shxs': item['损耗系数'],
|
|
|
+ 'zbgs': item['装版工时'],
|
|
|
+ 'xsde': item['小时定额'],
|
|
|
+ 'scgs': item['生产工时'],
|
|
|
+ 'bz': item['工序备注'],
|
|
|
+ })),
|
|
|
+ "shr":form['sh'],
|
|
|
+ "zdr":form['zd']
|
|
|
+
|
|
|
+ }
|
|
|
+ hiprintTemplate.print(printdata);
|
|
|
+ // cp_print_gdlist.value = false;
|
|
|
+}
|
|
|
+
|
|
|
+defineExpose({ open })
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped>
|
|
|
+:deep(.el-table td .cell) {
|
|
|
+ line-height: 20px !important;
|
|
|
+}
|
|
|
+:deep(.el-tabs__header){
|
|
|
+ margin-bottom: 0;
|
|
|
+}
|
|
|
+.search{
|
|
|
+ margin-left: 0px !important;
|
|
|
+ margin-right: 10px !important;
|
|
|
+}
|
|
|
+.bt{
|
|
|
+ margin-left: 2px !important;
|
|
|
+ padding: 3px !important;
|
|
|
+ font-size: 12px;
|
|
|
+}
|
|
|
+.el-tabs__header{
|
|
|
+ margin: 0px !important;
|
|
|
+}
|
|
|
+.gva-table-box{
|
|
|
+ padding: 0px !important;
|
|
|
+}
|
|
|
+.el-pagination{
|
|
|
+ margin-top: 0px !important;
|
|
|
+}
|
|
|
+.mab{
|
|
|
+ margin-bottom: 5px;
|
|
|
+}
|
|
|
+
|
|
|
+</style>
|