|
|
|
@ -418,11 +418,16 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
save(){
|
|
|
|
|
if (this.$isNotBlank(this.Receive)) {
|
|
|
|
|
console.log("this.Receive:")
|
|
|
|
|
console.log(this.Receive)
|
|
|
|
|
this.Receive.targetInvCode = this.formData.targetInvCode
|
|
|
|
|
this.Receive.advanceType = this.formData.advanceType
|
|
|
|
|
updateReceiveDetail(this.Receive).then(res => {
|
|
|
|
|
if (res.code == 20000) {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.ischeck=false;
|
|
|
|
|
this.selectedIndex=null;
|
|
|
|
|
this.$message.success('修改成功');
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(res.message);
|
|
|
|
|
}
|
|
|
|
@ -431,6 +436,9 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
rowChange(val) {
|
|
|
|
|
this.Receive=val;
|
|
|
|
|
console.log("var:")
|
|
|
|
|
console.log(this.Receive)
|
|
|
|
|
this.ischeck = true;
|
|
|
|
|
this.currentRow = val;
|
|
|
|
|
this.selectedIndex = val.index;
|
|
|
|
|