Bladeren bron

删除无关文件

jingbb 1 jaar geleden
bovenliggende
commit
037a41d1fb

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

@@ -1,677 +0,0 @@
-<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>

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

@@ -1,519 +0,0 @@
-<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>

+ 0 - 231
src/views/safetyStock/modules/safetyStockListAdd.vue

@@ -1,231 +0,0 @@
-<template>
-    <a-modal
-      :title="(defaultMethod == 'add')?'新增':'编辑'"
-       width="60%"
-      :visible="visible"
-      :maskClosable="false"
-      switchFullscreen
-      @cancel="handleCancel"
-      @ok='handleOK'
-      >
-      <a-card :bordered="false" class="moddle" style="margin-bottom:1%" :loading = 'loading'>
-        <div class="table-page-search-wrapper">
-            <a-form layout="inline" @keyup.enter.native="searchQuery">
-              <a-row :gutter="24">
-                <a-col :md="8" :sm="24">
-                  <a-form-item label="存货编码" prop='inventoryCode'>
-                    <a-input-search placeholder="请输入" v-model="form.inventoryCode" @search="onSearch"></a-input-search>
-                  </a-form-item>
-                </a-col>
-                <a-col  :md="8" :sm="24">
-                  <a-form-item label="存货名称" prop='inventoryName'>
-                    <a-input placeholder="请输入" v-model="form.inventoryName"></a-input>
-                  </a-form-item>
-                </a-col>
-                <a-col :md="8" :sm="24">
-                    <a-form-item label="颜色" prop='color'>
-                        <a-input-search placeholder="请输入" v-model="form.color" @search="onSearch"></a-input-search>
-                    </a-form-item>
-                  </a-col>
-                  <a-col :md="8" :sm="24" >
-                    <a-form-item label="定尺" prop='fixedLength'>
-                        <a-input-search placeholder="请输入" v-model="form.fixedLength" @search="onSearch"></a-input-search>
-                    </a-form-item>
-                  </a-col>
-                  <a-col :md="8" :sm="24">
-                    <a-form-item label="合金" prop='alloy'>
-                      <a-input-search placeholder="请输入" v-model="form.alloy" @search="onSearch"></a-input-search>
-                    </a-form-item>
-                  </a-col>
-                  <a-col :md="8" :sm="24">
-                    <a-form-item label="标准" prop='standard'>
-                    <a-input-search placeholder="请输入" v-model="form.standard" @search="onSearch"></a-input-search>
-                  </a-form-item>
-                  </a-col>
-                  <a-col :md="8" :sm="24">
-                    <a-form-item label="规格" prop='model'>
-                      <a-input placeholder="请输入" v-model="form.specs"></a-input>
-                    </a-form-item>
-                  </a-col>
-                  <a-col :md="8" :sm="24">
-                    <a-form-item label="型号" prop='model'>
-                      <a-input-search placeholder="请输入" v-model="form.model" @search="onSearch"></a-input-search>
-                    </a-form-item>
-                  </a-col>
-                  <a-col :md="8" :sm="24">
-                    <a-form-item label="安全库存" prop='safetyStock'>
-                      <a-input-number  :default-value="0"  v-model="form.safetyStock"/>
-                    </a-form-item>
-                  </a-col>
-                  <a-col :md="8" :sm="24">
-                    <a-form-item label="最高库存" prop='maxStock'>
-                      <a-input-number  :default-value="0"  v-model="form.maxStock"/>
-                    </a-form-item>
-                  </a-col>
-                  <a-col :md="8" :sm="24">
-                    <a-form-item label="起订点" prop='startingPoint'>
-                      <a-input-number  :default-value="0"  v-model="form.startingPoint"/>
-                    </a-form-item>
-                  </a-col>
-                  <a-col :md="8" :sm="24">
-                    <a-form-item label="辅单位" prop='auxiliaryUnit'>
-                      <a-input placeholder="请输入" v-model="form.auxiliaryUnit"></a-input>
-                    </a-form-item>
-                  </a-col>
-                  <a-col :md="8" :sm="24">
-                    <a-form-item label="单位" prop='unit'>
-                        <a-input placeholder="请输入" v-model="form.unit"></a-input>
-                    </a-form-item>
-                  </a-col>
-                  <a-col :md="8" :sm="24">
-                    <a-form-item label="按辅计量计算" prop='isAuxiliaryUnit'>
-                      <a-select v-model="form.isAuxiliaryUnit"  style='width:100%' >
-                                <a-select-option value='是'> 是</a-select-option>
-                                <a-select-option value='否'> 否</a-select-option>
-                      </a-select>
-                    </a-form-item>
-                  </a-col>  
-                  <a-col :md="8" :sm="24">
-                    <a-form-item label="米重" prop='meterWeight'>
-                        <a-input placeholder="请输入" v-model="form.meterWeight"></a-input>
-                    </a-form-item>
-                  </a-col> 
-                  <a-col :md="8" :sm="24">
-                    <a-form-item label="窗号" prop='windowNo'>
-                        <a-input placeholder="请输入" v-model="form.windowNo"></a-input>
-                    </a-form-item>
-                  </a-col>  
-                  <a-col :md="8" :sm="24">
-                    <a-form-item label="装饰面周长" prop='decorationLength'>
-                        <a-input placeholder="请输入" v-model="form.decorationLength"></a-input>
-                    </a-form-item>
-                  </a-col> 
-                  <a-col :md="8" :sm="24">
-                    <a-form-item label="专用区" prop='exclusiveZone'>
-                        <a-input placeholder="请输入" v-model="form.exclusiveZone"></a-input>
-                    </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,postAction,putAction} from '@/api/manage'
-      export default {
-        name: 'safetyStockListAdd',
-        mixins: [JEditableTableModelMixin],
-        components: {
-        },
-        data() {
-          return {
-            visible:false,
-            form:{},
-            loading:false,
-            defaultMethod:'add',
-          }
-        },
-        created() {
-          
-        },
-        methods: {
-            handleCancel(){
-                this.form = {}
-                this.visible=false
-                this.defaultMethod='add'
-            },
-            handleOK(){
-              this.loading = true
-              if(this.defaultMethod=='add'){
-                postAction('/production/safetyStock/add', this.form).then((res) => {
-                  if (res.success) {
-                    this.$message.success('添加成功!');
-                    this.handleCancel()
-                    this.$emit('ok')
-                  } else {
-                    this.$message.error(res.message);
-                  }
-                }).finally(() => {
-                  this.loading = false
-                })
-              }else{
-                putAction('/production/safetyStock/edit', this.form).then((res) => {
-                  if (res.success) {
-                    this.$message.success('编辑成功!');
-                    this.handleCancel()
-                    this.$emit('ok')
-                  } else {
-                    this.$message.error(res.message);
-                  }
-                }).finally(() => {
-                  this.loading = false
-                })
-              }
-              
-            },
-            getEditData(id){
-              getAction('/production/safetyStock/queryById',{id:id}).then((res) => {
-                  if (res.success) {
-                   this.form = res.result
-                  } else {
-                    this.$message.error(res.message);
-                  }
-                })
-            },
-            onSelectChange(selectedRowKeys, selectionRows) {
-                this.selectedRowKeys = selectedRowKeys;
-            },
-            onSearch(){
-            },
-
-        }
-      }
-  </script>
-  
-  <style scoped lang="less">
-    /* @import '~@assets/less/common.less' */
-    /deep/.ant-input{
-        height:29px;
-    }
-    /deep/.ant-input-number{
-      height:29px;
-      width:100%
-    }
-    /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/.ant-btn{
-        height:28px
-    }
-    /deep/.ant-modal-body{
-        padding-bottom: 0px;
-        // padding-top: 0px;
-    }
-    /deep/.ant-modal-content{
-        background: #f0f2f5;
-    }
-    /deep/.ant-card-body .table-operator {
-        margin-bottom: 0px;
-    }
-    /deep/.ant-calendar-picker{
-        min-width: 0px !important;  
-    }
-  </style>

