|
|
|
@ -307,6 +307,7 @@ import {downloadInoutOrderSuccessPDF} from "../../api/itextpdf/itextpdf";
|
|
|
|
|
import selectErpOrder from "../warehouse/DialogSelectErpOrder";
|
|
|
|
|
import {getBussinessType} from "../../api/basic/bussinessType";
|
|
|
|
|
import {filterOrderTrace} from "@/api/inventory/invCodeTrace";
|
|
|
|
|
import {getBasicUnitMaintains} from "@/api/basic/basicUnitMaintain";
|
|
|
|
|
|
|
|
|
|
const formJson = {
|
|
|
|
|
site_id: "",
|
|
|
|
@ -339,6 +340,7 @@ export default {
|
|
|
|
|
0: "未校验",
|
|
|
|
|
2: "正常",
|
|
|
|
|
},
|
|
|
|
|
fromOptions: [],
|
|
|
|
|
erpCheckStatus: {
|
|
|
|
|
// error: "校验异常",
|
|
|
|
|
// null: "未校验",
|
|
|
|
@ -493,7 +495,21 @@ export default {
|
|
|
|
|
this.errorDetail = mOrder.remark;
|
|
|
|
|
this.errDialogVisible = true;
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
findMethod(query) {
|
|
|
|
|
console.log(query);
|
|
|
|
|
this.fromOptions = [];
|
|
|
|
|
let cQuery = {
|
|
|
|
|
key: query,
|
|
|
|
|
};
|
|
|
|
|
getBasicUnitMaintains(cQuery)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.fromOptions = response.data.page.list || [];
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
mergesOrders() {
|
|
|
|
|
var repeatData = this.multipleSelection;
|
|
|
|
|
if (repeatData.length <= 1) {
|
|
|
|
|