Quellcode durchsuchen

项目成本汇集层详情

丁治程 vor 11 Monaten
Ursprung
Commit
363aea30b3
15 geänderte Dateien mit 25 neuen und 1249 gelöschten Zeilen
  1. 10 3
      module_kzks/src/main/java/org/jeecg/modules/kyBgInfoNew/controller/KyBgInfoNewController.java
  2. 2 0
      module_kzks/src/main/java/org/jeecg/modules/kyBgInfoNew/mapper/KyBgInfoNewMapper.java
  3. 6 0
      module_kzks/src/main/java/org/jeecg/modules/kyBgInfoNew/mapper/xml/KyBgInfoNewMapper.xml
  4. 2 0
      module_kzks/src/main/java/org/jeecg/modules/kyBgInfoNew/service/IKyBgInfoNewService.java
  5. 5 0
      module_kzks/src/main/java/org/jeecg/modules/kyBgInfoNew/service/impl/KyBgInfoNewServiceImpl.java
  6. 0 273
      module_kzks/src/main/java/org/jeecg/modules/projectChbSxf/vue/ProjectChbSxfList.vue
  7. 0 17
      module_kzks/src/main/java/org/jeecg/modules/projectChbSxf/vue/ProjectChbSxf_menu_insert.sql
  8. 0 189
      module_kzks/src/main/java/org/jeecg/modules/projectChbSxf/vue/modules/ProjectChbSxfForm.vue
  9. 0 84
      module_kzks/src/main/java/org/jeecg/modules/projectChbSxf/vue/modules/ProjectChbSxfModal.Style#Drawer.vue
  10. 0 60
      module_kzks/src/main/java/org/jeecg/modules/projectChbSxf/vue/modules/ProjectChbSxfModal.vue
  11. 0 273
      module_kzks/src/main/java/org/jeecg/modules/projectChbZjf/vue/KzksProjectChbZjfList.vue
  12. 0 17
      module_kzks/src/main/java/org/jeecg/modules/projectChbZjf/vue/KzksProjectChbZjf_menu_insert.sql
  13. 0 189
      module_kzks/src/main/java/org/jeecg/modules/projectChbZjf/vue/modules/KzksProjectChbZjfForm.vue
  14. 0 84
      module_kzks/src/main/java/org/jeecg/modules/projectChbZjf/vue/modules/KzksProjectChbZjfModal.Style#Drawer.vue
  15. 0 60
      module_kzks/src/main/java/org/jeecg/modules/projectChbZjf/vue/modules/KzksProjectChbZjfModal.vue

+ 10 - 3
module_kzks/src/main/java/org/jeecg/modules/kyBgInfoNew/controller/KyBgInfoNewController.java

@@ -60,7 +60,7 @@ public class KyBgInfoNewController extends JeecgController<KyBgInfoNew, IKyBgInf
 	 @ApiOperation(value="项目成本——导出工时详情excel")
 	 @RequestMapping(value = "/exportGSDetail")
 	 public ModelAndView exportGSDetail(String taskno) {
-		 List<KyBgInfoNew> list = getGSDeatilList(taskno);
+		 List<KyBgInfoNew> list = kyBgInfoNewService.getGSDeatilListByTasknos(Arrays.asList(taskno.split(",")));
 		 return kyBgInfoNewService.exportGSDetail(list,KyBgInfoNew.class, "工时详情");
 	 }
 
@@ -69,8 +69,15 @@ public class KyBgInfoNewController extends JeecgController<KyBgInfoNew, IKyBgInf
 	 /**项目成本——工时详情*/
 	 @ApiOperation(value="项目成本——工时详情", notes="项目成本——工时详情")
 	 @GetMapping(value = "/getGSDeatilList")
