|
@@ -121,6 +121,7 @@ import mixinPage from "@/mixins/elPaginationHandle";
|
|
|
import setNum from "@/mixins/setNum";
|
|
|
import statusList from "@/assets/js/statusList";
|
|
|
import { mapGetters } from "vuex";
|
|
|
+import columns from "./columns";
|
|
|
export default {
|
|
|
name: "searchGoodModal",
|
|
|
mixins: [resToken, mixinPage, setNum],
|
|
@@ -180,96 +181,7 @@ export default {
|
|
|
total: 0,
|
|
|
},
|
|
|
// 表格 - 列参数
|
|
|
- columns: [
|
|
|
- {
|
|
|
- prop: "zxNo",
|
|
|
- label: "咨询单号",
|
|
|
- fixed: "left",
|
|
|
- width: "152px",
|
|
|
- },
|
|
|
- {
|
|
|
- prop: "salesman",
|
|
|
- label: "申请人",
|
|
|
- width: "60px",
|
|
|
- },
|
|
|
- {
|
|
|
- prop: "khNo",
|
|
|
- label: "客户公司编码",
|
|
|
- width: "125px",
|
|
|
- },
|
|
|
- {
|
|
|
- prop: "khname",
|
|
|
- label: "客户公司名称",
|
|
|
- "min-width": "160px",
|
|
|
- },
|
|
|
- {
|
|
|
- prop: "zxtype",
|
|
|
- label: "咨询类型",
|
|
|
- width: "85px",
|
|
|
- },
|
|
|
-
|
|
|
- {
|
|
|
- prop: "cpname",
|
|
|
- label: "产品名称",
|
|
|
- "min-width": "160px",
|
|
|
- },
|
|
|
- {
|
|
|
- prop: "unit",
|
|
|
- label: "单位",
|
|
|
- width: "45px",
|
|
|
- },
|
|
|
- {
|
|
|
- prop: "num",
|
|
|
- label: "需求数量",
|
|
|
- width: "80px",
|
|
|
- },
|
|
|
- {
|
|
|
- prop: "sale_price",
|
|
|
- label: "财务定价",
|
|
|
- width: "110px",
|
|
|
- },
|
|
|
- {
|
|
|
- prop: "sale_fee",
|
|
|
- label: "最终销售单价",
|
|
|
- width: "110px",
|
|
|
- },
|
|
|
-
|
|
|
- {
|
|
|
- prop: "color",
|
|
|
- label: "颜色",
|
|
|
- },
|
|
|
- {
|
|
|
- prop: "model",
|
|
|
- label: "型号",
|
|
|
- },
|
|
|
- {
|
|
|
- prop: "material",
|
|
|
- label: "材质",
|
|
|
- },
|
|
|
- // {
|
|
|
- // prop: "status",
|
|
|
- // label: "状态",
|
|
|
- // _slot_: "status",
|
|
|
- // width: "80px",
|
|
|
- // },
|
|
|
- {
|
|
|
- prop: "scheme_name",
|
|
|
- label: "方案名称",
|
|
|
- },
|
|
|
- {
|
|
|
- prop: "zxtime",
|
|
|
- label: "创建时间",
|
|
|
- width: "140px",
|
|
|
- },
|
|
|
- {
|
|
|
- prop: "",
|
|
|
- label: "操作",
|
|
|
- fixed: "right",
|
|
|
- _noset_: true,
|
|
|
- width: "80px",
|
|
|
- _slot_: "operation",
|
|
|
- },
|
|
|
- ],
|
|
|
+ columns: columns,
|
|
|
};
|
|
|
},
|
|
|
watch: {
|
|
@@ -293,7 +205,7 @@ export default {
|
|
|
},
|
|
|
restSearch() {
|
|
|
this.parmValue = {
|
|
|
- type_code: "", // 商品属性code
|
|
|
+ type_code: "", // 商品属性code
|
|
|
supplierNo: "", // 供应商code
|
|
|
good_code: "", // 商品编码
|
|
|
good_name: "", // 商品名称
|