-
入库单号
-
{{ materialInfo.inboundNo }}
+
+ 入库单号
+ {{ materialInfo.inboundNo }}
+
+
+ 关联单号
+ {{ materialInfo.relatedOrderNo || '-' }}
+
+
+ 行号
+ {{ materialInfo.relatedOrderLineNo || '-' }}
+
检验日期
@@ -279,6 +289,8 @@ export default {
labelList: [],
inboundNo: '',
partNo: '',
+ relatedOrderNo: '',
+ relatedOrderLineNo: '',
showLocationDialog: false,
locationCode: '',
showMaterialDialog: false,
@@ -325,7 +337,9 @@ export default {
site: this.materialInfo.site,
buNo: this.materialInfo.buNo,
operationType: 'I', // I表示添加
- warehouseId: getCurrentWarehouse() // 当前仓库
+ warehouseId: getCurrentWarehouse(), // 当前仓库
+ relatedOrderNo: this.relatedOrderNo,
+ relatedOrderLineNo: this.relatedOrderLineNo
};
validateLabelWithInbound(params).then(({ data }) => {
@@ -350,7 +364,9 @@ export default {
site: this.materialInfo.site,
buNo: this.materialInfo.buNo,
operationType: 'D', // D表示移除
- warehouseId: getCurrentWarehouse() // 当前仓库
+ warehouseId: getCurrentWarehouse(), // 当前仓库
+ relatedOrderNo: this.relatedOrderNo,
+ relatedOrderLineNo: this.relatedOrderLineNo
};
validateLabelWithInbound(params).then(({ data }) => {
@@ -403,7 +419,9 @@ export default {
site: this.materialInfo.site,
buNo: this.materialInfo.buNo,
inboundNo: this.inboundNo,
- locationCode: this.locationCode.trim()
+ locationCode: this.locationCode.trim(),
+ relatedOrderNo: this.relatedOrderNo,
+ relatedOrderLineNo: this.relatedOrderLineNo
};
confirmInboundStorage(params).then(({ data }) => {
if (data && data.code === 0) {
@@ -568,7 +586,9 @@ export default {
partNo: this.partNo,
buNo: this.buNo,
warehouseId: getCurrentWarehouse(),
- site:localStorage.getItem('site'),
+ site: localStorage.getItem('site'),
+ relatedOrderNo: this.relatedOrderNo,
+ relatedOrderLineNo: this.relatedOrderLineNo
};
getInboundDetails(params).then(({ data }) => {
@@ -620,6 +640,10 @@ export default {
// 获取路由参数
this.inboundNo = this.$route.params.inboundNo;
this.buNo = this.$route.params.buNo;
+ this.relatedOrderNo = this.$route.params.relatedOrderNo || '';
+ this.relatedOrderLineNo = this.$route.params.relatedOrderLineNo || '';
+ this.partNo = this.$route.params.partNo || '';
+
if (!this.inboundNo || !this.buNo) {
this.$message.error('参数错误');
this.$router.back();
@@ -806,23 +830,39 @@ export default {
/* 卡片标题 */
.card-title {
+ display: flex;
+ justify-content: space-between;
+ align-items: flex-end;
margin-bottom: 16px;
+ gap: 8px;
+}
+
+.title-item {
+ display: flex;
+ flex-direction: column;
+ flex: 1;
+}
+
+.title-item:first-child {
+ flex: 1.5;
}
.title-label {
font-size: 11px;
color: #999;
- display: block;
- margin-bottom: 6px;
- font-weight: normal;
+ margin-bottom: 4px;
+ white-space: nowrap;
}
.title-value {
- font-size: 18px;
+ font-size: 13px;
font-weight: bold;
color: #333;
- line-height: 1.2;
- margin-left: 20px;
+ word-break: break-all;
+}
+
+.title-item:first-child .title-value {
+ font-size: 15px;
}
/* 卡片详情 */
diff --git a/src/views/modules/purchase-inbound/qualifiedStorage.vue b/src/views/modules/purchase-inbound/qualifiedStorage.vue
index 572ccb3..61a99b1 100644
--- a/src/views/modules/purchase-inbound/qualifiedStorage.vue
+++ b/src/views/modules/purchase-inbound/qualifiedStorage.vue
@@ -22,7 +22,7 @@
/>