Commit 30500ebb by zhangquan

添加字段

1 parent 7de20fbe
......@@ -60,7 +60,7 @@
<el-button v-if="!disabled" type="primary" @click="handleSave">确定</el-button>
</GLFooter>
<selectCarDialog v-if="carDialogVisible" :echoData="vehicleSeriesRequestList" @handleClose="handleCarSeriesClose" @handleConfirm="handleConfirm" :dialogVisible="carDialogVisible"></selectCarDialog>
<selectGoods v-if="goodsVisible" :dialogVisible="goodsVisible" :goodsInfo="formObj" @handleGoodsConfirm="handleGoodsConfirm" @handleGoodsClose="handleGoodsClose"></selectGoods>
<selectGoods v-if="goodsVisible" :routeInfo="routeInfo" :dialogVisible="goodsVisible" :goodsInfo="formObj" @handleGoodsConfirm="handleGoodsConfirm" @handleGoodsClose="handleGoodsClose"></selectGoods>
<selectMerchantDialog @confirmDialog="confirmDialog" @closeDialog="closeDialog" :goodsId="formObj.smartcarlifeInfoId" :selectedList="merchantRequestList" v-if="merchantDialogVisible" :isVisible="merchantDialogVisible"></selectMerchantDialog>
</div>
</template>
......@@ -125,6 +125,7 @@ export default {
merchantDialogVisible: false,
disabled: false,
goodsInfo: {},
routeInfo: {},
defaultProps:{
children: 'categoryName',
label: 'childs'
......
......@@ -52,7 +52,8 @@ export default {
return {
url: url,
searchForm: {
goodsName: ''
goodsName: '',
configurationUpgradeGoodsId: ''
},
total: 0,
storeList: [],
......@@ -110,6 +111,10 @@ export default {
type: Boolean,
default: false
},
routeInfo: {
type: Object,
default: ()=> {}
},
storeSearchForm: {
type: Object
},
......@@ -127,6 +132,7 @@ export default {
minSellPrice: minSellPrice ? Number(Number(minSellPrice*10*10).toFixed(0)) : 0,
retailPrice: retailPrice ? Number(Number(retailPrice*10*10).toFixed(0)) : 0,
}
this.searchForm.configurationUpgradeGoodsId = this.routeInfo.type == 2 ? this.routeInfo.id : ''
},
mounted() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!