|
@@ -774,7 +774,6 @@ import {dateFormat} from "@/util/date";
|
|
|
},
|
|
|
// 下拉的监听事件
|
|
|
corpChange(value,name){
|
|
|
- console.log(value,name,769)
|
|
|
if (name == 'operatorName') {
|
|
|
// OP 下拉赋值 用户管理列表
|
|
|
for(let item of this.columnforfun('operatorName').dicData) {
|
|
@@ -788,7 +787,6 @@ import {dateFormat} from "@/util/date";
|
|
|
// OP 下拉赋值 用户管理列表
|
|
|
for(let item of this.columnforfun('accDeptName').dicData) {
|
|
|
if (item.title == value) {
|
|
|
- console.log(item,783)
|
|
|
this.form.accDeptName = item.title
|
|
|
this.form.accDeptId = item.id
|
|
|
}
|
|
@@ -803,6 +801,11 @@ import {dateFormat} from "@/util/date";
|
|
|
this.columnforfun('corpAttnName').disabled = true
|
|
|
this.columnforfun('corpAttnTel').disabled = true
|
|
|
this.columnforfun('corpAttnEmail').disabled = true
|
|
|
+ // 如果点击清空按钮把值赋值为空
|
|
|
+ this.form.corpCnName = ''
|
|
|
+ this.form.corpEnName = ''
|
|
|
+ this.form.corpId = ''
|
|
|
+ this.form.corpCode = ''
|
|
|
}
|
|
|
// 往来单位
|
|
|
for(let item of this.columnforfun('corpCnName').dicData) {
|
|
@@ -828,6 +831,10 @@ import {dateFormat} from "@/util/date";
|
|
|
}
|
|
|
else if (name == 'srcType') {
|
|
|
if (!value) {
|
|
|
+ this.$set(this.form,'srcType','')
|
|
|
+ this.$set(this.form,'srcId','')
|
|
|
+ this.$set(this.form,'srcCnName','')
|
|
|
+ this.$set(this.form,'srcEnName','')
|
|
|
this.columnforfun('srcCnName').disabled = true
|
|
|
return
|
|
|
}
|
|
@@ -837,6 +844,7 @@ import {dateFormat} from "@/util/date";
|
|
|
this.columnforfun('srcCnName').type = ''
|
|
|
for(let item of this.columnforfun('srcCnName').dicData) {
|
|
|
if (item.id == JSON.parse(localStorage.getItem('saber-userInfo')).content.dept_id) {
|
|
|
+ console.log(item,847)
|
|
|
this.$set(this.form,'srcId',item.id)
|
|
|
this.$set(this.form,'srcCnName',item.title)
|
|
|
this.$set(this.form,'srcEnName',item.title)
|