'123'
This commit is contained in:
parent
78d08bcf9d
commit
47c7500dc0
|
@ -133,7 +133,7 @@ public class QuotController extends BaseController
|
||||||
* @return
|
* @return
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasAnyPermi('quot:quot:list,jsqr:jsqr:list')")
|
@PreAuthorize("@ss.hasAnyPermi('quot:quot:list,jsqr:jsqr:list,priceVerification:priceVerification:list')")
|
||||||
@Log(title = "上传报价附件", businessType = BusinessType.INSERT)
|
@Log(title = "上传报价附件", businessType = BusinessType.INSERT)
|
||||||
@PostMapping("/quotFile")
|
@PostMapping("/quotFile")
|
||||||
public AjaxResult quotFile(@RequestParam("quotFile") MultipartFile file,@RequestParam("relation_id") String relation_id,@RequestParam("file_type") String file_type) throws Exception
|
public AjaxResult quotFile(@RequestParam("quotFile") MultipartFile file,@RequestParam("relation_id") String relation_id,@RequestParam("file_type") String file_type) throws Exception
|
||||||
|
@ -169,7 +169,7 @@ public class QuotController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 查询附件列表
|
* 查询附件列表
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasAnyPermi('quot:quot:list,jsqr:jsqr:list')")
|
@PreAuthorize("@ss.hasAnyPermi('quot:quot:list,jsqr:jsqr:list,priceVerification:priceVerification:list')")
|
||||||
@GetMapping("/quotFileList")
|
@GetMapping("/quotFileList")
|
||||||
public TableDataInfo quotFileList(QuotFile quotFile)
|
public TableDataInfo quotFileList(QuotFile quotFile)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package com.ruoyi.technicalConfirm.service.impl;
|
package com.ruoyi.technicalConfirm.service.impl;
|
||||||
|
|
||||||
|
import com.ruoyi.common.annotation.DataScope;
|
||||||
import com.ruoyi.common.utils.DateUtils;
|
import com.ruoyi.common.utils.DateUtils;
|
||||||
import com.ruoyi.technicalConfirm.domain.QuotJsqr;
|
import com.ruoyi.technicalConfirm.domain.QuotJsqr;
|
||||||
import com.ruoyi.technicalConfirm.mapper.QuotJsqrMapper;
|
import com.ruoyi.technicalConfirm.mapper.QuotJsqrMapper;
|
||||||
|
@ -41,6 +42,7 @@ public class QuotJsqrServiceImpl implements IQuotJsqrService
|
||||||
* @return 报价单-技术确认单
|
* @return 报价单-技术确认单
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
@DataScope(deptAlias = "d", userAlias = "u")
|
||||||
public List<QuotJsqr> selectQuotJsqrList(QuotJsqr quotJsqr)
|
public List<QuotJsqr> selectQuotJsqrList(QuotJsqr quotJsqr)
|
||||||
{
|
{
|
||||||
return quotJsqrMapper.selectQuotJsqrList(quotJsqr);
|
return quotJsqrMapper.selectQuotJsqrList(quotJsqr);
|
||||||
|
|
|
@ -44,6 +44,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<where>
|
<where>
|
||||||
<if test="quotHjCode != null and quotHjCode != ''"> and quot_hj_code like concat('%', #{quotHjCode}, '%')</if>
|
<if test="quotHjCode != null and quotHjCode != ''"> and quot_hj_code like concat('%', #{quotHjCode}, '%')</if>
|
||||||
<if test="params.beginQuotHjPricingDate != null and params.beginQuotHjPricingDate != '' and params.endQuotHjPricingDate != null and params.endQuotHjPricingDate != ''"> and quot_hj_pricing_date between #{params.beginQuotHjPricingDate} and #{params.endQuotHjPricingDate}</if>
|
<if test="params.beginQuotHjPricingDate != null and params.beginQuotHjPricingDate != '' and params.endQuotHjPricingDate != null and params.endQuotHjPricingDate != ''"> and quot_hj_pricing_date between #{params.beginQuotHjPricingDate} and #{params.endQuotHjPricingDate}</if>
|
||||||
|
<!-- 数据范围过滤 -->
|
||||||
|
<!--${params.dataScope}-->
|
||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
|
@ -111,6 +111,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="quotJsqrCode != null and quotJsqrCode != ''"> and quot_jsqr_code like concat('%', #{quotJsqrCode}, '%')</if>
|
<if test="quotJsqrCode != null and quotJsqrCode != ''"> and quot_jsqr_code like concat('%', #{quotJsqrCode}, '%')</if>
|
||||||
<if test="quotJsxzApprovalStatus != null and quotJsxzApprovalStatus != ''"> and q.quot_jsxz_approval_status = #{quotJsxzApprovalStatus}</if>
|
<if test="quotJsxzApprovalStatus != null and quotJsxzApprovalStatus != ''"> and q.quot_jsxz_approval_status = #{quotJsxzApprovalStatus}</if>
|
||||||
<if test="quotCode != null and quotCode != ''"> and q.quot_code like concat('%', #{quotCode}, '%')</if>
|
<if test="quotCode != null and quotCode != ''"> and q.quot_code like concat('%', #{quotCode}, '%')</if>
|
||||||
|
<!-- 数据范围过滤 -->
|
||||||
|
<!--${params.dataScope}-->
|
||||||
</where>
|
</where>
|
||||||
order by a.update_time desc
|
order by a.update_time desc
|
||||||
</select>
|
</select>
|
||||||
|
|
|
@ -122,8 +122,7 @@
|
||||||
}
|
}
|
||||||
<!-- 弹窗底部内容样式 -->
|
<!-- 弹窗底部内容样式 -->
|
||||||
.dialog-footer {
|
.dialog-footer {
|
||||||
padding: 20px;
|
padding: 10px 20px 20px;
|
||||||
padding-top: 10px;
|
|
||||||
text-align: right;
|
text-align: right;
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="120px">
|
||||||
<el-form-item label="核价单号" prop="quotHjCode">
|
<el-form-item label="核价单号" prop="quotHjCode">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="queryParams.quotHjCode"
|
v-model="queryParams.quotHjCode"
|
||||||
|
@ -86,10 +86,6 @@
|
||||||
height: 550px;
|
height: 550px;
|
||||||
max-height: 580px; /* 设置最大高度,根据需要调整 */
|
max-height: 580px; /* 设置最大高度,根据需要调整 */
|
||||||
}
|
}
|
||||||
<!-- 日期空间宽度设置 -->
|
|
||||||
:deep(.el-p .el-input__wrapper){
|
|
||||||
width: 100% !important;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
import { listPriceVerification } from "@/api/priceVerification/priceVerification";
|
import { listPriceVerification } from "@/api/priceVerification/priceVerification";
|
||||||
|
@ -174,7 +170,7 @@ export default {
|
||||||
},
|
},
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
const quotHjId = row.quotJsqrId || this.ids
|
const quotHjId = row.quotHjId || this.ids
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "报价单-核价单";
|
this.title = "报价单-核价单";
|
||||||
this.quotHjIdProp = quotHjId;//传参设置
|
this.quotHjIdProp = quotHjId;//传参设置
|
||||||
|
|
|
@ -667,8 +667,7 @@
|
||||||
<style>
|
<style>
|
||||||
<!-- 弹窗底部内容样式 -->
|
<!-- 弹窗底部内容样式 -->
|
||||||
.dialog-footer {
|
.dialog-footer {
|
||||||
padding: 20px;
|
padding: 10px 20px 20px;
|
||||||
padding-top: 10px;
|
|
||||||
text-align: right;
|
text-align: right;
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
Loading…
Reference in New Issue