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