002201 1 سال پیش
والد
کامیت
2c81474f53
23فایلهای تغییر یافته به همراه0 افزوده شده و 537 حذف شده
  1. 0 10
      src/components/select-v2/api/index.js
  2. 0 39
      src/components/select-v2/components/ADDRESS_PARAM.js
  3. 0 22
      src/components/select-v2/components/ALLOCATION_PARAM.js
  4. 0 21
      src/components/select-v2/components/BALATYPE_PARAM.js
  5. 0 15
      src/components/select-v2/components/CONTACTS_PARAM.js
  6. 0 30
      src/components/select-v2/components/CURRENCY_PARAM.js
  7. 0 22
      src/components/select-v2/components/CUSTOMERDEPT_PARAM.js
  8. 0 21
      src/components/select-v2/components/CUSTOMER_PARAM.js
  9. 0 14
      src/components/select-v2/components/DEPT_PARAM.js
  10. 0 48
      src/components/select-v2/components/MATERIAL_PARAM.js
  11. 0 21
      src/components/select-v2/components/OPERATING_PARAM.js
  12. 0 14
      src/components/select-v2/components/ORG_PARAM.js
  13. 0 14
      src/components/select-v2/components/PAYAGREEMENT_PARAM.js
  14. 0 21
      src/components/select-v2/components/PROCESSTYPE_PARAM.js
  15. 0 21
      src/components/select-v2/components/PROJECT_PARAM.js
  16. 0 21
      src/components/select-v2/components/PSNLICENSE_PARAM.js
  17. 0 21
      src/components/select-v2/components/RETREASON_PARAM.js
  18. 0 27
      src/components/select-v2/components/SUPPLIERCONTACTS_PARAM.js
  19. 0 14
      src/components/select-v2/components/SUPPLIER_PARAM.js
  20. 0 29
      src/components/select-v2/components/TAX_RATE_PARAM.js
  21. 0 22
      src/components/select-v2/components/UNIT_PARAM.js
  22. 0 29
      src/components/select-v2/components/WAREHOUSE_PARAM.js
  23. 0 41
      src/components/select-v2/index.vue

+ 0 - 10
src/components/select-v2/api/index.js

@@ -1,10 +0,0 @@
-import request from "@/utils/request";
-
-export function REFER(data, params) {
-  return request({
-    url: "/refer/query",
-    method: "POST",
-    data: data,
-    params: params,
-  });
-}

+ 0 - 39
src/components/select-v2/components/ADDRESS_PARAM.js

@@ -1,39 +0,0 @@
-// 收货地址
-export default [
-  // {
-  //   key: "id",
-  //   title: "ID",
-  //   type: "Input",
-  //   search: true,
-  // },
-  {
-    key: "code",
-    title: "编码",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "name",
-    title: "仓库",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "address",
-    title: "地址",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "contactsName",
-    title: "联系人",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "contactsPhone",
-    title: "电话",
-    type: "Input",
-    search: true,
-  },
-];

+ 0 - 22
src/components/select-v2/components/ALLOCATION_PARAM.js

@@ -1,22 +0,0 @@
-// 货位
-export default [
-  // 树
-  // {
-  //   key: "id",
-  //   title: "ID",
-  //   type: "Input",
-  //   search: true,
-  // },
-  {
-    key: "code",
-    title: "编码",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "name",
-    title: "货位",
-    type: "Input",
-    search: true,
-  },
-];

+ 0 - 21
src/components/select-v2/components/BALATYPE_PARAM.js

@@ -1,21 +0,0 @@
-// 结算方式
-export default [
-  // {
-  //   key: "id",
-  //   title: "结算方式ID",
-  //   type: "Input",
-  //   search: true,
-  // },
-  {
-    key: "code",
-    title: "编码",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "name",
-    title: "结算方式",
-    type: "Input",
-    search: true,
-  },
-];

+ 0 - 15
src/components/select-v2/components/CONTACTS_PARAM.js

@@ -1,15 +0,0 @@
-// 客户部门
-export default [
-  {
-    key: "code",
-    title: "人员编码",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "name",
-    title: "人员名称",
-    type: "Input",
-    search: true,
-  },
-];

+ 0 - 30
src/components/select-v2/components/CURRENCY_PARAM.js

