入库单字段调整

This commit is contained in:
BinBin Song 2025-07-10 13:42:38 +08:00
parent aadee8a7f7
commit 678bd0ffe8
2 changed files with 12 additions and 12 deletions

View File

@ -365,13 +365,13 @@ link type="primary" size="small" :disabled="ctrView || ctrDelete"
<!-- 表单弹窗物料列表 -->
<projects ref="proOpenFormRef" @success="getProject" />
<purchaseorderDialog ref="projectPurchaseorderDialog" @success="handleSelectedProjectPurchaseorder" />
<el-dialog v-model="printDialogVisible" width="80%" title="采购单打印" :close-on-click-modal="false">
<el-dialog v-model="printDialogVisible" width="80%" title="入库单打印" :close-on-click-modal="false">
<div id="printArea" class="print-content">
<div class="print-header">
<div class="order-info">
<div style="display: flex;">
<span style="width: 210px;">编号{{ printData.storageNo}}</span>
<span style="margin-left:20px; width: 170px;">入库日期{{ formatDate(printData.ordDate) }}</span>
<span style="width: 210px;">编号{{ printData.stockNo}}</span>
<span style="margin-left:20px; width: 170px;">入库日期{{ formatDate(printData.createTime) }}</span>
<span style="margin-left:20px;width: 250px">供应商{{ printData.supplierName }}</span>
</div>
<!-- <div style="display: flex;">
@ -411,12 +411,12 @@ link type="primary" size="small" :disabled="ctrView || ctrDelete"
<tbody>
<tr v-for="(item, index) in 17" :key="index">
<td>{{ index + 1 }}</td>
<td>{{ printData.storageMatDOList[index]?.boomName ? limitTo20Chars(printData.storageMatDOList[index].boomName) : '' }}</td>
<td>{{ printData.storageMatDOList[index]?.boomSpec || '' }}</td>
<td>{{ printData.storageMatDOList[index]?.unit || '' }}</td>
<td>{{ printData.storageMatDOList[index]?.storageAmount || '' }}</td>
<td>{{ printData.storageMatDOList[index]?.price || '' }}</td>
<td>{{ printData.storageMatDOList[index]?.estimatedPrice || '' }}</td>
<td>{{ printData.storageMatDOList[index]?.matName ? limitTo20Chars(printData.storageMatDOList[index].matName) : '' }}</td>
<td>{{ printData.storageMatDOList[index]?.mtSpec || '' }}</td>
<td>{{ printData.storageMatDOList[index]?.matUnit || '' }}</td>
<td>{{ printData.storageMatDOList[index]?.storageOkQty || '' }}</td>
<td>{{ printData.storageMatDOList[index]?.unitePrice || '' }}</td>
<td>{{ printData.storageMatDOList[index]?.totalPrice || '' }}</td>
<td>{{ printData.storageMatDOList[index]?.projectName || '' }}</td>
<td>{{ printData.storageMatDOList[index]?.description || '' }}</td>
</tr>
@ -594,7 +594,7 @@ function doPrint() {
<!DOCTYPE html>
<html>
<head>
<title >采购</title>
<title >入库</title>
<style>
body {
font-family: Arial, sans-serif;

View File

@ -78,7 +78,7 @@
<el-dialog v-model="printDialogVisible" width="80%" title="采购单打印" :close-on-click-modal="false">
<el-dialog v-model="printDialogVisible" width="80%" title="入库单打印" :close-on-click-modal="false">
<div id="printArea" class="print-content">
<div class="print-header">
<div class="order-info">
@ -290,7 +290,7 @@ function doPrint() {
<!DOCTYPE html>
<html>
<head>
<title >采购</title>
<title >入库</title>
<style>
body {
font-family: Arial, sans-serif;