zhouhao 2 anni fa
parent
commit
c6322ebd57

+ 13 - 0
src/views/basic_data/stock/preposition_stock_list.vue

@@ -0,0 +1,13 @@
+<template>
+$END$
+</template>
+
+<script>
+export default {
+name: "preposition_stock_list"
+}
+</script>
+
+<style scoped>
+
+</style>

+ 378 - 0
src/views/basic_data/stock/tableData.js

@@ -0,0 +1,378 @@
+export default {
+  data: {
+    records: [
+      {
+        id: '1529270679017484289',
+        identity: '431003199803271316',
+        goodsId: 'W1000',
+        goodsName: '铜管',
+        saleUnit: '米',
+        qty: -25,
+        categoryId: '6',
+        categoryName: '铜管',
+        createTime: '2022-05-25 09:18:37',
+      },
+      {
+        id: '1529270679738904578',
+        identity: '431003199803271316',
+        goodsId: 'W1006',
+        goodsName: '保温棉',
+        saleUnit: '条',
+        qty: -24,
+        categoryId: '4',
+        categoryName: '保温',
+        createTime: '2022-05-25 09:18:37',
+      },
+      {
+        id: '1529280470703071233',
+        identity: '452226198504073614',
+        goodsId: 'W1000',
+        goodsName: '铜管',
+        saleUnit: '米',
+        qty: 30,
+        categoryId: '6',
+        categoryName: '铜管',
+        createTime: '2022-05-25 09:57:32',
+      },
+      {
+        id: '1529282123955101698',
+        identity: '452226198504073614',
+        goodsId: 'W1001',
+        goodsName: '金冷R600a/90G',
+        saleUnit: '瓶',
+        qty: 10,
+        categoryId: '11',
+        categoryName: '冷媒',
+        createTime: '2022-05-25 10:04:06',
+      },
+      {
+        id: '1529284045793583105',
+        identity: '431003199803271316',
+        goodsId: 'W1001',
+        goodsName: '金冷R600a/90G',
+        saleUnit: '瓶',
+        qty: 10,
+        categoryId: '11',
+        categoryName: '冷媒',
+        createTime: '2022-05-25 10:11:44',
+      },
+      {
+        id: '1529286318682726402',
+        identity: '511321198104074414',
+        goodsId: 'W1000',
+        goodsName: '铜管',
+        saleUnit: '米',
+        qty: 0,
+        categoryId: '6',
+        categoryName: '铜管',
+        createTime: '2022-05-25 10:20:46',
+      },
+      {
+        id: '1529293433069559809',
+        identity: '440229197310010077',
+        goodsId: 'W1000',
+        goodsName: '铜管',
+        saleUnit: '米',
+        qty: 8,
+        categoryId: '6',
+        categoryName: '铜管',
+        createTime: '2022-05-25 10:49:02',
+      },
+      {
+        id: '1529300002167513089',
+        identity: '440229197310010077',
+        goodsId: 'W1015',
+        goodsName: '3-5匹角铁地架',
+        saleUnit: '副',
+        qty: 0,
+        categoryId: '13',
+        categoryName: '支架',
+        createTime: '2022-05-25 11:15:08',
+      },
+      {
+        id: '1529392526345297922',
+        identity: '431003199803271316',
+        goodsId: 'W1005',
+        goodsName: '包扎带(挂机)',
+        saleUnit: '卷',
+        qty: -20,
+        categoryId: '30',
+        categoryName: '包扎带',
+        createTime: '2022-05-25 17:22:48',
+      },
+      {
+        id: '1529392527217713154',
+        identity: '431003199803271316',
+        goodsId: 'W1052',
+        goodsName: '包扎带(柜机)',
+        saleUnit: '卷',
+        qty: -2,
+        categoryId: '30',
+        categoryName: '包扎带',
+        createTime: '2022-05-25 17:22:48',
+      },
+      {
+        id: '1529392527284822018',
+        identity: '431003199803271316',
+        goodsId: 'W1003',
+        goodsName: '连接器',
+        saleUnit: '个',
+        qty: -6,
+        categoryId: '31',
+        categoryName: '连接器',
+        createTime: '2022-05-25 17:22:48',
+      },
+      {
+        id: '1529392527356125186',
+        identity: '431003199803271316',
+        goodsId: 'W1002',
+        goodsName: '双壁热缩套管',
+        saleUnit: '条',
+        qty: -6,
+        categoryId: '32',
+        categoryName: '双壁热缩套管',
+        createTime: '2022-05-25 17:22:48',
+      },
+      {
+        id: '1529392527473565698',
+        identity: '431003199803271316',
+        goodsId: 'W1008',
+        goodsName: '电缆',
+        saleUnit: '米',
+        qty: -2,
+        categoryId: '18',
+        categoryName: '电缆',
+        createTime: '2022-05-25 17:22:48',
+      },
+      {
+        id: '1539450903616245761',
+        identity: '430725198907104353',
+        goodsId: 'W1000',
+        goodsName: '铜管',
+        saleUnit: '米',
+        qty: -4,
+        categoryId: '6',
+        categoryName: '铜管',
+        createTime: '2022-06-22 11:31:12',
+      },
+      {
+        id: '1539450903687548929',
+        identity: '430725198907104353',
+        goodsId: 'W1006',
+        goodsName: '保温棉',
+        saleUnit: '条',
+        qty: -2,
+        categoryId: '4',
+        categoryName: '保温',
+        createTime: '2022-06-22 11:31:12',
+      },
+    ],
+    total: 23,
+    size: 15,
+    current: 1,
+    orders: [],
+    optimizeCountSql: true,
+    searchCount: true,
+    countId: null,
+    maxLimit: null,
+    pages: 2,
+  },
+  message: 'success',
+  code: 1,
+  fieldBeans: [
+    {
+      id: '1584740968445440002',
+      adminUserId: '1417020624153350146',
+      moduleId: 'P1001002',
+      label: '创建时间',
+      placeholder: null,
+      type: 'datetime',
+      multiple: false,
+      frontCode: null,
+      tbName: null,
+      colName: 'createTime',
+      width: null,
+      sortNum: 0,
+      isShow: true,
+      isCopy: false,
+      createTime: null,
+      createBy: null,
+      updateTime: null,
+      updateBy: null,
+      jname: 'createTime',
+    },
+    {
+      id: '1584740968458022913',
+      adminUserId: '1417020624153350146',
+      moduleId: 'P1001002',
+      label: 'id',
+      placeholder: null,
+      type: 'input',
+      multiple: false,
+      frontCode: '',
+      tbName: 'worker_stock',
+      colName: 'id',
+      width: null,
+      sortNum: 1,
+      isShow: true,
+      isCopy: false,
+      createTime: null,
+      createBy: null,
+      updateTime: null,
+      updateBy: null,
+      jname: 'id',
+    },
+    {
+      id: '1584740968466411522',
+      adminUserId: '1417020624153350146',
+      moduleId: 'P1001002',
+      label: '身份证',
+      placeholder: null,
+      type: 'input',
+      multiple: false,
+      frontCode: '',
+      tbName: 'worker_stock',
+      colName: 'identity',
+      width: null,
+      sortNum: 2,
+      isShow: true,
+      isCopy: false,
+      createTime: null,
+      createBy: null,
+      updateTime: null,
+      updateBy: null,
+      jname: 'identity',
+    },
+    {
+      id: '1584740968466411523',
+      adminUserId: '1417020624153350146',
+      moduleId: 'P1001002',
+      label: '商品id',
+      placeholder: null,
+      type: 'input',
+      multiple: false,
+      frontCode: '',
+      tbName: 'worker_stock',
+      colName: 'goodsId',
+      width: null,
+      sortNum: 3,
+      isShow: true,
+      isCopy: false,
+      createTime: null,
+      createBy: null,
+      updateTime: null,
+      updateBy: null,
+      jname: 'goodsId',
+    },
+    {
+      id: '1584740968466411524',
+      adminUserId: '1417020624153350146',
+      moduleId: 'P1001002',
+      label: '商品名称',
+      placeholder: null,
+      type: 'input',
+      multiple: false,
+      frontCode: '',
+      tbName: 'worker_goods',
+      colName: 'goodsName',
+      width: null,
+      sortNum: 4,
+      isShow: true,
+      isCopy: false,
+      createTime: null,
+      createBy: null,
+      updateTime: null,
+      updateBy: null,
+      jname: 'goodsName',
+    },
+    {
+      id: '1584740968470605827',
+      adminUserId: '1417020624153350146',
+      moduleId: 'P1001002',
+      label: '数量',
+      placeholder: null,
+      type: 'number',
+      isTotal: true,
+      multiple: false,
+      frontCode: '',
+      tbName: 'worker_stock',
+      colName: 'qty',
+      width: null,
+      sortNum: 5,
+      isShow: true,
+      isCopy: false,
+      createTime: null,
+      createBy: null,
+      updateTime: null,
+      updateBy: null,
+      jname: 'qty',
+    },
+    {
+      id: '1584740968470605826',
+      adminUserId: '1417020624153350146',
+      moduleId: 'P1001002',
+      label: '销售单位',
+      placeholder: null,
+      type: 'input',
+      multiple: false,
+      frontCode: '',
+      tbName: 'worker_goods',
+      colName: 'saleUnit',
+      width: null,
+      sortNum: 6,
+      isShow: true,
+      isCopy: false,
+      createTime: null,
+      createBy: null,
+      updateTime: null,
+      updateBy: null,
+      jname: 'saleUnit',
+    },
+    {
+      id: '1584740968470605828',
+      adminUserId: '1417020624153350146',
+      moduleId: 'P1001002',
+      label: '类型id',
+      placeholder: null,
+      type: 'number',
+      multiple: false,
+      frontCode: '',
+      tbName: 'worker_goods',
+      colName: 'categoryId',
+      width: null,
+      sortNum: 7,
+      isShow: true,
+      isCopy: false,
+      createTime: null,
+      createBy: null,
+      updateTime: null,
+      updateBy: null,
+      jname: 'categoryId',
+    },
+    {
+      id: '1584740968470605829',
+      adminUserId: '1417020624153350146',
+      moduleId: 'P1001002',
+      label: '类型名称',
+      placeholder: null,
+      type: 'select',
+      multiple: false,
+      frontCode: 'category',
+      tbName: 'worker_goods',
+      colName: 'categoryName',
+      width: null,
+      sortNum: 8,
+      isShow: true,
+      isCopy: false,
+      createTime: null,
+      createBy: null,
+      updateTime: null,
+      updateBy: null,
+      jname: 'categoryName',
+    },
+  ],
+  typeReference: {
+    type: 'com.gree.material.manager.bean.worker.ZStockBean',
+    typeName: 'class com.gree.material.manager.bean.worker.ZStockBean',
+  },
+};