Browse Source

材料请购单

jingbb 1 năm trước cách đây
mục cha
commit
0d99016a11

+ 677 - 0
src/views/materialprocurement/materialProcurementList.vue

@@ -0,0 +1,677 @@
+<template>
+<div>
+    <a-card :bordered="false" class="top" style="margin-bottom:1%">
+  
+      <!-- 查询区域 -->
+      <div class="table-page-search-wrapper">
+        <a-form layout="inline" @keyup.enter.native="searchQuery">
+          <a-row :gutter="24">
+            <a-col :md="4" :sm="24">
+              <a-form-item label="计划组织">
+                <a-input-search placeholder="请输入" v-model="queryParam.planningOrganization" @search="onSearch"></a-input-search>
+              </a-form-item>
+            </a-col>
+            <a-col  :md="4" :sm="24">
+              <a-form-item label="单据号">
+                <a-input placeholder="请输入" v-model="queryParam.documentNumber"></a-input>
+              </a-form-item>
+            </a-col>
+            <a-col :md="4" :sm="24">
+                <a-form-item label="单据日期">
+                <a-range-picker v-model="documentData"  style="width: 100%;" @change="changeStartDate" />
+                  <!-- <a-date-picker showTime valueFormat="YYYY-MM-DD" format = "YYYY-MM-DD" v-model="queryParam.transferDate" style="width: 100%"/>            -->
+                </a-form-item>
+              </a-col>
+              <a-col :md="4" :sm="24">
+                <a-form-item label="单据状态">
+                  <a-select v-model="queryParam.documentStatus"  style='width:100%' >
+                    <a-select-option value='1'> 1</a-select-option>
+                   </a-select>
+                </a-form-item>
+              </a-col>
+            <template v-if="toggleSearchStatus">
+              <a-col :md="4" :sm="24">
+                <a-form-item label="业务员">
+                  <a-input-search placeholder="请输入" v-model="queryParam.salesman" @search="onSearch"></a-input-search>
+                </a-form-item>
+              </a-col>
+              <a-col :md="4" :sm="24">
+                <a-form-item label="计划部门">
+                <a-input-search placeholder="请输入" v-model="queryParam.planningDepartment" @search="onSearch"></a-input-search>
+              </a-form-item>
+              </a-col>
+              <a-col :md="4" :sm="24">
+                <a-form-item label="项目编码">
+                  <a-input placeholder="请输入" v-model="queryParam.projectCode"></a-input>
+                </a-form-item>
+              </a-col>
+              <a-col :md="4" :sm="24">
+                <a-form-item label="项目">
+                  <a-input-search placeholder="请输入" v-model="queryParam.project" @search="onSearch"></a-input-search>
+                </a-form-item>
+              </a-col>
+              <a-col :md="4" :sm="24">
+                <a-form-item label="备注">
+                  <a-input placeholder="请输入" v-model="queryParam.remark"></a-input>
+                </a-form-item>
+              </a-col>
+              <a-col :md="4" :sm="24">
+                <a-form-item label="加工单号">
+                  <a-input placeholder="请输入" v-model="queryParam.processingOrderNumber"></a-input>
+                </a-form-item>
+              </a-col>
+              <a-col :md="4" :sm="24">
+                <a-form-item label="改单版本">
+                  <a-input placeholder="请输入" v-model="queryParam.changeOrderVersion"></a-input>
+                </a-form-item>
+              </a-col>
+              <a-col :md="4" :sm="24">
+                <a-form-item label="来源">
+                  <a-input placeholder="请输入" v-model="queryParam.Source"></a-input>
+                </a-form-item>
+              </a-col>
+              <a-col :md="4" :sm="24">
+                <a-form-item label="业务类型">
+                  <a-select v-model="queryParam.type"  style='width:100%' >
+                    <a-select-option value='1'> 1</a-select-option>
+                   </a-select>
+                </a-form-item>
+              </a-col>
+            </template>
+            <a-col  :md="4" :sm="24">
+              <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
+                <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
+                <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>
+                <a @click="handleToggleSearch" style="margin-left: 8px">
+                  {{ toggleSearchStatus ? '收起' : '展开' }}
+                  <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
+                </a>
+              </span>
+            </a-col>
+  
+          </a-row>
+        </a-form>
+      </div>
+    </a-card>
+    
+    <a-card class="middle" style="margin-bottom:1%">
+      <!-- 操作按钮区域 -->
+      <div class="table-operator">
+        <a-button type="danger" size="small" @click='addList'>新增</a-button>
+        <!-- <a-button  >修改</a-button> -->
+        <a-button size="small">删除</a-button>
+        <a-button size="small">提交</a-button>
+        <a-button  size="small">审核</a-button>
+        <a-button  size="small">弃审</a-button>
+        <a-button   size="small">流程</a-button>
+        <a-button type="danger" size="small">输出</a-button>
+        <a-button type="danger" size="small">打印</a-button>
+      </div>
+  
+      <!-- table区域-begin -->
+      <div>  
+        <a-table
+          ref="table"
+          size="middle"
+          bordered
+          rowKey="id"
+          :columns="columns"
+          :dataSource="dataSource"
+          :pagination="ipagination"
+          :scroll="{ x: 1500, y: 300 }"
+          :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
+          @change="handleTableChange"
+          :customRow='clickRow'
+          >
+  
+        </a-table>
+      </div>
+      <!-- table区域-end -->
+  
+    </a-card>
+    <a-card class="bottom">
+        <a-table
+          ref="table"
+          size="middle"
+          bordered
+          rowKey="id"
+          :columns="columnsSon"
+          :dataSource="dataSourceSon"
+          :pagination="ipagination"
+          :scroll="{ x: 3500, y: 300 }"
+          :rowSelection="{selectedRowKeys: selectedRowKeys1, onChange: onSelectChange1}"
+          @change="handleTableChange">
+  
+        </a-table>
+    </a-card>
+    <materialProcurementAdd ref="materialProcurementAdd"></materialProcurementAdd>
+</div>
+</template>
+  
+  <script>
+  
+    import { JeecgListMixin } from '@/mixins/JeecgListMixin'
+    import moment from 'dayjs'
+    import { httpAction ,getAction} from '@/api/manage'
+    import {queryDepartTreeList} from '@/api/api'
+    import materialProcurementAdd from './modules/materialProcurementAdd'
+    //---------workflow  by fhf end -------------
+    export default {
+      name: "AssetAllocationList",
+      mixins: [JeecgListMixin],
+      components: {
+        materialProcurementAdd,
+      },
+      data () {
+        return {
+          description: '资产调拨主表管理页面',
+          queryParam:{},
+          selectedRowKeys:[],
+          selectedRowKeys1:[],
+          documentData:[],
+          toggleSearchStatus:true,
+          dataSource:[
+            {
+                planningOrganization:'1001',
+                id:'1',
+                documentNumber:'A2A323125632',
+                documentData:'20123-12-11',
+                documentStatus:'已批准',
+                processingOrderNumber:'MC160 TZZ2344',
+                type:'家装',
+                Creator:'刘玉竹',
+                approvedBy:'demo1'
+            },
+            {
+                planningOrganization:'1001',
+                id:'2',
+                documentNumber:'A2A323125632',
+                documentData:'20123-12-11',
+                documentStatus:'已批准',
+                processingOrderNumber:'MC160 TZZ2344',
+                type:'家装',
+                Creator:'刘玉竹',
+                approvedBy:'demo1'
+            },
+          ],
+          dataSourceSon:[],
+          // 表头
+          columns: [
+            {
+              title: '#',
+              dataIndex: '',
+              key: 'rowIndex',
+              width: 60,
+              align: "center",
+              customRender:function (t, r, index) {
+                return parseInt(index)+1;
+              }
+            },
+            {
+              title: '计划组织',
+              align:"center",
+              dataIndex: 'planningOrganization',
+              ellipsis: true,
+
+            },
+            {
+              title: '单据号',
+              align:"center",
+              dataIndex: 'documentNumber',
+              ellipsis: true,
+
+            },
+            {
+              title: '单据日期',
+              align:"center",
+              dataIndex: 'documentData',
+              ellipsis: true,
+
+            },
+            {
+              title: '单据状态',
+              align:"center",
+              dataIndex: 'documentStatus',
+              ellipsis: true,
+
+            },
+            {
+              title: '业务员',
+              align:"center",
+              dataIndex: 'salesman',
+              ellipsis: true,
+
+            },
+            {
+              title: '计划部门',
+              align:"center",
+              dataIndex: 'planningDepartment',
+              ellipsis: true,
+
+            },
+            {
+              title: '项目编码',
+              align:"center",
+              dataIndex: 'projectCode',
+              ellipsis: true,
+
+            },
+            {
+              title: '备注',
+              align:"center",
+              dataIndex: 'remark',
+              ellipsis: true,
+
+            },
+            {
+              title: '加工单号',
+              align:"center",
+              dataIndex: 'processingOrderNumber',
+              ellipsis: true,
+
+            },
+            {
+              title: '改单版本',
+              align:"center",
+              dataIndex: 'changeOrderVersion',
+              ellipsis: true,
+
+            },
+            {
+              title: '来源',
+              align:"center",
+              dataIndex: 'Source',
+              ellipsis: true,
+
+            },
+            {
+              title: '业务类型',
+              align:"center",
+              dataIndex: 'type',
+              ellipsis: true,
+
+            },
+            {
+              title: '制单人',
+              align:"center",
+              dataIndex: 'Creator',
+              ellipsis: true,
+
+            },
+            {
+              title: '审批人',
+              align:"center",
+              dataIndex: 'approvedBy',
+              ellipsis: true,
+
+            },
+          ],
+          columnsSon: [
+            {
+              title: '#',
+              dataIndex: '',
+              key: 'rowIndex',
+              width: 60,
+              align: "center",
+              customRender:function (t, r, index) {
+                return parseInt(index)+1;
+              }
+            },
+            {
+              title: '批次',
+              align:"center",
+              dataIndex: 'batch',
+              ellipsis: true,
+
+            },
+            {
+              title: '项目编码',
+              align:"center",
+              dataIndex: 'projectCode',
+              ellipsis: true,
+
+            },
+            {
+              title: '项目名称',
+              align:"center",
+              dataIndex: 'projectName',
+              ellipsis: true,
+
+            },
+            {
+              title: '存货名称',
+              align:"center",
+              dataIndex: 'inventoryName',
+              ellipsis: true,
+
+            },
+            {
+              title: '存货编码',
+              align:"center",
+              dataIndex: 'inventoryCode',
+              ellipsis: true,
+
+            },
+            {
+              title: '计量单位',
+              align:"center",
+              dataIndex: 'unit',
+              ellipsis: true,
+
+            },
+            {
+              title: '主数量',
+              align:"center",
+              dataIndex: 'mainQuantity',
+              ellipsis: true,
+
+            },
+            {
+              title: '换算率',
+              align:"center",
+              dataIndex: 'conversionRate',
+              ellipsis: true,
+
+            },
+            {
+              title: '辅助计量单位',
+              align:"center",
+              dataIndex: 'auxiliaryMeasurementUnit',
+              ellipsis: true,
+
+            },
+            {
+              title: '辅数量',
+              align:"center",
+              dataIndex: 'auxiliaryQuantity',
+              ellipsis: true,
+
+            },
+            {
+              title: '规格',
+              align:"center",
+              dataIndex: 'specifications',
+              ellipsis: true,
+
+            },
+            {
+              title: '型号',
+              align:"center",
+              dataIndex: '型号',
+              ellipsis: true,
+
+            },
+            {
+              title: '颜色',
+              align:"center",
+              dataIndex: 'color',
+              ellipsis: true,
+
+            },
+            {
+              title: '定尺',
+              align:"center",
+              dataIndex: 'cutToLength',
+              ellipsis: true,
+
+            },
+            {
+              title: '合金',
+              align:"center",
+              dataIndex: 'alloy',
+              ellipsis: true,
+
+            },
+            {
+              title: '标准',
+              align:"center",
+              dataIndex: 'standard',
+              ellipsis: true,
+
+            },
+            {
+              title: '窗号',
+              align:"center",
+              dataIndex: 'windowNumber',
+              ellipsis: true,
+
+            },
+            {
+              title: '米重',
+              align:"center",
+              dataIndex: 'meterWeight',
+              ellipsis: true,
+
+            },
+            {
+              title: '装饰面周长',
+              align:"center",
+              dataIndex: 'decorativeSurfacePerimeter',
+              ellipsis: true,
+
+            },
+            {
+              title: '专用区',
+              align:"center",
+              dataIndex: 'park',
+              ellipsis: true,
+
+            },
+            {
+              title: '配置',
+              align:"center",
+              dataIndex: 'configuration',
+              ellipsis: true,
+
+            },
+            {
+              title: '宽度/长度',
+              align:"center",
+              dataIndex: 'Aspect',
+              ellipsis: true,
+
+            },
+            {
+              title: '高度',
+              align:"center",
+              dataIndex: 'height',
+              ellipsis: true,
+
+            },
+            {
+              title: '楼号楼层',
+              align:"center",
+              dataIndex: 'floor',
+              ellipsis: true,
+
+            },
+            {
+              title: '樘数',
+              align:"center",
+              dataIndex: 'frames',
+              ellipsis: true,
+
+            },
+            {
+              title: '框统计',
+              align:"center",
+              dataIndex: 'statistics',
+              ellipsis: true,
+
+            },
+            {
+              title: '扇统计',
+              align:"center",
+              dataIndex: 'fanStatistics',
+              ellipsis: true,
+
+            },
+            {
+              title: '半成品分类',
+              align:"center",
+              dataIndex: 'semiFinishedProducts',
+              ellipsis: true,
+
+            },
+            {
+              title: '面积',
+              align:"center",
+              dataIndex: 'area',
+              ellipsis: true,
+
+            },
+            {
+              title: '切割长度',
+              align:"center",
+              dataIndex: 'cuttingLength',
+              ellipsis: true,
+
+            },
+            {
+              title: '切割角度左下',
+              align:"center",
+              dataIndex: 'cuttingAngleLeft',
+              ellipsis: true,
+
+            },
+            {
+              title: '切割角度右上',
+              align:"center",
+              dataIndex: 'cuttingAngleRignt',
+              ellipsis: true,
+
+            },
+            {
+              title: '备注',
+              align:"center",
+              dataIndex: 'remark',
+              ellipsis: true,
+
+            },
+            {
+              title: '系列',
+              align:"center",
+              dataIndex: 'series',
+              ellipsis: true,
+
+            },
+            {
+              title: '玻璃编号',
+              align:"center",
+              dataIndex: 'glassNumber',
+              ellipsis: true,
+
+            },
+          ],
+             // ---------workflow  by fhf start -------------
+          serviceName: 'assetAllocationService',
+          // ---------workflow  by fhf end -------------
+          }
+        },
+        computed: {
+        },
+  
+      created () {
+       
+       },
+      methods: {
+        //单据日期
+        changeStartDate(){
+
+        },
+        onSearch(){
+        },
+        clickRow(record, index) {
+            return {
+                on: {
+                    click: () => {
+                        this.dataSourceSon=[
+                            {
+                                batch:'MC160' ,
+                                projectCode:'MC160',
+                                id:'1',
+                                projectName:'唐镇镇社区',
+                                inventoryName:'XSJ206B043L',
+                                inventoryCode:'MAW000002',
+                                unit:'KG',
+                                color:'134/93882-H'
+                            },
+                            {
+                                batch:'MC160' ,
+                                projectCode:'MC160',
+                                id:'2',
+                                projectName:'唐镇镇社区',
+                                inventoryName:'XSJ206B043L',
+                                inventoryCode:'MAW000002',
+                                unit:'KG',
+                                color:'134/93882-H'
+                            },
+                        ]
+                    }
+                 }
+            }
+        },
+        searchReset(){
+            this.queryParam={}
+        },
+        addList(){
+            this.$refs.materialProcurementAdd.visible=true
+        },
+        onSelectChange(selectedRowKeys, selectionRows) {
+          this.selectedRowKeys = selectedRowKeys;
+        },
+        onSelectChange1(selectedRowKeys, selectionRows){
+          this.selectedRowKeys1 = selectedRowKeys;
+        }
+    }
+}
+  </script>
+  <style scoped lang="less">
+    /* @import '~@assets/less/common.less' */
+    /deep/.ant-input{
+        height:29px;
+    }
+    /deep/.ant-select-selection--single {
+        height: 29px;
+        
+    }
+    /deep/.ant-select{
+        font-size: 12px;
+    }
+    /deep/.ant-form label{
+        font-size: 12px;
+    }
+    /deep/.table-page-search-wrapper .ant-form-inline .ant-form-item{
+        margin-bottom:9px
+    }
+    /deep/.top>.ant-card-body{
+        padding-bottom:0px;
+        padding-top: 12px;
+    }
+    /deep/.ant-btn{
+        height:28px
+    }
+    /deep/.ant-table-thead > tr > th{
+        padding: 6px 8px !important;
+    }
+    /deep/ .ant-table-tbody > tr > td{
+        padding: 6px 8px !important;
+    }
+    /deep/ .ant-table{
+        font-size:12px
+    }
+    /deep/.ant-table-fixed-header .ant-table-scroll .ant-table-header{
+        width: calc(100% + 9px);//减去滚动条的宽度
+    }
+    /deep/.middle>.ant-card-body{
+        padding-bottom:2px;
+        padding-top:14px;
+    }
+    /deep/.bottom>.ant-card-body{
+        padding-bottom:2px;
+        padding-top:14px;
+    }
+    /deep/.ant-select-sm .ant-select-selection__rendered{
+        line-height: 27px;
+    }
+  </style>

