|
@@ -104,38 +104,40 @@
|
|
searchList();
|
|
searchList();
|
|
"
|
|
"
|
|
>
|
|
>
|
|
- <el-select
|
|
|
|
- v-model="select"
|
|
|
|
- style="width: 145px"
|
|
|
|
- slot="prepend"
|
|
|
|
- placeholder="关键字类型"
|
|
|
|
- @change="
|
|
|
|
- pageInfo.curr = 1;
|
|
|
|
- parmValue.page = 1;
|
|
|
|
- searchList();
|
|
|
|
- "
|
|
|
|
- >
|
|
|
|
- <el-option label="采购单编号" value="1"></el-option>
|
|
|
|
- <el-option label="入库单编号" value="2"></el-option>
|
|
|
|
- <!-- <el-option label="备库编号" value="3"></el-option> -->
|
|
|
|
- <el-option label="商品属性编号" value="4"></el-option>
|
|
|
|
- <el-option label="产品名称" value="5"></el-option>
|
|
|
|
- <el-option label="申请人" value="6"></el-option>
|
|
|
|
- <!-- <el-option label="采购供应商编号" value="7"></el-option> -->
|
|
|
|
- <el-option label="申请人部门" value="8"></el-option>
|
|
|
|
- </el-select>
|
|
|
|
- <el-button
|
|
|
|
- slot="append"
|
|
|
|
- @click="
|
|
|
|
|
|
+ <el-option label="采购单编号" value="1"></el-option>
|
|
|
|
+ <el-option label="入库单编号" value="2"></el-option>
|
|
|
|
+ <!-- <el-option label="备库编号" value="3"></el-option> -->
|
|
|
|
+ <el-option label="商品属性编号" value="4"></el-option>
|
|
|
|
+ <el-option label="产品名称" value="5"></el-option>
|
|
|
|
+ <el-option label="申请人" value="6"></el-option>
|
|
|
|
+ <!-- <el-option label="采购供应商编号" value="7"></el-option> -->
|
|
|
|
+ <el-option label="申请人部门" value="8"></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ <el-button
|
|
|
|
+ slot="append"
|
|
|
|
+ @click="
|
|
|
|
+ pageInfo.curr = 1;
|
|
|
|
+ parmValue.page = 1;
|
|
|
|
+ searchList();
|
|
|
|
+ "
|
|
|
|
+ icon="el-icon-search"
|
|
|
|
+ ></el-button>
|
|
|
|
+ </el-input>
|
|
|
|
+ </el-col>
|
|
|
|
+<!--
|
|
|
|
+ <el-col :span="4" >
|
|
|
|
+ <el-select style="width:100%;margin-left:10px" placeholder="供应商端" clearable size="mini" v-model="parmValue.has_account"
|
|
|
|
+ @change="
|
|
pageInfo.curr = 1;
|
|
pageInfo.curr = 1;
|
|
parmValue.page = 1;
|
|
parmValue.page = 1;
|
|
searchList();
|
|
searchList();
|
|
"
|
|
"
|
|
- icon="el-icon-search"
|
|
|
|
- ></el-button>
|
|
|
|
- </el-input>
|
|
|
|
- </el-col>
|
|
|
|
- </el-row>
|
|
|
|
|
|
+ >
|
|
|
|
+ <el-option value="0" label="未开通" />
|
|
|
|
+ <el-option value="1" label="已开通"/>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-col> -->
|
|
|
|
+ </el-row>
|
|
|
|
|
|
<el-col :span="4" style="width: 66px; float: right">
|
|
<el-col :span="4" style="width: 66px; float: right">
|
|
<el-button
|
|
<el-button
|
|
@@ -186,25 +188,7 @@
|
|
:noDisabled="true"
|
|
:noDisabled="true"
|
|
@searchChange="supplierChange"
|
|
@searchChange="supplierChange"
|
|
/>
|
|
/>
|
|
- </el-col>
|
|
|
|
-
|
|
|
|
- <el-col :span="4">
|
|
|
|
- <el-select
|
|
|
|
- style="width: 100%; margin-left: 10px; margin-top: 10px"
|
|
|
|
- placeholder="供应商端开启状态"
|
|
|
|
- clearable
|
|
|
|
- size="mini"
|
|
|
|
- v-model="parmValue.c"
|
|
|
|
- @change="
|
|
|
|
- pageInfo.curr = 1;
|
|
|
|
- parmValue.page = 1;
|
|
|
|
- searchList();
|
|
|
|
- "
|
|
|
|
- >
|
|
|
|
- <el-option value="0" label="未开通" />
|
|
|
|
- <el-option value="1" label="已开通" />
|
|
|
|
- </el-select>
|
|
|
|
- </el-col>
|
|
|
|
|
|
+ </el-col>
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
<!-- <el-col :span="4" style="width: 120px">
|
|
<!-- <el-col :span="4" style="width: 120px">
|
|
@@ -249,9 +233,8 @@
|
|
<template #has_account="{ scope }">
|
|
<template #has_account="{ scope }">
|
|
<el-tag
|
|
<el-tag
|
|
:size="tablebtnSize"
|
|
:size="tablebtnSize"
|
|
- :type="scope.row.has_account == '0' ? 'warning' : ''"
|
|
|
|
- >{{ String(scope.row.has_account) === "1" ? "已开通" : "未开通" }}</el-tag
|
|
|
|
- >
|
|
|
|
|
|
+ :type="has_account_list.find(({code}) => code === String(scope.row.has_account))?.type"
|
|
|
|
+ >{{ has_account_list.find(({code}) => code === String(scope.row.has_account))?.name }}</el-tag>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<template #order_source="{ scope }">
|
|
<template #order_source="{ scope }">
|
|
@@ -313,10 +296,11 @@ import resToken from "@/mixins/resToken";
|
|
import companyHelper from "@/mixins/companyHelper";
|
|
import companyHelper from "@/mixins/companyHelper";
|
|
|
|
|
|
import asyncRequest from "@/apis/service/purchaseIn/wsmInOrder";
|
|
import asyncRequest from "@/apis/service/purchaseIn/wsmInOrder";
|
|
-import { cg_order_type_options, cg_order_source_options } from "@/assets/js/statusList";
|
|
|
|
-import { columns } from "./columns"; //表格列参数
|
|
|
|
|
|
+import { cg_order_type_options, cg_order_source_options, has_account_list } from "@/assets/js/statusList";
|
|
|
|
+import columns from "./columns"; //表格列参数
|
|
import { mapGetters } from "vuex";
|
|
import { mapGetters } from "vuex";
|
|
|
|
|
|
|
|
+
|
|
export default {
|
|
export default {
|
|
name: "purchaseOrder",
|
|
name: "purchaseOrder",
|
|
mixins: [mixinPage, resToken, companyHelper],
|
|
mixins: [mixinPage, resToken, companyHelper],
|
|
@@ -345,6 +329,7 @@ export default {
|
|
sselect: "创建时间",
|
|
sselect: "创建时间",
|
|
cg_order_type_options,
|
|
cg_order_type_options,
|
|
cg_order_source_options,
|
|
cg_order_source_options,
|
|
|
|
+ has_account_list,
|
|
|
|
|
|
// 状态
|
|
// 状态
|
|
statusOptions: [
|
|
statusOptions: [
|
|
@@ -474,6 +459,7 @@ export default {
|
|
end: "", // 结束时间
|
|
end: "", // 结束时间
|
|
};
|
|
};
|
|
this.parmValue = {
|
|
this.parmValue = {
|
|
|
|
+ has_account: "",
|
|
order_type: "",
|
|
order_type: "",
|
|
// bk_code: "", // 备库编码
|
|
// bk_code: "", // 备库编码
|
|
wsm_in_code: "", // 入库单号
|
|
wsm_in_code: "", // 入库单号
|
|
@@ -582,6 +568,7 @@ export default {
|
|
size: model.size,
|
|
size: model.size,
|
|
company_name: model.company_name,
|
|
company_name: model.company_name,
|
|
order_source: model.order_source,
|
|
order_source: model.order_source,
|
|
|
|
+ has_account: model.has_account,
|
|
needRela: true,
|
|
needRela: true,
|
|
};
|
|
};
|
|
const res = await asyncRequest.list(_model);
|
|
const res = await asyncRequest.list(_model);
|