fix 更新
This commit is contained in:
@@ -122,16 +122,16 @@
|
||||
>
|
||||
启用
|
||||
</el-button>
|
||||
<!-- <el-button-->
|
||||
<!-- slot="right"-->
|
||||
<!-- class="filter-item"-->
|
||||
<!-- size="mini"-->
|
||||
<!-- type="warning"-->
|
||||
<!-- icon="el-icon-circle-close"-->
|
||||
<!-- :loading="downloadLoading"-->
|
||||
<!-- @click="doExport1"-->
|
||||
<!-- >一键解锁出库点-->
|
||||
<!-- </el-button>-->
|
||||
<el-button
|
||||
slot="right"
|
||||
class="filter-item"
|
||||
size="mini"
|
||||
type="warning"
|
||||
icon="el-icon-circle-close"
|
||||
:loading="downloadLoading"
|
||||
@click="relse"
|
||||
>一键解锁出库点
|
||||
</el-button>
|
||||
<el-button
|
||||
v-if="crud.query.is_used == 'true'"
|
||||
slot="right"
|
||||
@@ -513,6 +513,9 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
relse(){
|
||||
crudSchBaseRegion.relse()
|
||||
},
|
||||
getPointTypeList(id, flag) {
|
||||
crudSchBaseRegion.getPointTypeSelectById(id).then(res => {
|
||||
if (flag === 1) {
|
||||
@@ -531,6 +534,7 @@ export default {
|
||||
this.crud.toQuery()
|
||||
})
|
||||
},
|
||||
|
||||
showButton(point_status) {
|
||||
if (point_status && (point_status === '2' || point_status === '3')) {
|
||||
return true
|
||||
|
||||
@@ -47,5 +47,11 @@ export function getPointTypeSelectById(id) {
|
||||
data: id
|
||||
})
|
||||
}
|
||||
export function relse() {
|
||||
return request({
|
||||
url: 'api/schBaseRegion/relse',
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
|
||||
export default { add, edit, del, getRegionList, getPointStatusSelectById, getPointTypeSelectById }
|
||||
export default { add, edit, del, getRegionList, getPointStatusSelectById, getPointTypeSelectById, relse }
|
||||
|
||||
Reference in New Issue
Block a user