Преглед изворни кода

页面费用模块单位处理

ljb пре 6 месеци
родитељ
комит
7f56c4eb51

+ 63 - 63
src/option/basicResource/technicianRoster.js

@@ -79,13 +79,13 @@ export default {
       width: 50,
       align: 'center',
       showOverflowTooltip: true,
-      rules: [
-        {
-          required: true,
-          message: '请选择性别',
-          trigger: 'change',
-        },
-      ],
+      // rules: [
+      //   {
+      //     required: true,
+      //     message: '请选择性别',
+      //     trigger: 'change',
+      //   },
+      // ],
     },
     {
       label: '出生日期',
@@ -96,13 +96,13 @@ export default {
       width: 90,
       align: 'center',
       showOverflowTooltip: true,
-      rules: [
-        {
-          required: true,
-          message: '请选择出生日期',
-          trigger: 'blur',
-        },
-      ],
+      // rules: [
+      //   {
+      //     required: true,
+      //     message: '请选择出生日期',
+      //     trigger: 'blur',
+      //   },
+      // ],
     },
     {
       label: '民族',
@@ -112,13 +112,13 @@ export default {
       width: 80,
       align: 'center',
       showOverflowTooltip: true,
-      rules: [
-        {
-          required: true,
-          message: '请输入民族',
-          trigger: 'blur',
-        },
-      ],
+      // rules: [
+      //   {
+      //     required: true,
+      //     message: '请输入民族',
+      //     trigger: 'blur',
+      //   },
+      // ],
     },
     {
       label: '所属二级单位/部门',
@@ -147,13 +147,13 @@ export default {
       align: 'center',
       search: true,
       showOverflowTooltip: true,
-      rules: [
-        {
-          required: true,
-          message: '请输入岗位职务',
-          trigger: 'blur',
-        },
-      ],
+      // rules: [
+      //   {
+      //     required: true,
+      //     message: '请输入岗位职务',
+      //     trigger: 'blur',
+      //   },
+      // ],
     },
     {
       label: '岗位所在地',
@@ -164,13 +164,13 @@ export default {
       search: true,
       align: 'center',
       showOverflowTooltip: true,
-      rules: [
-        {
-          required: true,
-          message: '请输入岗位所在地',
-          trigger: 'blur',
-        },
-      ],
+      // rules: [
+      //   {
+      //     required: true,
+      //     message: '请输入岗位所在地',
+      //     trigger: 'blur',
+      //   },
+      // ],
     },
     {
       label: '用工性质',
@@ -205,13 +205,13 @@ export default {
       align: 'center',
       search: true,
       showOverflowTooltip: true,
-      rules: [
-        {
-          required: true,
-          message: '请选择入职时间',
-          trigger: 'blur',
-        },
-      ],
+      // rules: [
+      //   {
+      //     required: true,
+      //     message: '请选择入职时间',
+      //     trigger: 'blur',
+      //   },
+      // ],
     },
     {
       label: '最高学历',
@@ -227,13 +227,13 @@ export default {
         value: 'dictKey',
       },
       showOverflowTooltip: true,
-      rules: [
-        {
-          required: true,
-          message: '请选择最高学历',
-          trigger: 'change',
-        },
-      ],
+      // rules: [
+      //   {
+      //     required: true,
+      //     message: '请选择最高学历',
+      //     trigger: 'change',
+      //   },
+      // ],
     },
     {
       label: '最高学位',
@@ -265,13 +265,13 @@ export default {
       width: 130,
       align: 'center',
       showOverflowTooltip: true,
-      rules: [
-        {
-          required: true,
-          message: '请输入最高学历学校',
-          trigger: 'blur',
-        },
-      ],
+      // rules: [
+      //   {
+      //     required: true,
+      //     message: '请输入最高学历学校',
+      //     trigger: 'blur',
+      //   },
+      // ],
     },
     {
       label: '最高学历专业名称',
@@ -281,13 +281,13 @@ export default {
       width: 120,
       align: 'center',
       showOverflowTooltip: true,
-      rules: [
-        {
-          required: true,
-          message: '请输入最高学历专业名称',
-          trigger: 'blur',
-        },
-      ],
+      // rules: [
+      //   {
+      //     required: true,
+      //     message: '请输入最高学历专业名称',
+      //     trigger: 'blur',
+      //   },
+      // ],
     },
     {
       label: '职称',

+ 2 - 2
src/option/projectManage/designCost.js

@@ -30,10 +30,10 @@ export default {
       }]
     },
     {
-      label: '预算金额/元',
+      label: '预算金额(万元)',
       prop: 'ysje',
       type: 'number',
-      width: 90,
+      width: 110,
       span: 24,
       align: 'center',
       min: 0,

+ 2 - 2
src/option/projectManage/otherCost.js

@@ -30,10 +30,10 @@ export default {
       }]
     },
     {
-      label: '预算金额/元',
+      label: '预算金额(万元)',
       prop: 'ysje',
       type: 'number',
-      width: 90,
+      width: 110,
       span: 24,
       align: 'center',
       showOverflowTooltip: true,

+ 2 - 2
src/option/projectManage/outsourcingCost.js

@@ -43,10 +43,10 @@ export default {
       }]
     },
     {
-      label: '委外费用/元',
+      label: '委外费用(万元)',
       prop: 'wwfy',
       type: 'number',
-      width: 90,
+      width: 110,
       span: 24,
       align: 'center',
       min: 0,

+ 2 - 2
src/option/projectManage/personCost.js

@@ -76,7 +76,7 @@ export default {
       }]
     },
     {
-      label: '月平均人工费用/元',
+      label: '月平均人工费用(万元)',
       prop: 'pjrgfy',
       type: 'number',
       min: 0,
@@ -92,7 +92,7 @@ export default {
       }]
     },
     {
-      label: '预算合计/元',
+      label: '预算合计(万元)',
       prop: 'total',
       type: 'number',
       min: 0,

+ 4 - 4
src/option/projectManage/wxzctxCost.js

@@ -46,20 +46,20 @@ export default {
       }]
     },
     {
-      label: '月摊销额',
+      label: '月摊销额(万元)',
       prop: 'ytxe',
       type: 'number',
-      width: 90,
+      width: 110,
       span: 24,
       align: 'center',
       showOverflowTooltip: true,
       display: false
     },
     {
-      label: '预算合计/元',
+      label: '预算合计(万元)',
       prop: 'yshj',
       type: 'number',
-      width: 90,
+      width: 110,
       span: 24,
       align: 'center',
       showOverflowTooltip: true,

+ 2 - 2
src/option/projectManage/zbCost.js

@@ -30,10 +30,10 @@ export default {
       }]
     },
     {
-      label: '预算金额/元',
+      label: '预算金额(万元)',
       prop: 'ysje',
       type: 'number',
-      width: 90,
+      width: 110,
       span: 24,
       align: 'center',
       min: 0,

+ 3 - 3
src/option/projectManage/zjfyycqdtfyCost.js

@@ -46,7 +46,7 @@ export default {
       }]
     },
     {
-      label: '月折旧额',
+      label: '月折旧额(万元)',
       prop: 'yzje',
       type: 'number',
       width: 90,
@@ -56,7 +56,7 @@ export default {
       display: false,
     },
     {
-      label: '预算合计/元',
+      label: '预算合计(万元)',
       prop: 'yshj',
       type: 'number',
       width: 90,
@@ -79,7 +79,7 @@ export default {
       // }]
     },
     {
-      label: '长期待摊费用金额',
+      label: '长期待摊费用金额(万元)',
       prop: 'cqdtfyysje',
       type: 'number',
       width: 120,

+ 4 - 4
src/option/projectManage/zztlCost.js

@@ -41,7 +41,7 @@ export default {
       showOverflowTooltip: true,
     },
     {
-      label: '单价',
+      label: '单价(万元)',
       prop: 'danJia',
       type: 'number',
       min: 0,
@@ -52,7 +52,7 @@ export default {
       showOverflowTooltip: true,
     },
     {
-      label: '预算金额',
+      label: '预算金额(万元)',
       prop: 'wzysje',
       type: 'number',
       min: 0,
@@ -72,7 +72,7 @@ export default {
       showOverflowTooltip: true,
     },
     {
-      label: '用于运行维护、维修的预算金额',
+      label: '用于运行维护、维修的预算金额(万元)',
       prop: 'ysje',
       type: 'number',
       min: 0,
@@ -91,7 +91,7 @@ export default {
       showOverflowTooltip: true,
     },
     {
-      label: '租赁费用预算',
+      label: '租赁费用预算(万元)',
       prop: 'zlfyys',
       type: 'number',
       min: 0,

+ 1 - 1
src/option/yfCostManage/basicDataSetting/dtCostAllocationList.js

@@ -162,7 +162,7 @@ export default {
       }]
     },
     {
-      label: '月摊销额(每节点/套)(K)',
+      label: '月摊销额(每节点/套)',
       prop: 'ytxe',
       type: 'number',
       min: 0,

+ 2 - 2
src/option/yfCostManage/yfCostStatistics/amortizeCostSummaryList.js

@@ -121,7 +121,7 @@ export default {
       }
     },
     {
-      label: '月摊销额(每节点/套)(K)',
+      label: '月摊销额(每节点/套)',
       prop: 'ytxe',
       type: 'number',
       span: 24,
@@ -151,7 +151,7 @@ export default {
       showOverflowTooltip: true,
     },
     {
-      label: '研发分摊率(%)(N)',
+      label: '研发分摊率(%)',
       prop: 'yanfaFenTanLv',
       type: 'number',
       span: 24,

+ 1 - 1
src/printOption/projectManage/designCost.js

@@ -6,7 +6,7 @@ export default {
       width: 700,
     },
     {
-      label: '预算金额/元',
+      label: '预算金额(万元)',
       prop: 'ysje',
       width: 180,
       align: 'center',

+ 1 - 1
src/printOption/projectManage/otherCost.js

@@ -6,7 +6,7 @@ export default {
       width: 660,
     },
     {
-      label: '预算金额/元',
+      label: '预算金额(万元)',
       prop: 'ysje',
       width: 120,
       align: 'center',

+ 1 - 1
src/printOption/projectManage/outsourcingCost.js

@@ -11,7 +11,7 @@ export default {
       width: 420,
     },
     {
-      label: '委外费用/元',
+      label: '委外费用(万元)',
       prop: 'wwfy',
       width: 100,
       align: 'center',

+ 2 - 2
src/printOption/projectManage/personCost.js

@@ -25,13 +25,13 @@ export default {
       align: 'center',
     },
     {
-      label: '月平均人工费用/元',
+      label: '月平均人工费用(万元)',
       prop: 'pjrgfy',
       width: 120,
       align: 'center',
     },
     {
-      label: '预算合计/元',
+      label: '预算合计(万元)',
       prop: 'total',
       width: 120,
       align: 'center',

+ 3 - 3
src/printOption/projectManage/wxzctxCost.js

@@ -3,7 +3,7 @@ export default {
     {
       label: '资产名称',
       prop: 'zcmc',
-      width: 400,
+      width: 360,
     },
     {
       label: '在项目的工作时长(月)',
@@ -12,13 +12,13 @@ export default {
       align: 'center',
     },
     {
-      label: '月摊销额',
+      label: '月摊销额(万元)',
       prop: 'ytxe',
       width: 120,
       align: 'center',
     },
     {
-      label: '预算合计/元',
+      label: '预算合计(万元)',
       prop: 'yshj',
       width: 120,
       align: 'center',

+ 1 - 1
src/printOption/projectManage/zbCost.js

@@ -6,7 +6,7 @@ export default {
       width: 700,
     },
     {
-      label: '预算金额/元',
+      label: '预算金额(万元)',
       prop: 'ysje',
       width: 180,
       align: 'center',

+ 3 - 3
src/printOption/projectManage/zjfyycqdtfyCost.js

@@ -12,13 +12,13 @@ export default {
       align: 'center',
     },
     {
-      label: '月折旧额',
+      label: '月折旧额(万元)',
       prop: 'yzje',
       width: 80,
       align: 'center',
     },
     {
-      label: '预算合计/元',
+      label: '预算合计(万元)',
       prop: 'yshj',
       width: 80,
       align: 'center',
@@ -29,7 +29,7 @@ export default {
       width: 160,
     },
     {
-      label: '长期待摊费用金额',
+      label: '长期待摊费用金额(万元)',
       prop: 'cqdtfyysje',
       width: 120,
       align: 'center',

+ 4 - 4
src/printOption/projectManage/zztlCost.js

@@ -12,13 +12,13 @@ export default {
       align: 'center',
     },
     {
-      label: '单价',
+      label: '单价(万元)',
       prop: 'danJia',
       width: 70,
       align: 'center',
     },
     {
-      label: '预算金额',
+      label: '预算金额(万元)',
       prop: 'wzysje',
       width: 80,
       align: 'center',
@@ -29,7 +29,7 @@ export default {
       width: 100,
     },
     {
-      label: '用于运行维护、维修的预算金额',
+      label: '用于运行维护、维修的预算金额(万元)',
       prop: 'ysje',
       width: 140,
       align: 'center',
@@ -40,7 +40,7 @@ export default {
       width: 110,
     },
     {
-      label: '租赁费用预算',
+      label: '租赁费用预算(万元)',
       prop: 'zlfyys',
       align: 'center',
       width: 100

+ 1 - 1
src/printOption/yfCostManage/basicDataSetting/dtCostAllocationList.js

@@ -59,7 +59,7 @@ export default {
       align: 'center',
     },
     {
-      label: '月摊销额(每节点/套)(K)',
+      label: '月摊销额(每节点/套)',
       prop: 'ytxe',
       width: 120,
       align: 'center',

+ 2 - 2
src/printOption/yfCostManage/yfCostStatistics/amortizeCostSummaryList.js

@@ -59,7 +59,7 @@ export default {
       align: 'center',
     },
     {
-      label: '月摊销额(每节点/套)(K)',
+      label: '月摊销额(每节点/套)',
       prop: 'ytxe',
       width: 110,
       align: 'center',
@@ -77,7 +77,7 @@ export default {
       align: 'center',
     },
     {
-      label: '研发分摊率(%)(N)',
+      label: '研发分摊率(%)',
       prop: 'yanfaFenTanLv',
       width: 90,
       align: 'center',

+ 17 - 15
src/views/project-manage/components/change-form.vue

@@ -162,21 +162,23 @@
           <tr>
             <td class="doc-label">附件上传</td>
             <td class="doc-input" colspan="3" style="text-align: left;">
-              <avue-upload
-                v-if="!disabled"
-                action="/api/kd-resource/oss/endpoint/put-file"
-                dataType="object"
-                :props-http="{
-                  url: 'link',
-                  name: 'originalName',
-                  res: 'data',
-                }"
-                type="upload"
-                v-model="formData.attachment"
-                style="margin: 14px 0 14px 12px;"
-                :disabled="disabled"
-                :uploadPreview="handleUploadPreview"
-              ></avue-upload>
+              <div v-if="!disabled">
+                <avue-upload
+                  action="/api/kd-resource/oss/endpoint/put-file"
+                  dataType="object"
+                  :props-http="{
+                    url: 'link',
+                    name: 'originalName',
+                    res: 'data',
+                  }"
+                  type="upload"
+                  v-model="formData.attachment"
+                  style="margin: 14px 0 14px 12px;"
+                  :disabled="disabled"
+                  :uploadPreview="handleUploadPreview"
+                  tip="上传变更凭证资料。注:可一次上传多个相关文件(文档、表格、图片等)。支持格式:DOC、PDF、Excel、PNG、JPG、PPT等。请确保文件内容清晰有效。"
+                ></avue-upload>
+              </div>
               <div v-else>
                 <div v-for="(item, index) of formData.attachment" :key="index" style="line-height: 26px; padding: 6px;">
                   <el-link type="primary" @click="handleDownFile(item)">{{ item.label }}</el-link>