|
|
|
@ -64,7 +64,7 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="7">
|
|
|
|
|
<el-form-item prop="serialNo">
|
|
|
|
|
<el-input v-model="editData.serialNo" auto-complete="off"></el-input>
|
|
|
|
|
<el-input v-model="editData.serialNo" auto-complete="off" :disabled="xlhEnable"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
@ -125,6 +125,13 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
editData: null
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
xlhEnable: false,
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
|
saveCode() {
|
|
|
|
|
if (this.editTye == 1) {
|
|
|
|
@ -144,26 +151,33 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
,
|
|
|
|
|
cancelDialog() {
|
|
|
|
|
this.closeCodeDialog();
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
,
|
|
|
|
|
findByCode() {
|
|
|
|
|
let query = {udiCode: this.editData.code};
|
|
|
|
|
findByCode(query)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
|
|
|
|
|
|
if (response.data.scbssfbhxlh == "否") {
|
|
|
|
|
this.xlhEnable = true;
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
}
|
|
|
|
|
this.loading = false;
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
,
|
|
|
|
|
created() {
|
|
|
|
|
|
|
|
|
|
this.editData = JSON.parse(JSON.stringify(this.codeDetail));
|
|
|
|
|
},
|
|
|
|
|
this.findByCode();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|