|
@@ -506,14 +506,14 @@ export default {
|
|
|
handleUpdate(row) {
|
|
|
this.reset();
|
|
|
const devId = row.devId || this.ids
|
|
|
- if (row.approveStatus != 0) {
|
|
|
- MessageBox.alert('已送审/已审核的数据不可修改!', '注意!', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- })
|
|
|
- return;
|
|
|
- }
|
|
|
getDevice(devId).then(response => {
|
|
|
this.form = response.data;
|
|
|
+ if (this.form.approveStatus != 0) {
|
|
|
+ MessageBox.alert('已送审/已审核的数据不可修改!', '注意!', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ })
|
|
|
+ return;
|
|
|
+ }
|
|
|
getAllRegion(this.form.plantId).then(response => {
|
|
|
this.regionOperation = response.data;
|
|
|
console.log(this.regionOperation)
|