物质摆放变更功能代码提交

prod
郑明梁 2 years ago
parent cd68fd88d9
commit f4c2439f7a

@ -32,6 +32,7 @@
v-model="formData.invSpaceName" v-model="formData.invSpaceName"
:fetch-suggestions="querySearchAsync" :fetch-suggestions="querySearchAsync"
placeholder="请输入内容" placeholder="请输入内容"
:disabled="list.length>0"
ref="spaceInputRef" ref="spaceInputRef"
@select="handleSelect" @select="handleSelect"
@keypress.enter.native="spaceEnterKey($event)" @keypress.enter.native="spaceEnterKey($event)"
@ -175,6 +176,7 @@ export default {
invCode: this.formData.invCode, invCode: this.formData.invCode,
invSpaceCode: this.formData.invSpaceCode, invSpaceCode: this.formData.invSpaceCode,
orderId: this.orderId, orderId: this.orderId,
type: 2,
oid: this.formData.orderId oid: this.formData.orderId
}; };
bindInvOrderSpace(params).then((res) => { bindInvOrderSpace(params).then((res) => {
@ -290,6 +292,7 @@ export default {
orderId: this.orderId, orderId: this.orderId,
invCode: this.formData.invCode, invCode: this.formData.invCode,
invSpaceCode: this.formData.invSpaceCode, invSpaceCode: this.formData.invSpaceCode,
type: 2,
oId: this.currentOrderId oId: this.currentOrderId
}; };
getInvProductOrderInfo(params).then((res) => { getInvProductOrderInfo(params).then((res) => {

@ -31,6 +31,7 @@
:fetch-suggestions="querySearchAsync" :fetch-suggestions="querySearchAsync"
placeholder="请输入内容" placeholder="请输入内容"
ref="spaceInputRef" ref="spaceInputRef"
:disabled="list.length>0"
@select="handleSelect" @select="handleSelect"
@keypress.enter.native="spaceEnterKey($event)" @keypress.enter.native="spaceEnterKey($event)"
clearable clearable

@ -210,6 +210,7 @@ export default {
this.invList = response.data || []; this.invList = response.data || [];
this.getSpaceList(); this.getSpaceList();
this.getList(); this.getList();
this.$refs.spaceInputRef.focus();
}) })
.catch(() => { .catch(() => {
}); });
@ -248,6 +249,7 @@ export default {
orderId: this.orderId, orderId: this.orderId,
invCode: this.formData.invCode, invCode: this.formData.invCode,
code: code, code: code,
type: 1, //
invSpaceCode: this.formData.invSpaceCode, invSpaceCode: this.formData.invSpaceCode,
}; };
getInvProductInfo(params).then((res) => { getInvProductInfo(params).then((res) => {

Loading…
Cancel
Save