fix(inventory): 解决发货数据仓库一致性验证问题

- 添加仓库ID一致性检查逻辑
- 验证发货数据仓库与出库单仓库是否匹配
- 不一致时抛出服务异常并提示用户重新确认
- 恢复票据类型选择框功能而非只读标签显示
dev_1.0.2
chenhao 2026-03-04 19:08:21 +08:00
parent ddcde9e1da
commit 115394106a
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@
<div class="receipt-details">
<div class="detail-item">
<span class="item-label">票据类型</span>
<span class="item-value"><dict-tag :options="dict.type.finance_invoice_type" :value="attachment.ticketType"/></span>
<span class="item-value"><dict-tag :options="dict.type.finance_invoice_type" :value="receiptData.ticketType"/></span>
</div>
<div class="detail-item">
<span class="item-label">{{ titleText }}</span>

View File

@ -95,8 +95,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
from (SELECT sum(payment_amount) payment_amount,
payable_bill_id
FROM oms_payable_ticket_detail t1
left join oms_ticket_write_off t2 on t1.write_off_id=t2.id
WHERE (t1.write_off_id is null or t1.payment_bill_code=t2.payment_bill_code) and ticket_bill_code in
left join oms_payable_ticket_write_off t2 on t1.write_off_id=t2.id
WHERE (t1.write_off_id is null or t1.ticket_bill_code=t2.ticket_bill_code) and t1.ticket_bill_code in
<foreach item="item" collection="list" separator="," open="(" close=")" index="">
#{item}
</foreach>