Przeglądaj źródła

项目成本明细

yuhan 1 rok temu
rodzic
commit
7137d47609

+ 32 - 42
src/views/module_kzks/projectCostList/ProjectCostList.vue

@@ -112,9 +112,9 @@
       <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>
       <a-dropdown v-if="selectedRowKeys.length > 0">
         <a-menu slot="overlay">
-          <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>
+          <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>对比</a-menu-item>
         </a-menu>
-        <!-- <a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button> -->
+        <a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>
       </a-dropdown>
     </div>
 
@@ -133,7 +133,10 @@
                 <a-row style="width: 400px">
                   <template v-for="(item, index) in defColumns">
                     <template v-if="item.key!='rowIndex'&& item.dataIndex!='action'">
-                        <a-col :span="12" :key="index"><a-checkbox :value="item.dataIndex">{{ item.title }}</a-checkbox></a-col>
+                        <a-col :span="12" :key="index">
+                          <a-checkbox :value="item.dataIndex" :disabled="!!item.fixed" :checked="!!item.fixed">
+                            {{ item.title }}</a-checkbox>
+                        </a-col>
                     </template>
                   </template>
                 </a-row>
@@ -216,8 +219,6 @@
 
       </a-table>
     </div>
-
-    <project-cost-modal ref="modalForm" @ok="modalFormOk"></project-cost-modal>
     
     <project-detail-modal ref="proCostDetail"></project-detail-modal>
   </a-card>
@@ -230,14 +231,13 @@
   import '@/assets/less/TableExpand.less'
   import { mixinDevice } from '@/utils/mixin'
   import { JeecgListMixin } from '@/mixins/JeecgListMixin'
