fix 81313、81312
This commit is contained in:
+5
-1
@@ -41,7 +41,10 @@
|
|||||||
</j-table>
|
</j-table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<select-standard-drawer ref="standardSelectModal" type="radio" @listChange="handleSelectedStandard" />
|
<select-standard-drawer ref="standardSelectModal"
|
||||||
|
type="radio"
|
||||||
|
:can-selected-source="[StandardSource.DOMESTIC.value, StandardSource.OVERSEAS.value]"
|
||||||
|
@listChange="handleSelectedStandard" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -78,6 +81,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
StandardSource,
|
||||||
columns: [
|
columns: [
|
||||||
// 标准编号
|
// 标准编号
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -239,7 +239,9 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.dataList = res.result.records
|
this.dataList = res.result.records
|
||||||
this.ipagination.total = res.result.total
|
this.ipagination.total = res.result.total
|
||||||
this.selectedRowKeys = this.value ? this.value.split(',') : []
|
if (!this.selectedRowKeys || this.selectedRowKeys.length === 0) {
|
||||||
|
this.selectedRowKeys = this.value ? this.value.split(',') : []
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.dataList = []
|
this.dataList = []
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user