Commit a252c961 authored by yaya's avatar yaya

feat: 修改寄售详情按钮展示状态

parent 472c2398
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
</el-button> </el-button>
<el-button <el-button
v-if="systemState === 1" v-if="systemState === 1"
:disabled="consignDetail.isHasPrice" :disabled="isHasPrice"
type="primary" type="primary"
size="mini" size="mini"
@click="imageValueDialogShow = true">图文估价 @click="imageValueDialogShow = true">图文估价
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
<el-button <el-button
v-if="systemState === 8" v-if="systemState === 8"
:disabled="isHasPrice"
type="primary" type="primary"
size="mini" size="mini"
@click="identifyValueDialogShow=true">建议寄售价 @click="identifyValueDialogShow=true">建议寄售价
...@@ -178,6 +179,7 @@ export default { ...@@ -178,6 +179,7 @@ export default {
systemState: 0, systemState: 0,
systemStateName: '', systemStateName: '',
consignDetail: {}, consignDetail: {},
isHasPrice: false,
consignSaleRecordVoList: [], consignSaleRecordVoList: [],
imageValueForm: { imageValueForm: {
imgValuation: '', imgValuation: '',
...@@ -251,6 +253,7 @@ export default { ...@@ -251,6 +253,7 @@ export default {
loading.close() loading.close()
} }
this.consignDetail = response.data.data.itemVo this.consignDetail = response.data.data.itemVo
this.isHasPrice = response.data.data.isHasPrice
if (this.consignDetail.images) { if (this.consignDetail.images) {
this.consignDetail.imageList = this.consignDetail.images.split(';') || [] this.consignDetail.imageList = this.consignDetail.images.split(';') || []
} }
......
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