Browse Source

签约处理修改

zhangyanfang 5 years ago
parent
commit
f05f5376b2
2 changed files with 2 additions and 2 deletions
  1. 1 1
      app/sign/js/sign_detail.js
  2. 1 1
      app/sign/js/sign_handle.js

+ 1 - 1
app/sign/js/sign_detail.js

@ -132,7 +132,7 @@ methods: {
						if(i == 0) {
							vm.serverName += res.data[i].serverTypeName
						} else {
							vm.serverName += ', ' + res.data[i].serverTypeName
							vm.serverName += ',' + res.data[i].serverTypeName
						}
					}
					if(vm.serverName.split(',').indexOf('高血压')>-1 || vm.serverName.split(',').indexOf('糖尿病')>-1){

+ 1 - 1
app/sign/js/sign_handle.js

@ -718,7 +718,7 @@ methods: {
		});
	},
	sign: function() {// type:1签约 2拒签
		if(this.signInfo.type == 1 && (!this.signInfo.expenses || (this.doctorType == 2 && !this.signInfo.healthDoctor) || (this.doctorType == 3 && !this.signInfo.doctor) || !this.signInfo.sevId || (!this.signInfo.disease && !this.signInfo.healthLabel && !this.signInfo.customLabel))) {
		if(this.signInfo.type == 1 && (!this.signInfo.expenses || (this.doctorType == 2 && !this.signInfo.healthDoctor) ||(this.doctorType == 2 && !this.signInfo.specialist) || (this.doctorType == 3 && !this.signInfo.doctor) || !this.signInfo.sevId || (!this.signInfo.disease && !this.signInfo.healthLabel && !this.signInfo.customLabel))) {
			showWarningMessage("请将填写完整签约信息!");
			return false;
		}