fix(wms): 更新镀锌原料标签判断逻辑并调整标签尺寸

修改多个文件中的镀锌原料仓库判断条件,增加新的仓库ID支持
调整DuGeTag.vue中标签的高度为100mm
更新base.vue中的标签类型判断逻辑,增加更多产品类型处理
修正DuGeTag.vue中的联系电话信息
This commit is contained in:
砂糖
2026-03-09 16:33:52 +08:00
parent fef2f132d0
commit 3f4ee0fce3
4 changed files with 26 additions and 7 deletions

View File

@@ -114,7 +114,7 @@
Jiaxiang County,Jining City,Shandong Province</span>
<br />
<span>
TEL0537-6625068 0537-6625067
TEL1905-3728822 1905-3728835
</span>
</div>
<div class="contact-timestamp">

View File

@@ -36,7 +36,7 @@
v-if="tagType === 'ge'"
:content="content"
:paperWidthMm="180"
:paperHeightMm="80"
:paperHeightMm="100"
/>
<!-- <SampleTagPreview v-if="labelType === '4'" :content="content" />
<ForgeTagPreview v-if="labelType === '5'" :content="content" />
@@ -141,7 +141,7 @@ export default {
handler(newVal) {
const { itemName, itemType, warehouseId } = newVal;
// 在镀锌颜料库的卷使用镀锌原料标签
if (itemType == 'raw_material' && warehouseId == '1988150263284953089') {
if (itemType == 'raw_material' && (warehouseId == '1988150263284953089' || warehouseId == '1988150487185289217')) {
this.labelType = '5';
} else if (itemType == 'raw_material') {
this.labelType = '2';