|
@@ -223,11 +223,11 @@ import asyncRequest from "@/apis/service/sellOut/filing";
|
|
|
import { columns, statusOptions } from "./config/columns";
|
|
|
import { cg_order_type_options } from "@/assets/js/statusList";
|
|
|
import { mapGetters } from "vuex";
|
|
|
-// import companyHelper from "@/mixins/companyHelper";
|
|
|
+import companyHelper from "@/mixins/companyHelper";
|
|
|
|
|
|
export default {
|
|
|
name: "purchaseOrder",
|
|
|
- mixins: [mixinPage, resToken],
|
|
|
+ mixins: [mixinPage, resToken, companyHelper],
|
|
|
components: {},
|
|
|
computed: {
|
|
|
...mapGetters([
|
|
@@ -446,14 +446,14 @@ export default {
|
|
|
...this.parmValue,
|
|
|
...this.timeOBJ,
|
|
|
...this.pageInfo,
|
|
|
+ customerCode: this.currentCompany,
|
|
|
supplierNo: Array.isArray(this.parmValue.supplierNo)
|
|
|
? this.parmValue.supplierNo[0]
|
|
|
: this.parmValue.supplierNo,
|
|
|
companyCode: Array.isArray(this.parmValue.companyCode)
|
|
|
? this.parmValue.companyCode[0]
|
|
|
: this.parmValue.companyCode,
|
|
|
- noRelation: true,
|
|
|
- customerCode: this.currentCompany
|
|
|
+ noRelation: true
|
|
|
});
|
|
|
const { code, data } = await this.useResHandle(res);
|
|
|
if (code === 0) {
|