Merge pull request 'dd' (#666) from dd into master

Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/666
This commit is contained in:
2024-08-05 09:26:35 +00:00
10 changed files with 23 additions and 22 deletions

View File

@@ -130,7 +130,7 @@
<div v-else>--</div>
</template>
</el-table-column>
<el-table-column prop="intellectualProperty" label="经预算(元)" align="center">
<el-table-column prop="intellectualProperty" label="经预算(元)" align="center">
<template #default="scope">
<span>{{ toThousands(scope.row.economicEstimate) }}</span>
</template>

View File

@@ -120,7 +120,7 @@
<!-- <el-col :span="route.query.id && formData.isSpecialFund?8:!formData.isSpecialFund?!route.query.id?6:8:6">-->
<el-col :span="6">
<el-form-item label="经费预算" prop="economicEstimate" :label-width="route.query.id && formData.isSpecialFund?135:120">
<el-input-number v-model="formData.economicEstimate" placeholder="请输入经预算数量" :controls="false"/>
<el-input-number v-model="formData.economicEstimate" placeholder="请输入经预算数量" :controls="false"/>
</el-form-item>
</el-col>
<el-col :span="6">
@@ -374,7 +374,7 @@ const rules = reactive({
softwareCopyright: [{required: true, message: '请输入软件著作权', trigger: 'blur'}],
copyright: [{required: true, message: '请输入著作权', trigger: 'blur'}],
other: [{required: true, message: '请输入其他', trigger: 'blur'}],
economicEstimate: [{required: true, message: '请输入经预算', trigger: 'blur'}],
economicEstimate: [{required: true, message: '请输入经预算', trigger: 'blur'}],
specialFundAmount: [{required: true, message: '请输入专项资金', trigger: 'blur'}],
serviceDescription: [{required: true, message: '请输入现有业务描述', trigger: 'blur'}],
contentDescription: [{required: true, message: '请输入研发项目关键内容描述', trigger: 'blur'}]

View File

@@ -213,7 +213,7 @@ const tableConfig = reactive({
},
{
prop: 'economicEstimate',
label: '经预算(元)',
label: '经预算(元)',
align: 'center',
currentRender:({row})=>{
return <span>{toThousands(row.economicEstimate)}</span>

View File

@@ -229,7 +229,7 @@ const tableConfig = reactive({
},
{
prop: 'economicEstimate',
label: '经预算(元)',
label: '经预算(元)',
align: 'center',
currentRender:({row})=>{
return <span>{toThousands(row.economicEstimate)}</span>

View File

@@ -211,7 +211,7 @@ const tableConfig = reactive({
},
{
prop: 'economicEstimate',
label: '经预算(元)',
label: '经预算(元)',
align: 'center',
currentRender:({row})=>{
return <span>{toThousands(row.economicEstimate)}</span>

View File

@@ -50,7 +50,7 @@
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="经预算(元)" prop="economicEstimate">
<el-form-item label="经预算(元)" prop="economicEstimate">
<span>{{ toThousands(localFormData.economicEstimate) }}</span>
</el-form-item>
</el-col>

View File

@@ -122,9 +122,9 @@ const schame = computed(() => {
},
on: {
change: async (val) => {
const {code, data} = await judgeIsSameRole()
const {code, data} = await judgeIsSameRole(form.value.getValues().userId)
if (code === 1000) {
console.log('currentRoleArray.value', currentRoleArray.value)
console.log('currentRoleArray.value',data)
if (currentRoleArray.value.length !== 0) {
val.forEach(selectItem => {
currentRoleArray.value.forEach(currentItem => {