Commit 30500ebb by zhangquan

添加字段

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