+ 519 - 0
src/views/materialprocurement/modules/materialProcurementAdd.vue

@@ -0,0 +1,519 @@
+<template>
+    <a-modal
+      title="新增"
+       width="80%"
+      :visible="visible"
+      :maskClosable="false"
+      switchFullscreen
+      @cancel="handleCancel"
+      @ok='handleCancel'
+      >
+      <a-card :bordered="false" class="top" style="margin-bottom:1%;margin-top:1%">
+        <div class="table-operator">
+        <a-button type="danger" size="small" >增行</a-button>
+        <a-button  >修改行</a-button>
+        <a-button size="small">删行</a-button>
+        <a-button size="small">保存</a-button>
+        <a-button  size="small">取消</a-button>
+        <a-button  size="small">返回</a-button>
+      </div>
+      </a-card >
+      <a-card :bordered="false" class="moddle" style="margin-bottom:1%">
+        <div class="table-page-search-wrapper">
+            <a-form layout="inline" @keyup.enter.native="searchQuery">
+                <a-row :gutter="24">
+                    <a-col :md="4" :sm="24">
+                        <a-form-item label="计划组织">
+                            <a-input-search placeholder="请输入" v-model="form.planningOrganization" @search="onSearch"></a-input-search>
+                        </a-form-item>
+                    </a-col>
+                    <a-col  :md="4" :sm="24">
+                        <a-form-item label="单据号">
+                            <a-input placeholder="请输入" v-model="form.documentNumber"></a-input>
+                        </a-form-item>
+                    </a-col>
+                    <a-col :md="4" :sm="24">
+                        <a-form-item label="单据日期">
+                            <a-date-picker showTime valueFormat="YYYY-MM-DD" format = "YYYY-MM-DD" v-model="form.documentData"/>
+                        </a-form-item>
+                    </a-col>
+                    <a-col :md="4" :sm="24">
+                        <a-form-item label="单据状态">
+                            <a-select v-model="form.documentStatus"  style='width:100%' >
+                                <a-select-option value='1'> 1</a-select-option>
+                            </a-select>
+                        </a-form-item>
+                    </a-col>
+                    <a-col :md="4" :sm="24">
+                        <a-form-item label="业务员">
+                            <a-input-search placeholder="请输入" v-model="form.salesman"  @search="onSearch"></a-input-search>
+                        </a-form-item>
+                    </a-col>
+                    <a-col :md="4" :sm="24">
+                        <a-form-item label="计划部门">
+                            <a-input-search placeholder="请输入" v-model="form.planningDepartment" @search="onSearch"></a-input-search>
+                        </a-form-item>
+                    </a-col>
+                    <a-col :md="4" :sm="24">
+                        <a-form-item label="项目编码">
+                            <a-input placeholder="请输入" v-model="form.projectCode"></a-input>
+                        </a-form-item>
+                    </a-col>
+                    <a-col :md="4" :sm="24">
+                        <a-form-item label="项目">
+                            <a-input-search placeholder="请输入" v-model="form.project" @search="onSearch"></a-input-search>
+                        </a-form-item>
+                    </a-col>
+                    <a-col :md="4" :sm="24">
+                        <a-form-item label="备注">
+                            <a-input placeholder="请输入" v-model="form.remark"></a-input>
+                        </a-form-item>
+                    </a-col>
+                    <a-col :md="4" :sm="24">
+                        <a-form-item label="加工单号">
+                            <a-input placeholder="请输入" v-model="form.processingOrderNumber"></a-input>
+                        </a-form-item>
+                    </a-col>
+                    <a-col :md="4" :sm="24">
+                        <a-form-item label="改单版本">
+                            <a-input placeholder="请输入" v-model="form.changeOrderVersion"></a-input>
+                        </a-form-item>
+                    </a-col>
+                    <a-col :md="4" :sm="24">
+                        <a-form-item label="来源">
+                            <a-input placeholder="请输入" v-model="form.Source"></a-input>
+                        </a-form-item>
+                    </a-col>
+                    <a-col :md="4" :sm="24">
+                        <a-form-item label="业务类型">
+                            <a-select v-model="form.type"  style='width:100%' >
+                                <a-select-option value='1'> 1</a-select-option>
+                            </a-select>
+                        </a-form-item>
+                    </a-col>
+                </a-row>
+            </a-form>
+        </div>
+     </a-card>
+     <a-card :bordered="false" class="three" style="margin-bottom:1%">
+        <a-table
+          ref="table"
+          size="middle"
+          bordered
+          :columns="columns"
+          rowKey="id"
+          :dataSource="dataSource"
+          :pagination="ipagination"
+          :scroll="{ x: 3500, y: 300 }"
+          :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
+          @change="handleTableChange"
+          >
+  
+        </a-table>
+     </a-card>
+     <a-card :bordered="false" class="bottom" style="margin-bottom:1%">
+        <div class="table-page-search-wrapper">
+            <a-form layout="inline" @keyup.enter.native="searchQuery">
+                <a-row :gutter="24">
+                    <a-col :md="4" :sm="24">
+                        <a-form-item label="制单人">
+                            <a-input placeholder="请输入" v-model="form1.Creator"></a-input>
+                        </a-form-item>
+                    </a-col>
+                    <a-col  :md="4" :sm="24">
+                        <a-form-item label="制单日期">
+                            <a-date-picker showTime valueFormat="YYYY-MM-DD" format = "YYYY-MM-DD" v-model="form1.CreatData"/>
+                        </a-form-item>
+                    </a-col>
+                    <a-col :md="4" :sm="24">
+                        <a-form-item label="审批人">
+                            <a-input placeholder="请输入" v-model="form1.approvedBy"></a-input>
+                        </a-form-item>
+                    </a-col>
+                    <a-col :md="4" :sm="24">
+                        <a-form-item label="审批日期">
+                            <a-date-picker showTime valueFormat="YYYY-MM-DD" format = "YYYY-MM-DD" v-model="form1.approvedData" />
+                        </a-form-item>
+                    </a-col>
+                    <a-col :md="4" :sm="24">
+                        <a-form-item label="最后修改人">
+                            <a-input placeholder="请输入" v-model="form1.editPerson"></a-input>
+                        </a-form-item>
+                    </a-col>
+                    <a-col :md="4" :sm="24">
+                        <a-form-item label="最后修改时间">
+                            <a-date-picker showTime valueFormat="YYYY-MM-DD" format = "YYYY-MM-DD" v-model="form1.editData"/>
+                        </a-form-item>
+                    </a-col>
+                </a-row>
+            </a-form>
+         </div>
+    </a-card>
+    </a-modal>
+  </template>
+  <script>
+  
+      import { FormTypes } from '@/utils/JEditableTableUtil'
+      import { JEditableTableModelMixin } from '@/mixins/JEditableTableModelMixin'
+      import moment from "moment"
+      import { httpAction ,getAction} from '@/api/manage'
+      export default {
+        name: 'AssetAllocationDetailForm',
+        mixins: [JEditableTableModelMixin],
+        components: {
+        },
+        data() {
+          return {
+            visible:false,
+            form:{},
+            form1:{},
+            dataSource:[
+                {
+                    batch:'MC160' ,
+                    id:'1',
+                    projectCode:'MC160',
+                    projectName:'唐镇镇社区',
+                    inventoryName:'XSJ206B043L',
+                    inventoryCode:'MAW000002',
+                    unit:'KG',
+                    color:'134/93882-H'
+                },
+                {
+                    batch:'MC160' ,
+                    id:'2',
+                    projectCode:'MC160',
+                    projectName:'唐镇镇社区',
+                    inventoryName:'XSJ206B043L',
+                    inventoryCode:'MAW000002',
+                    unit:'KG',
+                    color:'134/93882-H'
+                },
+            ],
+            // ipagination:{},
+            selectedRowKeys:[],
+            columns: [
+                {
+                    title: '#',
+                    dataIndex: '',
+                    key: 'rowIndex',
+                    width: 60,
+                    align: "center",
+                    customRender:function (t, r, index) {
+                        return parseInt(index)+1;
+                    }
+                },
+                {
+                    title: '批次',
+                    align:"center",
+                    dataIndex: 'batch',
+                    ellipsis: true,
+                },
+                {
+                    title: '项目编码',
+                    align:"center",
+                    dataIndex: 'projectCode',
+                    ellipsis: true,
+                },
+                {
+                    title: '项目名称',
+                    align:"center",
+                    dataIndex: 'projectName',
+                    ellipsis: true,
+                },
+                {
+                    title: '存货名称',
+                    align:"center",
+                    dataIndex: 'inventoryName',
+                    ellipsis: true,
+                },
+                {
+                    title: '存货编码',
+                    align:"center",
+                    dataIndex: 'inventoryCode',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '计量单位',
+                    align:"center",
+                    dataIndex: 'unit',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '主数量',
+                    align:"center",
+                    dataIndex: 'mainQuantity',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '换算率',
+                    align:"center",
+                    dataIndex: 'conversionRate',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '辅助计量单位',
+                    align:"center",
+                    dataIndex: 'auxiliaryMeasurementUnit',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '辅数量',
+                    align:"center",
+                    dataIndex: 'auxiliaryQuantity',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '规格',
+                    align:"center",
+                    dataIndex: 'specifications',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '型号',
+                    align:"center",
+                    dataIndex: '型号',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '颜色',
+                    align:"center",
+                    dataIndex: 'color',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '定尺',
+                    align:"center",
+                    dataIndex: 'cutToLength',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '合金',
+                    align:"center",
+                    dataIndex: 'alloy',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '标准',
+                    align:"center",
+                    dataIndex: 'standard',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '窗号',
+                    align:"center",
+                    dataIndex: 'windowNumber',
+                    ellipsis: true,
+
+                },
+                {   
+                    title: '米重',
+                    align:"center",
+                    dataIndex: 'meterWeight',
+                    ellipsis: true,
+                },
+                {
+                    title: '装饰面周长',
+                    align:"center",
+                    dataIndex: 'decorativeSurfacePerimeter',
+                    ellipsis: true,
+                },
+                {   
+                    title: '专用区',
+                    align:"center",
+                    dataIndex: 'park',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '配置',
+                    align:"center",
+                    dataIndex: 'configuration',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '宽度/长度',
+                    align:"center",
+                    dataIndex: 'Aspect',
+                    ellipsis: true,
+                },
+                {
+                    title: '高度',
+                    align:"center",
+                    dataIndex: 'height',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '楼号楼层',
+                    align:"center",
+                    dataIndex: 'floor',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '樘数',
+                    align:"center",
+                    dataIndex: 'frames',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '框统计',
+                    align:"center",
+                    dataIndex: 'statistics',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '扇统计',
+                    align:"center",
+                    dataIndex: 'fanStatistics',
+                    ellipsis: true,
+
+                 },
+                {
+                    title: '半成品分类',
+                    align:"center",
+                    dataIndex: 'semiFinishedProducts',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '面积',
+                    align:"center",
+                    dataIndex: 'area',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '切割长度',
+                    align:"center",
+                    dataIndex: 'cuttingLength',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '切割角度左下',
+                    align:"center",
+                    dataIndex: 'cuttingAngleLeft',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '切割角度右上',
+                    align:"center",
+                    dataIndex: 'cuttingAngleRignt',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '备注',
+                    align:"center",
+                    dataIndex: 'remark',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '系列',
+                    align:"center",
+                    dataIndex: 'series',
+                    ellipsis: true,
+
+                },
+                {
+                    title: '玻璃编号',
+                    align:"center",
+                    dataIndex: 'glassNumber',
+                    ellipsis: true,
+                },
+          ],
+          }
+        },
+        created() {
+          
+        },
+        methods: {
+            handleCancel(){
+                this.visible=false
+            },
+            onSelectChange(selectedRowKeys, selectionRows) {
+                this.selectedRowKeys = selectedRowKeys;
+            },
+            handleTableChange(){
+
+            },
+            onSearch(){
+               
+            },
+
+        }
+      }
+  </script>
+  
+  <style scoped lang="less">
+    /* @import '~@assets/less/common.less' */
+    /deep/.ant-input{
+        height:29px;
+    }
+    /deep/.ant-select-selection--single {
+        height: 29px;
+    }
+    /deep/.ant-select{
+        font-size: 12px;
+    }
+    /deep/.ant-form label{
+        font-size: 12px;
+    }
+    /deep/.table-page-search-wrapper .ant-form-inline .ant-form-item{
+        margin-bottom:9px
+    }
+    /deep/.moddle>.ant-card-body{
+        padding-bottom:0px;
+        padding-top: 12px;
+    }
+    /deep/.top>.ant-card-body{
+        padding-bottom:0px;
+        padding-top: 12px;
+    }
+    /deep/.ant-btn{
+        height:28px
+    }
+    /deep/.ant-modal-body{
+        padding-bottom: 0px;
+        padding-top: 0px;
+    }
+    // /deep/.ant-modal-body{
+    //     background: #f0f2f5;
+    // }
+    /deep/.ant-modal-content{
+        background: #f0f2f5;
+    }
+    /deep/.ant-card-body .table-operator {
+        margin-bottom: 0px;
+    }
+    /deep/.three>.ant-card-body{
+        padding-bottom:0px;
+        padding-top: 12px;
+    }
+    /deep/.bottom>.ant-card-body{
+        padding-bottom:0px;
+        padding-top: 12px;
+    }
+
+    /deep/.ant-calendar-picker{
+        min-width: 0px !important;  
+    }
+  </style>