Commit 55e7b4fb by zhangxw

商品切换场景 选择框显示问题修改

1 parent af85ff3f
......@@ -32,11 +32,11 @@
v-for="(subItem, subIndex) in goodsInfoData.specificationDetailList"
:title="subItem.specificationName"
:key="subIndex">{{ subItem.specificationName }}</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.goodsType == 1">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.goodsType == 1">
<span class="color-red">*</span>
<span>部位</span>
</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.goodsType == 1">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.goodsType == 1">
<el-input
style="width: 80px;"
size="small"
......@@ -48,7 +48,7 @@
@blur="handleBatchTypeBlur">
</el-input>
</td>
<td :style="{ 'width': specsWidth, 'min-width': '280px' }" v-if="goodsInfoData.selectedSceneCode == 0">
<td :style="{ 'width': specsWidth, 'min-width': '280px' }" v-show="goodsInfoData.selectedSceneCode == 0">
<span class="color-red">*</span>
<span>可选择的服务项目(多选)</span>
</td>
......@@ -74,7 +74,7 @@
</el-popover>
</el-input>
</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.selectedSceneCode != 0">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.selectedSceneCode != 0">
<span class="color-red">*</span>
<el-input
style="width: 80px;"
......@@ -140,7 +140,7 @@
</el-popover>
</el-input>
</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.selectedSceneCode == 0">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.selectedSceneCode == 0">
<span class="color-red">*</span>
<el-input
style="width: 80px;"
......@@ -162,7 +162,7 @@
</el-popover>
</el-input>
</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.selectedSceneCode != 0">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.selectedSceneCode != 0">
<el-input
style="width: 80px;"
size="small"
......@@ -173,7 +173,7 @@
@blur="handleBatchWarningValueInputBlur">
</el-input>
</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.selectedSceneCode != 0">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.selectedSceneCode != 0">
<span class="color-red">*</span>
<el-input
style="width: 80px;"
......@@ -210,7 +210,7 @@
v-for="(n, idx) in subItem.specsValueList"
:key="idx"
:title="n">{{ n }}</td>
<td :style="{ width: specsWidth}" v-if="goodsInfoData.goodsType == 1">
<td :style="{ width: specsWidth}" v-show="goodsInfoData.goodsType == 1">
<el-select placeholder="部位"
size="small"
:class="{ 'w-80-per': true, 'w-100-per': true, 'border-red': filterEmpty(subItem.position) && subItem.positionEmpty }"
......@@ -233,7 +233,7 @@
</el-popover>
</el-select>
</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.goodsType == 1">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.goodsType == 1">
<el-input placeholder="型号"
size="small"
:class="{ 'w-80-per': true, 'w-100-per': true, }"
......@@ -243,7 +243,7 @@
@input="handleTypeInput($event, subIndex)">
</el-input>
</td>
<td :style="{ 'width': specsWidth, 'min-width': '280px' }" v-if="goodsInfoData.selectedSceneCode == 0">
<td :style="{ 'width': specsWidth, 'min-width': '280px' }" v-show="goodsInfoData.selectedSceneCode == 0">
<el-select placeholder="服务项目"
size="small"
:class="{ 'w-80-per': true, 'w-100-per': true, 'border-red': filterEmpty(subItem.serviceItemArr) && subItem.serviceItemArrEmpty }"
......@@ -288,7 +288,7 @@
</el-popover>
</el-input>
</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.selectedSceneCode != 0">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.selectedSceneCode != 0">
<el-input placeholder="采购价"
size="small"
:class="{ 'w-80-per': true, 'w-100-per': true, 'border-red': (filterEmpty(subItem.purchasePrice) || !subItem.purchasePrice) && subItem.purchasePriceEmpty }"
......@@ -345,7 +345,7 @@
</el-popover>
</el-input>
</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.selectedSceneCode == 0">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.selectedSceneCode == 0">
<div style="transform: translateX(10px);">
<el-input style="width: 80px;"
placeholder="服务时间"
......@@ -367,7 +367,7 @@
<span style="margin-left: 5px;"> 年</span>
</div>
</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.selectedSceneCode != 0">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.selectedSceneCode != 0">
<el-input placeholder="库存预警"
size="small"
style="transform: translateX(0);"
......@@ -376,7 +376,7 @@
@input="handleWarningValueInput($event, subIndex)">
</el-input>
</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.selectedSceneCode != 0">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.selectedSceneCode != 0">
<div style="transform: translateX(10px);">
<el-input style="width: 80px;" placeholder="质保"
size="small"
......
......@@ -8,14 +8,14 @@
<td :style="{ width: specsWidth }">
<span>商品</span>
</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.goodsType == 1">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.goodsType == 1">
<span class="color-red">*</span>
<span>部位</span>
</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.goodsType == 1">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.goodsType == 1">
<span>型号</span>
</td>
<td :style="{ 'width': specsWidth, 'min-width': '280px' }" v-if="goodsInfoData.selectedSceneCode === 0">
<td :style="{ 'width': specsWidth, 'min-width': '280px' }" v-show="goodsInfoData.selectedSceneCode === 0">
<span class="color-red">*</span>
<span>可选择的服务项目(多选)</span>
</td>
......@@ -23,7 +23,7 @@
<span class="color-red">*</span>
<span>成本/元</span>
</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.selectedSceneCode !== 0">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.selectedSceneCode !== 0">
<span class="color-red">*</span>
<span>采购价/卷</span>
</td>
......@@ -35,14 +35,14 @@
<span class="color-red">*</span>
<span>最低价/元</span>
</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.selectedSceneCode === 0">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.selectedSceneCode === 0">
<span class="color-red">*</span>
<span>服务时间</span>
</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.selectedSceneCode !== 0">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.selectedSceneCode !== 0">
<span>库存预警</span>
</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.selectedSceneCode !== 0">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.selectedSceneCode !== 0">
<span class="color-red">*</span>
<span>质保/年</span>
</td>
......@@ -83,7 +83,7 @@
</el-popover>
</el-input>
</td>
<td :style="{ width: specsWidth}" v-if="goodsInfoData.goodsType == 1">
<td :style="{ width: specsWidth}" v-show="goodsInfoData.goodsType == 1">
<el-select placeholder="部位"
size="small"
:class="{ 'w-80-per': true, 'w-100-per': true, 'border-red': filterEmpty(subItem.position) && subItem.positionEmpty }"
......@@ -106,7 +106,7 @@
</el-popover>
</el-select>
</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.goodsType == 1">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.goodsType == 1">
<el-input placeholder="型号"
size="small"
:class="{ 'w-80-per': true, 'w-100-per': true, }"
......@@ -115,7 +115,7 @@
@input="handleTypeInput($event, subIndex)">
</el-input>
</td>
<td :style="{ 'width': specsWidth, 'min-width': '280px' }" v-if="goodsInfoData.selectedSceneCode === 0">
<td :style="{ 'width': specsWidth, 'min-width': '280px' }" v-show="goodsInfoData.selectedSceneCode === 0">
<el-select placeholder="服务项目"
size="small"
:class="{ 'w-80-per': true, 'w-100-per': true, 'border-red': filterEmpty(subItem.serviceItemArr) && subItem.serviceItemArrEmpty }"
......@@ -160,7 +160,7 @@
</el-popover>
</el-input>
</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.selectedSceneCode !== 0">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.selectedSceneCode !== 0">
<el-input placeholder="采购价"
size="small"
:class="{ 'w-80-per': true, 'w-100-per': true, 'border-red': filterEmpty(subItem.purchasePrice) && subItem.purchasePriceEmpty }"
......@@ -217,7 +217,7 @@
</el-popover>
</el-input>
</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.selectedSceneCode === 0">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.selectedSceneCode === 0">
<div style="transform: translateX(10px);">
<el-input style="width: 80px;"
placeholder="服务时间"
......@@ -239,7 +239,7 @@
<span style="margin-left: 5px;"> 年</span>
</div>
</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.selectedSceneCode !== 0">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.selectedSceneCode !== 0">
<el-input placeholder="库存预警"
size="small"
style="transform: translateX(0);"
......@@ -248,7 +248,7 @@
@input="handleWarningValueInput($event, subIndex)">
</el-input>
</td>
<td :style="{ width: specsWidth }" v-if="goodsInfoData.selectedSceneCode !== 0">
<td :style="{ width: specsWidth }" v-show="goodsInfoData.selectedSceneCode !== 0">
<div style="transform: translateX(10px);">
<el-input style="width: 80px;"
placeholder="质保"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!