Explorar o código

Finish Hotfix-zh-43

howie %!s(int64=3) %!d(string=hai) anos
pai
achega
13490cd86b

+ 3 - 1
src/views/engin_deposit/components/deposit-apply-surrender.vue

@@ -225,7 +225,7 @@
             <el-form-item label="申请人" prop="submitBy">
               <el-input
               readonly
-                v-model="details.submitBy"
+                v-model="details.submitName"
                 placeholder="请输入"
               ></el-input>
             </el-form-item>
@@ -318,6 +318,8 @@ export default {
       applyDeposit(this.details).then((res) => {
         this.$successMsg("申请成功");
         this.$parent.showPage = 1;
+        this.$parent.deduction=''
+        this.$parent.getList()
       });
     },
     handleReset() {

+ 1 - 1
src/views/engin_deposit/deposit_list.vue

@@ -343,7 +343,7 @@ export default {
       const params = {
         pageSize: this.pageSize,
         pageNum: this.currentPage,
-        isRefundDeposit: this.deduction !=='全部',
+        isRefundDeposit: this.deduction ==='已退押'?true:null,
         ...this.screenForm
       }
       getList(params).then((res) => {