-  import ProjectCostModal from './modules/ProjectCostModal'
-  import ProjectDetailModal from './modules/ProjectDetailModal'
+  import ProjectDetailModal from './modulesDetail/ProjectDetailModal'
 
   export default {
     name: 'ProjectCostList',
     mixins:[JeecgListMixin, mixinDevice],
     components: {
-      ProjectCostModal, ProjectDetailModal
+      ProjectDetailModal
     },
     data () {
       return {
@@ -260,9 +260,9 @@
           // },
           {
             title:'任务号',
-            align:"center",
+            // align:"left",
             fixed:"left",
-            dataIndex: 'taskno'
+            dataIndex: 'taskno',
           },
           {
             title:'任务名称',
@@ -337,13 +337,13 @@
             title:'合同额',
             align:"center",
             dataIndex: 'contractfpe',
-            customCell: this.getDetailContract,
+            customCell: this.getClickColumn,
           },
           {
             title:'已收款',
             align:"center",
             dataIndex: 'taskmoney',
-            customCell: this.getDetailYSK,
+            customCell: this.getClickColumn,
           },
           {
             title:'总成本',
@@ -353,22 +353,26 @@
           {
             title:'材料费',
             align:"center",
-            dataIndex: 'clf'
+            dataIndex: 'clf',
+            customCell: this.getClickColumn,
           },
           {
             title:'专用费',
             align:"center",
-            dataIndex: 'zyf'
+            dataIndex: 'zyf',
+            customCell: this.getClickColumn,
           },
           {
             title:'事务费',
             align:"center",
-            dataIndex: 'swf'
+            dataIndex: 'swf',
+            customCell: this.getClickColumn,
           },
           {
             title:'外协费',
             align:"center",
-            dataIndex: 'wxf'
+            dataIndex: 'wxf',
+            customCell: this.getClickColumn,
           },
           {
             title:'燃料动力费',
@@ -393,7 +397,8 @@
           {
             title:'装机成本',
             align:"center",
-            dataIndex: 'zjcb'
+            dataIndex: 'zjcb',
+            customCell: this.getClickColumn,
           },
           {
             title:'内部试验',
@@ -621,37 +626,22 @@
         this.columns = cols;
         columnsEdit({checkedValues: checkedValues})
       },
-      getDetailContract(record, index){
-        return {
-          style: {
-            'color': '#1890ff',
-          },
-          on: {
-            click: (event)=> {
-              // console.log(record, index, event)
-              proCostContractdetail({taskno: '2'}).then(res => {
-                console.log(res)
-                this.$refs.proCostDetail.show()
-                this.$refs.proCostDetail.title = '合同额明细'
-                this.$refs.proCostDetail.dataSource = res
-              })
-            }
-          }
-        }
-      },
-      getDetailYSK(record, index){
+      getClickColumn(record, index){
         return {
           style: {
             'color': '#1890ff',
+            'cursor': 'pointer',
           },
           on: {
             click: (event)=> {
-              proCostYSKdetail({taskno: 'F-2-05(G)2'}).then(res => {
-                console.log(res)
-                this.$refs.proCostDetail.show()
-                this.$refs.proCostDetail.title = '已收款明细'
-                this.$refs.proCostDetail.dataSource = res
-              })
+              // console.log(record, index, event, event.target.cellIndex)
+              console.log(this.columns[event.target.cellIndex - 1])
+              var clickColumn = this.columns[event.target.cellIndex - 1].dataIndex
+              var title = this.columns[event.target.cellIndex - 1].title
+              this.$refs.proCostDetail.taskno = record.taskno
+              this.$refs.proCostDetail.columnValue = clickColumn
+              this.$refs.proCostDetail.title = title + '明细'
+              this.$refs.proCostDetail.show()
             }
           }
         }

+ 703 - 0
src/views/module_kzks/projectCostList/modulesDetail/ContractDetailList.vue

@@ -0,0 +1,703 @@
+<template>
+  <a-card :bordered="false">
+    <!-- 查询区域 -->
+    <div class="table-page-search-wrapper">
+      <a-form layout="inline" @keyup.enter.native="searchQuery">
+        <a-row :gutter="24">
+        </a-row>
+      </a-form>
+    </div>
+    <!-- 查询区域-END -->
+
+    <!-- 操作按钮区域 -->
+    <div class="table-operator">
+      <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
+      <a-button type="primary" icon="download" @click="handleExportXls('合同信息存储表')">导出</a-button>
+      <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
+        <a-button type="primary" icon="import">导入</a-button>
+      </a-upload>
+      <!-- 高级查询区域 -->
+      <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>
+      <a-dropdown v-if="selectedRowKeys.length > 0">
+        <a-menu slot="overlay">
+          <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>
+        </a-menu>
+        <a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>
+      </a-dropdown>
+    </div>
+
+    <!-- table区域-begin -->
+    <div>
+      <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
+        <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
+        <a style="margin-left: 24px" @click="onClearSelected">清空</a>
+      </div>
+
+      <a-table
+        ref="table"
+        size="middle"
+        :scroll="{x:true}"
+        bordered
+        rowKey="id"
+        :columns="columns"
+        :dataSource="dataSource"
+        :pagination="ipagination"
+        :loading="loading"
+        :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
+        class="j-table-force-nowrap"
+        @change="handleTableChange">
+
+        <template slot="htmlSlot" slot-scope="text">
+          <div v-html="text"></div>
+        </template>
+        <template slot="imgSlot" slot-scope="text,record">
+          <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
+          <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
+        </template>
+        <template slot="fileSlot" slot-scope="text">
+          <span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
+          <a-button
+            v-else
+            :ghost="true"
+            type="primary"
+            icon="download"
+            size="small"
+            @click="downloadFile(text)">
+            下载
+          </a-button>
+        </template>
+
+        <span slot="action" slot-scope="text, record">
+          <a @click="handleEdit(record)">编辑</a>
+
+          <a-divider type="vertical" />
+          <a-dropdown>
+            <a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
+            <a-menu slot="overlay">
+              <a-menu-item>
+                <a @click="handleDetail(record)">详情</a>
+              </a-menu-item>
+              <a-menu-item>
+                <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
+                  <a>删除</a>
+                </a-popconfirm>
+              </a-menu-item>
+            </a-menu>
+          </a-dropdown>
+        </span>
+
+      </a-table>
+    </div>
+
+  </a-card>
+</template>
+
+<script>
+
+  import '@/assets/less/TableExpand.less'
+  import { mixinDevice } from '@/utils/mixin'
+  import { JeecgListMixin } from '@/mixins/JeecgListMixin'
+
+  export default {
+    name: 'ContractDetailList',
+    mixins:[JeecgListMixin, mixinDevice],
+    data () {
+      return {
+        description: '合同信息存储表管理页面',
+        // 表头
+        columns: [
+          {
+            title: '#',
+            dataIndex: '',
+            key:'rowIndex',
+            width:60,
+            align:"center",
+            customRender:function (t,r,index) {
+              return parseInt(index)+1;
+            }
+          },
+          {
+            title:'备注.',
+            align:"center",
+            dataIndex: 'bz'
+          },
+          {
+            title:'编号.',
+            align:"center",
+            dataIndex: 'bh'
+          },
+          {
+            title:'部门(合同付款).',
+            align:"center",
+            dataIndex: 'bm'
+          },
+          {
+            title:'产品型号.',
+            align:"center",
+            dataIndex: 'cpxh'
+          },
+          {
+            title:'待付款(元).',
+            align:"center",
+            dataIndex: 'dfk'
+          },
+          {
+            title:'待开票(元).',
+            align:"center",
+            dataIndex: 'dkp'
+          },
+          {
+            title:'到款(元).',
+            align:"center",
+            dataIndex: 'dk'
+          },
+          {
+            title:'到款日期/汇票到期日期.',
+            align:"center",
+            dataIndex: 'dkhpdqrq',
+            customRender:function (text) {
+              return !text?"":(text.length>10?text.substr(0,10):text)
+            }
+          },
+          {
+            title:'电话.',
+            align:"center",
+            dataIndex: 'dh'
+          },
+          {
+            title:'发票编号(sn).',
+            align:"center",
+            dataIndex: 'fpbh'
+          },
+          {
+            title:'发票编码.',
+            align:"center",
+            dataIndex: 'fpbm'
+          },
+          {
+            title:'发票开具额.',
+            align:"center",
+            dataIndex: 'fpkje'
+          },
+          {
+            title:'发票类型.',
+            align:"center",
+            dataIndex: 'fplx'
+          },
+          {
+            title:'发票内容.',
+            align:"center",
+            dataIndex: 'fpnr'
+          },
+          {
+            title:'付款方名称.',
+            align:"center",
+            dataIndex: 'fkfmc'
+          },
+          {
+            title:'更新时间.',
+            align:"center",
+            dataIndex: 'gxsj',
+            customRender:function (text) {
+              return !text?"":(text.length>10?text.substr(0,10):text)
+            }
+          },
+          {
+            title:'归档编号.',
+            align:"center",
+            dataIndex: 'gdbh'
+          },
+          {
+            title:'归档日期.',
+            align:"center",
+            dataIndex: 'gdrq',
+            customRender:function (text) {
+              return !text?"":(text.length>10?text.substr(0,10):text)
+            }
+          },
+          {
+            title:'合同编号.',
+            align:"center",
+            dataIndex: 'htbh'
+          },
+          {
+            title:'合同发票接收邮箱地址.',
+            align:"center",
+            dataIndex: 'htfpjsyxdz'
+          },
+          {
+            title:'合同分配额.',
+            align:"center",
+            dataIndex: 'htfpe'
+          },
+          {
+            title:'合同金额.',
+            align:"center",
+            dataIndex: 'htje'
+          },
+          {
+            title:'合同款状态.',
+            align:"center",
+            dataIndex: 'htkzt'
+          },
+          {
+            title:'合同类型.',
+            align:"center",
+            dataIndex: 'htlx'
+          },
+          {
+            title:'合同履行情况.',
+            align:"center",
+            dataIndex: 'htlxqk'
+          },
+          {
+            title:'合同密级.',
+            align:"center",
+            dataIndex: 'htmj'
+          },
+          {
+            title:'合同名称.',
+            align:"center",
+            dataIndex: 'htmc'
+          },
+          {
+            title:'合同起草人.',
+            align:"center",
+            dataIndex: 'htqcr'
+          },
+          {
+            title:'合同签订日期.',
+            align:"center",
+            dataIndex: 'htqdrq',
+            customRender:function (text) {
+              return !text?"":(text.length>10?text.substr(0,10):text)
+            }
+          },
+          {
+            title:'合同任务id.',
+            align:"center",
+            dataIndex: 'htrwid'
+          },
+          {
+            title:'合同数量.',
+            align:"center",
+            dataIndex: 'htsl'
+          },
+          {
+            title:'合同页数.',
+            align:"center",
+            dataIndex: 'htys'
+          },
+          {
+            title:'合同主管部门.',
+            align:"center",
+            dataIndex: 'htzgbm'
+          },
+          {
+            title:'合同状态.',
+            align:"center",
+            dataIndex: 'htzt'
+          },
+          {
+            title:'合同状态说明.',
+            align:"center",
+            dataIndex: 'htztsm'
+          },
+          {
+            title:'甲方(付款方).',
+            align:"center",
+            dataIndex: 'jf'
+          },
+          {
+            title:'甲方简称、用户简称.',
+            align:"center",
+            dataIndex: 'jfyhjc'
+          },
+          {
+            title:'甲方签约人.',
+            align:"center",
+            dataIndex: 'jfqyr'
+          },
+          {
+            title:'阶段.',
+            align:"center",
+            dataIndex: 'jd'
+          },
+          {
+            title:'金额(元)、收款总金额、开票金额.',
+            align:"center",
+            dataIndex: 'jeskzkp'
+          },
+          {
+            title:'开户行.',
+            align:"center",
+            dataIndex: 'khx'
+          },
+          {
+            title:'开票时间.',
+            align:"center",
+            dataIndex: 'kpsj',
+            customRender:function (text) {
+              return !text?"":(text.length>10?text.substr(0,10):text)
+            }
+          },
+          {
+            title:'开票状态.',
+            align:"center",
+            dataIndex: 'kpzt'
+          },
+          {
+            title:'客户id.',
+            align:"center",
+            dataIndex: 'khid'
+          },
+          {
+            title:'客户流程编号.',
+            align:"center",
+            dataIndex: 'khlcbh'
+          },
+          {
+            title:'联系人(对方).',
+            align:"center",
+            dataIndex: 'lxr'
+          },
+          {
+            title:'录入人、申请人.',
+            align:"center",
+            dataIndex: 'lrsqr'
+          },
+          {
+            title:'凭证号.',
+            align:"center",
+            dataIndex: 'pzh'
+          },
+          {
+            title:'起草日期、录入日期、申请日期.',
+            align:"center",
+            dataIndex: 'qclrsqrq',
+            customRender:function (text) {
+              return !text?"":(text.length>10?text.substr(0,10):text)
+            }
+          },
+          {
+            title:'签署日期.',
+            align:"center",
+            dataIndex: 'qsrq',
+            customRender:function (text) {
+              return !text?"":(text.length>10?text.substr(0,10):text)
+            }
+          },
+          {
+            title:'确认外协.',
+            align:"center",
+            dataIndex: 'qrwx'
+          },
+          {
+            title:'任务编号.',
+            align:"center",
+            dataIndex: 'rwbh'
+          },
+          {
+            title:'任务名称.',
+            align:"center",
+            dataIndex: 'rwmc'
+          },
+          {
+            title:'任务收款金额.',
+            align:"center",
+            dataIndex: 'rwskje'
+          },
+          {
+            title:'申请人部门.',
+            align:"center",
+            dataIndex: 'sqrbm'
+          },
+          {
+            title:'收款编号(sn).',
+            align:"center",
+            dataIndex: 'skbh'
+          },
+          {
+            title:'收款科目代码.',
+            align:"center",
+            dataIndex: 'skkmdm'
+          },
+          {
+            title:'收款类型.',
+            align:"center",
+            dataIndex: 'sklx'
+          },
+          {
+            title:'数据来源:10:合同管理,20:合同任务,30:任务合同,40:合同付款,50:合同发票,60:外协合同.',
+            align:"center",
+            dataIndex: 'sjly'
+          },
+          {
+            title:'数量(合同付款).',
+            align:"center",
+            dataIndex: 'sl'
+          },
+          {
+            title:'税号.',
+            align:"center",
+            dataIndex: 'sh'
+          },
+          {
+            title:'所属型号.',
+            align:"center",
+            dataIndex: 'ssxh'
+          },
+          {
+            title:'外协单号(sn).',
+            align:"center",
+            dataIndex: 'wxdh'
+          },
+          {
+            title:'外协合同编号.',
+            align:"center",
+            dataIndex: 'wxhtbh'
+          },
+          {
+            title:'外协类型.',
+            align:"center",
+            dataIndex: 'wxlx'
+          },
+          {
+            title:'项目密级.',
+            align:"center",
+            dataIndex: 'xmmj'
+          },
+          {
+            title:'发票需求时间.',
+            align:"center",
+            dataIndex: 'fpxqsj',
+            customRender:function (text) {
+              return !text?"":(text.length>10?text.substr(0,10):text)
+            }
+          },
+          {
+            title:'序号.',
+            align:"center",
+            dataIndex: 'xh'
+          },
+          {
+            title:'研制部门.',
+            align:"center",
+            dataIndex: 'yzbm'
+          },
+          {
+            title:'业务员.',
+            align:"center",
+            dataIndex: 'ywy'
+          },
+          {
+            title:'业务员部门.',
+            align:"center",
+            dataIndex: 'ywybm'
+          },
+          {
+            title:'乙方(收款方).',
+            align:"center",
+            dataIndex: 'yf'
+          },
+          {
+            title:'乙方签约人.',
+            align:"center",
+            dataIndex: 'yfqyr'
+          },
+          {
+            title:'已开票(元).',
+            align:"center",
+            dataIndex: 'ykp'
+          },
+          {
+            title:'已收款.',
+            align:"center",
+            dataIndex: 'ysk'
+          },
+          {
+            title:'用户id.',
+            align:"center",
+            dataIndex: 'yhid'
+          },
+          {
+            title:'用户简称.',
+            align:"center",
+            dataIndex: 'yhjc'
+          },
+          {
+            title:'用户名称.',
+            align:"center",
+            dataIndex: 'yhmc'
+          },
+          {
+            title:'账号.',
+            align:"center",
+            dataIndex: 'zh'
+          },
+          {
+            title:'执行状态(status).',
+            align:"center",
+            dataIndex: 'zxzt'
+          },
+          {
+            title:'主管设计师.',
+            align:"center",
+            dataIndex: 'zgsjs'
+          },
+          {
+            title:'抓总部门.',
+            align:"center",
+            dataIndex: 'zzbm'
+          },
+          {
+            title:'自筹(元).',
+            align:"center",
+            dataIndex: 'zc'
+          },
+          {
+            title:'类型(无用).',
+            align:"center",
+            dataIndex: 'pici'
+          },
+          {
+            title:'作废发票申请时间',
+            align:"center",
+            dataIndex: 'sqsj',
+            customRender:function (text) {
+              return !text?"":(text.length>10?text.substr(0,10):text)
+            }
+          },
+          {
+            title:'作废单号',
+            align:"center",
+            dataIndex: 'zfdh'
+          },
+          {
+            title: '操作',
+            dataIndex: 'action',
+            align:"center",
+            fixed:"right",
+            width:147,
+            scopedSlots: { customRender: 'action' }
+          }
+        ],
+        url: {
+          list: "/xmcbDetail/comContractInfoExchange/list",
+          delete: "/xmcbDetail/comContractInfoExchange/delete",
+          deleteBatch: "/xmcbDetail/comContractInfoExchange/deleteBatch",
+          exportXlsUrl: "/xmcbDetail/comContractInfoExchange/exportXls",
+          importExcelUrl: "xmcbDetail/comContractInfoExchange/importExcel",
+          
+        },
+        dictOptions:{},
+        superFieldList:[],
+      }
+    },
+    created() {
+    this.getSuperFieldList();
+    },
+    computed: {
+      importExcelUrl: function(){
+        return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
+      },
+    },
+    methods: {
+      initDictConfig(){
+      },
+      getSuperFieldList(){
+        let fieldList=[];
+        fieldList.push({type:'string',value:'bz',text:'备注.',dictCode:''})
+        fieldList.push({type:'string',value:'bh',text:'编号.',dictCode:''})
+        fieldList.push({type:'string',value:'bm',text:'部门(合同付款).',dictCode:''})
+        fieldList.push({type:'string',value:'cpxh',text:'产品型号.',dictCode:''})
+        fieldList.push({type:'BigDecimal',value:'dfk',text:'待付款(元).',dictCode:''})
+        fieldList.push({type:'BigDecimal',value:'dkp',text:'待开票(元).',dictCode:''})
+        fieldList.push({type:'BigDecimal',value:'dk',text:'到款(元).',dictCode:''})
+        fieldList.push({type:'date',value:'dkhpdqrq',text:'到款日期/汇票到期日期.'})
+        fieldList.push({type:'string',value:'dh',text:'电话.',dictCode:''})
+        fieldList.push({type:'string',value:'fpbh',text:'发票编号(sn).',dictCode:''})
+        fieldList.push({type:'string',value:'fpbm',text:'发票编码.',dictCode:''})
+        fieldList.push({type:'BigDecimal',value:'fpkje',text:'发票开具额.',dictCode:''})
+        fieldList.push({type:'string',value:'fplx',text:'发票类型.',dictCode:''})
+        fieldList.push({type:'string',value:'fpnr',text:'发票内容.',dictCode:''})
+        fieldList.push({type:'string',value:'fkfmc',text:'付款方名称.',dictCode:''})
+        fieldList.push({type:'date',value:'gxsj',text:'更新时间.'})
+        fieldList.push({type:'string',value:'gdbh',text:'归档编号.',dictCode:''})
+        fieldList.push({type:'date',value:'gdrq',text:'归档日期.'})
+        fieldList.push({type:'string',value:'htbh',text:'合同编号.',dictCode:''})
+        fieldList.push({type:'string',value:'htfpjsyxdz',text:'合同发票接收邮箱地址.',dictCode:''})
+        fieldList.push({type:'BigDecimal',value:'htfpe',text:'合同分配额.',dictCode:''})
+        fieldList.push({type:'BigDecimal',value:'htje',text:'合同金额.',dictCode:''})
+        fieldList.push({type:'string',value:'htkzt',text:'合同款状态.',dictCode:''})
+        fieldList.push({type:'string',value:'htlx',text:'合同类型.',dictCode:''})
+        fieldList.push({type:'string',value:'htlxqk',text:'合同履行情况.',dictCode:''})
+        fieldList.push({type:'string',value:'htmj',text:'合同密级.',dictCode:''})
+        fieldList.push({type:'string',value:'htmc',text:'合同名称.',dictCode:''})
+        fieldList.push({type:'string',value:'htqcr',text:'合同起草人.',dictCode:''})
+        fieldList.push({type:'date',value:'htqdrq',text:'合同签订日期.'})
+        fieldList.push({type:'string',value:'htrwid',text:'合同任务id.',dictCode:''})
+        fieldList.push({type:'int',value:'htsl',text:'合同数量.',dictCode:''})
+        fieldList.push({type:'int',value:'htys',text:'合同页数.',dictCode:''})
+        fieldList.push({type:'string',value:'htzgbm',text:'合同主管部门.',dictCode:''})
+        fieldList.push({type:'string',value:'htzt',text:'合同状态.',dictCode:''})
+        fieldList.push({type:'string',value:'htztsm',text:'合同状态说明.',dictCode:''})
+        fieldList.push({type:'string',value:'jf',text:'甲方(付款方).',dictCode:''})
+        fieldList.push({type:'string',value:'jfyhjc',text:'甲方简称、用户简称.',dictCode:''})
+        fieldList.push({type:'string',value:'jfqyr',text:'甲方签约人.',dictCode:''})
+        fieldList.push({type:'string',value:'jd',text:'阶段.',dictCode:''})
+        fieldList.push({type:'BigDecimal',value:'jeskzkp',text:'金额(元)、收款总金额、开票金额.',dictCode:''})
+        fieldList.push({type:'string',value:'khx',text:'开户行.',dictCode:''})
+        fieldList.push({type:'date',value:'kpsj',text:'开票时间.'})
+        fieldList.push({type:'string',value:'kpzt',text:'开票状态.',dictCode:''})
+        fieldList.push({type:'string',value:'khid',text:'客户id.',dictCode:''})
+        fieldList.push({type:'string',value:'khlcbh',text:'客户流程编号.',dictCode:''})
+        fieldList.push({type:'string',value:'lxr',text:'联系人(对方).',dictCode:''})
+        fieldList.push({type:'string',value:'lrsqr',text:'录入人、申请人.',dictCode:''})
+        fieldList.push({type:'string',value:'pzh',text:'凭证号.',dictCode:''})
+        fieldList.push({type:'date',value:'qclrsqrq',text:'起草日期、录入日期、申请日期.'})
+        fieldList.push({type:'date',value:'qsrq',text:'签署日期.'})
+        fieldList.push({type:'string',value:'qrwx',text:'确认外协.',dictCode:''})
+        fieldList.push({type:'string',value:'rwbh',text:'任务编号.',dictCode:''})
+        fieldList.push({type:'string',value:'rwmc',text:'任务名称.',dictCode:''})
+        fieldList.push({type:'BigDecimal',value:'rwskje',text:'任务收款金额.',dictCode:''})
+        fieldList.push({type:'string',value:'sqrbm',text:'申请人部门.',dictCode:''})
+        fieldList.push({type:'string',value:'skbh',text:'收款编号(sn).',dictCode:''})
+        fieldList.push({type:'string',value:'skkmdm',text:'收款科目代码.',dictCode:''})
+        fieldList.push({type:'string',value:'sklx',text:'收款类型.',dictCode:''})
+        fieldList.push({type:'int',value:'sjly',text:'数据来源:10:合同管理,20:合同任务,30:任务合同,40:合同付款,50:合同发票,60:外协合同.',dictCode:''})
+        fieldList.push({type:'int',value:'sl',text:'数量(合同付款).',dictCode:''})
+        fieldList.push({type:'string',value:'sh',text:'税号.',dictCode:''})
+        fieldList.push({type:'string',value:'ssxh',text:'所属型号.',dictCode:''})
+        fieldList.push({type:'string',value:'wxdh',text:'外协单号(sn).',dictCode:''})
+        fieldList.push({type:'string',value:'wxhtbh',text:'外协合同编号.',dictCode:''})
+        fieldList.push({type:'string',value:'wxlx',text:'外协类型.',dictCode:''})
+        fieldList.push({type:'string',value:'xmmj',text:'项目密级.',dictCode:''})
+        fieldList.push({type:'date',value:'fpxqsj',text:'发票需求时间.'})
+        fieldList.push({type:'string',value:'xh',text:'序号.',dictCode:''})
+        fieldList.push({type:'string',value:'yzbm',text:'研制部门.',dictCode:''})
+        fieldList.push({type:'string',value:'ywy',text:'业务员.',dictCode:''})
+        fieldList.push({type:'string',value:'ywybm',text:'业务员部门.',dictCode:''})
+        fieldList.push({type:'string',value:'yf',text:'乙方(收款方).',dictCode:''})
+        fieldList.push({type:'string',value:'yfqyr',text:'乙方签约人.',dictCode:''})
+        fieldList.push({type:'BigDecimal',value:'ykp',text:'已开票(元).',dictCode:''})
+        fieldList.push({type:'BigDecimal',value:'ysk',text:'已收款.',dictCode:''})
+        fieldList.push({type:'string',value:'yhid',text:'用户id.',dictCode:''})
+        fieldList.push({type:'string',value:'yhjc',text:'用户简称.',dictCode:''})
+        fieldList.push({type:'string',value:'yhmc',text:'用户名称.',dictCode:''})
+        fieldList.push({type:'string',value:'zh',text:'账号.',dictCode:''})
+        fieldList.push({type:'string',value:'zxzt',text:'执行状态(status).',dictCode:''})
+        fieldList.push({type:'string',value:'zgsjs',text:'主管设计师.',dictCode:''})
+        fieldList.push({type:'string',value:'zzbm',text:'抓总部门.',dictCode:''})
+        fieldList.push({type:'BigDecimal',value:'zc',text:'自筹(元).',dictCode:''})
+        fieldList.push({type:'string',value:'pici',text:'类型(无用).',dictCode:''})
+        fieldList.push({type:'date',value:'sqsj',text:'作废发票申请时间'})
+        fieldList.push({type:'string',value:'zfdh',text:'作废单号',dictCode:''})
+        this.superFieldList = fieldList
+      }
+    }
+  }
+</script>
+<style scoped>
+  @import '~@assets/less/common.less';
+</style>

+ 415 - 0
src/views/module_kzks/projectCostList/modulesDetail/MesDetailList.vue

@@ -0,0 +1,415 @@
+<template>
+  <a-card :bordered="false">
+    <!-- 查询区域 -->
+    <div class="table-page-search-wrapper">
+      <a-form layout="inline" @keyup.enter.native="searchQuery">
+        <a-row :gutter="24">
+        </a-row>
+      </a-form>
+    </div>
+    <!-- 查询区域-END -->
+
+    <!-- 操作按钮区域 -->
+    <div class="table-operator">
+      <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
+      <a-button type="primary" icon="download" @click="handleExportXls('mes装机信息卡')">导出</a-button>
+      <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
+        <a-button type="primary" icon="import">导入</a-button>
+      </a-upload>
+      <!-- 高级查询区域 -->
+      <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>
+      <a-dropdown v-if="selectedRowKeys.length > 0">
+        <a-menu slot="overlay">
+          <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>
+        </a-menu>
+        <a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>
+      </a-dropdown>
+    </div>
+
+    <!-- table区域-begin -->
+    <div>
+      <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
+        <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
+        <a style="margin-left: 24px" @click="onClearSelected">清空</a>
+      </div>
+
+      <a-table
+        ref="table"
+        size="middle"
+        :scroll="{x:true}"
+        bordered
+        rowKey="id"
+        :columns="columns"
+        :dataSource="dataSource"
+        :pagination="ipagination"
+        :loading="loading"
+        :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
+        class="j-table-force-nowrap"
+        @change="handleTableChange">
+
+        <template slot="htmlSlot" slot-scope="text">
+          <div v-html="text"></div>
+        </template>
+        <template slot="imgSlot" slot-scope="text,record">
+          <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
+          <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
+        </template>
+        <template slot="fileSlot" slot-scope="text">
+          <span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
+          <a-button
+            v-else
+            :ghost="true"
+            type="primary"
+            icon="download"
+            size="small"
+            @click="downloadFile(text)">
+            下载
+          </a-button>
+        </template>
+
+        <span slot="action" slot-scope="text, record">
+          <a @click="handleEdit(record)">编辑</a>
+
+          <a-divider type="vertical" />
+          <a-dropdown>
+            <a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
+            <a-menu slot="overlay">
+              <a-menu-item>
+                <a @click="handleDetail(record)">详情</a>
+              </a-menu-item>
+              <a-menu-item>
+                <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
+                  <a>删除</a>
+                </a-popconfirm>
+              </a-menu-item>
+            </a-menu>
+          </a-dropdown>
+        </span>
+
+      </a-table>
+    </div>
+
+  </a-card>
+</template>
+
+<script>
+
+  import '@/assets/less/TableExpand.less'
+  import { mixinDevice } from '@/utils/mixin'
+  import { JeecgListMixin } from '@/mixins/JeecgListMixin'
+
+  export default {
+    name: 'MesInfoList',
+    mixins:[JeecgListMixin, mixinDevice],
+    data () {
+      return {
+        description: 'mes装机信息卡管理页面',
+        // 表头
+        columns: [
+          {
+            title: '#',
+            dataIndex: '',
+            key:'rowIndex',
+            width:60,
+            align:"center",
+            customRender:function (t,r,index) {
+              return parseInt(index)+1;
+            }
+          },
+          {
+            title:'keyId',
+            align:"center",
+            dataIndex: 'keyId'
+          },
+          {
+            title:'任务号',
+            align:"center",
+            dataIndex: 'taskno'
+          },
+          {
+            title:'工单号',
+            align:"center",
+            dataIndex: 'wo'
+          },
+          {
+            title:'制令单号',
+            align:"center",
+            dataIndex: 'mo'
+          },
+          {
+            title:'生产条码',
+            align:"center",
+            dataIndex: 'serialNumber'
+          },
+          {
+            title:'出所编号',
+            align:"center",
+            dataIndex: 'outNo'
+          },
+          {
+            title:'产品代号',
+            align:"center",
+            dataIndex: 'productNumber'
+          },
+          {
+            title:'物料编码',
+            align:"center",
+            dataIndex: 'pnCode'
+          },
+          {
+            title:'物料名称',
+            align:"center",
+            dataIndex: 'pnName'
+          },
+          {
+            title:'批次',
+            align:"center",
+            dataIndex: 'batchNo'
+          },
+          {
+            title:'元器件编号',
+            align:"center",
+            dataIndex: 'componentSn'
+          },
+          {
+            title:'供应商',
+            align:"center",
+            dataIndex: 'supplier'
+          },
+          {
+            title:'质量等级',
+            align:"center",
+            dataIndex: 'qualitygrate'
+          },
+          {
+            title:'位号',
+            align:"center",
+            dataIndex: 'pcbItem'
+          },
+          {
+            title:'数量',
+            align:"center",
+            dataIndex: 'qty'
+          },
+          {
+            title:'有效期',
+            align:"center",
+            dataIndex: 'validDate',
+            customRender:function (text) {
+              return !text?"":(text.length>10?text.substr(0,10):text)
+            }
+          },
+          {
+            title:'筛选情况',
+            align:"center",
+            dataIndex: 'filter'
+          },
+          {
+            title:'备注',
+            align:"center",
+            dataIndex: 'remarks'
+          },
+          {
+            title:'更新人',
+            align:"center",
+            dataIndex: 'updator'
+          },
+          {
+            title:'更新时间',
+            align:"center",
+            dataIndex: 'updateDate',
+            customRender:function (text) {
+              return !text?"":(text.length>10?text.substr(0,10):text)
+            }
+          },
+          {
+            title:'位号2',
+            align:"center",
+            dataIndex: 'pcbItem2'
+          },
+          {
+            title:'型号规格',
+            align:"center",
+            dataIndex: 'pnSpec'
+          },
+          {
+            title:'物料条码',
+            align:"center",
+            dataIndex: 'iqcSn'
+          },
+          {
+            title:'操作者',
+            align:"center",
+            dataIndex: 'workMan'
+          },
+          {
+            title:'操作工序',
+            align:"center",
+            dataIndex: 'workLocat'
+          },
+          {
+            title:'检验者',
+            align:"center",
+            dataIndex: 'checkMan'
+          },
+          {
+            title:'j检验时间',
+            align:"center",
+            dataIndex: 'checkDate',
+            customRender:function (text) {
+              return !text?"":(text.length>10?text.substr(0,10):text)
+            }
+          },
+          {
+            title:'原始位号',
+            align:"center",
+            dataIndex: 'pcbItemS'
+          },
+          {
+            title:'原始数量',
+            align:"center",
+            dataIndex: 'qtyS'
+          },
+          {
+            title:'拆除位号',
+            align:"center",
+            dataIndex: 'pcbItemR'
+          },
+          {
+            title:'拆除数量',
+            align:"center",
+            dataIndex: 'qtyR'
+          },
+          {
+            title:'呈现位号',
+            align:"center",
+            dataIndex: 'pcbItemShow'
+          },
+          {
+            title:'PID',
+            align:"center",
+            dataIndex: 'pid'
+          },
+          {
+            title:'dpano',
+            align:"center",
+            dataIndex: 'dpano'
+          },
+          {
+            title:'technicalstandard',
+            align:"center",
+            dataIndex: 'technicalstandard'
+          },
+          {
+            title:'行号',
+            align:"center",
+            dataIndex: 'iqcIndex'
+          },
+          {
+            title:'出库单号',
+            align:"center",
+            dataIndex: 'outStockNo'
+          },
+          {
+            title:'印制板号',
+            align:"center",
+            dataIndex: 'boardNo'
+          },
+          {
+            title:'入库批次号',
+            align:"center",
+            dataIndex: 'inbatchno'
+          },
+          {
+            title:'采购单价',
+            align:"center",
+            dataIndex: 'purchaseprice'
+          },
+          {
+            title:'内部单价',
+            align:"center",
+            dataIndex: 'internalprice'
+          },
+          {
+            title: '操作',
+            dataIndex: 'action',
+            align:"center",
+            fixed:"right",
+            width:147,
+            scopedSlots: { customRender: 'action' }
+          }
+        ],
+        url: {
+          list: "/mesInfo/mesInfo/list",
+          delete: "/mesInfo/mesInfo/delete",
+          deleteBatch: "/mesInfo/mesInfo/deleteBatch",
+          exportXlsUrl: "/mesInfo/mesInfo/exportXls",
+          importExcelUrl: "mesInfo/mesInfo/importExcel",
+          
+        },
+        dictOptions:{},
+        superFieldList:[],
+      }
+    },
+    created() {
+    this.getSuperFieldList();
+    },
+    computed: {
+      importExcelUrl: function(){
+        return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
+      },
+    },
+    methods: {
+      initDictConfig(){
+      },
+      getSuperFieldList(){
+        let fieldList=[];
+        fieldList.push({type:'int',value:'keyId',text:'keyId'})
+        fieldList.push({type:'string',value:'taskno',text:'任务号'})
+        fieldList.push({type:'string',value:'wo',text:'工单号'})
+        fieldList.push({type:'string',value:'mo',text:'制令单号'})
+        fieldList.push({type:'string',value:'serialNumber',text:'生产条码'})
+        fieldList.push({type:'string',value:'outNo',text:'出所编号'})
+        fieldList.push({type:'string',value:'productNumber',text:'产品代号'})
+        fieldList.push({type:'string',value:'pnCode',text:'物料编码'})
+        fieldList.push({type:'string',value:'pnName',text:'物料名称'})
+        fieldList.push({type:'string',value:'batchNo',text:'批次'})
+        fieldList.push({type:'string',value:'componentSn',text:'元器件编号'})
+        fieldList.push({type:'string',value:'supplier',text:'供应商'})
+        fieldList.push({type:'string',value:'qualitygrate',text:'质量等级'})
+        fieldList.push({type:'string',value:'pcbItem',text:'位号'})
+        fieldList.push({type:'number',value:'qty',text:'数量'})
+        fieldList.push({type:'date',value:'validDate',text:'有效期'})
+        fieldList.push({type:'string',value:'filter',text:'筛选情况'})
+        fieldList.push({type:'string',value:'remarks',text:'备注'})
+        fieldList.push({type:'string',value:'updator',text:'更新人'})
+        fieldList.push({type:'date',value:'updateDate',text:'更新时间'})
+        fieldList.push({type:'string',value:'pcbItem2',text:'位号2'})
+        fieldList.push({type:'string',value:'pnSpec',text:'型号规格'})
+        fieldList.push({type:'string',value:'iqcSn',text:'物料条码'})
+        fieldList.push({type:'string',value:'workMan',text:'操作者'})
+        fieldList.push({type:'string',value:'workLocat',text:'操作工序'})
+        fieldList.push({type:'string',value:'checkMan',text:'检验者'})
+        fieldList.push({type:'date',value:'checkDate',text:'j检验时间'})
+        fieldList.push({type:'string',value:'pcbItemS',text:'原始位号'})
+        fieldList.push({type:'number',value:'qtyS',text:'原始数量'})
+        fieldList.push({type:'string',value:'pcbItemR',text:'拆除位号'})
+        fieldList.push({type:'number',value:'qtyR',text:'拆除数量'})
+        fieldList.push({type:'string',value:'pcbItemShow',text:'呈现位号'})
+        fieldList.push({type:'string',value:'pid',text:'PID'})
+        fieldList.push({type:'string',value:'dpano',text:'dpano'})
+        fieldList.push({type:'string',value:'technicalstandard',text:'technicalstandard'})
+        fieldList.push({type:'string',value:'iqcIndex',text:'行号'})
+        fieldList.push({type:'string',value:'outStockNo',text:'出库单号'})
+        fieldList.push({type:'string',value:'boardNo',text:'印制板号'})
+        fieldList.push({type:'string',value:'inbatchno',text:'入库批次号'})
+        fieldList.push({type:'number',value:'purchaseprice',text:'采购单价'})
+        fieldList.push({type:'number',value:'internalprice',text:'内部单价'})
+        this.superFieldList = fieldList
+      }
+    }
+  }
+</script>
+<style scoped>
+  @import '~@assets/less/common.less';
+</style>

+ 268 - 0
src/views/module_kzks/projectCostList/modulesDetail/ProjectChbSwfList.vue

@@ -0,0 +1,268 @@
+<template>
+  <a-card :bordered="false">
+    <!-- 查询区域 -->
+    <div class="table-page-search-wrapper">
+      <a-form layout="inline" @keyup.enter.native="searchQuery">
+        <a-row :gutter="24">
+        </a-row>
+      </a-form>
+    </div>
+    <!-- 查询区域-END -->
+
+    <!-- 操作按钮区域 -->
+    <div class="table-operator">
+      <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
+      <a-button type="primary" icon="download" @click="handleExportXls('事务费')">导出</a-button>
+      <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
+        <a-button type="primary" icon="import">导入</a-button>
+      </a-upload>
+      <!-- 高级查询区域 -->
+      <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>
+      <a-dropdown v-if="selectedRowKeys.length > 0">
+        <a-menu slot="overlay">
+          <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>
+        </a-menu>
+        <a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>
+      </a-dropdown>
+    </div>
+
+    <!-- table区域-begin -->
+    <div>
+      <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
+        <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
+        <a style="margin-left: 24px" @click="onClearSelected">清空</a>
+      </div>
+
+      <a-table
+        ref="table"
+        size="middle"
+        :scroll="{x:true}"
+        bordered
+        rowKey="id"
+        :columns="columns"
+        :dataSource="dataSource"
+        :pagination="ipagination"
+        :loading="loading"
+        :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
+        class="j-table-force-nowrap"
+        @change="handleTableChange">
+
+        <template slot="htmlSlot" slot-scope="text">
+          <div v-html="text"></div>
+        </template>
+        <template slot="imgSlot" slot-scope="text,record">
+          <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
+          <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
+        </template>
+        <template slot="fileSlot" slot-scope="text">
+          <span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
+          <a-button
+            v-else
+            :ghost="true"
+            type="primary"
+            icon="download"
+            size="small"
+            @click="downloadFile(text)">
+            下载
+          </a-button>
+        </template>
+
+        <span slot="action" slot-scope="text, record">
+          <a @click="handleEdit(record)">编辑</a>
+
+          <a-divider type="vertical" />
+          <a-dropdown>
+            <a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
+            <a-menu slot="overlay">
+              <a-menu-item>
+                <a @click="handleDetail(record)">详情</a>
+              </a-menu-item>
+              <a-menu-item>
+                <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
+                  <a>删除</a>
+                </a-popconfirm>
+              </a-menu-item>
+            </a-menu>
+          </a-dropdown>
+        </span>
+
+      </a-table>
+    </div>
+
+  </a-card>
+</template>
+
+<script>
+
+  import '@/assets/less/TableExpand.less'
+  import { mixinDevice } from '@/utils/mixin'
+  import { JeecgListMixin } from '@/mixins/JeecgListMixin'
+
+  export default {
+    name: 'ProjectChbSwfList',
+    mixins:[JeecgListMixin, mixinDevice],
+    data () {
+      return {
+        description: '事务费管理页面',
+        // 表头
+        columns: [
+          {
+            title: '#',
+            dataIndex: '',
+            key:'rowIndex',
+            width:60,
+            align:"center",
+            customRender:function (t,r,index) {
+              return parseInt(index)+1;
+            }
+          },
+          {
+            title:'年度',
+            align:"center",
+            dataIndex: 'nd'
+          },
+          {
+            title:'凭证日期',
+            align:"center",
+            dataIndex: 'pzrq'
+          },
+          {
+            title:'凭证号',
+            align:"center",
+            dataIndex: 'pzh'
+          },
+          {
+            title:'摘要',
+            align:"center",
+            dataIndex: 'zy'
+          },
+          {
+            title:'科目编号',
+            align:"center",
+            dataIndex: 'kmbh'
+          },
+          {
+            title:'科目名称',
+            align:"center",
+            dataIndex: 'km'
+          },
+          {
+            title:'方向',
+            align:"center",
+            dataIndex: 'fx'
+          },
+          {
+            title:'金额',
+            align:"center",
+            dataIndex: 'je'
+          },
+          {
+            title:'部门',
+            align:"center",
+            dataIndex: 'bm'
+          },
+          {
+            title:'往来单位',
+            align:"center",
+            dataIndex: 'wldw'
+          },
+          {
+            title:'辅助金额',
+            align:"center",
+            dataIndex: 'fzje'
+          },
+          {
+            title:'制单人',
+            align:"center",
+            dataIndex: 'zdr'
+          },
+          {
+            title:'会计期间',
+            align:"center",
+            dataIndex: 'kjqj'
+          },
+          {
+            title:'凭证内码',
+            align:"center",
+            dataIndex: 'pznm'
+          },
+          {
+            title:'项目编号',
+            align:"center",
+            dataIndex: 'xmbh'
+          },
+          {
+            title:'项目名称',
+            align:"center",
+            dataIndex: 'xmmc'
+          },
+          {
+            title:'项目类别',
+            align:"center",
+            dataIndex: 'xmlb'
+          },
+          {
+            title:'任务号',
+            align:"center",
+            dataIndex: 'taskno'
+          },
+          {
+            title: '操作',
+            dataIndex: 'action',
+            align:"center",
+            fixed:"right",
+            width:147,
+            scopedSlots: { customRender: 'action' }
+          }
+        ],
+        url: {
+          list: "/projectChbSwf/projectChbSwf/list",
+          delete: "/projectChbSwf/projectChbSwf/delete",
+          deleteBatch: "/projectChbSwf/projectChbSwf/deleteBatch",
+          exportXlsUrl: "/projectChbSwf/projectChbSwf/exportXls",
+          importExcelUrl: "projectChbSwf/projectChbSwf/importExcel",
+          
+        },
+        dictOptions:{},
+        superFieldList:[],
+      }
+    },
+    created() {
+    this.getSuperFieldList();
+    },
+    computed: {
+      importExcelUrl: function(){
+        return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
+      },
+    },
+    methods: {
+      initDictConfig(){
+      },
+      getSuperFieldList(){
+        let fieldList=[];
+        fieldList.push({type:'string',value:'nd',text:'年度',dictCode:''})
+        fieldList.push({type:'string',value:'pzrq',text:'凭证日期',dictCode:''})
+        fieldList.push({type:'string',value:'pzh',text:'凭证号',dictCode:''})
+        fieldList.push({type:'string',value:'zy',text:'摘要',dictCode:''})
+        fieldList.push({type:'string',value:'kmbh',text:'科目编号',dictCode:''})
+        fieldList.push({type:'string',value:'km',text:'科目名称',dictCode:''})
+        fieldList.push({type:'string',value:'fx',text:'方向',dictCode:''})
+        fieldList.push({type:'string',value:'je',text:'金额',dictCode:''})
+        fieldList.push({type:'string',value:'bm',text:'部门',dictCode:''})
+        fieldList.push({type:'string',value:'wldw',text:'往来单位',dictCode:''})
+        fieldList.push({type:'string',value:'fzje',text:'辅助金额',dictCode:''})
+        fieldList.push({type:'string',value:'zdr',text:'制单人',dictCode:''})
+        fieldList.push({type:'string',value:'kjqj',text:'会计期间',dictCode:''})
+        fieldList.push({type:'string',value:'pznm',text:'凭证内码',dictCode:''})
+        fieldList.push({type:'string',value:'xmbh',text:'项目编号',dictCode:''})
+        fieldList.push({type:'string',value:'xmmc',text:'项目名称',dictCode:''})
+        fieldList.push({type:'string',value:'xmlb',text:'项目类别',dictCode:''})
+        fieldList.push({type:'string',value:'taskno',text:'任务号',dictCode:''})
+        this.superFieldList = fieldList
+      }
+    }
+  }
+</script>
+<style scoped>
+  @import '~@assets/less/common.less';
+</style>

+ 269 - 0
src/views/module_kzks/projectCostList/modulesDetail/ProjectChbWxfList.vue

@@ -0,0 +1,269 @@
+<template>
+  <a-card :bordered="false">
+    <!-- 查询区域 -->
+    <div class="table-page-search-wrapper">
+      <a-form layout="inline" @keyup.enter.native="searchQuery">
+        <a-row :gutter="24">
+        </a-row>
+      </a-form>
+    </div>
+    <!-- 查询区域-END -->
+
+    <!-- 操作按钮区域 -->
+    <!-- <div class="table-operator">
+      <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
+      <a-button type="primary" icon="download" @click="handleExportXls('外协费')">导出</a-button>
+      <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
+        <a-button type="primary" icon="import">导入</a-button>
+      </a-upload> -->
+      <!-- 高级查询区域 -->
+      <!-- <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>
+      <a-dropdown v-if="selectedRowKeys.length > 0">
+        <a-menu slot="overlay">
+          <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>
+        </a-menu>
+        <a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>
+      </a-dropdown>
+    </div> -->
+
+    <!-- table区域-begin -->
+    <div>
+      <!-- <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
+        <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
+        <a style="margin-left: 24px" @click="onClearSelected">清空</a>
+      </div> -->
+
+      <a-table
+        ref="table"
+        size="middle"
+        :scroll="{x:true}"
+        bordered
+        rowKey="id"
+        :columns="columns"
+        :dataSource="dataSource"
+        :pagination="ipagination"
+        :loading="loading"
+        :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
+        class="j-table-force-nowrap"
+        @change="handleTableChange">
+
+        <template slot="htmlSlot" slot-scope="text">
+          <div v-html="text"></div>
+        </template>
+        <template slot="imgSlot" slot-scope="text,record">
+          <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
+          <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
+        </template>
+        <template slot="fileSlot" slot-scope="text">
+          <span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
+          <a-button
+            v-else
+            :ghost="true"
+            type="primary"
+            icon="download"
+            size="small"
+            @click="downloadFile(text)">
+            下载
+          </a-button>
+        </template>
+
+        <!-- <span slot="action" slot-scope="text, record">
+          <a @click="handleEdit(record)">编辑</a>
+
+          <a-divider type="vertical" />
+          <a-dropdown>
+            <a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
+            <a-menu slot="overlay">
+              <a-menu-item>
+                <a @click="handleDetail(record)">详情</a>
+              </a-menu-item>
+              <a-menu-item>
+                <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
+                  <a>删除</a>
+                </a-popconfirm>
+              </a-menu-item>
+            </a-menu>
+          </a-dropdown>
+        </span> -->
+
+      </a-table>
+    </div>
+
+  </a-card>
+</template>
+
+<script>
+
+  import '@/assets/less/TableExpand.less'
+  import { mixinDevice } from '@/utils/mixin'
+  import { JeecgListMixin } from '@/mixins/JeecgListMixin'
+
+  export default {
+    name: 'ProjectChbWxfList',
+    mixins:[JeecgListMixin, mixinDevice],
+    data () {
+      return {
+        description: '外协费管理页面',
+        // 表头
+        columns: [
+          {
+            title: '#',
+            dataIndex: '',
+            key:'rowIndex',
+            width:60,
+            align:"center",
+            customRender:function (t,r,index) {
+              return parseInt(index)+1;
+            }
+          },
+          {
+            title:'年度',
+            align:"center",
+            dataIndex: 'nd'
+          },
+          {
+            title:'凭证日期',
+            align:"center",
+            dataIndex: 'pzrq'
+          },
+          {
+            title:'凭证号',
+            align:"center",
+            dataIndex: 'pzh'
+          },
+          {
+            title:'摘要',
+            align:"center",
+            dataIndex: 'zy'
+          },
+          {
+            title:'科目编号',
+            align:"center",
+            dataIndex: 'kmbh'
+          },
+          {
+            title:'科目名称',
+            align:"center",
+            dataIndex: 'km'
+          },
+          {
+            title:'方向',
+            align:"center",
+            dataIndex: 'fx'
+          },
+          {
+            title:'金额',
+            align:"center",
+            dataIndex: 'je'
+          },
+          {
+            title:'部门',
+            align:"center",
+            dataIndex: 'bm'
+          },
+          {
+            title:'往来单位',
+            align:"center",
+            dataIndex: 'wldw'
+          },
+          {
+            title:'辅助金额',
+            align:"center",
+            dataIndex: 'fzje'
+          },
+          {
+            title:'制单人',
+            align:"center",
+            dataIndex: 'zdr'
+          },
+          {
+            title:'会计期间',
+            align:"center",
+            dataIndex: 'kjqj'
+          },
+          {
+            title:'凭证内码',
+            align:"center",
+            dataIndex: 'pznm'
+          },
+          {
+            title:'项目编号',
+            align:"center",
+            dataIndex: 'xmbh'
+          },
+          {
+            title:'项目名称',
+            align:"center",
+            dataIndex: 'xmmc'
+          },
+          {
+            title:'项目类别',
+            align:"center",
+            dataIndex: 'xmlb'
+          },
+          {
+            title:'任务号',
+            align:"center",
+            dataIndex: 'taskno'
+          },
+          // {
+          //   title: '操作',
+          //   dataIndex: 'action',
+          //   align:"center",
+          //   fixed:"right",
+          //   width:147,
+          //   scopedSlots: { customRender: 'action' }
+          // }
+        ],
+        url: {
+          list: "/projectChbWxf/projectChbWxf/getWXFDetailList",
+          // list: "/projectChbWxf/projectChbWxf/list",
+          // delete: "/projectChbWxf/projectChbWxf/delete",
+          deleteBatch: "/projectChbWxf/projectChbWxf/deleteBatch",
+          exportXlsUrl: "/projectChbWxf/projectChbWxf/exportXls",
+          importExcelUrl: "projectChbWxf/projectChbWxf/importExcel",
+          
+        },
+        dictOptions:{},
+        superFieldList:[],
+      }
+    },
+    created() {
+    this.getSuperFieldList();
+    },
+    computed: {
+      importExcelUrl: function(){
+        return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
+      },
+    },
+    methods: {
+      initDictConfig(){
+      },
+      getSuperFieldList(){
+        let fieldList=[];
+        fieldList.push({type:'string',value:'nd',text:'年度',dictCode:''})
+        fieldList.push({type:'string',value:'pzrq',text:'凭证日期',dictCode:''})
+        fieldList.push({type:'string',value:'pzh',text:'凭证号',dictCode:''})
+        fieldList.push({type:'string',value:'zy',text:'摘要',dictCode:''})
+        fieldList.push({type:'string',value:'kmbh',text:'科目编号',dictCode:''})
+        fieldList.push({type:'string',value:'km',text:'科目名称',dictCode:''})
+        fieldList.push({type:'string',value:'fx',text:'方向',dictCode:''})
+        fieldList.push({type:'string',value:'je',text:'金额',dictCode:''})
+        fieldList.push({type:'string',value:'bm',text:'部门',dictCode:''})
+        fieldList.push({type:'string',value:'wldw',text:'往来单位',dictCode:''})
+        fieldList.push({type:'string',value:'fzje',text:'辅助金额',dictCode:''})
+        fieldList.push({type:'string',value:'zdr',text:'制单人',dictCode:''})
+        fieldList.push({type:'string',value:'kjqj',text:'会计期间',dictCode:''})
+        fieldList.push({type:'string',value:'pznm',text:'凭证内码',dictCode:''})
+        fieldList.push({type:'string',value:'xmbh',text:'项目编号',dictCode:''})
+        fieldList.push({type:'string',value:'xmmc',text:'项目名称',dictCode:''})
+        fieldList.push({type:'string',value:'xmlb',text:'项目类别',dictCode:''})
+        fieldList.push({type:'string',value:'taskno',text:'任务号',dictCode:''})
+        this.superFieldList = fieldList
+      }
+    }
+  }
+</script>
+<style scoped>
+  @import '~@assets/less/common.less';
+</style>

+ 252 - 0
src/views/module_kzks/projectCostList/modulesDetail/ProjectChbZyfList.vue

@@ -0,0 +1,252 @@
+<template>
+  <a-card :bordered="false">
+    <!-- 查询区域 -->
+    <div class="table-page-search-wrapper">
+      <a-form layout="inline" @keyup.enter.native="searchQuery">
+        <a-row :gutter="24">
+        </a-row>
+      </a-form>
+    </div>
+    <!-- 查询区域-END -->
+
+    <!-- table区域-begin -->
+    <div>
+
+      <a-table
+        ref="table"
+        size="middle"
+        :scroll="{x:true}"
+        bordered
+        rowKey="id"
+        :columns="columns"
+        :dataSource="dataSource"
+        :pagination="ipagination"
+        :loading="loading"
+        :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
+        class="j-table-force-nowrap"
+        @change="handleTableChange">
+
+        <template slot="htmlSlot" slot-scope="text">
+          <div v-html="text"></div>
+        </template>
+        <template slot="imgSlot" slot-scope="text,record">
+          <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
+          <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
+        </template>
+        <template slot="fileSlot" slot-scope="text">
+          <span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
+          <a-button
+            v-else
+            :ghost="true"
+            type="primary"
+            icon="download"
+            size="small"
+            @click="downloadFile(text)">
+            下载
+          </a-button>
+        </template>
+
+      </a-table>
+    </div>
+
+  </a-card>
+</template>
+
+<script>
+
+  import '@/assets/less/TableExpand.less'
+  import { mixinDevice } from '@/utils/mixin'
+  import { JeecgListMixin } from '@/mixins/JeecgListMixin'
+  import { getAction } from '@/api/manage'
+
+  export default {
+    name: 'ProjectChbZyfList',
+    mixins:[JeecgListMixin, mixinDevice],
+    props: {
+      taskno: {
+        type: String,
+        default: ''
+      }
+    },
+    data () {
+      return {
+        description: '专用费管理页面',
+        // 表头
+        columns: [
+          {
+            title: '#',
+            dataIndex: '',
+            key:'rowIndex',
+            width:60,
+            align:"center",
+            customRender:function (t,r,index) {
+              return parseInt(index)+1;
+            }
+          },
+          {
+            title:'任务号',
+            align:"center",
+            dataIndex: 'taskno'
+          },
+          {
+            title:'年度',
+            align:"center",
+            dataIndex: 'nd'
+          },
+          {
+            title:'凭证日期',
+            align:"center",
+            dataIndex: 'pzrq'
+          },
+          {
+            title:'凭证号',
+            align:"center",
+            dataIndex: 'pzh'
+          },
+          {
+            title:'摘要',
+            align:"center",
+            dataIndex: 'zy'
+          },
+          {
+            title:'科目编号',
+            align:"center",
+            dataIndex: 'kmbh'
+          },
+          {
+            title:'科目名称',
+            align:"center",
+            dataIndex: 'km'
+          },
+          {
+            title:'方向',
+            align:"center",
+            dataIndex: 'fx'
+          },
+          {
+            title:'金额',
+            align:"center",
+            dataIndex: 'je'
+          },
+          {
+            title:'部门',
+            align:"center",
+            dataIndex: 'bm'
+          },
+          {
+            title:'往来单位',
+            align:"center",
+            dataIndex: 'wldw'
+          },
+          {
+            title:'辅助金额',
+            align:"center",
+            dataIndex: 'fzje'
+          },
+          {
+            title:'制单人',
+            align:"center",
+            dataIndex: 'zdr'
+          },
+          {
+            title:'会计期间',
+            align:"center",
+            dataIndex: 'kjqj'
+          },
+          {
+            title:'凭证内码',
+            align:"center",
+            dataIndex: 'pznm'
+          },
+          {
+            title:'项目编号',
+            align:"center",
+            dataIndex: 'xmbh'
+          },
+          {
+            title:'项目名称',
+            align:"center",
+            dataIndex: 'xmmc'
+          },
+          {
+            title:'项目类别',
+            align:"center",
+            dataIndex: 'xmlb'
+          },
+          
+        ],
+        url: {
+          list: "/projectChbZyf/projectChbZyf/getZYFDetailList",
+        },
+        dictOptions:{},
+        superFieldList:[],
+      }
+    },
+    created() {
+      this.getSuperFieldList();
+      this.loadData()
+    },
+    computed: {
+    },
+    methods: {
+      initDictConfig(){
+      },
+      loadData(arg) {
+        // if(!this.url.list){
+        //   this.$message.error("请设置url.list属性!")
+        //   return
+        // }
+        // //加载数据 若传入参数1则加载第一页的内容
+        // if (arg === 1) {
+        //   this.ipagination.current = 1;
+        // }
+        // var params = this.getQueryParams();//查询条件
+        this.loading = true;
+        getAction(this.url.list, {taskno: this.taskno}).then((res) => {
+          console.log(res)
+          if (res.success) {
+            //update-begin---author:zhangyafei    Date:20201118  for:适配不分页的数据列表------------
+            this.dataSource = res.result.records||res.result;
+            if(res.result.total)
+            {
+              this.ipagination.total = res.result.total;
+            }else{
+              this.ipagination.total = 0;
+            }
+            //update-end---author:zhangyafei    Date:20201118  for:适配不分页的数据列表------------
+          }else{
+            this.$message.warning(res.message)
+          }
+          console.log(this.dataSource)
+        }).finally(() => {
+          this.loading = false
+        })
+      },
+      getSuperFieldList(){
+        let fieldList=[];
+        fieldList.push({type:'string',value:'nd',text:'年度',dictCode:''})
+        fieldList.push({type:'string',value:'pzrq',text:'凭证日期',dictCode:''})
+        fieldList.push({type:'string',value:'pzh',text:'凭证号',dictCode:''})
+        fieldList.push({type:'string',value:'zy',text:'摘要',dictCode:''})
+        fieldList.push({type:'string',value:'kmbh',text:'科目编号',dictCode:''})
+        fieldList.push({type:'string',value:'km',text:'科目名称',dictCode:''})
+        fieldList.push({type:'string',value:'fx',text:'方向',dictCode:''})
+        fieldList.push({type:'string',value:'je',text:'金额',dictCode:''})
+        fieldList.push({type:'string',value:'bm',text:'部门',dictCode:''})
+        fieldList.push({type:'string',value:'wldw',text:'往来单位',dictCode:''})
+        fieldList.push({type:'string',value:'fzje',text:'辅助金额',dictCode:''})
+        fieldList.push({type:'string',value:'zdr',text:'制单人',dictCode:''})
+        fieldList.push({type:'string',value:'kjqj',text:'会计期间',dictCode:''})
+        fieldList.push({type:'string',value:'pznm',text:'凭证内码',dictCode:''})
+        fieldList.push({type:'string',value:'xmbh',text:'项目编号',dictCode:''})
+        fieldList.push({type:'string',value:'xmmc',text:'项目名称',dictCode:''})
+        fieldList.push({type:'string',value:'xmlb',text:'项目类别',dictCode:''})
+        fieldList.push({type:'string',value:'taskno',text:'任务号',dictCode:''})
+        this.superFieldList = fieldList
+      }
+    }
+  }
+</script>
+<style scoped>
+  @import '~@assets/less/common.less';
+</style>

+ 62 - 0
src/views/module_kzks/projectCostList/modulesDetail/ProjectDetailModal.vue

@@ -0,0 +1,62 @@
+<template>
+  <j-modal
+    :title="title"
+    :width="width"
+    :visible="visible"
+    switchFullscreen
+    :okButtonProps="{ class:{'jee-hidden': disableSubmit} }"
+    cancelText="关闭"
+    @cancel="handleCancel">
+    <!-- 合同 -->
+    <contract-detail-list v-if="columnValue === 'contractfpe'" :taskno="taskno"></contract-detail-list>
+    <!-- 专用费 -->
+    <project-chb-zyf-list v-if="columnValue === 'zyf'" :taskno="taskno"></project-chb-zyf-list>
+    <!-- 事务费 -->
+    <project-chb-swf-list v-if="columnValue === 'swf'" :taskno="taskno"></project-chb-swf-list>
+    <!-- 外协费 -->
+    <project-chb-wxf-list v-if="columnValue === 'wxf'" :taskno="taskno"></project-chb-wxf-list>
+    <!-- 装机 -->
+    <mes-detail-list v-if="columnValue === 'zjcb'" :taskno="taskno"></mes-detail-list>
+  </j-modal>
+</template>
+
+<script>
+import ContractDetailList from './ContractDetailList.vue'
+import MesDetailList from './MesDetailList.vue'
+import ProjectChbSwfList from './ProjectChbSwfList.vue'
+import ProjectChbWxfList from './ProjectChbWxfList.vue'
+import ProjectChbZyfList from './ProjectChbZyfList.vue'
+
+  export default {
+    name: 'ProjectCostModal',
+    components: {
+      ContractDetailList,
+      MesDetailList,
+      ProjectChbZyfList,
+      ProjectChbSwfList,
+      ProjectChbWxfList,
+    },
+    data () {
+      return {
+        taskno: '',
+        columnValue: '',
+        title:'',
+        width: '60%',
+        visible: false,
+        disableSubmit: false
+      }
+    },
+    methods: {
+      show() {
+        this.visible = true
+      },
+      close () {
+        this.$emit('close');
+        this.visible = false;
+      },
+      handleCancel () {
+        this.close()
+      },
+    }
+  }
+</script>