Browse Source

津补贴试算修正

sugangqiang 1 year ago
parent
commit
8c9326775d

+ 1 - 0
app/common/api/TalentAllowanceApi.php

@@ -99,6 +99,7 @@ class TalentAllowanceApi {
     public static function validateAllowanceType($id) {
         $info = ["id" => $id];
         $old = self::getInfoById($id);
+        $info["type"] = $old["type"];
         $enterpriseMap = \app\common\model\Enterprise::where("type", $old["type"])->column("name", "id");
         /*         * 查询工作单位记录 */
         $initDetailList = \app\common\model\TalentAllowancecontractDetail::where("mainId", $info["id"])->select()->toArray();

+ 1 - 1
app/enterprise/view/talent_allowance/indexIC.html

@@ -177,7 +177,7 @@
                         </div>
                     </div>
                 </form>
-                <a href="/jbtsbb.xlsx">下载津补贴申报表模板文件</a>
+                <a href="/jbtbiao.xlsx">下载津补贴申报表模板文件</a>
             </div>
             <div class="modal-footer">
                 <button type="button" class="btn btn-primary" onclick="TalentAllowanceInfo.importSubmit()">提交</button>