Commit 5c5cf34a by 张立顺

Merge branch 'dev_v4.18.0' of http://192.168.3.233:8090/saas_plus/dj-car-life-sy…

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