提交 fcc1e26c authored 作者: huaxinzhu's avatar huaxinzhu

fix-bug

上级 3c746b04
......@@ -8,17 +8,17 @@
:data="singleSpecTable"
style="width: 100%;margin-right:10%;"
>
<el-table-column align="center" prop="sc_price" label="市场划线价">
<el-table-column align="center" prop="sc_price" label="市场划线价1" class-name="spe-cell-icon">
<template slot-scope="scope">
<el-input size="mini" style="width:90%" v-model.trim="scope.row.sc_price" placeholder="请输入市场价"></el-input>
</template>
</el-table-column>
<el-table-column align="center" prop="price" label="销售指导价">
<el-table-column align="center" prop="price" label="销售指导价" class-name="spe-cell-icon">
<template slot-scope="scope">
<el-input size="mini" style="width:90%" v-model.trim="scope.row.price" placeholder="请输入指导价"></el-input>
</template>
</el-table-column>
<el-table-column align="center" prop="js_price" label="供货结算价" >
<el-table-column align="center" prop="js_price" label="供货结算价" class-name="spe-cell-icon">
<template slot-scope="scope">
<el-input size="mini" style="width:90%" v-model.trim="scope.row.js_price" placeholder="请输入协议价" ></el-input>
</template>
......@@ -29,7 +29,7 @@
</template>
</el-table-column>
<el-table-column align="center" prop="stock" label="库存">
<el-table-column align="center" prop="stock" label="库存" class-name="spe-cell-icon">
<template slot-scope="scope">
<el-input size="mini" style="width:90%" v-model.trim="scope.row.stock" placeholder="请输入库存量"></el-input>
</template>
......@@ -131,7 +131,7 @@
<!-- <template slot-scope="scope">
</template> -->
</el-table-column>
<el-table-column align="center" prop="sc_price" label="市场划线价">
<el-table-column align="center" prop="sc_price" label="市场划线价" class-name="spe-cell-icon">
<template slot="header">
<span>市场划线价</span>
<el-tooltip placemetn="top" >
......@@ -144,7 +144,7 @@
</template>
</el-table-column>
<el-table-column align="center" prop="price" label="销售指导价">
<el-table-column align="center" prop="price" label="销售指导价" class-name="spe-cell-icon">
<template slot="header">
<span>销售指导价</span>
<el-tooltip placemetn="top" >
......@@ -157,7 +157,7 @@
</template>
</el-table-column>
<el-table-column align="center" prop="js_price" label="供货结算价">
<el-table-column align="center" prop="js_price" label="供货结算价" class-name="spe-cell-icon">
<template slot="header">
<span>供货结算价</span>
<el-tooltip placemetn="top">
......@@ -189,7 +189,7 @@
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column align="center" prop="stock" label="库存">
<el-table-column align="center" prop="stock" label="库存" class-name="spe-cell-icon">
<template slot="header">
<span>库存</span>
<el-tooltip placemetn="top" >
......@@ -959,4 +959,14 @@ p {
flex-direction: row;
align-items: center;
}
::v-deep .has-gutter .spe-cell-icon {
position: relative;
}
::v-deep .has-gutter .spe-cell-icon > .cell:before {
content: '*';
color: red;
margin-right: 5px;
}
</style>
......@@ -32,10 +32,10 @@
<Goodsinfomation ref="goodsInfo" :goodsinfodata='goodsinfodata'/>
</div>
</div>
<!-- 商品规格 -->
<!-- 商品规格/价格库存 -->
<div class="floor-item">
<div class="floor-item-box">
<p class="card-header-title floor-item-box-title"><span class="blue-block-goods blue-block-goods-title"></span>商品规格
<p class="card-header-title floor-item-box-title"><span class="blue-block-goods blue-block-goods-title"></span>价格库存
<el-radio-group v-model="radioguide" @change="radiochange" style="padding-left:50px;">
<el-radio :label="1">单规格</el-radio>
<el-radio :label="2">多规格</el-radio>
......@@ -153,7 +153,7 @@
/**/
floorNav: [
{ id: 1, name: '商品信息' },
{ id: 2, name: '商品规格' },
{ id: 2, name: '价格库存' },
{ id: 3, name: '商品详情' },
{ id: 4, name: '商品参数' },
{ id: 5, name: '售后及服务' }
......@@ -164,7 +164,7 @@
categoryList: [],
categoryStr: ''
},
/* 商品规格 */
/* 价格库存 */
specificationsdata: [],
/* 商品售价 */
parameterdata: {
......@@ -257,9 +257,9 @@
});
}
// console.log(260,this.goodsinfodata.producing_area_id,this.goodsinfodata.deliver_area_id)
console.log(260,this.goodsinfodata.producing_area_id,this.goodsinfodata.deliver_area_id)
// 商品规格, 售价由规格决定
// 价格库存, 售价由规格决定
if(res.data.specs && res.data.specs.length > 0) {
this.specificationsdata = res.data.specs;
this.radioguide = 2
......@@ -341,7 +341,7 @@
// 商品详情
this.description = res.data.description;
// 商品参数 售后服务 其他设置
// 商品参数 售后服务
this.goodsaftersale.params = res.data.params?res.data.params:[{'title':'','value':''}]//参数
this.goodsaftersale.out_goods_id = (res.data.out_goods_id == 0) ? '' : res.data.out_goods_id //商品编码
this.goodsaftersale.freight_id = res.data.freight_id;
......@@ -489,7 +489,7 @@
let isGoodsInfoMsg = this.$refs['goodsInfo'].validateGoodsInfoForm();
debugger
// 商品规格 无需校验
// 价格库存 无需校验
let spggRef = this.$refs.goodsspecifications;
let spggData = spggRef.speData;
spggRef.upDateDom();
......@@ -829,7 +829,7 @@
initAllGoodsInfo() {
// 初始化 商品信息 数据
this.$refs.goodsInfo.initInfo();
// 初始化 商品规格 数据
// 初始化 价格库存 数据
this.$refs.goodsspecifications.initInfo();
// 初始化 商品售价 数据
this.$refs.goodsparameter.initInfo();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论