Commit e9a96924 authored by 黄奎's avatar 黄奎

新增绑定商品

parent e48f54cd
......@@ -201,6 +201,26 @@
value-format="yyyy-MM-dd HH:mm:ss" type="datetime" placeholder="选择日期时间">
</el-date-picker>
</el-form-item>
<div class="The-price" v-show="currentUserInfo.TenantId == 27">
<div class="The-price-box price-top" style="width: 300px">
<div class="price-top">
绑定的物品名称
</div>
<div class="price-righ">
价格
</div>
</div>
<div class="The-price-box" v-for="(item, index) in addMsg.RelevanceList" :key="index">
<!-- <div > -->
<!-- <el-tag type="success" style="margin-right:10px;"
v-for="(item, index) in addMsg.CategoryList" :key="index+'1'" >{{ item.CategoryName }}
</el-tag> -->
<div class="fonsizi" >
{{item.RelevanceName}}
</div>
<div class="price-righ" ><el-input :disabled="true" size="small" v-model="item.RelevancePrice" placeholder="请输入价格"><template slot='append'>元 套</template></el-input></div>
</div>
</div>
</el-col>
</el-row>
</el-card>
......@@ -1104,6 +1124,7 @@
},
data() {
return {
input:'',
ComTreeList: [],
thisType: 0,
tableData: [],
......@@ -1132,6 +1153,7 @@
activeName: "first",
flDig: false,
addMsg: {
RelevanceList:[],//新增绑定商品
Id: 0,
CategoryList: [],
Name: "",
......@@ -2203,6 +2225,7 @@
if (this.addMsg.PresentFXGrade == 0) {
this.addMsg.PresentFXGrade = ''
}
this.getSuggestPrice();
this.getFXDGradeList2();
this.getTree();
......@@ -2442,6 +2465,30 @@
</script>
<style>
.fonsizi{
height: auto;
word-wrap: break-word; /*强制换行*/
overflow: hidden; /*超出隐藏*/
text-overflow: ellipsis;/*隐藏后添加省略号*/
white-space: nowrap;
width: 260px;
}
.The-price{
margin-left: 70px;
}
.The-price-box{
display: flex;
justify-content: space-between;
width: 545px;
align-items: center;
}
.price-top{
margin-bottom: 10px;
}
.price-righ{
}
.app-attr-group .close {
position: absolute;
top: -4px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment