fix 更新

This commit is contained in:
zhoujj
2026-03-17 14:15:20 +08:00
parent d0c14a6b58
commit a1941577f0
14 changed files with 101 additions and 24 deletions

View File

@@ -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

View File

@@ -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 }