@@ -1,30 +0,0 @@
-export default [
-  {
-    key: "name",
-    title: "币种",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "code",
-    title: "币种简称",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "",
-    title: "单价精度",
-  },
-  {
-    key: "",
-    title: "单价舍入规则",
-  },
-  {
-    key: "",
-    title: "金额精度",
-  },
-  {
-    key: "",
-    title: "金额舍入规则",
-  },
-];

+ 0 - 22
src/components/select-v2/components/CUSTOMERDEPT_PARAM.js

@@ -1,22 +0,0 @@
-// 客户部门
-export default [
-  // {
-  //   key: "id",
-  //   title: "客户部门ID",
-  //   type: "Input",
-  //   search: true,
-  // },
-  {
-    key: "code",
-    title: "客户部门编码",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "name",
-    title: "客户部门名称",
-    type: "Input",
-    search: true,
-  },
-];
-

+ 0 - 21
src/components/select-v2/components/CUSTOMER_PARAM.js

@@ -1,21 +0,0 @@
-// 收货客户
-export default [
-  // {
-  //   key: "id",
-  //   title: "收货客户ID",
-  //   type: "Input",
-  //   search: true,
-  // },
-  {
-    key: "code",
-    title: "收货客户编码",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "name",
-    title: "收货客户名称",
-    type: "Input",
-    search: true,
-  },
-];

+ 0 - 14
src/components/select-v2/components/DEPT_PARAM.js

@@ -1,14 +0,0 @@
-export default [
-  {
-    key: "code",
-    title: "组织编码",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "name",
-    title: "组织名称",
-    type: "Input",
-    search: true,
-  },
-];

+ 0 - 48
src/components/select-v2/components/MATERIAL_PARAM.js

@@ -1,48 +0,0 @@
-export default [
-  {
-    key: "code",
-    title: "编码",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "name",
-    title: "名称",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "specification",
-    title: "规格",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "manufacturerIdName",
-    title: "生产厂家",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "unitIdName",
-    title: "单位",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "registrationNo",
-    title: "注册证号",
-    type: "ComputedInput",
-    computed: (prop) => {
-      return prop.materialMedcine.registrationNo;
-    },
-  },
-  {
-    key: "isDrug",
-    title: "物料药品属性",
-    type: "ComputedInput",
-    computed: (prop) => {
-      return prop.materialMedcine.isDrug == '0' ? 'Y' : 'N';
-    },
-  },
-];

+ 0 - 21
src/components/select-v2/components/OPERATING_PARAM.js

@@ -1,21 +0,0 @@
-// 经营性项目
-export default [
-  // {
-  //   key: "id",
-  //   title: "经营性项目ID",
-  //   type: "Input",
-  //   search: true,
-  // },
-  {
-    key: "code",
-    title: "经营性项目编码",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "name",
-    title: "经营性项目名称",
-    type: "Input",
-    search: true,
-  },
-];

+ 0 - 14
src/components/select-v2/components/ORG_PARAM.js

@@ -1,14 +0,0 @@
-export default [
-    {
-      key: "code",
-      title: "组织编码",
-      type: "Input",
-      search: true,
-    },
-    {
-      key: "name",
-      title: "组织名称",
-      type: "Input",
-      search: true,
-    },
-  ]

+ 0 - 14
src/components/select-v2/components/PAYAGREEMENT_PARAM.js

@@ -1,14 +0,0 @@
-export default [
-  {
-    key: "code",
-    title: "付款协议编码",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "name",
-    title: "付款协议名称",
-    type: "Input",
-    search: true,
-  },
-];

+ 0 - 21
src/components/select-v2/components/PROCESSTYPE_PARAM.js

@@ -1,21 +0,0 @@
-// 处理方式
-export default [
-  // {
-  //   key: "id",
-  //   title: "ID",
-  //   type: "Input",
-  //   search: true,
-  // },
-  {
-    key: "code",
-    title: "编码",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "name",
-    title: "处理方式",
-    type: "Input",
-    search: true,
-  },
-];

+ 0 - 21
src/components/select-v2/components/PROJECT_PARAM.js

@@ -1,21 +0,0 @@
-// 在建工程项目
-export default [
-  // {
-  //   key: "id",
-  //   title: "在建工程项目ID",
-  //   type: "Input",
-  //   search: true,
-  // },
-  {
-    key: "code",
-    title: "在建工程项目编码",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "name",
-    title: "在建工程项目名称",
-    type: "Input",
-    search: true,
-  },
-];

