bug修复

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

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

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

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

@ -233,6 +233,21 @@ export default {
this.editLogin.targetName = this.targetActions.find(item => item.action == this.editLogin.targetAction).name this.editLogin.targetName = this.targetActions.find(item => item.action == this.editLogin.targetAction).name
}, },
linkSubmit() { 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) linkPlatform(this.editLogin)
.then((response) => { .then((response) => {
if (response.code == 20000) { if (response.code == 20000) {

Loading…
Cancel
Save