From 81c27d42bf0e43bea7f3c3dfa75762c2c5ecaca8 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期四, 25 四月 2024 15:23:56 +0800
Subject: [PATCH] wms 概述详情页根据不同的名称顶部名称不同
---
src/views/overview/OverviewListView.vue | 70 +++++++++++++++++-----------------
1 files changed, 35 insertions(+), 35 deletions(-)
diff --git a/src/views/overview/OverviewListView.vue b/src/views/overview/OverviewListView.vue
index d8d2f0a..48dc227 100644
--- a/src/views/overview/OverviewListView.vue
+++ b/src/views/overview/OverviewListView.vue
@@ -1,8 +1,8 @@
<template>
<div class="rightContent">
- <!-- <div class="label-fixed-element">
+ <div class="label-fixed-element">
<span>{{ params.name }}</span>
- </div> -->
+ </div>
<div class="top">
<SearchCommonView
:add-title="'鏂板缓'"
@@ -358,31 +358,31 @@
// bottom浜у搧淇℃伅鏁版嵁澶勭悊
bottomProductData(arr) {
const list = arr.details.map((item) => {
- let adjunctUnit=''
- let adjunctAmount=''
- if(item.product.moreUnit&&item.product.moreUnitList){
- let moreUnitList=item.product.moreUnitList
- if(moreUnitList.length>0){
- let isValue=false
- for(let j in moreUnitList){
- if(moreUnitList[j].floating){
- isValue=true;
- adjunctUnit=moreUnitList[j].unit
- adjunctAmount=moreUnitList[j].amount
- break;
- }
- }
- if(!isValue){
- for(let j in moreUnitList){
- if(moreUnitList[j].unit){
- adjunctUnit=moreUnitList[j].unit
- adjunctAmount=moreUnitList[j].amount
- break;
- }
- }
- }
- }
- }
+ // let adjunctUnit=''
+ // let adjunctAmount=''
+ // if(item.product.moreUnit&&item.product.moreUnitList){
+ // let moreUnitList=item.product.moreUnitList
+ // if(moreUnitList.length>0){
+ // let isValue=false
+ // for(let j in moreUnitList){
+ // if(moreUnitList[j].floating){
+ // isValue=true;
+ // adjunctUnit=moreUnitList[j].unit
+ // adjunctAmount=moreUnitList[j].amount
+ // break;
+ // }
+ // }
+ // if(!isValue){
+ // for(let j in moreUnitList){
+ // if(moreUnitList[j].unit){
+ // adjunctUnit=moreUnitList[j].unit
+ // adjunctAmount=moreUnitList[j].amount
+ // break;
+ // }
+ // }
+ // }
+ // }
+ // }
return {
...item,
productName: item.product.name,
@@ -391,12 +391,12 @@
specs:item.product.specs,
location: arr.location.name,
toLocation: arr.toLocation.name,
- adjunctUnit:adjunctUnit,
- adjunctAmount:adjunctAmount&&item.amount?adjunctAmount:'',
- grossWeight:item.product.grossWeight,
- totalGrossWeight:item.totalGrossWeight,
- netWeight:item.product.netWeight,
- totalNetWeight:item.totalNetWeight,
+ adjunctUnit:item.auxiliaryUnit,
+ adjunctAmount:item.auxiliaryAmount,
+ grossWeight:item.product.grossWeight==0?'':item.product.grossWeight,
+ totalGrossWeight:item.totalGrossWeight==0?'':item.totalGrossWeight,
+ netWeight:item.product.netWeight==0?'':item.product.netWeight,
+ totalNetWeight:item.totalNetWeight==0?'':item.totalNetWeight,
}
})
this.productTableList.tableInfomation = list
@@ -524,7 +524,7 @@
overflow: hidden;
.body {
box-sizing: border-box;
- padding: 10px 20px;
+ padding: 10px 0px;
border-radius: 12px;
height: calc(100% - 70px);
.content-top {
@@ -583,8 +583,8 @@
}
}
.label-fixed-element {
- background: #e6ecf2;
position: fixed;
+ background:#f8f8f9;
font-size: 14px;
width: calc(100% - 530px);
height: 45px;
--
Gitblit v1.8.0