修改项目的盛安豆信息

This commit is contained in:
yangjun 2024-07-19 09:03:52 +08:00
parent 0ad95d61eb
commit fe522cc3cb
2 changed files with 22 additions and 5 deletions

View File

@ -95,8 +95,13 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="6" style="margin-top: 20px;">
<!-- <el-col :span="6"> <span>获得盛安豆</span>
<el-input style="width:200px;" class="margin15" placeholder="请输入商品销量" type="number" :min="0" :controls="false"
v-model="sad" autosize ></el-input>
</el-col>
<!--
<el-col :span="6">
<span>商品品牌</span> <span>商品品牌</span>
<el-select v-model="brandId" class="margin15" placeholder="请选择商品品牌" style="width:200px;"> <el-select v-model="brandId" class="margin15" placeholder="请选择商品品牌" style="width:200px;">
<el-option v-for="(item,index) in brandIds" :key="item.index" :label="item.label" :value="item.value"> <el-option v-for="(item,index) in brandIds" :key="item.index" :label="item.label" :value="item.value">
@ -412,6 +417,7 @@
buyReason: '', buyReason: '',
sales: '', sales: '',
status: '', status: '',
sad: 0,
typeDatas: [], typeDatas: [],
detailJson: [], detailJson: [],
imgs: [], imgs: [],
@ -669,6 +675,9 @@
this.isExpress = returnData.isExpress; this.isExpress = returnData.isExpress;
this.createAt = returnData.createAt; this.createAt = returnData.createAt;
this.brandId = returnData.brandId; this.brandId = returnData.brandId;
this.sad = returnData.sad;
let label = JSON.parse(returnData.type.parentId) let label = JSON.parse(returnData.type.parentId)
let value = JSON.parse(returnData.type.id) let value = JSON.parse(returnData.type.id)
this.value = [label, value] this.value = [label, value]
@ -796,7 +805,9 @@
'postagePrice': this.postagePrice, 'postagePrice': this.postagePrice,
'sku': this.sku, 'sku': this.sku,
'attr': this.attr, 'attr': this.attr,
'createAt': this.createAt 'createAt': this.createAt,
'sad': this.sad,
}) })
}).then(({ }).then(({
data data

View File

@ -95,7 +95,11 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="6" style="margin-top: 20px;">
<span>获得盛安豆</span>
<el-input style="width:200px;" class="margin15" placeholder="请输入商品销量" type="number" :min="0" :controls="false"
v-model="sad" autosize ></el-input>
</el-col>
<!-- <el-col :span="6"> <!-- <el-col :span="6">
<span>商品品牌</span> <span>商品品牌</span>
<el-select v-model="brandId" class="margin15" placeholder="请选择商品品牌" style="width:200px;"> <el-select v-model="brandId" class="margin15" placeholder="请选择商品品牌" style="width:200px;">
@ -437,6 +441,7 @@
isRecommend: 1, isRecommend: 1,
isExpress: '', isExpress: '',
coverImg: '', coverImg: '',
sad: 0,
valueData2: [], valueData2: [],
headerData2: [], headerData2: [],
statusmain2: [{ statusmain2: [{
@ -785,7 +790,8 @@
'postagePrice': this.postagePrice, 'postagePrice': this.postagePrice,
'sku': this.sku, 'sku': this.sku,
'attr': this.attr, 'attr': this.attr,
'brandId': this.brandId 'brandId': this.brandId,
'sad': this.sad
}) })
}).then(({ }).then(({
data data