From 173166a3d1c9f5171b20fca9c5336005d6c9d0bc Mon Sep 17 00:00:00 2001 From: 王震 <10952869+daywangzhen@user.noreply.gitee.com> Date: 星期三, 08 十一月 2023 19:38:12 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before --- public/img/image001.jpg | 0 public/img/image002.png | 0 src/views/quality/finishedProductInspection/index.vue | 37 npminstall-debug.log | 197 +++++ package.json | 1 src/views/quality/finishedProductInspection/finishedProduct-form.vue | 38 src/views/quality/finishedProductInspection/finishedProduct-print.vue | 1383 ++++++++++++++++++++++++++++++++++++ src/views/quality/processInspect/index.vue | 2 src/views/quality/rawMaterial/index.vue | 64 + src/views/quality/rawMaterial/rawMaterial-print.vue | 466 ++++++++++++ src/views/common/ztt-table.vue | 2 src/views/quality/processInspect/processInspect-form.vue | 48 + 12 files changed, 2,224 insertions(+), 14 deletions(-) diff --git a/npminstall-debug.log b/npminstall-debug.log new file mode 100644 index 0000000..811d4cd --- /dev/null +++ b/npminstall-debug.log @@ -0,0 +1,197 @@ +{ + root: 'D:\\WorkSpace\\mes-ocea-before', + registry: 'https://registry.npmmirror.com', + pkgs: [], + production: false, + cacheStrict: false, + cacheDir: 'C:\\Users\\86134\\.npminstall_tarball', + env: { + npm_config_registry: 'https://registry.npmmirror.com', + npm_config_argv: '{"remain":[],"cooked":["--fix-bug-versions","--china","--userconfig=C:\\\\Users\\\\86134\\\\.cnpmrc","--disturl=https://cdn.npmmirror.com/binaries/node","--registry=https://registry.npmmirror.com","-g","node-sass"],"original":["--fix-bug-versions","--china","--userconfig=C:\\\\Users\\\\86134\\\\.cnpmrc","--disturl=https://cdn.npmmirror.com/binaries/node","--registry=https://registry.npmmirror.com","-g","node-sass"]}', + npm_config_user_agent: 'npminstall/7.11.1 npm/? node/v14.18.3 win32 x64', + npm_config_cache: 'C:\\Users\\86134\\.npminstall_tarball', + NODE: 'D:\\WorkSpace\\nodejs\\node.exe', + npm_node_execpath: 'D:\\WorkSpace\\nodejs\\node.exe', + npm_execpath: 'C:\\Users\\86134\\AppData\\Roaming\\npm\\node_modules\\cnpm\\node_modules\\npminstall\\bin\\install.js', + npm_config_userconfig: 'C:\\Users\\86134\\.cnpmrc', + npm_config_disturl: 'https://cdn.npmmirror.com/binaries/node', + npm_config_r: 'https://registry.npmmirror.com', + COREPACK_NPM_REGISTRY: 'https://registry.npmmirror.com', + NODEJS_ORG_MIRROR: 'https://cdn.npmmirror.com/binaries/node', + NVM_NODEJS_ORG_MIRROR: 'https://cdn.npmmirror.com/binaries/node', + PHANTOMJS_CDNURL: 'https://cdn.npmmirror.com/binaries/phantomjs', + CHROMEDRIVER_CDNURL: 'https://cdn.npmmirror.com/binaries/chromedriver', + OPERADRIVER_CDNURL: 'https://cdn.npmmirror.com/binaries/operadriver', + CYPRESS_DOWNLOAD_PATH_TEMPLATE: 'https://cdn.npmmirror.com/binaries/cypress/${version}/${platform}-${arch}/cypress.zip', + ELECTRON_MIRROR: 'https://cdn.npmmirror.com/binaries/electron/', + ELECTRON_BUILDER_BINARIES_MIRROR: 'https://cdn.npmmirror.com/binaries/electron-builder-binaries/', + SASS_BINARY_SITE: 'https://cdn.npmmirror.com/binaries/node-sass', + SWC_BINARY_SITE: 'https://cdn.npmmirror.com/binaries/node-swc', + NWJS_URLBASE: 'https://cdn.npmmirror.com/binaries/nwjs/v', + PUPPETEER_DOWNLOAD_HOST: 'https://cdn.npmmirror.com/binaries/chrome-for-testing', + PUPPETEER_DOWNLOAD_BASE_URL: 'https://cdn.npmmirror.com/binaries/chrome-for-testing', + PLAYWRIGHT_DOWNLOAD_HOST: 'https://cdn.npmmirror.com/binaries/playwright', + SENTRYCLI_CDNURL: 'https://cdn.npmmirror.com/binaries/sentry-cli', + SAUCECTL_INSTALL_BINARY_MIRROR: 'https://cdn.npmmirror.com/binaries/saucectl', + RE2_DOWNLOAD_MIRROR: 'https://cdn.npmmirror.com/binaries/node-re2', + RE2_DOWNLOAD_SKIP_PATH: 'true', + PRISMA_ENGINES_MIRROR: 'https://cdn.npmmirror.com/binaries/prisma', + npm_config_better_sqlite3_binary_host: 'https://cdn.npmmirror.com/binaries/better-sqlite3', + npm_config_keytar_binary_host: 'https://cdn.npmmirror.com/binaries/keytar', + npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp', + npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips', + npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs', + npm_rootpath: 'D:\\WorkSpace\\mes-ocea-before', + INIT_CWD: 'D:\\WorkSpace\\mes-ocea-before' + }, + binaryMirrors: { + ENVS: { + COREPACK_NPM_REGISTRY: 'https://registry.npmmirror.com', + NODEJS_ORG_MIRROR: 'https://cdn.npmmirror.com/binaries/node', + NVM_NODEJS_ORG_MIRROR: 'https://cdn.npmmirror.com/binaries/node', + PHANTOMJS_CDNURL: 'https://cdn.npmmirror.com/binaries/phantomjs', + CHROMEDRIVER_CDNURL: 'https://cdn.npmmirror.com/binaries/chromedriver', + OPERADRIVER_CDNURL: 'https://cdn.npmmirror.com/binaries/operadriver', + CYPRESS_DOWNLOAD_PATH_TEMPLATE: 'https://cdn.npmmirror.com/binaries/cypress/${version}/${platform}-${arch}/cypress.zip', + ELECTRON_MIRROR: 'https://cdn.npmmirror.com/binaries/electron/', + ELECTRON_BUILDER_BINARIES_MIRROR: 'https://cdn.npmmirror.com/binaries/electron-builder-binaries/', + SASS_BINARY_SITE: 'https://cdn.npmmirror.com/binaries/node-sass', + SWC_BINARY_SITE: 'https://cdn.npmmirror.com/binaries/node-swc', + NWJS_URLBASE: 'https://cdn.npmmirror.com/binaries/nwjs/v', + PUPPETEER_DOWNLOAD_HOST: 'https://cdn.npmmirror.com/binaries/chrome-for-testing', + PUPPETEER_DOWNLOAD_BASE_URL: 'https://cdn.npmmirror.com/binaries/chrome-for-testing', + PLAYWRIGHT_DOWNLOAD_HOST: 'https://cdn.npmmirror.com/binaries/playwright', + SENTRYCLI_CDNURL: 'https://cdn.npmmirror.com/binaries/sentry-cli', + SAUCECTL_INSTALL_BINARY_MIRROR: 'https://cdn.npmmirror.com/binaries/saucectl', + RE2_DOWNLOAD_MIRROR: 'https://cdn.npmmirror.com/binaries/node-re2', + RE2_DOWNLOAD_SKIP_PATH: 'true', + PRISMA_ENGINES_MIRROR: 'https://cdn.npmmirror.com/binaries/prisma', + npm_config_better_sqlite3_binary_host: 'https://cdn.npmmirror.com/binaries/better-sqlite3', + npm_config_keytar_binary_host: 'https://cdn.npmmirror.com/binaries/keytar', + npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp', + npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips', + npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs' + }, + '@ali/s2': { host: 'https://cdn.npmmirror.com/binaries/looksgood-s2' }, + sharp: { replaceHostFiles: [Array], replaceHostMap: [Object] }, + '@tensorflow/tfjs-node': { + replaceHostFiles: [Array], + replaceHostRegExpMap: [Object], + replaceHostMap: [Object] + }, + cypress: { + host: 'https://cdn.npmmirror.com/binaries/cypress', + newPlatforms: [Object] + }, + 'utf-8-validate': { + host: 'https://cdn.npmmirror.com/binaries/utf-8-validate/v{version}' + }, + xprofiler: { + remote_path: './xprofiler/v{version}/', + host: 'https://cdn.npmmirror.com/binaries' + }, + leveldown: { host: 'https://cdn.npmmirror.com/binaries/leveldown/v{version}' }, + couchbase: { host: 'https://cdn.npmmirror.com/binaries/couchbase/v{version}' }, + gl: { host: 'https://cdn.npmmirror.com/binaries/gl/v{version}' }, + sqlite3: { + host: 'https://cdn.npmmirror.com/binaries/sqlite3', + remote_path: 'v{version}' + }, + '@journeyapps/sqlcipher': { host: 'https://cdn.npmmirror.com/binaries' }, + grpc: { + host: 'https://cdn.npmmirror.com/binaries', + remote_path: '{name}/v{version}' + }, + 'grpc-tools': { host: 'https://cdn.npmmirror.com/binaries' }, + wrtc: { + host: 'https://cdn.npmmirror.com/binaries', + remote_path: '{name}/v{version}' + }, + fsevents: { host: 'https://cdn.npmmirror.com/binaries/fsevents' }, + nodejieba: { host: 'https://cdn.npmmirror.com/binaries/nodejieba' }, + canvas: { host: 'https://cdn.npmmirror.com/binaries/canvas' }, + 'skia-canvas': { host: 'https://cdn.npmmirror.com/binaries/skia-canvas' }, + 'flow-bin': { + replaceHost: 'https://github.com/facebook/flow/releases/download/v', + host: 'https://cdn.npmmirror.com/binaries/flow/v' + }, + 'jpegtran-bin': { + replaceHost: [Array], + host: 'https://cdn.npmmirror.com/binaries/jpegtran-bin' + }, + 'cwebp-bin': { + replaceHost: [Array], + host: 'https://cdn.npmmirror.com/binaries/cwebp-bin' + }, + 'zopflipng-bin': { + replaceHost: [Array], + host: 'https://cdn.npmmirror.com/binaries/zopflipng-bin' + }, + 'optipng-bin': { + replaceHost: [Array], + host: 'https://cdn.npmmirror.com/binaries/optipng-bin' + }, + mozjpeg: { + replaceHost: [Array], + host: 'https://cdn.npmmirror.com/binaries/mozjpeg-bin' + }, + gifsicle: { + replaceHost: [Array], + host: 'https://cdn.npmmirror.com/binaries/gifsicle-bin' + }, + 'pngquant-bin': { + replaceHost: [Array], + host: 'https://cdn.npmmirror.com/binaries/pngquant-bin', + replaceHostMap: [Object] + }, + 'pngcrush-bin': { + replaceHost: [Array], + host: 'https://cdn.npmmirror.com/binaries/pngcrush-bin' + }, + 'jpeg-recompress-bin': { + replaceHost: [Array], + host: 'https://cdn.npmmirror.com/binaries/jpeg-recompress-bin' + }, + 'advpng-bin': { + replaceHost: [Array], + host: 'https://cdn.npmmirror.com/binaries/advpng-bin' + }, + 'pngout-bin': { + replaceHost: [Array], + host: 'https://cdn.npmmirror.com/binaries/pngout-bin' + }, + 'jpegoptim-bin': { + replaceHost: [Array], + host: 'https://cdn.npmmirror.com/binaries/jpegoptim-bin' + }, + argon2: { host: 'https://cdn.npmmirror.com/binaries/argon2' }, + 'ali-zeromq': { host: 'https://cdn.npmmirror.com/binaries/ali-zeromq' }, + 'ali-usb_ctl': { host: 'https://cdn.npmmirror.com/binaries/ali-usb_ctl' }, + 'gdal-async': { host: 'https://cdn.npmmirror.com/binaries/node-gdal-async' }, + 'libpg-query': { host: 'https://cdn.npmmirror.com/binaries' } + }, + forbiddenLicenses: null, + flatten: false, + proxy: undefined, + prune: false, + disableFallbackStore: false, + workspacesMap: Map(0) {}, + enableWorkspace: false, + workspaceRoot: 'D:\\WorkSpace\\mes-ocea-before', + isWorkspaceRoot: true, + isWorkspacePackage: false, + offline: false, + strictSSL: true, + ignoreScripts: false, + foregroundScripts: false, + ignoreOptionalDependencies: false, + detail: true, + forceLinkLatest: false, + trace: false, + engineStrict: false, + registryOnly: false, + client: false, + autoFixVersion: [Function: autoFixVersion], + targetDir: null, + binDir: null +} \ No newline at end of file diff --git a/package.json b/package.json index fd460e9..7ac2004 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "monaco-editor-webpack-plugin": "^4.1.2", "nprogress": "^0.2.0", "pig-avue-form-design": "^1.1.6", + "print-js": "^1.6.0", "qs": "^6.10.1", "script-loader": "^0.7.2", "sockjs-client": "^1.0.0", diff --git a/public/img/image001.jpg b/public/img/image001.jpg new file mode 100644 index 0000000..2909c8f --- /dev/null +++ b/public/img/image001.jpg Binary files differ diff --git a/public/img/image002.png b/public/img/image002.png new file mode 100644 index 0000000..5117c1f --- /dev/null +++ b/public/img/image002.png Binary files differ diff --git a/src/views/common/ztt-table.vue b/src/views/common/ztt-table.vue index 8f65553..6367bee 100644 --- a/src/views/common/ztt-table.vue +++ b/src/views/common/ztt-table.vue @@ -937,7 +937,7 @@ } }, getDataList(selectedId) { - // this.dataListLoading = true + this.dataListLoading = true var criteria = {} criteria.dateTimeFilters = this.dateTimeFilters criteria.multiSearchFilter = this.multiSearchFilter diff --git a/src/views/quality/finishedProductInspection/finishedProduct-form.vue b/src/views/quality/finishedProductInspection/finishedProduct-form.vue index 477d844..03d109d 100644 --- a/src/views/quality/finishedProductInspection/finishedProduct-form.vue +++ b/src/views/quality/finishedProductInspection/finishedProduct-form.vue @@ -139,6 +139,36 @@ </div> </template> </el-table-column> + <el-table-column prop="inspectionValue" v-for="(item, index) in empiricalValueAdd" :key="index" + label="妫�楠屾弿杩�" width="240" style="text-align: center;"> + <template slot-scope="scope"> + <el-col v-if="scope.row.itype === '1'"> + <el-tooltip v-if="scope.row.iname != null" :disabled="scope.row.eId != null" + class="item" effect="dark" content="璇峰厛閫夋嫨璁惧锛�" placement="top-start"> + <el-input :disabled="scope.row.eId == null" + v-model="scope.row.inote" + @blur="changeState(scope.row, index)" placeholder="璇疯緭鍏ユ楠屾弿杩�"></el-input> + <span v-if="resultVal != null && processInspectVo.id != null" + v-text="scope.row.inote"></span> + </el-tooltip> + </el-col> + <el-col v-else> + <el-tooltip v-if="scope.row.iname != null" :disabled="scope.row.eId != null" + class="item" effect="dark" content="璇峰厛閫夋嫨璁惧锛�" placement="top-start"> + <!-- <el-input :disabled="scope.row.eId == null" + v-model="scope.row.empiricalValueAddss[index]" + @blur="changeState(scope.row, index)" placeholder="璇疯緭鍏ユ娴嬪��"></el-input> --> + <el-select style="width: 100%;" @change="changeState(scope.row, index)" :disabled="scope.row.eId == null" v-model="scope.row.inote" placeholder="璇烽�夋嫨"> + <el-option v-for="item in dataVal" :key="item.value" :label="item.label" + :value="item.value"> + </el-option> + </el-select> + <span v-if="resultVal != null && processInspectVo.id != null" + v-text="scope.row.inote"></span> + </el-tooltip> + </el-col> + </template> + </el-table-column> <el-table-column label="缁撹" fixed="right" min-width="100"> <template slot-scope="scope"> <div v-if="scope.row.iname!=null"> @@ -366,6 +396,9 @@ arr = obj.inspectionValue.split(",") } obj.empiricalValueAddss = arr + if(obj.note){ + snote=obj.inote + } if(arr.length > this.empiricalValueAdd){ this.empiricalValueAdd = arr.length } @@ -397,6 +430,8 @@ obj.children[index-1].inspectionValue = '' obj.children[index-1].iresult = null obj.children[index-1].empiricalValueAddss = [] + obj.children[index-1].inote='' + } }) }).catch(error=>{ @@ -426,7 +461,8 @@ let obj = { equiomentId: row.eId, fpid: row.iid, - inspectionValue: str + inspectionValue: str, + note : row.inote } updateFinishedInsProduct(obj).then(res=>{ if(res.data.code == 0){ diff --git a/src/views/quality/finishedProductInspection/finishedProduct-print.vue b/src/views/quality/finishedProductInspection/finishedProduct-print.vue new file mode 100644 index 0000000..a3b53fc --- /dev/null +++ b/src/views/quality/finishedProductInspection/finishedProduct-print.vue @@ -0,0 +1,1383 @@ +<template> + <div id="20230721_24921" align=center x:publishsource="Excel" style="margin-top: 20pt;"> + <table border=0 cellpadding=0 cellspacing=0 width=1194 style='border-collapse:collapse;table-layout:fixed;width:607pt'> + <tr class=xl6524921 height=40 style='mso-height-source:userset;height:30.0pt'> + <td colspan=2 rowspan=2 height=73 width=122 style='width:92pt;border: 1pt solid windowtext'> + <span style='mso-ignore:vglayout;margin-left:12px;margin-top:14px;width:104px;height:42px'> + <img width=104 height=42 src="../../../../public/img/image002.png"> + </span> + </td> + <td colspan=2 class=xl6624921 width=399 style='border-right:.5pt solid black;border-left:none;width:250pt'>璁板綍鍚嶇О</td> + <td class=xl6724921 width=212 style='border-left:none;width:159pt'>鎴愬搧妫�楠岃褰曡〃</td> + <td class=xl6624921 width=226 style='border-left:none;width:170pt'>淇濆瓨鏈熼檺</td> + <td class=xl6824921 width=235 style='width:126pt'>25骞�</td> + </tr> + <tr class=xl6524921 height=33 style='mso-height-source:userset;height:25.05pt'> + <td colspan=2 height=33 class=xl6624921 style='border-right:.5pt solid black; + height:25.05pt;border-left:none'>璁板綍缂栧彿</td> + <td class=xl6824921 style='border-top:none;border-left:none'>ZTT/QR-8.6-05锛圓/0)</td> + <td class=xl6624921 style='border-top:none;border-left:none'>褰掓。閮ㄩ棬</td> + <td class=xl6824921 style='border-top:none'>璐ㄩ噺淇濊瘉閮�</td> + </tr> + <tr class=xl6524921 height=33 style='mso-height-source:userset;height:25.05pt'> + <td colspan=7 height=33 class=xl7424921 width=1194 style='height:25.05pt; + width:897pt'>鎴愬搧妫�楠岃褰曡〃</td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>椤圭洰鍚嶇О</td> + <td colspan=2 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>銆�</td> + <td class=xl6924921 style='border-top:none;border-left:none'>浜у搧鍚嶇О</td> + <td colspan=2 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>銆�</td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>浜у搧鍨嬪彿鍙婃暟閲�</td> + <td colspan=2 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>銆�</td> + <td class=xl6924921 style='border-top:none;border-left:none'>浜у搧杩芥函鍙�</td> + <td colspan=2 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>銆�</td> + </tr> + <tr class=xl6524921 height=26 style='mso-height-source:userset;height:19.95pt'> + <td colspan=2 height=26 class=xl7624921 style='border-right:.5pt solid black; + height:19.95pt'>妫�楠屽唴瀹�</td> + <td colspan=3 class=xl6924921 style='border-left:none'>鍚堟牸鏍囧噯</td> + <td colspan=2 class=xl7624921 style='border-right:.5pt solid black; + border-left:none'>鍒ゅ畾缁撴灉</td> + </tr> + <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> + <td colspan=2 height=45 class=xl6624921 style='border-right:.5pt solid black; + height:34.05pt'>澶栬锛堟补婕嗕欢锛�</td> + <td colspan=3 class=xl7824921 style='border-right:.5pt solid black; + border-left:none'>娌规紗闈㈡棤鏄庢樉鐮存崯銆佽剰姹$瓑闂</td> + <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>鈻″悎鏍�<span + style='mso-spacerun:yes'> </span>鈻′笉鍚堟牸<span + style='mso-spacerun:yes'> </span>鈻′笉閫傜敤</td> + </tr> + <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> + <td colspan=2 height=45 class=xl8324921 width=122 style='border-right:.5pt solid black; + height:34.05pt;width:92pt'>闆朵欢鍨嬪彿</td> + <td colspan=3 class=xl8524921 width=611 style='border-left:none;width:459pt'>鍚勭被闆朵欢鍨嬪彿婊¤冻瑁呯娓呭崟涓婅瀹氳姹�</td> + <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>鈻″悎鏍�<span + style='mso-spacerun:yes'> </span>鈻′笉鍚堟牸<span + style='mso-spacerun:yes'> </span>鈻′笉閫傜敤</td> + </tr> + <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> + <td colspan=2 height=45 class=xl8324921 width=122 style='border-right:.5pt solid black; + height:34.05pt;width:92pt'>闆朵欢鏁伴噺</td> + <td colspan=3 class=xl8624921 width=611 style='border-right:.5pt solid black; + border-left:none;width:459pt'>鍚勯浂浠舵暟閲忔弧瓒宠绠辨竻鍗曚笂瑙勫畾鐨勮姹�</td> + <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>鈻″悎鏍�<span + style='mso-spacerun:yes'> </span>鈻′笉鍚堟牸<span + style='mso-spacerun:yes'> </span>鈻′笉閫傜敤</td> + </tr> + <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> + <td colspan=2 height=45 class=xl8324921 width=122 style='border-right:.5pt solid black; + height:34.05pt;width:92pt'>鏈夋晥鏈�</td> + <td colspan=3 class=xl8624921 width=611 style='border-right:.5pt solid black; + border-left:none;width:459pt'>瀵逛簬鏈夋湁鏁堟湡鐨勪骇鍝侊紙鑳舵按銆佸彂娉″墏绛夛級锛屾湁鏁堟湡闇�鍓╀綑6涓湀鎴栬��1/2鎬绘湁鏁堟湡</td> + <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>鈻″悎鏍�<span + style='mso-spacerun:yes'> </span>鈻′笉鍚堟牸<span + style='mso-spacerun:yes'> </span>鈻′笉閫傜敤</td> + </tr> + <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> + <td colspan=2 rowspan=6 height=270 class=xl10824921 width=122 style='border-right:.5pt solid black;border-bottom:.5pt solid black; + height:204.3pt;width:92pt'>浜у搧鍖呰</td> + <td colspan=3 class=xl8624921 width=611 style='border-right:.5pt solid black; + border-left:none;width:459pt'>鎵�鏈夐浂浠跺潎闇�杩涜鍗曠嫭鍖呰锛堢墰鐨焊銆佽嚜灏佽銆佸師瑁呰绛夛級</td> + <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>鈻″悎鏍�<span + style='mso-spacerun:yes'> </span>鈻′笉鍚堟牸<span + style='mso-spacerun:yes'> </span>鈻′笉閫傜敤</td> + </tr> + <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> + <td colspan=3 height=45 class=xl8624921 width=611 style='border-right:.5pt solid black; + height:34.05pt;border-left:none;width:459pt'>鍖呰琚嬫棤瑜剁毐銆佺牬鎹熴�佷贡娑備贡鐢伙紝鍘熻琚嬮渶鍘婚櫎浜у搧淇℃伅</td> + <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>鈻″悎鏍�<span + style='mso-spacerun:yes'> </span>鈻′笉鍚堟牸<span + style='mso-spacerun:yes'> </span>鈻′笉閫傜敤</td> + </tr> + <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> + <td colspan=3 height=45 class=xl8624921 width=611 style='border-right:.5pt solid black; + height:34.05pt;border-left:none;width:459pt'>娌圭姸銆佹恫浣撱�佽啅鐘剁墿闇�鏈夊鏂欑摱鎴栬�呴搧缃愯繘琛屽瘑灏佸寘瑁�</td> + <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>鈻″悎鏍�<span + style='mso-spacerun:yes'> </span>鈻′笉鍚堟牸<span + style='mso-spacerun:yes'> </span>鈻′笉閫傜敤</td> + </tr> + <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> + <td colspan=3 height=45 class=xl8624921 width=611 style='border-right:.5pt solid black; + height:34.05pt;border-left:none;width:459pt'>鐢靛瓙鍏冨櫒浠跺寘瑁呴渶鏈夐槻闈欑數鍔熻兘锛屼笖澶栭儴鏈夐槻闇囪姹�</td> + <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>鈻″悎鏍�<span + style='mso-spacerun:yes'> </span>鈻′笉鍚堟牸<span + style='mso-spacerun:yes'> </span>鈻′笉閫傜敤</td> + </tr> + <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> + <td colspan=3 height=45 class=xl8624921 width=611 style='border-right:.5pt solid black; + height:34.05pt;border-left:none;width:459pt'>鏈夐槻娼姹傜殑闆朵欢锛屽寘瑁呭唴搴旀坊缃共鐕ュ墏</td> + <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>鈻″悎鏍�<span + style='mso-spacerun:yes'> </span>鈻′笉鍚堟牸<span + style='mso-spacerun:yes'> </span>鈻′笉閫傜敤</td> + </tr> + <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> + <td colspan=3 height=45 class=xl8924921 style='height:34.05pt;border-left: + none'>濡備负瀹氬埗鍖栧ぇ鐗╀欢锛岀敤鎷変几鑶滄垨鑰呯弽鐝犳杩涜鍏ㄨ鐩栧寘瑁�</td> + <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>鈻″悎鏍�<span + style='mso-spacerun:yes'> </span>鈻′笉鍚堟牸<span + style='mso-spacerun:yes'> </span>鈻′笉閫傜敤</td> + </tr> + <tr class=xl6524921 height=46 style='mso-height-source:userset;height:34.95pt'> + <td colspan=2 rowspan=3 height=138 class=xl11024921 width=122 + style='border-right:.5pt solid black;height:104.85pt;width:92pt'>浜у搧瑁呯</td> + <td colspan=3 class=xl8624921 width=611 style='border-right:.5pt solid black; + border-left:none;width:459pt'>濡傜鍐呯墿鏂欏湪闀垮害銆佸搴︽垨楂樺害鏂瑰悜鍚焊绠�/鏈ㄧ鍐呮椿鍔ㄩ棿闅欌墺25mm鏃讹紝闇�澧炲姞閫傞噺濉厖鐗�</td> + <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>鈻″悎鏍�<span + style='mso-spacerun:yes'> </span>鈻′笉鍚堟牸<span + style='mso-spacerun:yes'> </span>鈻′笉閫傜敤</td> + </tr> + <tr class=xl6524921 height=46 style='mso-height-source:userset;height:34.95pt'> + <td colspan=3 height=46 class=xl8624921 width=611 style='border-right:.5pt solid black; + height:34.95pt;border-left:none;width:459pt'>濡備骇鍝佷负鍠锋秱浠堕渶鐢ㄦ场闈㈢弽鐝犳杩涜鍒嗛殧淇濇姢</td> + <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>鈻″悎鏍�<span + style='mso-spacerun:yes'> </span>鈻′笉鍚堟牸<span + style='mso-spacerun:yes'> </span>鈻′笉閫傜敤</td> + </tr> + <tr class=xl6524921 height=46 style='mso-height-source:userset;height:34.95pt'> + <td colspan=3 height=46 class=xl9024921 width=611 style='border-right:.5pt solid black; + height:34.95pt;border-left:none;width:459pt'>鑰愬帇銆佷繚鎶ゆ�т綆鐨勯浂浠跺湪涓嬮儴锛岄渶淇濇姢鐗╁搧鍦ㄤ笂閮�</td> + <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>鈻″悎鏍�<span + style='mso-spacerun:yes'> </span>鈻′笉鍚堟牸<span + style='mso-spacerun:yes'> </span>鈻′笉閫傜敤</td> + </tr> + <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> + <td colspan=2 rowspan=3 height=135 class=xl10824921 width=122 + style='border-right:.5pt solid black;height:102.15pt;width:92pt'>鏍囩鏍囪瘑</td> + <td colspan=3 class=xl8624921 width=611 style='border-right:.5pt solid black; + border-left:none;width:459pt'>鏍囩鍐呭姝g‘锛屽寘鍚紙搴忓彿銆侀浂浠舵弿杩般�佹暟閲忋�佸瀷鍙枫�侀」鐩悕绉帮級</td> + <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>鈻″悎鏍�<span + style='mso-spacerun:yes'> </span>鈻′笉鍚堟牸<span + style='mso-spacerun:yes'> </span>鈻′笉閫傜敤</td> + </tr> + <tr height=45 style='mso-height-source:userset;height:34.05pt'> + <td colspan=3 height=45 class=xl7824921 style='border-right:.5pt solid black; + height:34.05pt;border-left:none'>鏍囩鍐呭瀛椾綋椤绘竻鏅般�佺粺涓�锛屼笉寰楁湁閲嶅奖銆佷汉涓烘秱鏀�</td> + <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>鈻″悎鏍�<span + style='mso-spacerun:yes'> </span>鈻′笉鍚堟牸<span + style='mso-spacerun:yes'> </span>鈻′笉閫傜敤</td> + </tr> + <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> + <td colspan=3 height=45 class=xl8624921 width=611 style='border-right:.5pt solid black; + height:34.05pt;border-left:none;width:459pt'>涓嶅緱澶氳创鎴栧皯璐达紝鏈夊鍖呰鐨勪骇鍝侊紝鍚屼竴鎵规浜у搧鐨勬爣绛剧矘璐翠綅缃拰鏂瑰悜鍧囦竴鑷�</td> + <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>鈻″悎鏍�<span + style='mso-spacerun:yes'> </span>鈻′笉鍚堟牸<span + style='mso-spacerun:yes'> </span>鈻′笉閫傜敤</td> + </tr> + <tr class=xl6524921 height=49 style='mso-height-source:userset;height:37.05pt'> + <td colspan=2 rowspan=2 height=98 class=xl6724921 width=122 style='height: + 74.1pt;width:92pt'>鍏朵粬</td> + <td colspan=3 class=xl8624921 width=611 style='border-right:.5pt solid black; + border-left:none;width:459pt'>澶栧寘瑁呯焊绠卞皝鍙f椂锛屽鍖呰绠遍暱搴︹墹700mm鏃讹紝椤堕潰銆佸簳闈㈤噰鐢ㄢ�滃伐鈥濆瓧鍨嬪皝鍙o紱鍖呰绠遍暱搴︼紴700mm鏃讹紝椤堕潰銆佸簳闈㈤噰鐢ㄢ�滅帇鈥濆瓧鍨嬪皝鍙o紙鎴栭噰鐢ㄢ�滃伐鈥濆瓧鍨嬪皝绠憋級</td> + <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>鈻″悎鏍�<span + style='mso-spacerun:yes'> </span>鈻′笉鍚堟牸<span + style='mso-spacerun:yes'> </span>鈻′笉閫傜敤</td> + </tr> + <tr class=xl6524921 height=49 style='mso-height-source:userset;height:37.05pt'> + <td colspan=3 height=49 class=xl8624921 width=611 style='border-right:.5pt solid black; + height:37.05pt;border-left:none;width:459pt'>鏈ㄧ涓�寰嬬敤閽㈠甫鎵撳寘锛屾墦鍖呮柟寮忓崟鎺掑眳涓垨鍙屾帓骞宠锛屾墦鍖呴挗甯﹀簲鍒嗗竷鍧囧寑銆佸钩琛屾帓鏀撅紝涓嶅緱姝枩</td> + <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>鈻″悎鏍�<span + style='mso-spacerun:yes'> </span>鈻′笉鍚堟牸<span + style='mso-spacerun:yes'> </span>鈻′笉閫傜敤</td> + </tr> + <tr class=xl6524921 height=38 style='mso-height-source:userset;height:28.95pt'> + <td colspan=7 height=38 class=xl7624921 style='border-right:.5pt solid black; + height:28.95pt'>闂澶勭悊</td> + </tr> + <tr class=xl6524921 height=56 style='mso-height-source:userset;height:42.0pt'> + <td height=56 class=xl7024921 width=64 style='height:42.0pt;border-top:none; + width:48pt'>搴忓彿</td> + <td colspan=4 class=xl9424921 width=669 style='border-right:.5pt solid black; + border-left:none;width:503pt'>闂鐜拌薄</td> + <td class=xl7024921 width=226 style='border-top:none;border-left:none; + width:170pt'>鏁存敼瀹屾垚鎯呭喌</td> + <td class=xl7024921 width=235 style='border-top:none;border-left:none; + width:176pt'>鏁存敼浜虹瀛�/鏃ユ湡</td> + </tr> + <tr class=xl6524921 height=46 style='mso-height-source:userset;height:34.95pt'> + <td height=46 class=xl7124921 width=64 style='height:34.95pt;border-top:none; + width:48pt'><br> + <br> + <br> + <br> + <br> + <br> + <span + style='mso-spacerun:yes'> </span> + </td> + <td colspan=4 class=xl9724921 width=669 style='border-right:.5pt solid black; + border-left:none;width:503pt'>銆�</td> + <td class=xl7224921 width=226 style='border-top:none;border-left:none; + width:170pt'>銆�</td> + <td class=xl7224921 width=235 style='border-top:none;border-left:none; + width:176pt'>銆�</td> + </tr> + <tr class=xl6524921 height=46 style='mso-height-source:userset;height:34.95pt'> + <td height=46 class=xl7124921 width=64 style='height:34.95pt;border-top:none; + width:48pt'>銆�</td> + <td colspan=4 class=xl9724921 width=669 style='border-right:.5pt solid black; + border-left:none;width:503pt'>銆�</td> + <td class=xl7224921 width=226 style='border-top:none;border-left:none; + width:170pt'>銆�</td> + <td class=xl7224921 width=235 style='border-top:none;border-left:none; + width:176pt'>銆�</td> + </tr> + <tr class=xl6524921 height=46 style='mso-height-source:userset;height:34.95pt'> + <td height=46 class=xl7124921 width=64 style='height:34.95pt;border-top:none; + width:48pt'>銆�</td> + <td colspan=4 class=xl9724921 width=669 style='border-right:.5pt solid black; + border-left:none;width:503pt'>銆�</td> + <td class=xl7224921 width=226 style='border-top:none;border-left:none; + width:170pt'>銆�</td> + <td class=xl7224921 width=235 style='border-top:none;border-left:none; + width:176pt'>銆�</td> + </tr> + <tr class=xl6524921 height=46 style='mso-height-source:userset;height:34.95pt'> + <td colspan=7 height=46 class=xl10024921 width=1194 style='border-right:.5pt solid black; + height:34.95pt;width:897pt'>妫�楠�/鏃堕棿锛�<span + style='mso-spacerun:yes'> + </span>瀹℃壒/鏃堕棿锛�</td> + </tr> + <tr class=xl6524921 height=33 style='mso-height-source:userset;height:24.6pt'> + <td colspan=7 height=33 class=xl10324921 style='height:24.6pt'><span + style='mso-spacerun:yes'> </span>娉細寮洸闄愬埗鍣ㄥ崐鎴愬搧鍏ュ簱涔熷彲浣跨敤姝よ〃鏍硷紱娑傛敼浣滃簾銆�</td> + </tr> + <tr height=0 style='display:none'> + <td width=64 style='width:48pt'></td> + <td width=58 style='width:44pt'></td> + <td width=137 style='width:103pt'></td> + <td width=262 style='width:197pt'></td> + <td width=212 style='width:159pt'></td> + <td width=226 style='width:170pt'></td> + <td width=235 style='width:176pt'></td> + </tr> + </table> + </div> +</template> + +<script> +export default { + +} +</script> + +<style scoped> +table{ + mso-displayed-decimal-separator: "\."; + mso-displayed-thousand-separator: "\,"; +} + +.xl6524921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 10.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: general; + vertical-align: middle; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl6624921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl6724921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl6824921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl6924921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl7024921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl7124921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: general; + vertical-align: top; + border: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl7224921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: top; + border: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl7324921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl7424921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 14.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl7524921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 14.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl7624921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl7724921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl7824921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl7924921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl8024921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl8124921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl8224921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: general; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl8324921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl8424921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl8524921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl8624921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl8724921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl8824921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl8924921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl9024921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: none; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl9124921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: none; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl9224921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: none; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl9324921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl9424921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl9524921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl9624921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl9724921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: top; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl9824921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: top; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl9924921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: top; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl10024921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: general; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl10124921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: general; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl10224921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: general; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl10324921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl10424921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: none; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl10524921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: none; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl10624921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: none; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl10724921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: none; + border-right: .5pt solid windowtext; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl10824921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: none; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl10924921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: none; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl11024921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: none; + border-right: none; + border-bottom: none; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl11124921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: none; + border-right: .5pt solid windowtext; + border-bottom: none; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl11224921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: none; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl11324921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: none; + border-right: .5pt solid windowtext; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +ruby { + ruby-align: left; +} + +rt { + color: windowtext; + font-size: 9.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-char-type: none; +} +</style> \ No newline at end of file diff --git a/src/views/quality/finishedProductInspection/index.vue b/src/views/quality/finishedProductInspection/index.vue index 3647ffc..f2e55b3 100644 --- a/src/views/quality/finishedProductInspection/index.vue +++ b/src/views/quality/finishedProductInspection/index.vue @@ -12,6 +12,19 @@ <template #toolbar></template> </ttable> </basic-container> + <el-dialog + top="10vh" + title="鎵撳嵃棰勮" + :visible.sync="printDialogVisible" + width="70%"> + <div style="width:100%;height: 60vh;overflow-y: scroll;"> + <printTemplate id="printRaw" :formData="printFormData"></printTemplate> + </div> + <span slot="footer" class="dialog-footer"> + <el-button @click="()=>{printDialogVisible = false;this.printFormData=null}">鍙� 娑�</el-button> + <el-button type="primary" @click="printFun()">鎵� 鍗�</el-button> + </span> + </el-dialog> </div> </div> </template> @@ -22,13 +35,18 @@ import finishedProductInspectionAdd from './finishedProduct-form' import { page,deletePro,exportExaminationProducts } from '@/api/quality/finishedProduct' import { transform } from '@/util/fileTransform' + import printTemplate from './finishedProduct-print.vue' + import PrintJS from 'print-js' export default { components: { finishedProductInspectionAdd, - ttable + ttable, + printTemplate }, data() { return { + printFormData: null, + printDialogVisible: false, result:[{label:'鍏ㄩ儴',value: ''},{label:'鍚堟牸',value: '1'},{label:'涓嶅悎鏍�',value: '0'}], type: [1], prelang: 'finishedProduct', @@ -160,6 +178,7 @@ text: '鎵撳嵃', type: 'text', size: 'small', + fun: this.showPrint },{ text: '浣滃簾', type: 'text', @@ -177,6 +196,22 @@ }, created() { }, methods: { + //鎵撳嵃鎸夐挳 + printFun() { + this.printDialogVisible = false; + PrintJS({ + printable: "printRaw", + type: "html", + maxWidth: 700, + style: '@page {margin: 0 5mm}', + targetStyles: ["*"], + ignoreElements: ["no-ignore"], + orientation: 'portrait' + }); + }, + showPrint(){ + this.printDialogVisible = true + }, exportExcel(){ console.log("============"); let queryParam=this.$refs.finishedProduct.getQueryParam(); diff --git a/src/views/quality/processInspect/index.vue b/src/views/quality/processInspect/index.vue index b1b35e5..2f8ca18 100644 --- a/src/views/quality/processInspect/index.vue +++ b/src/views/quality/processInspect/index.vue @@ -25,7 +25,7 @@ export default { components: { processInspectForm, - ttable + ttable, }, data() { return { diff --git a/src/views/quality/processInspect/processInspect-form.vue b/src/views/quality/processInspect/processInspect-form.vue index cabb8ab..1a487ec 100644 --- a/src/views/quality/processInspect/processInspect-form.vue +++ b/src/views/quality/processInspect/processInspect-form.vue @@ -143,6 +143,36 @@ </div> </template> </el-table-column> + <el-table-column prop="inspectionValue" v-for="(item, index) in empiricalValueAdd" :key="index" + label="妫�楠屾弿杩�" width="240" style="text-align: center;"> + <template slot-scope="scope"> + <el-col v-if="scope.row.itype === '1'"> + <el-tooltip v-if="scope.row.iname != null" :disabled="scope.row.eId != null" + class="item" effect="dark" content="璇峰厛閫夋嫨璁惧锛�" placement="top-start"> + <el-input :disabled="scope.row.eId == null" + v-model="scope.row.inote" + @blur="changeState(scope.row, index)" placeholder="璇疯緭鍏ユ楠屾弿杩�"></el-input> + <span v-if="resultVal != null && processInspectVo.id != null" + v-text="scope.row.inote"></span> + </el-tooltip> + </el-col> + <el-col v-else> + <el-tooltip v-if="scope.row.iname != null" :disabled="scope.row.eId != null" + class="item" effect="dark" content="璇峰厛閫夋嫨璁惧锛�" placement="top-start"> + <!-- <el-input :disabled="scope.row.eId == null" + v-model="scope.row.empiricalValueAddss[index]" + @blur="changeState(scope.row, index)" placeholder="璇疯緭鍏ユ娴嬪��"></el-input> --> + <el-select style="width: 100%;" @change="changeState(scope.row, index)" :disabled="scope.row.eId == null" v-model="scope.row.inote" placeholder="璇烽�夋嫨"> + <el-option v-for="item in dataVal" :key="item.value" :label="item.label" + :value="item.value"> + </el-option> + </el-select> + <span v-if="resultVal != null && processInspectVo.id != null" + v-text="scope.row.inote"></span> + </el-tooltip> + </el-col> + </template> + </el-table-column> <el-table-column label="缁撹" fixed="right" min-width="100"> <template slot-scope="scope"> <div v-if="scope.row.iname != null"> @@ -342,6 +372,9 @@ arr = obj.inspectionValue.split(",") } obj.empiricalValueAddss = arr + if(obj.note){ + snote=obj.inote + } if (arr.length > this.empiricalValueAdd) { this.empiricalValueAdd = arr.length } @@ -374,6 +407,7 @@ obj.children[index - 1].inspectionValue = null obj.children[index - 1].iresult = null obj.children[index - 1].empiricalValueAddss = [] + obj.children[index-1].inote='' } }) }).catch(error => { @@ -392,20 +426,31 @@ this.technologyList = sample.children }, changeState(row, index) { + console.log(row) if (row.iid != null && row.iid != '') { let str = "" row.empiricalValueAddss.forEach(e => { str += e + "," }) + + // if (note === undefined || note === '' || note === null) { + // return + // } + console.log(str) str = str.slice(0, -1); if (str === undefined || str === '' || str === null) { return } + + let obj = { devideId: row.eId, ppid: row.iid, - inspectionValue: str + inspectionValue: str, + note : row.inote + } + console.log(obj) updateProcessInsProduct(obj).then(res => { if (res.data.code == 0) { this.$message.success("鏇存柊鎴愬姛") @@ -505,6 +550,7 @@ flex-wrap: wrap; } + .finishedProduct-basic { background-color: #fff; height: 155px; diff --git a/src/views/quality/rawMaterial/index.vue b/src/views/quality/rawMaterial/index.vue index 297bd4e..1234672 100644 --- a/src/views/quality/rawMaterial/index.vue +++ b/src/views/quality/rawMaterial/index.vue @@ -37,17 +37,34 @@ ref="addOrUpdate" @refreshDataList="getData" ></RawMaterialForm> + <el-dialog + top="10vh" + title="鎵撳嵃棰勮" + :visible.sync="printDialogVisible" + width="60%"> + <div style="width:100%;height: 60vh;overflow-y: scroll;"> + <printTemplate id="printRaw" :formData="printFormData"></printTemplate> + </div> + <span slot="footer" class="dialog-footer"> + <el-button @click="()=>{printDialogVisible = false;this.printFormData=null}">鍙� 娑�</el-button> + <el-button type="primary" @click="printFun()">鎵� 鍗�</el-button> + </span> + </el-dialog> </div> </template> <script> import ttable from '@/views/common/ztt-table.vue' -import { getRawInspectList,delObj,exportRawMaterial } from '@/api/quality/rawMaterial' +import { getRawInspectList,delObj,exportRawMaterial,getObj } from '@/api/quality/rawMaterial' import RawMaterialForm from './rawMaterial-form' import * as fecha from 'element-ui/lib/utils/date' import { mapGetters } from 'vuex' +import PrintJS from 'print-js' +import printTemplate from './rawMaterial-print.vue' export default { data() { return { + printFormData: null, + printDialogVisible: false, queryParam: {}, resultData:[], addOrUpdateVisible: false, @@ -194,6 +211,12 @@ fun: this.addOrUpdateHandle }], operator: [{ + text: '鎵撳嵃', + type: 'text', + size: 'small', + fun: this.previewFun + }, + { text: '浣滃簾', type: 'text', size: 'small', @@ -210,17 +233,10 @@ StateList: [{label:'鍏ㄩ儴',value:''},{label:'宸插悎鏍�',value:'1'},{label:'涓嶅悎鏍�',value:'0'}], } }, - // props:{ - // queryParam:{ - // type: Object, - // default: ()=>{ - // return {} - // } - // } - // }, components: { ttable, RawMaterialForm, + printTemplate, }, created() { @@ -228,7 +244,37 @@ computed: { ...mapGetters(['permissions']) }, + watch:{ + printFormData(newVal){ + if(newVal){ + this.printFormData = newVal + } + } + }, methods:{ + //鏌ョ湅鎶ュ憡鎸夐挳 + previewFun(row){ + getObj(row.id).then(res=>{ + this.printFormData = res.data.data + this.printDialogVisible = true + }).catch(error=>{ + console.log(error); + }) + }, + //鎵撳嵃鎸夐挳 + printFun() { + this.printDialogVisible = false; + PrintJS({ + printable: "printRaw", + type: "html", + maxWidth: 900, + // header: "鍘熸潗鏂欐娴嬫姤鍛�", + style: '@page {margin: 0 5mm}', + targetStyles: ["*"], + ignoreElements: ["no-ignore"], + orientation: 'portrait' + }); + }, getQueryParam(data){ this.queryParam = data }, diff --git a/src/views/quality/rawMaterial/rawMaterial-print.vue b/src/views/quality/rawMaterial/rawMaterial-print.vue new file mode 100644 index 0000000..72a69d2 --- /dev/null +++ b/src/views/quality/rawMaterial/rawMaterial-print.vue @@ -0,0 +1,466 @@ +<template> +<div style="word-wrap:break-word;text-justify-trim:punctuation"> + <div class="WordSection1" style="layout-grid:15.6pt;margin-top: 20pt;"> + <div align="center"> + <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" width="629" + style="width:620pt;border-collapse:collapse;border:1pt solid windowtext"> + <tbody> + <tr> + <td width="199" rowspan="2" style="width:149.45pt;border:solid windowtext 1.0pt; + padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-size:12.0pt;font-family:"Arial",sans-serif"><img width="174" + height="58" id="logo" src="../../../../public/img/image001.jpg" + alt="IMG_256"></span></p> + </td> + <td width="226" style="width:169.65pt;border:solid windowtext 1.0pt;border-left: + 1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span + style="font-size:10.0pt;font-family:瀹嬩綋">璁板綍鍚嶇О锛氭楠岃褰曡〃</span></p> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-size:10.0pt;font-family:"Arial",sans-serif">Table: Inspection + Record</span></p> + </td> + <td width="204" style="width:152.8pt;border:solid windowtext 1.0pt;border-left: + 1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span + style="font-size:10.0pt;font-family:瀹嬩綋">淇濆瓨鏈熼檺锛�</span><span lang="EN-US" + style="font-size:10.0pt;font-family:"Arial",sans-serif">25</span><span + style="font-size:10.0pt;font-family:瀹嬩綋">骞�</span></p> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-size:10.0pt;font-family:"Arial",sans-serif">Storage Life: 25 + years</span></p> + </td> + </tr> + <tr> + <td width="226" style="width:169.65pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; + border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; + padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span + style="font-size:10.0pt;font-family:瀹嬩綋">璁板綍缂栧彿锛�</span><a name="OLE_LINK1"><span + lang="EN-US" + style="font-size:10.0pt;font-family:"Arial",sans-serif">ZTT/QR-8.6-07</span></a><span + style="font-size:10.0pt;font-family:瀹嬩綋">锛�</span><span lang="EN-US" + style="font-size:10.0pt;font-family:"Arial",sans-serif">A/0</span><span + style="font-size:10.0pt;font-family:瀹嬩綋">锛�</span></p> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-size:10.0pt;font-family:"Arial",sans-serif">Record No.: + ZTT/QR-8.6-07</span></p> + </td> + <td width="204" style="width:152.8pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; + border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span + style="font-size:10.0pt;font-family:瀹嬩綋">褰掓。閮ㄩ棬锛氳川閲忎繚璇侀儴</span></p> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-size:10.0pt;font-family:"Arial",sans-serif">Department: QC</span> + </p> + </td> + </tr> + </tbody> + </table> + </div> + <p class="MsoNormal" align="center" style="margin-top:7.8pt;margin-bottom:3pt;text-align:center"> + <span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span> + <span style="font-size:10.0pt;font-family:瀹嬩綋">妫�楠岃褰曡〃</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif">-</span> + <span style="font-size:10.0pt;font-family:瀹嬩綋">鏈哄姞宸ヤ欢</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span><span style="font-size:10.0pt;font-family:瀹嬩綋">锛�</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif">Inpection Record-machining </span> + <span style="font-size:10.0pt;font-family:瀹嬩綋">锛�</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span> + <span style="font-size:10.0pt;font-family:瀹嬩綋">椤电爜锛�</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif"> Page No.</span><span style="font-size:10.0pt;font-family:瀹嬩綋">锛夛細</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span> + </p> + <div align="center"> + <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" width="628" + style="width:620pt;border-collapse:collapse;border:1pt solid windowtext"> + <tbody> + <tr> + <td width="121" colspan="2" style="width:110pt;border:solid windowtext 1.0pt;padding:0.2cm 1.4pt 0.2cm 1.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span + style="font-size:9.0pt;font-family:瀹嬩綋">闆朵欢鍚嶇О</span></p> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-size:9.0pt;font-family:"Arial",sans-serif">Part Description</span> + </p> + </td> + <td width="127" colspan="4" style="width:95.5pt;border:solid windowtext 1.0pt;border-left:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"> + <span lang="EN-US" style="font-family:"Arial",sans-serif" v-text="tableData.name"></span> + </p> + </td> + <td width="113" colspan="4" style="width:84.95pt;border:solid windowtext 1.0pt;border-left:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span + style="font-size:9.0pt;font-family:瀹嬩綋">鍨�</span><span lang="EN-US" + style="font-size:9.0pt;font-family:"Arial",sans-serif"> + </span><span style="font-size:9.0pt;font-family:瀹嬩綋">鍙�</span></p> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-size:9.0pt;font-family:"Arial",sans-serif">Model</span></p> + </td> + <td width="86" colspan="4" style="width:64.65pt;border:solid windowtext 1.0pt;border-left:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-family:"Arial",sans-serif" v-text="tableData.specs"></span></p> + </td> + <td width="72" colspan="2" style="width:54.35pt;border:solid windowtext 1.0pt;border-left:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span + style="font-size:9.0pt;font-family:瀹嬩綋">鍔犲伐鍗曞彿</span></p> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-size:9.0pt;font-family:"Arial",sans-serif">Order No.</span></p> + </td> + <td width="128" colspan="3" style="width:96.0pt;border:solid windowtext 1.0pt;border-left:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-family:"Arial",sans-serif" v-text="tableData.rmessage.split(',')[0]"></span></p> + </td> + </tr> + <tr> + <td width="101" colspan="2" style="width:110pt;border:solid windowtext 1.0pt;border-top:1pt solid windowtext;padding:0.2cm 1.4pt 0.2cm 1.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span + style="font-size:9.0pt;font-family:瀹嬩綋">妫�楠屼华鍣�</span></p> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-size:9.0pt;font-family:"Arial",sans-serif">Inspection + instrument</span></p> + </td> + <td width="127" colspan="4" style="width:95.5pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-family:"Arial",sans-serif" v-text="deviceStr"></span></p> + </td> + <td width="113" colspan="4" style="width:84.95pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span + style="font-size:9.0pt;font-family:瀹嬩綋">妫�楠屾暟閲�</span></p> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-size:9.0pt;font-family:"Arial",sans-serif">Quantity to + check</span></p> + </td> + <td width="86" colspan="4" style="width:64.65pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-family:"Arial",sans-serif" v-text="tableData.number"></span></p> + </td> + <td width="72" colspan="2" style="width:54.35pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span + style="font-size:9.0pt;font-family:瀹嬩綋">渚涜揣鍗曚綅</span></p> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-size:9.0pt;font-family:"Arial",sans-serif">Supplier</span></p> + </td> + <td width="128" colspan="3" style="width:96.0pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-family:"Arial",sans-serif" v-text="tableData.supplier"></span></p> + </td> + </tr> + <tr> + <td width="145" colspan="3" style="width:109.1pt;border:solid windowtext 1.0pt;border-top:1pt solid windowtext;padding:0.2cm 0.4pt 0.2cm 0.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span + style="font-size:9.0pt;font-family:瀹嬩綋">妫�楠岄」鐩�</span></p> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-size:9.0pt;font-family:"Arial",sans-serif">Inspection Item</span> + </p> + </td> + <td width="408" colspan="15" style="width:306.35pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span + style="font-size:9.0pt;font-family:瀹嬩綋">妫�楠岀粨鏋滐紙瀹炴祴鍊硷級</span></p> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-size:9.0pt;font-family:"Arial",sans-serif">Test result (Measured + value)</span></p> + </td> + <td width="74" rowspan="2" style="width:55.8pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 3.4pt 0.2cm 3.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span + style="font-size:9.0pt;font-family:瀹嬩綋">鍒ゅ畾</span></p> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-size:9.0pt;font-family:"Arial",sans-serif">Conclusion</span></p> + </td> + </tr> + <tr> + <td width="145" colspan="3" style="width:109.1pt;border:solid windowtext 1.0pt;border-top:1pt solid windowtext;padding:0.4cm 5.4pt 0.4cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span + style="font-size:9.0pt;font-family:瀹嬩綋">鎶�鏈姹�</span></p> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-size:9.0pt;font-family:"Arial",sans-serif">Technical + Requirement</span></p> + </td> + <td width="59" colspan="2" style="width:44.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 4.4pt 0.2cm 4.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"> + <span style="font-size:9.0pt;font-family:瀹嬩綋">鍏樊</span> + <span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">TOL</span> + </p> + </td> + <td width="43" v-for="(item,index) in 13" :key="index" colspan="1" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-size:9.0pt;font-family:"Arial",sans-serif">{{item>9?item:'0'+item}}</span></p> + </td> + </tr> + </tbody> + <tbody v-for="(item,index) in projectList" :key="index"> + <tr style="height:19.85pt"> + <td width="85" rowspan="16" style="width:63.95pt;border:solid windowtext 1.0pt;border-top:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span + style="font-family:瀹嬩綋" v-text="item.rpFather"></span></p> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-family:"Arial",sans-serif"></span></p> + </td> + <td width="60" colspan="2" style="width:65.15pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-family:"Arial",sans-serif" v-text="item.children[0].rpName"></span></p> + </td> + <td width="59" colspan="2" style="width:44.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-family:"Arial",sans-serif" v-text="item.children[0].required"></span></p> + </td> + <td width="43" v-for="(val,index) in item.children[0].testValueList" :key="index" colspan="1" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-family:"Arial",sans-serif">{{val}}</span></p> + </td> + <td width="74" style="width:55.8pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> + <p v-if="item.children[0].testState==1" class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-family:"Arial",sans-serif">鍚堟牸</span></p> + <p v-else class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-family:"Arial",sans-serif">涓嶅悎鏍�</span></p> + </td> + </tr> + <tr style="height:19.85pt" v-for="(j,index) in (item.children.slice(1))" :key="index"> + <td width="60" colspan="2" style="width:45.15pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; + border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-family:"Arial",sans-serif">{{j.rpName}}</span></p> + </td> + <td width="59" colspan="2" style="width:44.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-family:"Arial",sans-serif">{{j.required}}</span></p> + </td> + <td width="59" v-for="(testValue,index) in j.testValueList" :key="index" style="width:44.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-family:"Arial",sans-serif">{{testValue}}</span></p> + </td> + <td width="43" colspan="1" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-family:"Arial",sans-serif"> </span></p> + </td> + </tr> + </tbody> + <!-- bottom --> + <tr style="height:40.95pt"> + <td width="145" colspan="3" style="width:109.1pt;border:solid windowtext 1.0pt; + border-top:1pt solid windowtext;padding:0cm 5.4pt 0cm 5.4pt;height:40.95pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span + style="font-family:瀹嬩綋">澶�</span><span lang="EN-US" + style="font-family:"Arial",sans-serif"> + </span><span style="font-family:瀹嬩綋">娉�</span></p> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-family:"Arial",sans-serif">Remark</span></p> + </td> + <td width="483" colspan="16" style="width:362.15pt;border-top:1pt solid windowtext;border-left: + 1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; + padding:0.2cm 5.4pt 0.2cm 5.4pt;height:40.95pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-family:"Arial",sans-serif"> </span></p> + </td> + </tr> + <tr> + <td width="145" colspan="3" style="width:109.1pt;border:none; + border-top:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span + style="font-family:瀹嬩綋">妫�楠屽憳</span></p> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-family:"Arial",sans-serif">Inspector</span></p> + </td> + <td width="120" colspan="4" style="width:90.25pt;border-top:1pt solid windowtext;border-left: + 1pt solid windowtext;border-bottom:none;border-right:solid windowtext 1.0pt; + padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-family:"Arial",sans-serif" v-text="tableData.createUser"></span></p> + </td> + <td width="82" colspan="4" style="width:61.35pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; + border-bottom:none;border-right:solid windowtext 1.0pt; + padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span + style="font-family:瀹嬩綋">鏃�</span><span lang="EN-US" + style="font-family:"Arial",sans-serif"> + </span><span style="font-family:瀹嬩綋">鏈�</span></p> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-family:"Arial",sans-serif">Date</span></p> + </td> + <td width="80" colspan="3" style="width:60.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; + border-bottom:none;border-right:solid windowtext 1.0pt; + padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" + style="font-family:"Arial",sans-serif" v-text="tableData.creatTime.split(' ')[0]"></span></p> + </td> + <td width="83" colspan="3" style="width:62.25pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:none;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"> + <span style="font-family:瀹嬩綋">瀹�</span> + <span lang="EN-US" style="font-family:"Arial",sans-serif"> </span> + <span style="font-family:瀹嬩綋">鏍�</span> + </p> + <p class="MsoNormal" align="center" style="text-align:center"> + <span lang="EN-US" style="font-family:"Arial",sans-serif">Audit</span> + </p> + </td> + <td width="117" colspan="2" style="width:88.1pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:none;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt"> + <p class="MsoNormal" align="center" style="text-align:center"> + <span lang="EN-US" style="font-family:"Arial",sans-serif"> </span> + </p> + </td> + </tr> + <tr height="0"> + <td width="85" style="border:none"></td> + <td width="16" style="border:none"></td> + <td width="44" style="border:none"></td> + <td width="59" style="border:none"></td> + <td width="23" style="border:none"></td> + <td width="19" style="border:none"></td> + <td width="18" style="border:none"></td> + <td width="27" style="border:none"></td> + <td width="43" style="border:none"></td> + <td width="6" style="border:none"></td> + <td width="6" style="border:none"></td> + <td width="32" style="border:none"></td> + <td width="43" style="border:none"></td> + <td width="6" style="border:none"></td> + <td width="40" style="border:none"></td> + <td width="32" style="border:none"></td> + <td width="11" style="border:none"></td> + <td width="43" style="border:none"></td> + <td width="74" style="border:none"></td> + </tr> + </table> + </div> + <p class="MsoNormal"><span lang="EN-US"> </span></p> + </div> +</div> +</template> + +<script> +export default { + props:{ + formData:{ + type: Object, + default:()=>{ + return {} + } + } + }, + data(){ + return{ + tableData: null, + projectList: [], + deviceStr: null, + childrenData: [], + } + }, + methods:{ + initData(){ + let deviceNameList = [] + if(this.tableData.children){ + this.tableData.children.forEach(e => { + this.projectList.push(e) + if(e.children){ + e.children.forEach(o =>{ + deviceNameList.push(o.deviceName) + }) + } + }); + } + this.deviceStr = Array.from(new Set(deviceNameList)).join(",") + }, + initProjectList(list){ + const data = { + deviceId: '', + deviceName: '', + required: '', + rpName: '', + rpUnit: '', + testState: '', + userName: '', + testValueList: new Array(13) + } + if(list && list.length<2){ + list.forEach(item=>{ + if(item.children && item.children.length < 15){ + let size = 15 - item.children.length + for(let j=0;j<item.children.length;j++){ + let arr = [] + if(item.children[j].testValue){ + arr = item.children[j].testValue.split(",") + } + item.children[j].testValueList = arr + if(item.children[0].testValueList.length<13){ + let num = 13 - item.children[j].testValueList.length + for(let i=0;i<num;i++){ + item.children[j].testValueList.push("") + } + } + } + for(let i=0;i< size;i++){ + item.children.push(data) + } + } + }) + }else{ + let size = 0 + list.forEach(item=>{ + if(item.children){ + size+=item.children.length + } + }) + if(size<15){ + let num = 15 - size + for(let i=0;i<num;i++){ + list[list.length-1].children.push(data) + } + } + } + // this.projectList = list + console.log("list----",list) + } + }, + created(){ + this.tableData = this.formData + this.initData() + this.initProjectList(this.projectList) + // console.log("aa--",this.tableData) + }, + watch:{ + formData(newVal){ + if(newVal){ + this.projectList = [] + console.log(newVal) + this.tableData = newVal + this.initData() + this.initProjectList(this.projectList) + } + } + } +} +</script> + +<style> + @font-face{ + font-family:寰蒋闆呴粦; + panose-1:2 1 6 0 3 1 1 1 1 1; +} +@font-face{ + font-family:"Cambria Math"; + panose-1:2 4 5 3 5 4 6 3 2 4; +} +@font-face{ + font-family:Calibri; + panose-1:2 15 5 2 2 2 4 3 2 4; +} +@font-face{ + font-family:"\@寰蒋闆呴粦"; + panose-1:2 1 6 0 3 1 1 1 1 1; +} +/* Style Definitions */ +p.MsoNormal, li.MsoNormal, div.MsoNormal{ + margin:0cm; + text-align:justify; + text-justify:inter-ideograph; + font-size:10.5pt; + font-family:"Calibri",sans-serif; +} +/* Page Definitions */ +@page WordSection1{ + size:595.3pt 841.9pt; + margin:72.0pt 2.0cm 2.0cm 2.0cm; + layout-grid:15.6pt; +} +div.WordSection1{ + page : WordSection1; +} + +.procedure { + word-wrap:break-word; +} +</style> \ No newline at end of file -- Gitblit v1.9.3