bug修复

test
郑明梁 2 years ago
parent 80b9315a95
commit cca3ce846e

@ -580,6 +580,7 @@ export default {
};
this.actDateRange = [];
this.auditDateRange = [];
this.getBusType();
this.getList();
},
onSubmit() {

@ -21,7 +21,6 @@
:disabled="list.length > 0"
@change="invChange"
style="width: 90%"
clearable
>
<el-option
v-for="item in invList"

@ -598,7 +598,7 @@ export default {
return
}
if (this.$refs.uploadJrxml.uploadFiles.length < 1 && !this.uploadDisabled) {
this.$message.warning(`请选择jasper文件`);
this.$message.warning(`请选择jrxml文件`);
return
}
console.log(this.formName)

@ -233,6 +233,21 @@ export default {
this.editLogin.targetName = this.targetActions.find(item => item.action == this.editLogin.targetAction).name
},
linkSubmit() {
if(isBlank(this.editLogin.sourceAction)){
return this.$message.error("本地单据类型不能为空");
}
if(isBlank(this.editLogin.invCode)){
return this.$message.error("目标部门不能为空");
}
if(isBlank(this.editLogin.invSubCode)){
return this.$message.error("目标仓库不能为空");
}
if(isBlank(this.editLogin.targetAction)){
return this.$message.error("目标单据类型不能为空");
}
linkPlatform(this.editLogin)
.then((response) => {
if (response.code == 20000) {

Loading…
Cancel
Save