9/6 youhua

20240912_adapter_z
wangwei 7 months ago
parent 1fd70fb642
commit e6e71b7486

@ -405,7 +405,7 @@ export default {
updateType(this.formData).then(res => { updateType(this.formData).then(res => {
if (res.code == 20000) { if (res.code == 20000) {
this.closeDialog() this.closeDialog()
this.$message.success('更新成') this.$message.success('更新成')
} else { } else {
this.$message.error('更新失败') this.$message.error('更新失败')
} }
@ -464,9 +464,12 @@ export default {
created() { created() {
if (this.upData != null) { if (this.upData != null) {
this.formData = this.upData this.formData = this.upData
if (this.formData.invCode != null){ if (this.formData.invCode != 0){
this.formData.invCode = this.upData.invCode + '' this.formData.invCode = this.upData.invCode + ''
} }
if (this.formData.invCode == 0) {
this.formData.invCode = ''
}
if (this.formData.isMatching == 0) { if (this.formData.isMatching == 0) {
this.getBusType() this.getBusType()
} else { } else {

Loading…
Cancel
Save