yxh
yxh
2024-01-04 256c84e5ff19b4597731d12d826d362e0e1e4867
src/views/project/fund/performancedetails/index.vue
@@ -6,9 +6,9 @@
      <el-form ref="form" :model="form" :rules="rules" label-width="120px">
        <el-row>
          <el-col :span="5">
            <el-form-item label="申请日期" prop="createTime">
              <el-date-picker clearable style="width: 100%" v-model="form.createTime" type="date"
                value-format="yyyy-MM-dd HH:mm:ss" placeholder="申请日期">
            <el-form-item label="申请日期" prop="applyTime">
              <el-date-picker clearable style="width: 100%" v-model="form.applyTime" type="date"
                value-format="yyyy-MM-dd HH:mm:ss" placeholder="申请日期" disabled="true">
              </el-date-picker>
            </el-form-item>
          </el-col>
@@ -67,14 +67,12 @@
        <el-row>
          <el-col :span="3">
            <div style="margin-bottom: 15px;">
              <el-button type="success" icon="el-icon-download" @click="Batchentry">批量录入</el-button>
              <el-button type="primary" icon="el-icon-download" size="small" @click="Batchentry">批量录入人员</el-button>
            </div>
          </el-col>
        </el-row>
        <el-row v-if="userprofile.nickName == '陈慕华' && operationType == 'check'">
          <el-col :span="3">
          <el-col :span="3" v-if="userprofile.nickName == '陈慕华' && operationType == 'check'">
            <div style="margin-bottom: 15px;">
              <el-button type="success" icon="el-icon-edit-outline" @click="Manualcalculationfn">计算个税</el-button>
              <el-button type="success" icon="el-icon-edit-outline" size="small" @click="Manualcalculationfn">计算个税</el-button>
            </div>
          </el-col>
        </el-row>
@@ -220,12 +218,13 @@
      <el-form ref="funddetailForm" :model="funddetailForm">
        <el-row>
          <el-form-item label="请输入选择:" prop="unitno" label-width="120px">
          <el-select v-model="funddetailForm.userName" filterable remote reserve-keyword allow-create default-first-option
            placeholder="请输入姓名或单位名称" :remote-method="remoteMethod" :loading="loadingperformance" style="width: 100%">
            <el-option v-for="item in optionsperformance" :key="item.value" :label="item.label" :value="item.value">
            </el-option>
          </el-select>
        </el-form-item>
            <el-select v-model="funddetailForm.userName" filterable remote reserve-keyword allow-create
              default-first-option placeholder="请输入姓名或单位名称" :remote-method="remoteMethod" :loading="loadingperformance"
              style="width: 100%">
              <el-option v-for="item in optionsperformance" :key="item.value" :label="item.label" :value="item.value">
              </el-option>
            </el-select>
          </el-form-item>
        </el-row>
      </el-form>
      <span slot="footer" class="dialog-footer">
@@ -448,9 +447,6 @@
      // 表单校验
      rules: {
        createTime: [
          { required: true, message: "请输入填报日期", trigger: "blur" }
        ],
        reason: [
          { required: true, message: "请输入出差事由", trigger: "blur" }
        ],
@@ -926,7 +922,7 @@
          //判断是否存在上报记录
          this.form.recordstatus = 0;
          var currenttime = new Date();
          this.form.createTime = currenttime.getFullYear() + "-" + (currenttime.getMonth()+1) + "-" + currenttime.getDate() + " " + currenttime.getHours() + ":" + currenttime.getMinutes() + ":" + currenttime.getSeconds();
          this.form.applyTime = currenttime.getFullYear() + "-" + (currenttime.getMonth() + 1) + "-" + currenttime.getDate() + " " + currenttime.getHours() + ":" + currenttime.getMinutes() + ":" + currenttime.getSeconds();
          if (!this.form.id) {
            this.form.id = this.$route.query.id;
@@ -1100,6 +1096,19 @@
          if (this.form.id != null) {
          } else {
            this.form.recordstatus = -1;
            var currenttime = new Date();
            this.form.applyTime =
              currenttime.getFullYear() +
              "-" +
              (currenttime.getMonth() + 1) +
              "-" +
              currenttime.getDate() +
              " " +
              currenttime.getHours() +
              ":" +
              currenttime.getMinutes() +
              ":" +
              currenttime.getSeconds();
          }
          sessionStorage.setItem(