王震
2023-11-08 173166a3d1c9f5171b20fca9c5336005d6c9d0bc
Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before
已修改7个文件
已添加5个文件
2238 ■■■■■ 文件已修改
npminstall-debug.log 197 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
package.json 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/img/image001.jpg 补丁 | 查看 | 原始文档 | blame | 历史
public/img/image002.png 补丁 | 查看 | 原始文档 | blame | 历史
src/views/common/ztt-table.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/finishedProductInspection/finishedProduct-form.vue 38 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/finishedProductInspection/finishedProduct-print.vue 1383 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/finishedProductInspection/index.vue 37 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/processInspect/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/processInspect/processInspect-form.vue 48 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/rawMaterial/index.vue 64 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/rawMaterial/rawMaterial-print.vue 466 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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
}
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",
public/img/image001.jpg
public/img/image002.png
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
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){
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(A/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'>&nbsp;&nbsp;&nbsp; </span>□不合格<span
                        style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </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'>&nbsp;&nbsp;&nbsp; </span>□不合格<span
                        style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </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'>&nbsp;&nbsp;&nbsp; </span>□不合格<span
                        style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </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'>&nbsp;&nbsp;&nbsp; </span>□不合格<span
                        style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </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'>&nbsp;&nbsp;&nbsp; </span>□不合格<span
                        style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </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'>&nbsp;&nbsp;&nbsp; </span>□不合格<span
                        style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </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'>&nbsp;&nbsp;&nbsp; </span>□不合格<span
                        style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </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'>&nbsp;&nbsp;&nbsp; </span>□不合格<span
                        style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </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'>&nbsp;&nbsp;&nbsp; </span>□不合格<span
                        style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </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'>&nbsp;&nbsp;&nbsp; </span>□不合格<span
                        style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </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'>&nbsp;&nbsp;&nbsp; </span>□不合格<span
                        style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </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'>&nbsp;&nbsp;&nbsp; </span>□不合格<span
                        style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </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'>&nbsp;&nbsp;&nbsp; </span>□不合格<span
                        style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </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'>标签内容正确,包含(序号、零件描述、数量、型号、项目名称)</td>
                <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>□合格<span
                        style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>□不合格<span
                        style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </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'>&nbsp;&nbsp;&nbsp; </span>□不合格<span
                        style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </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'>&nbsp;&nbsp;&nbsp; </span>□不合格<span
                        style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </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'>外包装纸箱封口时,如包装箱长度≤700mm时,顶面、底面采用“工”字型封口;包装箱长度>700mm时,顶面、底面采用“王”字型封口(或采用“工”字型封箱)</td>
                <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>□合格<span
                        style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>□不合格<span
                        style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </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'>&nbsp;&nbsp;&nbsp; </span>□不合格<span
                        style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </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'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    </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'>&nbsp;</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>
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();
src/views/quality/processInspect/index.vue
@@ -25,7 +25,7 @@
    export default {
        components: {
            processInspectForm,
            ttable
            ttable,
        },
        data() {
            return {
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;
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
        },
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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
            <span style="font-size:10.0pt;font-family:宋体">检验记录表</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif">-</span>
            <span style="font-size:10.0pt;font-family:宋体">机加工件</span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif"> </span><span style="font-size:10.0pt;font-family:宋体">(</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,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:&quot;Arial&quot;,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
            <span style="font-size:10.0pt;font-family:宋体">页码(</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,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:&quot;Arial&quot;,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,sans-serif">&nbsp;&nbsp;&nbsp;
                                </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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,sans-serif">合格</span></p>
                            <p v-else class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US"
                                    style="font-family:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,sans-serif">&nbsp;</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:&quot;Arial&quot;,sans-serif">&nbsp;
                            </span><span style="font-family:宋体">注</span></p>
                        <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US"
                                style="font-family:&quot;Arial&quot;,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:&quot;Arial&quot;,sans-serif">&nbsp;</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:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,sans-serif">&nbsp;
                            </span><span style="font-family:宋体">期</span></p>
                        <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US"
                                style="font-family:&quot;Arial&quot;,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:&quot;Arial&quot;,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:&quot;Arial&quot;,sans-serif">&nbsp;</span>
                            <span style="font-family:宋体">æ ¸</span>
                        </p>
                        <p class="MsoNormal" align="center" style="text-align:center">
                            <span lang="EN-US" style="font-family:&quot;Arial&quot;,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:&quot;Arial&quot;,sans-serif">&nbsp;</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">&nbsp;</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>