+ 0 - 494
src/views/safetyStock/safetyStockList.vue

@@ -1,494 +0,0 @@
-<template>
-    <div>
-        <a-card :bordered="false" class="top" style="margin-bottom:1%;margin-top: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.inventoryCode" @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.inventoryName"></a-input>
-                  </a-form-item>
-                </a-col>
-                <a-col :md="4" :sm="24">
-                    <a-form-item label="颜色">
-                        <a-input-search placeholder="请输入" v-model="queryParam.color" @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.fixedLength" @search="onSearch"></a-input-search>
-                    </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.alloy" @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.standard" @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.specs"></a-input>
-                    </a-form-item>
-                  </a-col>
-                  <a-col :md="4" :sm="24">
-                    <a-form-item label="型号">
-                      <a-input-search placeholder="请输入" v-model="queryParam.model" @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.safetyStock"></a-input>
-                    </a-form-item>
-                  </a-col>
-                  <a-col :md="4" :sm="24">
-                    <a-form-item label="最高库存">
-                      <a-input placeholder="请输入" v-model="queryParam.maxStock"></a-input>
-                    </a-form-item>
-                  </a-col>
-                  <a-col :md="4" :sm="24">
-                    <a-form-item label="起订点">
-                      <a-input placeholder="请输入" v-model="queryParam.startingPoint"></a-input>
-                    </a-form-item>
-                  </a-col>
-                  <a-col :md="4" :sm="24">
-                    <a-form-item label="辅单位">
-                      <a-input placeholder="请输入" v-model="queryParam.auxiliaryUnit"></a-input>
-                    </a-form-item>
-                  </a-col>
-                  <a-col :md="4" :sm="24">
-                    <a-form-item label="单位">
-                        <a-input placeholder="请输入" v-model="queryParam.unit"></a-input>
-                    </a-form-item>
-                  </a-col>
-                  <a-col :md="4" :sm="24">
-                    <a-form-item label="按辅计量计算" prop='isAuxiliaryUnit'>
-                      <a-select v-model="queryParam.isAuxiliaryUnit"  style='width:100%' >
-                                <a-select-option value='是'> 是</a-select-option>
-                                <a-select-option value='否'> 否</a-select-option>
-                      </a-select>
-                    </a-form-item>
-                  </a-col>  
-                  <a-col :md="4" :sm="24">
-                    <a-form-item label="米重" prop='meterWeight'>
-                        <a-input placeholder="请输入" v-model="queryParam.meterWeight"></a-input>
-                    </a-form-item>
-                  </a-col> 
-                  <a-col :md="4" :sm="24">
-                    <a-form-item label="窗号" prop='windowNo'>
-                        <a-input placeholder="请输入" v-model="queryParam.windowNo"></a-input>
-                    </a-form-item>
-                  </a-col>  
-                  <a-col :md="4" :sm="24">
-                    <a-form-item label="装饰面周长" prop='decorationLength'>
-                        <a-input placeholder="请输入" v-model="queryParam.decorationLength"></a-input>
-                    </a-form-item>
-                  </a-col> 
-                  <a-col :md="4" :sm="24">
-                    <a-form-item label="专用区" prop='exclusiveZone'>
-                        <a-input placeholder="请输入" v-model="queryParam.exclusiveZone"></a-input>
-                    </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  size="small" @click='editList'>修改</a-button>
-            <a-button size="small" @click='delectList'>删除</a-button>
-            <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl">
-               <a-button  size="small">导入</a-button>
-            </a-upload>
-            <a-button size="small" @click="exportList('安全库存列表')">导出</a-button>
-          </div>
-      
-          <!-- table区域-begin -->
-          <div>  
-            <a-table
-              ref="table"
-              size="middle"
-              bordered
-              rowKey="id"
-              :columns="columns"
-              :dataSource="dataSource"
-              :pagination="ipagination"
-              :scroll="{ x: 2500, y: 300 }"
-              :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
-              @change="handleTableChange"
-              >
-      
-            </a-table>
-          </div>
-          <!-- table区域-end -->
-      
-        </a-card>
-        <safetyStockListAdd ref="safetyStockListAdd" @ok='searchQuery'></safetyStockListAdd>
-    </div>
-    </template>
-      
-      <script>
-      
-        import { JeecgListMixin } from '@/mixins/JeecgListMixin'
-        import moment from 'dayjs'
-        import { httpAction ,getAction,postAction,putAction,deleteAction,downFile} from '@/api/manage'
-        import {queryDepartTreeList} from '@/api/api'
-        import safetyStockListAdd from './modules/safetyStockListAdd'
-        //---------workflow  by fhf end -------------
-        export default {
-          name: "SafetyStockList",
-          mixins: [JeecgListMixin],
-          components: {
-            safetyStockListAdd
-          },
-          data () {
-            return {
-              description: '安全库存列表页面',
-              queryParam:{},
-              selectedRowKeys:[],
-              selectedRow:[],
-              documentData:[],
-              toggleSearchStatus:false,
-              dataSource:[{}],
-              ipagination:{
-                current: 1,
-                pageSize: 10,
-                pageSizeOptions: ['10', '20', '30'],
-                showTotal: (total, range) => {
-                    return range[0] + '-' + range[1] + ' 共' + total + '条'
-                },
-                showQuickJumper: true,
-                showSizeChanger: true,
-                total: 0
-              },
-              // 表头
-              columns: [
-                {
-                  title: '#',
-                  dataIndex: '',
-                  key: 'rowIndex',
-                  width: 60,
-                  align: "center",
-                  customRender:function (t, r, index) {
-                    return parseInt(index)+1;
-                  }
-                },
-                {
-                  title: '存货编码',
-                  align:"center",
-                  dataIndex: 'inventoryCode',
-                  ellipsis: true,
-    
-                },
-                {
-                  title: '存货名称',
-                  align:"center",
-                  dataIndex: 'inventoryName',
-                  ellipsis: true,
-    
-                },
-                {
-                  title: '颜色',
-                  align:"center",
-                  dataIndex: 'color',
-                  ellipsis: true,
-    
-                },
-                {
-                  title: '定尺',
-                  align:"center",
-                  dataIndex: 'fixedLength',
-                  ellipsis: true,
-    
-                },
-                {
-                  title: '合金',
-                  align:"center",
-                  dataIndex: 'alloy',
-                  ellipsis: true,
-    
-                },
-                {
-                  title: '标准',
-                  align:"center",
-                  dataIndex: 'standard',
-                  ellipsis: true,
-    
-                },
-                {
-                  title: '规格',
-                  align:"center",
-                  dataIndex: 'specs',
-                  ellipsis: true,
-    
-                },
-                {
-                  title: '型号',
-                  align:"center",
-                  dataIndex: 'model',
-                  ellipsis: true,
-    
-                },
-                {
-                  title: '安全库存',
-                  align:"center",
-                  dataIndex: 'safetyStock',
-                  ellipsis: true,
-    
-                },
-                {
-                  title: '最高库存',
-                  align:"center",
-                  dataIndex: 'maxStock',
-                  ellipsis: true,
-    
-                },
-                {
-                  title: '起订点',
-                  align:"center",
-                  dataIndex: 'startingPoint',
-                  ellipsis: true,
-    
-                },
-                {
-                  title: '辅单位',
-                  align:"center",
-                  dataIndex: 'auxiliaryUnit',
-                  ellipsis: true,
-    
-                },
-                {
-                  title: '单位',
-                  align:"center",
-                  dataIndex: 'unit',
-                  ellipsis: true,
-    
-                },
-                {
-                  title: '按辅计量计算',
-                  align:"center",
-                  dataIndex: 'isAuxiliaryUnit',
-                  ellipsis: true,
-    
-                },
-                {
-                  title: '米重',
-                  align:"center",
-                  dataIndex: 'meterWeight',
-                  ellipsis: true,
-    
-                },
-                {
-                  title: '窗号',
-                  align:"center",
-                  dataIndex: 'windowNo',
-                  ellipsis: true,
-    
-                },
-                {
-                  title: '装饰面周长',
-                  align:"center",
-                  dataIndex: 'decorationLength',
-                  ellipsis: true,
-    
-                },
-                {
-                  title: '专用区',
-                  align:"center",
-                  dataIndex: 'exclusiveZone',
-                  ellipsis: true,
-    
-                },
-              ],
-              url: {
-                    list: "/production/safetyStock/list",
-              },
-              importExcelUrl:'/production/safetyStock/importExcel',
-                 // ---------workflow  by fhf start -------------
-              serviceName: 'assetAllocationService',
-              // ---------workflow  by fhf end -------------
-              }
-            },      
-           created () {
-            this.getTableList()
-           },
-           computed: {
-              importExcelUrl: function(){
-                  return `${window._CONFIG['domianURL']}/${this.importExcelUrl}`;
-              },
-           },
-          methods: {
-            getTableList(){
-                getAction('/production/safetyStock/list',this.queryParam).then(res=>{
-                    if(res.success){
-                       this.dataSource =res.result.records
-                       this.ipagination = {
-                            total: res.result.total,
-                            current: res.result.current,
-                            pageSize: res.result.size
-                        }
-                    }else{
-                      this.$message.error(res.message);
-                    }
-                })
-            },
-            //单据日期
-            changeStartDate(){
-    
-            },
-            onSearch(){
-            //   this.$refs.materialProcurementSearch.visible = true
-            },
-            exportList(fileName){
-              downFile('/production/safetyStock/exportXls', this.queryParam).then(data => {
-                if (!data) {
-                  this.$message.warning('文件下载失败')
-                  return
-                }
-                if (typeof window.navigator.msSaveBlob !== 'undefined') {
-                  window.navigator.msSaveBlob(new Blob([data], { type: 'application/vnd.ms-excel' }), fileName + '.xlsx')
-                } else {
-                  let url = window.URL.createObjectURL(new Blob([data], { type: 'application/vnd.ms-excel' }))
-                  let link = document.createElement('a')
-                  link.style.display = 'none'
-                  link.href = url
-                  link.setAttribute('download', fileName + '.xlsx')
-                  document.body.appendChild(link)
-                  link.click()
-                  document.body.removeChild(link) // 下载完成移除元素
-                  window.URL.revokeObjectURL(url) // 释放掉blob对象
-                }
-              })
-            },
-            searchReset(){
-                this.queryParam={}
-                this.getTableList()
-            },
-            searchQuery(){
-              this.queryParam.pageNo = '1'
-                this.getTableList()
-            },
-            addList(){
-                this.$refs.safetyStockListAdd.visible=true
-                this.$refs.safetyStockListAdd.defaultMethod='add'
-            },
-            editList(){
-              if(this.selectedRowKeys.length==0){
-                this.$message.warning('请勾选数据!')
-              }else if(this.selectedRowKeys.length>1){
-                this.$message.warning('只可勾选一条数据')
-              }else{
-                this.$refs.safetyStockListAdd.visible=true
-                this.$refs.safetyStockListAdd.defaultMethod='edit'
-                this.$refs.safetyStockListAdd.getEditData(this.selectedRowKeys[0])
-              }
-            },
-            delectList(){
-              if(this.selectedRowKeys.length==0){
-                this.$message.warning('请勾选数据!')
-              }else if(this.selectedRowKeys.length>1){
-                var ids =  this.selectedRowKeys.toString()
-                var that = this
-                deleteAction('/production/safetyStock/deleteBatch', {ids: ids}).then((res) => {
-                  if (res.success) {
-                    this.$message.success('删除成功!');
-                    this.getTableList()
-                  } else {
-                      that.$message.error(res.message);
-                  }
-                });
-              }else{
-                deleteAction('/production/safetyStock/delete', {id: this.selectedRowKeys[0]}).then((res) => {
-                  if (res.success) {
-                    this.$message.success('删除成功!');
-                    this.getTableList()
-                  } else {
-                      that.$message.error(res.message);
-                  }
-                });
-              }
-            },
-            onSelectChange(selectedRowKeys, selectionRows) {
-              this.selectedRowKeys = selectedRowKeys;
-              this.selectedRow = selectionRows;
-            },
-            handleTableChange(pagination, filters, sorter) {
-                // console.log('当前页信息>>>>',pagination)
-                this.queryParam.pageNo = pagination.current
-                this.queryParam.pageSize = pagination.pageSize
-                this.getTableList()
-            },
-        }
-    }
-      </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:14px;
-            padding-top:14px;
-        }
-        /deep/.ant-select-sm .ant-select-selection__rendered{
-            line-height: 27px;
-        }
-      </style>