| | |
| | | let printNumberFc = props.printFc |
| | | data.value.printList = JSON.parse(props.printList) |
| | | let flowCardCount = '' |
| | | const picture = ref([]) |
| | | onMounted(() => { |
| | | //判断是否是工程打印 |
| | | if(props.printProject!=null){ |
| | | request.post(`/processCard/getSelectPrintProject/${printProject}/${merges}/${props.flashback}/${props.landingSequence}`).then((res) => { |
| | | if (res.code == 200) { |
| | |
| | | } |
| | | }) |
| | | }else{ |
| | | //流程卡 |
| | | request.post(`/processCard/getSelectPrinting/${merge}/${like}/${merges}/${props.flashback}/${compound}/${props.landingSequence}`, data.value).then((res) => { |
| | | if (res.code == 200) { |
| | | load(res.data.data) |
| | |
| | | ElMessage.warning(res.msg) |
| | | router.push("/login") |
| | | } |
| | | }) |
| | | //订单序号dwg图片查询 |
| | | request.post("/orderFile/getOrderFilePicture", data.value.printList).then((res) => { |
| | | picture.value = res.data |
| | | }) |
| | | } |
| | | |
| | |
| | | 打印人:{{user.user.userName}} |
| | | 时间:{{formattedTime}} |
| | | |
| | | <span style="font-weight: bolder;" v-if="name=='金华福喜天成玻璃有限公司'"> |
| | | <span style="font-weight: bolder;" > |
| | | 总数量:{{itemFlow.orderQuantity}} |
| | | 总面积:{{itemFlow.orderArea}} |
| | | </span> |
| | | |
| | | <span style="font-weight: bolder;" > |
| | | 打印总数量:{{totalQuantity}} |
| | | 打印总面积:{{totalArea}} |
| | | </span> |
| | |
| | | <td rowspan='2'>图号</td> |
| | | <td rowspan='2'>编号</td> |
| | | <td rowspan="2">小片顺序</td> |
| | | <td rowspan='2' style="width: 90px">宽*高</td> |
| | | <td v-if="name=='浙江巨星嘉泰新材料有限公司'" rowspan='2' style="width: 90px">宽(弧长)*高</td> |
| | | <td v-else rowspan='2' style="width: 90px">宽*高</td> |
| | | <td rowspan='2' >数量</td> |
| | | <td rowspan='2'>面积</td> |
| | | <td rowspan='2'>周长</td> |
| | |
| | | <td>{{ itemDatile.technology_number }}</td> |
| | | <td>{{ itemDatile.child_width }}</td> |
| | | <td class="item" style="width: 60px;height: 100%;"> |
| | | <input v-model="itemDatile.quantity" style="width: 100%;height: 100%" @keyup="handleSummary()"/> |
| | | <input v-model="itemDatile.quantity" style="width: 100%;height: 100%;font-weight: bold;" @keyup="handleSummary()"/> |
| | | </td> |
| | | <td>{{ itemDatile.total_area }}</td> |
| | | <td>{{ itemDatile.perimeter }}</td> |
| | |
| | | |
| | | <tr v-for="(itemtextareas,index) in item.detail" :key="index"> |
| | | <td colspan="31" style="width: 480px;height: 150px "> |
| | | <div style="width: 100%;height: 100%;text-align: left"><textarea style="height: 99%;width: 99%;border: none;;font-size: 14px;overflow: hidden;text-align: left;vertical-align: middle">{{itemtextareas.processing_note}}</textarea> |
| | | <div v-if="name=='浙江巨星嘉泰新材料有限公司'" style="width: 100%;height: 100%;text-align: left"><textarea style="height: 99%;width: 99%;border: none;;font-size: 16px;font-weight: bold;overflow: hidden;text-align: left;vertical-align: middle">{{itemtextareas.processing_note}}</textarea> |
| | | </div> |
| | | <div v-else style="width: 100%;height: 100%;text-align: left"><textarea style="height: 99%;width: 99%;border: none;;font-size: 14px;overflow: hidden;text-align: left;vertical-align: middle">{{itemtextareas.processing_note}}</textarea> |
| | | </div> |
| | | </td> |
| | | </tr> |
| | |
| | | </tr> |
| | | </tfoot> |
| | | </table> |
| | | |
| | | <el-image |
| | | class="picture" |
| | | v-for="(item,index) in picture" |
| | | :src="item.imageBase64" |
| | | :preview-src-list="[item.imageBase64]" |
| | | fit="contain" |
| | | style="max-height: 700px;" |
| | | /> |
| | | </div> |
| | | |
| | | </template> |
| | |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | |
| | | .picture{ |
| | | page-break-before: always; |
| | | } |
| | | |
| | | </style> |