Browse Source

添加原始记录编号变化监听并判重

master
李磊 3 years ago
parent
commit
7cfb0d4173
  1. 5
      src/views/user/user.vue
  2. 16
      src/views/ysjl/3000/common/index.vue

5
src/views/user/user.vue

@ -151,7 +151,7 @@
:on-remove="handleRemove"
:file-list="fileList"
:limit="1"
action="123"
action=""
list-type="picture"
>
<el-button size="small" type="primary">
@ -363,8 +363,7 @@ export default {
}).then((data) => {
this.tempUser.signImg = data
this.fileList = JSON.parse(data)
this.fileList[0].url =
process.env.VUE_APP_IMG_URL + 'signImage/' + this.fileList[0].name
this.fileList[0].url = process.env.VUE_APP_IMG_URL + 'signImage/' + this.fileList[0].name
})
return true
},

16
src/views/ysjl/3000/common/index.vue

@ -890,6 +890,22 @@ export default {
tree: []
}
},
watch: {
jlbh4: function() {
this.ysjlService
.judgeRepeat(this.jlbh1 + this.jlbh2 + this.jlbh3 + '-' + this.jlbh4, this.ysjl.id)
.then((data) => {
this.isRepeat = data
})
},
'ysjl.jilubianhao': function() {
this.ysjlService
.judgeRepeat(this.ysjl.jilubianhao, this.ysjl.id)
.then((data) => {
this.isRepeat = data
})
}
},
created() {
if (this.state === 'create') {
this.initYsjl()

Loading…
Cancel
Save