diff --git a/src/api/inout/orderDetailBiz.js b/src/api/inout/orderDetailBiz.js index 49a51756..400e9548 100644 --- a/src/api/inout/orderDetailBiz.js +++ b/src/api/inout/orderDetailBiz.js @@ -57,6 +57,14 @@ export function insertInvoice(params) { }); } +export function parseInvoice(params) { + return axios({ + url: "/udiwms/inout/biz/parseInvoice", + method: "get", + params: params + }); +} + export function updateorderBiz(params) { return axios({ url: "/udiwms/inout/biz/updateorderBiz", diff --git a/src/views/inout/InvoiceCkeck.vue b/src/views/inout/InvoiceCkeck.vue index a0e4a078..cfb08274 100644 --- a/src/views/inout/InvoiceCkeck.vue +++ b/src/views/inout/InvoiceCkeck.vue @@ -13,25 +13,28 @@ :model="inputQuery" :rules="formRules" ref="dataForm" - label-width="110px" + label-width="150px" style="padding-top: 40px" > - - - - - - - - - - - - + + + + + + + - + + + { if (response.code === 20000) { @@ -518,6 +535,23 @@ export default { }); }, + getInputFocus(event) { + event.currentTarget.select(); + }, + enterKey(){ + let param={ + code :this.inputQuery.code + } + parseInvoice(param) + .then((res)=>{ + if(res.code == 20000){ + this.inputQuery=res.data; + } + }) + + + }, + uploadHandleError() { }, uploadHandleSuccess(response, file, fileList) { diff --git a/src/views/inventory/addInvRemindSetDialog.vue b/src/views/inventory/addInvRemindSetDialog.vue index cd7da558..9a0b6e65 100644 --- a/src/views/inventory/addInvRemindSetDialog.vue +++ b/src/views/inventory/addInvRemindSetDialog.vue @@ -1,6 +1,6 @@