+ 0 - 21
src/components/select-v2/components/PSNLICENSE_PARAM.js

@@ -1,21 +0,0 @@
-// 人员证照参照
-export default [
-  // {
-  //   key: "id",
-  //   title: "ID",
-  //   type: "Input",
-  //   search: true,
-  // },
-  {
-    key: "code",
-    title: "编码",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "name",
-    title: "名称",
-    type: "Input",
-    search: true,
-  },
-];

+ 0 - 21
src/components/select-v2/components/RETREASON_PARAM.js

@@ -1,21 +0,0 @@
-// 退换原因
-export default [
-  // {
-  //   key: "id",
-  //   title: "退换原因ID",
-  //   type: "Input",
-  //   search: true,
-  // },
-  {
-    key: "code",
-    title: "退换原因编码",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "name",
-    title: "退换原因",
-    type: "Input",
-    search: true,
-  },
-];

+ 0 - 27
src/components/select-v2/components/SUPPLIERCONTACTS_PARAM.js

@@ -1,27 +0,0 @@
-// 供应商联系人
-export default [
-  // {
-  //   key: "id",
-  //   title: "ID",
-  //   type: "Input",
-  //   search: true,
-  // },
-  // {
-  //   key: "code",
-  //   title: "编码",
-  //   type: "Input",
-  //   search: true,
-  // },
-  {
-    key: "name",
-    title: "名称",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "cell",
-    title: "电话",
-    type: "Input",
-    search: true,
-  },
-];

+ 0 - 14
src/components/select-v2/components/SUPPLIER_PARAM.js

@@ -1,14 +0,0 @@
-export default [
-  {
-    key: "code",
-    title: "供应商编码",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "name",
-    title: "供应商名称",
-    type: "Input",
-    search: true,
-  },
-];

+ 0 - 29
src/components/select-v2/components/TAX_RATE_PARAM.js

@@ -1,29 +0,0 @@
-export default [
-  // {
-  //   key: "id",
-  //   title: "ID",
-  //   type: "Input",
-  //   search: true,
-  // },
-  {
-    key: "code",
-    title: "编码",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "name",
-    title: "名称",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "ntaxrate",
-    title: "税率",
-    type: "ComputedInput",
-    computed: (prop) => {
-      const { ntaxrate } = prop;
-      return ntaxrate === "0E-8" ? "0.00000000" : ntaxrate;
-    },
-  },
-];

+ 0 - 22
src/components/select-v2/components/UNIT_PARAM.js

@@ -1,22 +0,0 @@
-// 货位
-export default [
-  // 树
-  // {
-  //   key: "id",
-  //   title: "ID",
-  //   type: "Input",
-  //   search: true,
-  // },
-  {
-    key: "code",
-    title: "编码",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "name",
-    title: "货位",
-    type: "Input",
-    search: true,
-  },
-];

+ 0 - 29
src/components/select-v2/components/WAREHOUSE_PARAM.js

@@ -1,29 +0,0 @@
-// 收货仓库
-export default [
-  // {
-  //   key: "id",
-  //   title: "仓库ID",
-  //   type: "Input",
-  //   search: true,
-  // },
-  {
-    key: "code",
-    title: "仓库编码",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "name",
-    title: "仓库名称",
-    type: "Input",
-    search: true,
-  },
-  {
-    key: "",
-    title: "备注",
-  },
-  {
-    key: "",
-    title: "助记码",
-  },
-];

+ 0 - 41
src/components/select-v2/index.vue

@@ -1,41 +0,0 @@
-<script>
-export default {
-  name: "SelectV2",
-  inject: ["$dicts"],
-  props: {
-    // 参照类型 ,对应后端
-    referName: {
-      type: String,
-      require: true,
-    },
-  },
-  components: {
-    dict: {
-      get() {
-        return this.$dicts().type;
-      },
-    },
-  },
-  data() {
-    return {};
-  },
-  computed: {},
-  watch: {},
-  methods: {},
-  created() {},
-  mounted() {},
-  destroyed() {},
-};
-</script>
-<template>
-  <el-select v-bind="$attrs">
-    <el-option
-      v-for="item in dict[referName]"
-      :key="item.value"
-      :label="item.label"
-      :value="item.value"
-    >
-    </el-option>
-  </el-select>
-</template>
-<style scoped></style>