特殊单填写往来单位时多个产品传错往来单位id问题

dev
郑明梁 2 years ago
parent e8a74e7347
commit f7b4e0b28c

@ -102,6 +102,7 @@
placeholder="请选择单据类型"
:disabled="corpOrderIdDisabled"
style="width: 90%"
filterable
@change="actionChange"
>
<el-option
@ -1070,6 +1071,7 @@ export default {
//
addCodeSubmit(tQuery) {
addOrderWeb(tQuery).then((response) => {
debugger
if (response.code === 20000) {
this.orderFormData.billNo = response.data.orderId;
if (response.data.errMsg != null) {
@ -1093,9 +1095,15 @@ export default {
this.refreshCodesPanel();
this.$message.error(response.message);
this.selectRlTitle = response.message;
//
if(tQuery.selectSupId!=null){
this.codeFormData.selectSupId=tQuery.selectSupId
}
this.selectRlVisible = true;
} else if (response.code == 503) {
//
debugger
this.curRow = response.data;
this.orderFormData.billNo = this.curRow.orderId;
this.codeFormData.relId = this.curRow.relId;

@ -713,6 +713,8 @@ export default {
,
bindId(val) {
if (this.curRow.code != null || this.type == 1) {
debugger
this.$emit("selectBindRl", val);
} else {
let query = {
@ -860,6 +862,10 @@ export default {
components: {}
,
created() {
debugger
if(this.curRow.selectSupId!=null){
this.fromCorp=this.curRow.selectSupId
}
this.getList();
}
,

Loading…
Cancel
Save