Commit c0d90c56 by 萱草

update: bug修复

parent d3da6151
......@@ -7,7 +7,7 @@
<div>
<p class="fray01 fw500 mb15">操作记录<span class="fz12 ml15 gray03 fw400">主要对手动调整库存,应用占用库存,应用释放库存的场景下对福利“可占库存”引起变更进行记录</span></p>
<div class="mb20">
<el-select class="mr10 w160" v-if="type == 1" clearable v-model="listParams.name" placeholder="全部SKU" @change="refresh">
<el-select class="mr10 w160" v-if="type == 1" clearable v-model="listParams.welfareId" placeholder="全部SKU" @change="refresh">
<el-option v-for="(item, idx) in skuList" :key="idx" :label="item.giftSkuName" :value="item.giftSkuId"></el-option>
</el-select>
<el-select class="mr10 w160" clearable v-model="listParams.modifyType" placeholder="全部操作类型" @change="refresh">
......@@ -71,7 +71,8 @@ export default {
loading: false,
dateTime: [ new Date() - 7 * 24 * 60 * 60 * 1000, new Date() ],
listParams: {
welfareId: this.welfareId,
// welfareId: this.welfareId,
welfareId: '',
modifyType: '', // 调整类型(1:加,2:减)
startDate: '',
endDate: '',
......
......@@ -99,8 +99,9 @@ export default {
useStatus, // 状态
};
if(this.type == 1) {
this.skuList = res.result.skuList || [];
// this.skuList = res.result.skuList || [];
this.goodsStandardInfo = res.result.giftSpecInfo ? JSON.parse(res.result.giftSpecInfo) : []; // 礼品规格信息
this.skuList = this.goodsStandardInfo.length ? res.result.skuList : [];
this.$emit('updateSkulist', this.skuList);
}
});
......
......@@ -460,6 +460,9 @@ export default {
this.getStandardList(); // 获取规格列表
},
methods: {
stdImgUpload(){
console.log(this.isStdImg);
},
getGiftId(){
// let giftId;
getGiftId().then(res =>{
......
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