-	 public List<KyBgInfoNew> getGSDeatilList(String taskno) {
-		 return kyBgInfoNewService.getGSDeatilList(taskno);
+	 public Result<List<KyBgInfoNew>> getGSDeatilList(String taskno) {
+		 return Result.OK(kyBgInfoNewService.getGSDeatilList(taskno));
+	 }
+
+	 /**项目成本——工时详情*/
+	 @ApiOperation(value="项目成本——工时详情(汇总级)", notes="项目成本——工时详情(汇总级)")
+	 @GetMapping(value = "/getGSDeatilListByTasknos")
+	 public Result<List<KyBgInfoNew>> getGSDeatilListByTasknos(String taskno) {
+		 return Result.OK(kyBgInfoNewService.getGSDeatilListByTasknos(Arrays.asList(taskno.split(","))));
 	 }
 
 	

+ 2 - 0
module_kzks/src/main/java/org/jeecg/modules/kyBgInfoNew/mapper/KyBgInfoNewMapper.java

@@ -23,4 +23,6 @@ public interface KyBgInfoNewMapper extends BaseMapper<KyBgInfoNew> {
     /**项目成本——工时详情*/
     @Select("select * from ky_bg_info_new where taskno = #{taskno}")
     List<KyBgInfoNew> getGSDeatilList(String taskno);
+
+    List<KyBgInfoNew> getGSDeatilListByTasknos(@Param("tasknoList") List<String> tasknoList);
 }

+ 6 - 0
module_kzks/src/main/java/org/jeecg/modules/kyBgInfoNew/mapper/xml/KyBgInfoNewMapper.xml

@@ -2,4 +2,10 @@
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="org.jeecg.modules.kyBgInfoNew.mapper.KyBgInfoNewMapper">
 
+    <select id="getGSDeatilListByTasknos" resultType="org.jeecg.modules.kyBgInfoNew.entity.KyBgInfoNew">
+        select * from ky_bg_info_new where taskno in
+        <foreach item='item' index='index' collection='tasknoList' open='(' separator=',' close=')'>
+            #{item}
+        </foreach>
+    </select>
 </mapper>

+ 2 - 0
module_kzks/src/main/java/org/jeecg/modules/kyBgInfoNew/service/IKyBgInfoNewService.java

@@ -23,4 +23,6 @@ public interface IKyBgInfoNewService extends IService<KyBgInfoNew> {
     List<KyBgInfoNew> getGSDeatilList(String taskno);
 
     public ModelAndView exportGSDetail(List<KyBgInfoNew>  exportList, Class<KyBgInfoNew> clazz, String title);
+
+    List<KyBgInfoNew> getGSDeatilListByTasknos(List<String> tasknoList);
 }

+ 5 - 0
module_kzks/src/main/java/org/jeecg/modules/kyBgInfoNew/service/impl/KyBgInfoNewServiceImpl.java

@@ -65,6 +65,11 @@ public class KyBgInfoNewServiceImpl extends ServiceImpl<KyBgInfoNewMapper, KyBgI
     }
 
     @Override
