|
|
|
@ -20,6 +20,7 @@
|
|
|
|
|
<el-col :span="18">
|
|
|
|
|
<el-form-item prop="fromCorp" label="单据编号:">
|
|
|
|
|
<el-input v-model="formData.billNo" auto-complete="off"
|
|
|
|
|
@keypress.enter.native="orderEnterKey($event)"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -143,7 +144,7 @@
|
|
|
|
|
<script>
|
|
|
|
|
import A from "../../plugins/KeyScaner"
|
|
|
|
|
import {updateStatus, enterCodeWeb, thirdUpdateStatus} from "@/api/inout/order";
|
|
|
|
|
import {getAcceptOrder, acceptClear, acceptAddCode, getAcceptStatus} from "@/api/inout/acceptOrder";
|
|
|
|
|
import {getAcceptOrder, acceptClear, acceptAddCode, getAcceptStatus, reviewSpms} from "@/api/inout/acceptOrder";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
@ -255,6 +256,30 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
searchOrder() {
|
|
|
|
|
let query = {
|
|
|
|
|
billNo: this.formData.billNo
|
|
|
|
|
};
|
|
|
|
|
reviewSpms(query)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.detailLoading = false;
|
|
|
|
|
this.detailList = response.data.orderDetailEntities || [];
|
|
|
|
|
this.formData = response.data.orderEntity;
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
this.detailLoading = false;
|
|
|
|
|
this.detailList = [];
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
orderEnterKey() {
|
|
|
|
|
this.searchOrder();
|
|
|
|
|
},
|
|
|
|
|
refreshOrder() {
|
|
|
|
|
this.formData = {};
|
|
|
|
|
this.detailList = [];
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
addCode() {
|
|
|
|
|
if (this.$isBlank(this.udiCode)) {
|
|
|
|
|
this.$message.error("UDI码不能为空!");
|
|
|
|
@ -378,6 +403,7 @@ export default {
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.detailLoading = false;
|
|
|
|
|
this.detailList = response.data.orderDetailEntities || [];
|
|
|
|
|
this.formData = response.data.orderEntity;
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
this.detailLoading = false;
|
|
|
|
|