diff --git a/src/views/inventory/inner/innerOrderEditDialog.vue b/src/views/inventory/inner/innerOrderEditDialog.vue index b4b6dab..7eb7493 100644 --- a/src/views/inventory/inner/innerOrderEditDialog.vue +++ b/src/views/inventory/inner/innerOrderEditDialog.vue @@ -285,6 +285,7 @@ export default { this.selectedIndex = ""; }, stockOrderList(){ + debugger if(this.query.id==null) { inserThrOrderWeb({innerOrderEntity: this.formData,editStatus:1}) .then(response => { @@ -293,6 +294,7 @@ export default { this.pId=response.data.id; this.billNo=response.data.recordKey; this.formData.billNo=response.data.recordKey; + this.formData.recordKey=response.data.recordKey; this.formData.id=this.pId } else { @@ -306,6 +308,7 @@ export default { this.haveDistributionVisible = true; }, selectProductFunction() { + debugger if(this.query.id==null) { inserThrOrderWeb({innerOrderEntity: this.formData,editStatus:1}) .then(response => { @@ -314,6 +317,7 @@ export default { this.pId=response.data.id; this.billNo=response.data.recordKey; this.formData.billNo=response.data.recordKey; + this.formData.recordKey=response.data.recordKey; this.formData.id=this.pId } else {