|
|
|
@ -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) {
|
|
|
|
|