Commit 7ffcf58b by zhangxw

补充需求修改

1 parent e9f1129e
...@@ -259,7 +259,7 @@ export default { ...@@ -259,7 +259,7 @@ export default {
resArr.push({ resArr.push({
confId: v.id, confId: v.id,
confNameValue: v?.upgradeGoodsName, confNameValue: v?.upgradeGoodsName,
confTypeNameValue: `(${val?.goodsInfo?.goodsTypeName} / ${val?.goodsInfo?.goodsName})`, confTypeNameValue: `(${val?.goodsInfo?.goodsTypeName} / ${val?.goodsInfo?.goodsName} / ${v?.commodityCode})`,
valueObj: { valueObj: {
upgradeGoodsName: v?.upgradeGoodsName, upgradeGoodsName: v?.upgradeGoodsName,
goodsName: val?.goodsInfo?.goodsName, goodsName: val?.goodsInfo?.goodsName,
...@@ -316,7 +316,7 @@ export default { ...@@ -316,7 +316,7 @@ export default {
let defaultSelect = [{ let defaultSelect = [{
confId: res?.upgradeGoodsId, confId: res?.upgradeGoodsId,
confNameValue: res?.upgradeGoodsName, confNameValue: res?.upgradeGoodsName,
confTypeNameValue: `(${res?.goodsTypeName} / ${res?.goodsName})`, confTypeNameValue: `(${res?.goodsTypeName} / ${res?.goodsName} / ${v?.commodityCode})`,
}] }]
res.serviceItemNames = res.upgradeGoods?.upgradeGoodsServiceItemsList?.map(v => {return v.serviceName})?.join(',') res.serviceItemNames = res.upgradeGoods?.upgradeGoodsServiceItemsList?.map(v => {return v.serviceName})?.join(',')
this.editData = res || {} this.editData = res || {}
......
...@@ -38,11 +38,10 @@ ...@@ -38,11 +38,10 @@
</td> </td>
<td :style="{ width: specsWidth }"> <td :style="{ width: specsWidth }">
<el-input <el-input
style="width: 80px;"
size="small" size="small"
:class="{ 'w-100-per': true }" :class="{ 'w-100-per': true, 'w-150-per': true }"
placeholder="商品编码" placeholder="商品编码"
maxlength="10" maxlength="20"
v-model.trim="batchObj.type" v-model.trim="batchObj.type"
@input="handleBatchTypeInput" @input="handleBatchTypeInput"
@blur="handleBatchTypeBlur"> @blur="handleBatchTypeBlur">
...@@ -194,10 +193,10 @@ ...@@ -194,10 +193,10 @@
<td :style="{ width: specsWidth }"> <td :style="{ width: specsWidth }">
<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, 'w-150-per': true }"
style="transform: translateX(0);" style="transform: translateX(0);"
v-model.trim="subItem.type" v-model.trim="subItem.type"
maxlength="10" maxlength="20"
@input="handleTypeInput($event, subIndex)"> @input="handleTypeInput($event, subIndex)">
</el-input> </el-input>
</td> </td>
...@@ -901,6 +900,9 @@ export default { ...@@ -901,6 +900,9 @@ export default {
padding: 0 10px; padding: 0 10px;
} }
} }
.w-150-per {
width: 150px;
}
.w-80-per-noTansform{ .w-80-per-noTansform{
transform: translateX(0px); transform: translateX(0px);
} }
......
...@@ -99,9 +99,9 @@ ...@@ -99,9 +99,9 @@
<td :style="{ width: specsWidth }"> <td :style="{ width: specsWidth }">
<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, 'w-150-per': true }"
v-model.trim="subItem.type" v-model.trim="subItem.type"
maxlength="10" maxlength="20"
@input="handleTypeInput($event, subIndex)"> @input="handleTypeInput($event, subIndex)">
</el-input> </el-input>
</td> </td>
...@@ -475,6 +475,9 @@ export default { ...@@ -475,6 +475,9 @@ export default {
padding: 0 10px; padding: 0 10px;
} }
} }
.w-150-per {
width: 150px;
}
.color-red{ .color-red{
color: #eb4e4e; color: #eb4e4e;
font-size: 14px; font-size: 14px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!