+    public List<KyBgInfoNew> getGSDeatilListByTasknos(List<String> tasknoList) {
+        return mapper.getGSDeatilListByTasknos(tasknoList);
+    }
+
+    @Override
     public ModelAndView exportGSDetail(List<KyBgInfoNew> exportList, Class<KyBgInfoNew> clazz, String title) {
         LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
         // Step.3 AutoPoi 导出Excel

+ 0 - 273
module_kzks/src/main/java/org/jeecg/modules/projectChbSxf/vue/ProjectChbSxfList.vue

@@ -1,273 +0,0 @@
-<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('kzks_project_chb_sxf')">导出</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>
-
-    <project-chb-sxf-modal ref="modalForm" @ok="modalFormOk"></project-chb-sxf-modal>
-  </a-card>
-</template>
-
-<script>
-
-  import '@/assets/less/TableExpand.less'
-  import { mixinDevice } from '@/utils/mixin'
-  import { JeecgListMixin } from '@/mixins/JeecgListMixin'
-  import ProjectChbSxfModal from './modules/ProjectChbSxfModal'
-
-  export default {
-    name: 'ProjectChbSxfList',
-    mixins:[JeecgListMixin, mixinDevice],
-    components: {
-      ProjectChbSxfModal
-    },
-    data () {
-      return {
-        description: 'kzks_project_chb_sxf管理页面',
-        // 表头
-        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: "/projectChbSxf/projectChbSxf/list",
-          delete: "/projectChbSxf/projectChbSxf/delete",
-          deleteBatch: "/projectChbSxf/projectChbSxf/deleteBatch",
-          exportXlsUrl: "/projectChbSxf/projectChbSxf/exportXls",
-          importExcelUrl: "projectChbSxf/projectChbSxf/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:'年度'})
-        fieldList.push({type:'string',value:'pzrq',text:'凭证日期'})
-        fieldList.push({type:'string',value:'pzh',text:'凭证号'})
-        fieldList.push({type:'string',value:'zy',text:'摘要'})
-        fieldList.push({type:'string',value:'kmbh',text:'科目编号'})
-        fieldList.push({type:'string',value:'km',text:'科目名称'})
-        fieldList.push({type:'string',value:'fx',text:'方向'})
-        fieldList.push({type:'number',value:'je',text:'金额'})
-        fieldList.push({type:'string',value:'bm',text:'部门'})
-        fieldList.push({type:'string',value:'wldw',text:'往来单位'})
-        fieldList.push({type:'number',value:'fzje',text:'辅助金额'})
-        fieldList.push({type:'string',value:'zdr',text:'制单人'})
-        fieldList.push({type:'string',value:'kjqj',text:'会计期间'})
-        fieldList.push({type:'string',value:'pznm',text:'凭证内码'})
-        fieldList.push({type:'string',value:'xmbh',text:'项目编号'})
-        fieldList.push({type:'string',value:'xmmc',text:'项目名称'})
-        fieldList.push({type:'string',value:'xmlb',text:'项目类别'})
-        fieldList.push({type:'string',value:'taskno',text:'任务号'})
-        this.superFieldList = fieldList
-      }
-    }
-  }
-</script>
-<style scoped>
-  @import '~@assets/less/common.less';
-</style>

+ 0 - 17
module_kzks/src/main/java/org/jeecg/modules/projectChbSxf/vue/ProjectChbSxf_menu_insert.sql

@@ -1,26 +0,0 @@
-
-
-INSERT INTO sys_permission(id, parent_id, name, url, component, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_route, is_leaf, keep_alive, hidden, hide_tab, description, status, del_flag, rule_flag, create_by, create_time, update_by, update_time, internal_or_external) 
-VALUES ('2024011908429200240', NULL, 'kzks_project_chb_sxf', '/projectChbSxf/projectChbSxfList', 'projectChbSxf/ProjectChbSxfList', NULL, NULL, 0, NULL, '1', 0.00, 0, NULL, 1, 1, 0, 0, 0, NULL, '1', 0, 0, 'admin', '2024-01-19 08:42:24', NULL, NULL, 0);
-
-INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
-VALUES ('2024011908429250241', '2024011908429200240', '添加kzks_project_chb_sxf', NULL, NULL, 0, NULL, NULL, 2, 'org.jeecg.modules:kzks_project_chb_sxf:add', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2024-01-19 08:42:24', NULL, NULL, 0, 0, '1', 0);
-INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
-VALUES ('2024011908429250242', '2024011908429200240', '编辑kzks_project_chb_sxf', NULL, NULL, 0, NULL, NULL, 2, 'org.jeecg.modules:kzks_project_chb_sxf:edit', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2024-01-19 08:42:24', NULL, NULL, 0, 0, '1', 0);
-INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
-VALUES ('2024011908429260243', '2024011908429200240', '删除kzks_project_chb_sxf', NULL, NULL, 0, NULL, NULL, 2, 'org.jeecg.modules:kzks_project_chb_sxf:delete', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2024-01-19 08:42:24', NULL, NULL, 0, 0, '1', 0);
-INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
-VALUES ('2024011908429260244', '2024011908429200240', '批量删除kzks_project_chb_sxf', NULL, NULL, 0, NULL, NULL, 2, 'org.jeecg.modules:kzks_project_chb_sxf:deleteBatch', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2024-01-19 08:42:24', NULL, NULL, 0, 0, '1', 0);
-INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
-VALUES ('2024011908429260245', '2024011908429200240', '导出excel_kzks_project_chb_sxf', NULL, NULL, 0, NULL, NULL, 2, 'org.jeecg.modules:kzks_project_chb_sxf:exportXls', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2024-01-19 08:42:24', NULL, NULL, 0, 0, '1', 0);
-INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
-VALUES ('2024011908429260246', '2024011908429200240', '导入excel_kzks_project_chb_sxf', NULL, NULL, 0, NULL, NULL, 2, 'org.jeecg.modules:kzks_project_chb_sxf:importExcel', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2024-01-19 08:42:24', NULL, NULL, 0, 0, '1', 0);

+ 0 - 189
module_kzks/src/main/java/org/jeecg/modules/projectChbSxf/vue/modules/ProjectChbSxfForm.vue

@@ -1,189 +0,0 @@
-<template>
-  <a-spin :spinning="confirmLoading">
-    <j-form-container :disabled="formDisabled">
-      <a-form-model ref="form" :model="model" :rules="validatorRules" slot="detail">
-        <a-row>
-          <a-col :span="24">
-            <a-form-model-item label="年度" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="nd">
-              <a-input v-model="model.nd" placeholder="请输入年度"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="凭证日期" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="pzrq">
-              <a-input v-model="model.pzrq" placeholder="请输入凭证日期"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="凭证号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="pzh">
-              <a-input v-model="model.pzh" placeholder="请输入凭证号"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="摘要" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="zy">
-              <a-input v-model="model.zy" placeholder="请输入摘要"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="科目编号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="kmbh">
-              <a-input v-model="model.kmbh" placeholder="请输入科目编号"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="科目名称" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="km">
-              <a-input v-model="model.km" placeholder="请输入科目名称"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="方向" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="fx">
-              <a-input v-model="model.fx" placeholder="请输入方向"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="金额" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="je">
-              <a-input-number v-model="model.je" placeholder="请输入金额" style="width: 100%" />
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="部门" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="bm">
-              <a-input v-model="model.bm" placeholder="请输入部门"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="往来单位" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="wldw">
-              <a-input v-model="model.wldw" placeholder="请输入往来单位"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="辅助金额" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="fzje">
-              <a-input-number v-model="model.fzje" placeholder="请输入辅助金额" style="width: 100%" />
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="制单人" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="zdr">
-              <a-input v-model="model.zdr" placeholder="请输入制单人"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="会计期间" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="kjqj">
-              <a-input v-model="model.kjqj" placeholder="请输入会计期间"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="凭证内码" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="pznm">
-              <a-input v-model="model.pznm" placeholder="请输入凭证内码"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="项目编号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="xmbh">
-              <a-input v-model="model.xmbh" placeholder="请输入项目编号"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="项目名称" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="xmmc">
-              <a-input v-model="model.xmmc" placeholder="请输入项目名称"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="项目类别" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="xmlb">
-              <a-input v-model="model.xmlb" placeholder="请输入项目类别"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="任务号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="taskno">
-              <a-input v-model="model.taskno" placeholder="请输入任务号"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-        </a-row>
-      </a-form-model>
-    </j-form-container>
-  </a-spin>
-</template>
-
-<script>
-
-  import { httpAction, getAction } from '@/api/manage'
-  import { validateDuplicateValue } from '@/utils/util'
-
-  export default {
-    name: 'ProjectChbSxfForm',
-    components: {
-    },
-    props: {
-      //表单禁用
-      disabled: {
-        type: Boolean,
-        default: false,
-        required: false
-      }
-    },
-    data () {
-      return {
-        model:{
-         },
-        labelCol: {
-          xs: { span: 24 },
-          sm: { span: 5 },
-        },
-        wrapperCol: {
-          xs: { span: 24 },
-          sm: { span: 16 },
-        },
-        confirmLoading: false,
-        validatorRules: {
-        },
-        url: {
-          add: "/projectChbSxf/projectChbSxf/add",
-          edit: "/projectChbSxf/projectChbSxf/edit",
-          queryById: "/projectChbSxf/projectChbSxf/queryById"
-        }
-      }
-    },
-    computed: {
-      formDisabled(){
-        return this.disabled
-      },
-    },
-    created () {
-       //备份model原始值
-      this.modelDefault = JSON.parse(JSON.stringify(this.model));
-    },
-    methods: {
-      add () {
-        this.edit(this.modelDefault);
-      },
-      edit (record) {
-        this.model = Object.assign({}, record);
-        this.visible = true;
-      },
-      submitForm () {
-        const that = this;
-        // 触发表单验证
-        this.$refs.form.validate(valid => {
-          if (valid) {
-            that.confirmLoading = true;
-            let httpurl = '';
-            let method = '';
-            if(!this.model.id){
-              httpurl+=this.url.add;
-              method = 'post';
-            }else{
-              httpurl+=this.url.edit;
-               method = 'put';
-            }
-            httpAction(httpurl,this.model,method).then((res)=>{
-              if(res.success){
-                that.$message.success(res.message);
-                that.$emit('ok');
-              }else{
-                that.$message.warning(res.message);
-              }
-            }).finally(() => {
-              that.confirmLoading = false;
-            })
-          }
-         
-        })
-      },
-    }
-  }
-</script>

+ 0 - 84
module_kzks/src/main/java/org/jeecg/modules/projectChbSxf/vue/modules/ProjectChbSxfModal.Style#Drawer.vue

@@ -1,84 +0,0 @@
-<template>
-  <a-drawer
-    :title="title"
-    :width="width"
-    placement="right"
-    :closable="false"
-    @close="close"
-    destroyOnClose
-    :visible="visible">
-    <project-chb-sxf-form ref="realForm" @ok="submitCallback" :disabled="disableSubmit" normal></project-chb-sxf-form>
-    <div class="drawer-footer">
-      <a-button @click="handleCancel" style="margin-bottom: 0;">关闭</a-button>
-      <a-button v-if="!disableSubmit"  @click="handleOk" type="primary" style="margin-bottom: 0;">提交</a-button>
-    </div>
-  </a-drawer>
-</template>
-
-<script>
-
-  import ProjectChbSxfForm from './ProjectChbSxfForm'
-
-  export default {
-    name: 'ProjectChbSxfModal',
-    components: {
-      ProjectChbSxfForm
-    },
-    data () {
-      return {
-        title:"操作",
-        width:800,
-        visible: false,
-        disableSubmit: false
-      }
-    },
-    methods: {
-      add () {
-        this.visible=true
-        this.$nextTick(()=>{
-          this.$refs.realForm.add();
-        })
-      },
-      edit (record) {
-        this.visible=true
-        this.$nextTick(()=>{
-          this.$refs.realForm.edit(record);
-        });
-      },
-      close () {
-        this.$emit('close');
-        this.visible = false;
-      },
-      submitCallback(){
-        this.$emit('ok');
-        this.visible = false;
-      },
-      handleOk () {
-        this.$refs.realForm.submitForm();
-      },
-      handleCancel () {
-        this.close()
-      }
-    }
-  }
-</script>
-
-<style lang="less" scoped>
-/** Button按钮间距 */
-  .ant-btn {
-    margin-left: 30px;
-    margin-bottom: 30px;
-    float: right;
-  }
-  .drawer-footer{
-    position: absolute;
-    bottom: -8px;
-    width: 100%;
-    border-top: 1px solid #e8e8e8;
-    padding: 10px 16px;
-    text-align: right;
-    left: 0;
-    background: #fff;
-    border-radius: 0 0 2px 2px;
-  }
-</style>

+ 0 - 60
module_kzks/src/main/java/org/jeecg/modules/projectChbSxf/vue/modules/ProjectChbSxfModal.vue

@@ -1,60 +0,0 @@
-<template>
-  <j-modal
-    :title="title"
-    :width="width"
-    :visible="visible"
-    switchFullscreen
-    @ok="handleOk"
-    :okButtonProps="{ class:{'jee-hidden': disableSubmit} }"
-    @cancel="handleCancel"
-    cancelText="关闭">
-    <project-chb-sxf-form ref="realForm" @ok="submitCallback" :disabled="disableSubmit"></project-chb-sxf-form>
-  </j-modal>
-</template>
-
-<script>
-
-  import ProjectChbSxfForm from './ProjectChbSxfForm'
-  export default {
-    name: 'ProjectChbSxfModal',
-    components: {
-      ProjectChbSxfForm
-    },
-    data () {
-      return {
-        title:'',
-        width:800,
-        visible: false,
-        disableSubmit: false
-      }
-    },
-    methods: {
-      add () {
-        this.visible=true
-        this.$nextTick(()=>{
-          this.$refs.realForm.add();
-        })
-      },
-      edit (record) {
-        this.visible=true
-        this.$nextTick(()=>{
-          this.$refs.realForm.edit(record);
-        })
-      },
-      close () {
-        this.$emit('close');
-        this.visible = false;
-      },
-      handleOk () {
-        this.$refs.realForm.submitForm();
-      },
-      submitCallback(){
-        this.$emit('ok');
-        this.visible = false;
-      },
-      handleCancel () {
-        this.close()
-      }
-    }
-  }
-</script>

+ 0 - 273
module_kzks/src/main/java/org/jeecg/modules/projectChbZjf/vue/KzksProjectChbZjfList.vue

@@ -1,273 +0,0 @@
-<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('kzks_project_chb_zjf')">导出</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>
-
-    <kzks-project-chb-zjf-modal ref="modalForm" @ok="modalFormOk"></kzks-project-chb-zjf-modal>
-  </a-card>
-</template>
-
-<script>
-
-  import '@/assets/less/TableExpand.less'
-  import { mixinDevice } from '@/utils/mixin'
-  import { JeecgListMixin } from '@/mixins/JeecgListMixin'
-  import KzksProjectChbZjfModal from './modules/KzksProjectChbZjfModal'
-
-  export default {
-    name: 'KzksProjectChbZjfList',
-    mixins:[JeecgListMixin, mixinDevice],
-    components: {
-      KzksProjectChbZjfModal
-    },
-    data () {
-      return {
-        description: 'kzks_project_chb_zjf管理页面',
-        // 表头
-        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: "/projectChbZjf/kzksProjectChbZjf/list",
-          delete: "/projectChbZjf/kzksProjectChbZjf/delete",
-          deleteBatch: "/projectChbZjf/kzksProjectChbZjf/deleteBatch",
-          exportXlsUrl: "/projectChbZjf/kzksProjectChbZjf/exportXls",
-          importExcelUrl: "projectChbZjf/kzksProjectChbZjf/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:'年度'})
-        fieldList.push({type:'string',value:'pzrq',text:'凭证日期'})
-        fieldList.push({type:'string',value:'pzh',text:'凭证号'})
-        fieldList.push({type:'string',value:'zy',text:'摘要'})
-        fieldList.push({type:'string',value:'kmbh',text:'科目编号'})
-        fieldList.push({type:'string',value:'km',text:'科目名称'})
-        fieldList.push({type:'string',value:'fx',text:'方向'})
-        fieldList.push({type:'number',value:'je',text:'金额'})
-        fieldList.push({type:'string',value:'bm',text:'部门'})
-        fieldList.push({type:'string',value:'wldw',text:'往来单位'})
-        fieldList.push({type:'number',value:'fzje',text:'辅助金额'})
-        fieldList.push({type:'string',value:'zdr',text:'制单人'})
-        fieldList.push({type:'string',value:'kjqj',text:'会计期间'})
-        fieldList.push({type:'string',value:'pznm',text:'凭证内码'})
-        fieldList.push({type:'string',value:'xmbh',text:'项目编号'})
-        fieldList.push({type:'string',value:'xmmc',text:'项目名称'})
-        fieldList.push({type:'string',value:'xmlb',text:'项目类别'})
-        fieldList.push({type:'string',value:'taskno',text:'任务号'})
-        this.superFieldList = fieldList
-      }
-    }
-  }
-</script>
-<style scoped>
-  @import '~@assets/less/common.less';
-</style>

+ 0 - 17
module_kzks/src/main/java/org/jeecg/modules/projectChbZjf/vue/KzksProjectChbZjf_menu_insert.sql

@@ -1,26 +0,0 @@
-
-
-INSERT INTO sys_permission(id, parent_id, name, url, component, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_route, is_leaf, keep_alive, hidden, hide_tab, description, status, del_flag, rule_flag, create_by, create_time, update_by, update_time, internal_or_external) 
-VALUES ('2024011709123060010', NULL, 'kzks_project_chb_zjf', '/projectChbZjf/kzksProjectChbZjfList', 'projectChbZjf/KzksProjectChbZjfList', NULL, NULL, 0, NULL, '1', 0.00, 0, NULL, 1, 1, 0, 0, 0, NULL, '1', 0, 0, 'admin', '2024-01-17 09:12:01', NULL, NULL, 0);
-
-INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
-VALUES ('2024011709123060011', '2024011709123060010', '添加kzks_project_chb_zjf', NULL, NULL, 0, NULL, NULL, 2, 'org.jeecg.modules:kzks_project_chb_zjf:add', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2024-01-17 09:12:01', NULL, NULL, 0, 0, '1', 0);
-INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
-VALUES ('2024011709123060012', '2024011709123060010', '编辑kzks_project_chb_zjf', NULL, NULL, 0, NULL, NULL, 2, 'org.jeecg.modules:kzks_project_chb_zjf:edit', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2024-01-17 09:12:01', NULL, NULL, 0, 0, '1', 0);
-INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
-VALUES ('2024011709123060013', '2024011709123060010', '删除kzks_project_chb_zjf', NULL, NULL, 0, NULL, NULL, 2, 'org.jeecg.modules:kzks_project_chb_zjf:delete', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2024-01-17 09:12:01', NULL, NULL, 0, 0, '1', 0);
-INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
-VALUES ('2024011709123060014', '2024011709123060010', '批量删除kzks_project_chb_zjf', NULL, NULL, 0, NULL, NULL, 2, 'org.jeecg.modules:kzks_project_chb_zjf:deleteBatch', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2024-01-17 09:12:01', NULL, NULL, 0, 0, '1', 0);
-INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
-VALUES ('2024011709123060015', '2024011709123060010', '导出excel_kzks_project_chb_zjf', NULL, NULL, 0, NULL, NULL, 2, 'org.jeecg.modules:kzks_project_chb_zjf:exportXls', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2024-01-17 09:12:01', NULL, NULL, 0, 0, '1', 0);
-INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
-VALUES ('2024011709123060016', '2024011709123060010', '导入excel_kzks_project_chb_zjf', NULL, NULL, 0, NULL, NULL, 2, 'org.jeecg.modules:kzks_project_chb_zjf:importExcel', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2024-01-17 09:12:01', NULL, NULL, 0, 0, '1', 0);

+ 0 - 189
module_kzks/src/main/java/org/jeecg/modules/projectChbZjf/vue/modules/KzksProjectChbZjfForm.vue

@@ -1,189 +0,0 @@
-<template>
-  <a-spin :spinning="confirmLoading">
-    <j-form-container :disabled="formDisabled">
-      <a-form-model ref="form" :model="model" :rules="validatorRules" slot="detail">
-        <a-row>
-          <a-col :span="24">
-            <a-form-model-item label="年度" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="nd">
-              <a-input v-model="model.nd" placeholder="请输入年度"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="凭证日期" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="pzrq">
-              <a-input v-model="model.pzrq" placeholder="请输入凭证日期"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="凭证号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="pzh">
-              <a-input v-model="model.pzh" placeholder="请输入凭证号"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="摘要" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="zy">
-              <a-input v-model="model.zy" placeholder="请输入摘要"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="科目编号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="kmbh">
-              <a-input v-model="model.kmbh" placeholder="请输入科目编号"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="科目名称" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="km">
-              <a-input v-model="model.km" placeholder="请输入科目名称"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="方向" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="fx">
-              <a-input v-model="model.fx" placeholder="请输入方向"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="金额" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="je">
-              <a-input-number v-model="model.je" placeholder="请输入金额" style="width: 100%" />
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="部门" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="bm">
-              <a-input v-model="model.bm" placeholder="请输入部门"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="往来单位" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="wldw">
-              <a-input v-model="model.wldw" placeholder="请输入往来单位"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="辅助金额" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="fzje">
-              <a-input-number v-model="model.fzje" placeholder="请输入辅助金额" style="width: 100%" />
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="制单人" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="zdr">
-              <a-input v-model="model.zdr" placeholder="请输入制单人"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="会计期间" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="kjqj">
-              <a-input v-model="model.kjqj" placeholder="请输入会计期间"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="凭证内码" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="pznm">
-              <a-input v-model="model.pznm" placeholder="请输入凭证内码"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="项目编号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="xmbh">
-              <a-input v-model="model.xmbh" placeholder="请输入项目编号"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="项目名称" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="xmmc">
-              <a-input v-model="model.xmmc" placeholder="请输入项目名称"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="项目类别" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="xmlb">
-              <a-input v-model="model.xmlb" placeholder="请输入项目类别"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="24">
-            <a-form-model-item label="任务号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="taskno">
-              <a-input v-model="model.taskno" placeholder="请输入任务号"  ></a-input>
-            </a-form-model-item>
-          </a-col>
-        </a-row>
-      </a-form-model>
-    </j-form-container>
-  </a-spin>
-</template>
-
-<script>
-
-  import { httpAction, getAction } from '@/api/manage'
-  import { validateDuplicateValue } from '@/utils/util'
-
-  export default {
-    name: 'KzksProjectChbZjfForm',
-    components: {
-    },
-    props: {
-      //表单禁用
-      disabled: {
-        type: Boolean,
-        default: false,
-        required: false
-      }
-    },
-    data () {
-      return {
-        model:{
-         },
-        labelCol: {
-          xs: { span: 24 },
-          sm: { span: 5 },
-        },
-        wrapperCol: {
-          xs: { span: 24 },
-          sm: { span: 16 },
-        },
-        confirmLoading: false,
-        validatorRules: {
-        },
-        url: {
-          add: "/projectChbZjf/kzksProjectChbZjf/add",
-          edit: "/projectChbZjf/kzksProjectChbZjf/edit",
-          queryById: "/projectChbZjf/kzksProjectChbZjf/queryById"
-        }
-      }
-    },
-    computed: {
-      formDisabled(){
-        return this.disabled
-      },
-    },
-    created () {
-       //备份model原始值
-      this.modelDefault = JSON.parse(JSON.stringify(this.model));
-    },
-    methods: {
-      add () {
-        this.edit(this.modelDefault);
-      },
-      edit (record) {
-        this.model = Object.assign({}, record);
-        this.visible = true;
-      },
-      submitForm () {
-        const that = this;
-        // 触发表单验证
-        this.$refs.form.validate(valid => {
-          if (valid) {
-            that.confirmLoading = true;
-            let httpurl = '';
-            let method = '';
-            if(!this.model.id){
-              httpurl+=this.url.add;
-              method = 'post';
-            }else{
-              httpurl+=this.url.edit;
-               method = 'put';
-            }
-            httpAction(httpurl,this.model,method).then((res)=>{
-              if(res.success){
-                that.$message.success(res.message);
-                that.$emit('ok');
-              }else{
-                that.$message.warning(res.message);
-              }
-            }).finally(() => {
-              that.confirmLoading = false;
-            })
-          }
-         
-        })
-      },
-    }
-  }
-</script>

+ 0 - 84
module_kzks/src/main/java/org/jeecg/modules/projectChbZjf/vue/modules/KzksProjectChbZjfModal.Style#Drawer.vue

@@ -1,84 +0,0 @@
-<template>
-  <a-drawer
-    :title="title"
-    :width="width"
-    placement="right"
-    :closable="false"
-    @close="close"
-    destroyOnClose
-    :visible="visible">
-    <kzks-project-chb-zjf-form ref="realForm" @ok="submitCallback" :disabled="disableSubmit" normal></kzks-project-chb-zjf-form>
-    <div class="drawer-footer">
-      <a-button @click="handleCancel" style="margin-bottom: 0;">关闭</a-button>
-      <a-button v-if="!disableSubmit"  @click="handleOk" type="primary" style="margin-bottom: 0;">提交</a-button>
-    </div>
-  </a-drawer>
-</template>
-
-<script>
-
-  import KzksProjectChbZjfForm from './KzksProjectChbZjfForm'
-
-  export default {
-    name: 'KzksProjectChbZjfModal',
-    components: {
-      KzksProjectChbZjfForm
-    },
-    data () {
-      return {
-        title:"操作",
-        width:800,
-        visible: false,
-        disableSubmit: false
-      }
-    },
-    methods: {
-      add () {
-        this.visible=true
-        this.$nextTick(()=>{
-          this.$refs.realForm.add();
-        })
-      },
-      edit (record) {
-        this.visible=true
-        this.$nextTick(()=>{
-          this.$refs.realForm.edit(record);
-        });
-      },
-      close () {
-        this.$emit('close');
-        this.visible = false;
-      },
-      submitCallback(){
-        this.$emit('ok');
-        this.visible = false;
-      },
-      handleOk () {
-        this.$refs.realForm.submitForm();
-      },
-      handleCancel () {
-        this.close()
-      }
-    }
-  }
-</script>
-
-<style lang="less" scoped>
-/** Button按钮间距 */
-  .ant-btn {
-    margin-left: 30px;
-    margin-bottom: 30px;
-    float: right;
-  }
-  .drawer-footer{
-    position: absolute;
-    bottom: -8px;
-    width: 100%;
-    border-top: 1px solid #e8e8e8;
-    padding: 10px 16px;
-    text-align: right;
-    left: 0;
-    background: #fff;
-    border-radius: 0 0 2px 2px;
-  }
-</style>

+ 0 - 60
module_kzks/src/main/java/org/jeecg/modules/projectChbZjf/vue/modules/KzksProjectChbZjfModal.vue

@@ -1,60 +0,0 @@
-<template>
-  <j-modal
-    :title="title"
-    :width="width"
-    :visible="visible"
-    switchFullscreen
-    @ok="handleOk"
-    :okButtonProps="{ class:{'jee-hidden': disableSubmit} }"
-    @cancel="handleCancel"
-    cancelText="关闭">
-    <kzks-project-chb-zjf-form ref="realForm" @ok="submitCallback" :disabled="disableSubmit"></kzks-project-chb-zjf-form>
-  </j-modal>
-</template>
-
-<script>
-
-  import KzksProjectChbZjfForm from './KzksProjectChbZjfForm'
-  export default {
-    name: 'KzksProjectChbZjfModal',
-    components: {
-      KzksProjectChbZjfForm
-    },
-    data () {
-      return {
-        title:'',
-        width:800,
-        visible: false,
-        disableSubmit: false
-      }
-    },
-    methods: {
-      add () {
-        this.visible=true
-        this.$nextTick(()=>{
-          this.$refs.realForm.add();
-        })
-      },
-      edit (record) {
-        this.visible=true
-        this.$nextTick(()=>{
-          this.$refs.realForm.edit(record);
-        })
-      },
-      close () {
-        this.$emit('close');
-        this.visible = false;
-      },
-      handleOk () {
-        this.$refs.realForm.submitForm();
-      },
-      submitCallback(){
-        this.$emit('ok');
-        this.visible = false;
-      },
-      handleCancel () {
-        this.close()
-      }
-    }
-  }
-</script>