入库条码打印修改 生成入库作业 手动完成入库作业

This commit is contained in:
liuhanqing
2025-09-16 15:22:58 +08:00
parent 5049b8e79f
commit 7a87a99e05
11 changed files with 173 additions and 192 deletions

View File

@@ -106,6 +106,7 @@
:correctLevel="2"
error-correction-level="M"
/>
<div class="qrcode-label">{{ previewData.spare4 }}</div>
</div>
</div>
</div>
@@ -163,6 +164,7 @@
:correctLevel="2"
error-correction-level="M"
/>
<div class="qrcode-label">{{ previewData.spare4 }}</div>
</div>
</div>
</div>
@@ -239,6 +241,7 @@ import {addBasProductCode, delBasProductCode, listBasProductCode, updateBasProdu
// 常量配置
const FORM_FIELDS = [
{ prop: 'spare4', label: '品号', placeholder: '请输入品号', required: true },
{ prop: 'model', label: '型号', placeholder: '请输入型号', required: true },
{ prop: 'serial', label: '序列号', placeholder: '请输入序列号', required: true },
{ prop: 'color', label: '颜色', placeholder: '请输入颜色', required: true },
@@ -253,6 +256,7 @@ const FORM_FIELDS = [
]
const TABLE_COLUMNS = [
{ prop: 'spare4', label: '品号', width: 140 },
{ prop: 'model', label: '型号', width: 120 },
{ prop: 'color', label: '颜色', width: 100 },
{ prop: 'serial', label: '序列号', width: 150 },
@@ -284,7 +288,8 @@ const DEFAULT_FORM = {
type: '1',
spare1: '',
spare2: '',
spare3: ''
spare3: '',
spare4: ''
}
const DEFAULT_PREVIEW_DATA = {
@@ -345,8 +350,8 @@ export default {
return "MODEL:" + this.previewData.model + " COLOR:" + this.previewData.color
+ " SERIAL:" + this.previewData.serial + " V:" + this.previewData.v
+ " Hz:" + this.previewData.hz + " PH:" + this.previewData.ph
+ " N.W.:" + this.previewData.nW + " G.W.:" + this.previewData.gW
+ " @:" + bm + "@"
+ " N.W.:" + this.previewData.nW + " G.W.:" + this.previewData.gW+" ITEM_CODE:"+this.previewData.spare4+ " @:" + bm + "@"
},
// 是否有选中项
hasSelection() {
@@ -849,6 +854,15 @@ export default {
padding: 0;
background-color: transparent;
border: none;
text-align: center;
}
.qrcode-label {
margin-top: 8px;
font-size: 14px;
font-weight: 600;
color: #303133;
text-align: center;
}
/* 响应式设计 */