voucher.vue 19.3 KB
Newer Older
我在何方's avatar
我在何方 committed
1 2
<template>
  <div class="app-container">
吴滔's avatar
吴滔 committed
3
    <div slot="header" class="card-title">{{ $t('收款单') }}</div>
我在何方's avatar
我在何方 committed
4
    <!-- 搜索工作栏 -->
5 6 7 8 9 10 11 12 13 14
    <el-card v-show="showSearch" class="card">
      <el-form
        :model="queryParams"
        ref="queryForm"
        size="small"
        :inline="true"
        label-width="100px"
        class="card"
      >
        <el-row :span="24">
吴滔's avatar
吴滔 committed
15
          <el-form-item :label="$t('收款单号')">
16 17 18
            <el-input
              style="max-width: 188px"
              v-model="queryParams.receiptNo"
吴滔's avatar
吴滔 committed
19
              :placeholder="$t('请输入收款单号')"
20 21 22 23
              clearable
              @keyup.enter.native="handleQuery"
            />
          </el-form-item>
吴滔's avatar
吴滔 committed
24
          <el-form-item :label="$t('客户名称')">
25 26
            <customer-selector
              v-model="queryParams.customerId"
我在何方's avatar
我在何方 committed
27 28
              @change="changeCustomerId"
              clearable
29 30
            />
          </el-form-item>
吴滔's avatar
吴滔 committed
31
          <el-form-item :label="$t('状态')">
32 33 34
            <dict-selector
              :type="DICT_TYPE.ECW_RECEIPT_STATE"
              v-model="queryParams.state"
35
              clearable
36 37
            />
          </el-form-item>
吴滔's avatar
吴滔 committed
38
          <el-form-item :label="$t('业务员')">
39 40
            <el-select
              v-model="queryParams.salesmanId"
吴滔's avatar
吴滔 committed
41
              :placeholder="$t('请选择业务员')"
42
              clearable
43 44 45 46 47 48 49 50 51 52 53 54
            >
              <el-option
                v-for="item in creatorData"
                :key="item.id"
                :label="item.nickname"
                :value="item.id"
              />
            </el-select>
          </el-form-item>
        </el-row>
        <el-row :span="24">
          <el-col style="width: 592px">
吴滔's avatar
吴滔 committed
55
            <el-form-item :label="$t('创建时间')">
56
              <el-date-picker
57
                v-model="dateFilter"
58
                type="datetimerange"
吴滔's avatar
吴滔 committed
59
                range-separator="-"
60
                value-format="yyyy-MM-dd HH:mm:ss"
吴滔's avatar
吴滔 committed
61 62
                :start-placeholder="$t('请选择日期')"
                :end-placeholder="$t('请选择日期')"
63 64 65 66
              >
              </el-date-picker>
            </el-form-item>
          </el-col>
我在何方's avatar
我在何方 committed
67 68
          <el-form-item>
            <el-button type="primary" @click="handleQuery">{{ $t('查找') }}</el-button>
69 70 71 72 73
          </el-form-item>
        </el-row>
      </el-form>
    </el-card>
    <el-table v-loading="loadings" :data="list" border class="card">
吴滔's avatar
吴滔 committed
74
      <el-table-column :label="$t('序号')" align="center" prop="id" type="index">
75 76 77 78
        <template slot-scope="scope">
          <span>{{ scope.$index + 1 }}</span>
        </template>
      </el-table-column>
79 80 81 82 83
      <el-table-column :label="$t('收款单号')" align="center" prop="receiptNo" />
        <!-- <template slot-scope="scope"> -->
          <!-- <span style="color: #1890ff;" @click="verificationCancelClick(scope.row)">{{scope.row.receiptNo}}</span> -->
        <!-- </template> -->
      <!-- </el-table-column> -->
吴滔's avatar
吴滔 committed
84 85
      <el-table-column :label="$t('客户名称')" align="center" prop="customerName" />
      <el-table-column :label="$t('创建日期')" align="center" prop="createTime">
86 87 88 89
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
吴滔's avatar
吴滔 committed
90
      <el-table-column :label="$t('实收日期')" align="center" prop="payedAt">
91
        <template slot-scope="scope">
我在何方's avatar
我在何方 committed
92
          <span>{{ parseTime(scope.row.payedAt, '{y}-{m}-{d}') }}</span>
93 94
        </template>
      </el-table-column>
吴滔's avatar
吴滔 committed
95 96
      <el-table-column :label="$t('业务员')" align="center" prop="salesmanName" />
      <el-table-column :label="$t('状态')" align="center">
97 98 99 100 101
        <template slot-scope="scope">
          <dict-tag
            :type="DICT_TYPE.ECW_RECEIPT_STATE"
            :value="scope.row.state"
          />
我在何方's avatar
我在何方 committed
102
          <span v-if="scope.row.remark&&(scope.row.state==1 || scope.row.state ==3 || scope.row.state==8)" :title="scope.row.remark"><i class="el-icon-question"></i></span>
103 104
        </template>
      </el-table-column>
吴滔's avatar
吴滔 committed
105
      <el-table-column :label="$t('是否开票')" align="center">
106
        <template slot-scope="scope">
吴滔's avatar
吴滔 committed
107
          {{ scope.row.openInvoice === 0 ? $t('') : $t('') }}
108 109 110
        </template>
      </el-table-column>
      <el-table-column
吴滔's avatar
吴滔 committed
111
        :label="$t('操作')"
112 113 114 115
        align="center"
        class-name="small-padding fixed-width"
      >
        <template slot-scope="scope">
116 117 118 119 120 121
          <el-button
            size="mini"
            type="text"
            v-hasPermi="['ecw:voucher:see']"
            @click="verificationCancelClick(scope.row)"
            >{{ $t('查看')}}</el-button>
122
          <el-button
我在何方's avatar
我在何方 committed
123
            v-if="scope.row.state === 0"
124 125
            size="mini"
            type="text"
126
            v-hasPermi="['ecw:voucher:edit']"
127
            @click="handleAdd(scope.row.id)"
吴滔's avatar
吴滔 committed
128
            >{{ $t('编辑') }}</el-button
129
          >
130 131
          <!-- <el-button
            v-if="scope.row.state == "
132 133 134
            size="mini"
            type="text"
            @click="verificationClick(scope.row)"
Marcus's avatar
Marcus committed
135
            >{{ $t('核销') }}</el-button
136
          > -->
137
          <el-button
138
            v-if="scope.row.state == 4 || scope.row.state == 5 || scope.row.state == 6"
139 140
            size="mini"
            type="text"
141
            v-hasPermi="['ecw:voucher:cancelWriteOff']"
我在何方's avatar
我在何方 committed
142
            @click="writeOffShow(2,scope.$index)"
吴滔's avatar
吴滔 committed
143
            >{{ $t('反核销') }}</el-button
144
          >
145
          <el-button
我在何方's avatar
我在何方 committed
146
            v-if="scope.row.state == 1"
147 148
            size="mini"
            type="text"
我在何方's avatar
我在何方 committed
149
            v-hasPermi="['ecw:voucher:deApproval']"
我在何方's avatar
我在何方 committed
150
            @click="writeOffShow(1,scope.$index)"
151 152
            >{{ $t('反审核') }}</el-button
          >
我在何方's avatar
我在何方 committed
153
         <el-button
我在何方's avatar
我在何方 committed
154
            v-if="scope.row.state == 7"
155 156
            size="mini"
            type="text"
我在何方's avatar
我在何方 committed
157
            v-hasPermi="['ecw:vocher:cancelAppoval']"
我在何方's avatar
我在何方 committed
158
            @click="cancelClick(scope.$index,1)"
159 160 161
            >{{ $t('取消审核') }}</el-button
          >
          <el-button
我在何方's avatar
我在何方 committed
162
            v-if="scope.row.state == 11"
163 164
            size="mini"
            type="text"
我在何方's avatar
我在何方 committed
165
            v-hasPermi="['ecw:vocher:cancelWriteOfflNo']"
我在何方's avatar
我在何方 committed
166
            @click="cancelClick(scope.$index,3)"
167 168
            >{{ $t('取消反核销审核') }}</el-button
          >
我在何方's avatar
我在何方 committed
169 170 171 172 173 174 175 176
          <el-button
            v-if="scope.row.state == 10"
            size="mini"
            type="text"
            v-hasPermi="['ecw:vocher:cancelWriteOffAll']"
            @click="cancelClick(scope.$index,4)"
            >{{ $t('取消全部核销审核') }}</el-button
          >
177
          <el-button
我在何方's avatar
我在何方 committed
178
            v-if="scope.row.state == 9"
179 180
            size="mini"
            type="text"
我在何方's avatar
我在何方 committed
181
            v-hasPermi="['ecw:vocher:cancelAppovalNo']"
我在何方's avatar
我在何方 committed
182 183
            @click="cancelClick(scope.$index,2)"
            >{{ $t('取消反审核') }}</el-button
184 185 186 187
          >
          <el-button
            size="mini"
            type="text"
我在何方's avatar
我在何方 committed
188
            v-if="scope.row.state == 9 || scope.row.state == 7 || scope.row.state == 11|| scope.row.state == 10"
189
            v-hasPermi="['ecw:voucher:cancelWriteOff']"
我在何方's avatar
我在何方 committed
190
            @click="$router.push(`/bpm/process-instance/detail?id=`+scope.row.bmpId)"
191
            >{{ $t('审核详情') }}</el-button
我在何方's avatar
我在何方 committed
192
          >
193
          <el-button
194
            v-if="scope.row.state == 5"
195 196
            size="mini"
            type="text"
197
            v-hasPermi="['ecw:voucher:ballot']"
198
            @click="openInvoice(scope.row.id)"
吴滔's avatar
吴滔 committed
199
            >{{ $t('开票') }}</el-button
200
          >
201
          <el-button v-if="scope.row.state == 1 || scope.row.state == 2 || scope.row.state == 3"  v-hasPermi="['ecw:voucher:payment']" size="mini" type="text" @click="verificationCancelClick(scope.row)">{{ $t('收款') }}</el-button>
我在何方's avatar
我在何方 committed
202
          <el-button v-if="scope.row.state == 0" size="mini" type="text"  v-hasPermi="['ecw:voucher:delete']" @click="deleteClick(scope.row)">{{ $t('删除') }}</el-button>
203
          <el-button
我在何方's avatar
我在何方 committed
204
            v-if="scope.row.state != 0 && scope.row.state != 7 && scope.row.state != 11 && scope.row.state != 8 && scope.row.state != 9"
205 206 207
            size="mini"
            type="text"
            @click="toprint(scope.row.id)"
208
            v-hasPermi="['ecw:voucher:print']"
吴滔's avatar
吴滔 committed
209
            >{{ $t('打印') }}</el-button
210
          >
211
          <el-button
我在何方's avatar
我在何方 committed
212
            v-if="scope.row.state != 0 && scope.row.state != 7 && scope.row.state != 11 && scope.row.state != 8 && scope.row.state != 9"
213 214
            size="mini"
            type="text"
215
            v-hasPermi="['ecw:voucher:derive']"
216
            @click="exportReceipt(scope.row.id)"
吴滔's avatar
吴滔 committed
217
            >{{ $t('导出账单') }}</el-button
218 219 220 221 222 223 224 225 226 227 228 229 230 231
          >
        </template>
      </el-table-column>
    </el-table>
    <!-- 分页组件 -->
    <pagination
      v-show="total > 0"
      :total="total"
      :page.sync="queryParams.page"
      :limit.sync="queryParams.rows"
      @pagination="getList"
    />
    <!-- 对话框(添加 / 修改) -->
    <el-dialog
吴滔's avatar
吴滔 committed
232
      :title="$t('导出账单')"
233 234 235 236 237 238
      :visible.sync="open"
      width="500px"
      style="margin-top: 20vh !important"
      append-to-body
    >
      <!-- <div slot="title" class="card-title" style='border-bottom: 2px solid #f8f8f8;'>
Marcus's avatar
Marcus committed
239
            <span>{{ $t('导出账单') }}</span>
我在何方's avatar
我在何方 committed
240
            <i class="el-icon-close" @click="cancel"></i>
241 242
          </div> -->
      <div class="dialog-footer">
243
        <el-button type="primary" style="width: 130px" @click="submitForm(1)" v-loading="downloading">{{ $t('国内账单') }}</el-button
244 245 246
        >
        <el-button
          plain
247
          v-loading="downloading"
248 249 250 251 252 253 254
          type="primary"
          style="width: 130px; margin: 0"
          @click="submitForm(2)"
          >Debite note</el-button
        >
      </div>
    </el-dialog>
255
    <el-dialog
我在何方's avatar
我在何方 committed
256
     :title="writeOffType==1?$t('收款单反审核'):$t('收款单反核销')"
257 258 259 260
      :visible.sync="dialogVisible"
      width="30%">
       <div class="cancel_content">
         <span>{{$t('申请理由')}}</span>
我在何方's avatar
我在何方 committed
261
         <el-input type="textarea" :rows ="6" v-model="reason" :placeholder="$t('请输入理由')"></el-input>
262
       </div>
我在何方's avatar
我在何方 committed
263 264 265
      <span slot="footer" class="dialog-footers">
        <el-button v-if="writeOffType==1" type="primary" @click="writeOffClick()">{{$t('提交反审核')}}</el-button>
        <el-button v-else type="primary" @click="writeOffClick()">{{$t('提交反核销')}}</el-button>
266 267 268
        <el-button @click="dialogVisible = false">{{$t('取消')}}</el-button>
      </span>
    </el-dialog>
我在何方's avatar
我在何方 committed
269 270 271 272 273 274 275 276 277 278 279 280 281
    <el-dialog
     :title="cancelTitle"
      :visible.sync="cancelShow"
      width="30%">
       <div class="cancel_content">
         <span>{{$t('申请理由')}}</span>
         <el-input type="textarea" :rows ="6" v-model="cancelReason" :placeholder="$t('请输入取消理由')"></el-input>
       </div>
      <span slot="footer" class="dialog-footers">
        <el-button type="primary" @click="cancelWriteOffClick()">{{$t('提交')}}</el-button>
        <el-button @click="cancelShow = false">{{$t('取消')}}</el-button>
      </span>
    </el-dialog>
我在何方's avatar
我在何方 committed
282 283 284 285
  </div>
</template>

<script>
286 287 288 289 290
import { listSimpleUsers } from "@/api/system/user";
import { DICT_TYPE } from "@/utils/dict";
import CustomerSelector from "@/components/CustomerSelector";
import {
  getReceiptList,
291 292
  // receiptVerification,
  // receiptVerificationCancel,
293
  receiptExportExcel,
我在何方's avatar
我在何方 committed
294 295 296 297 298
  deleteReceipt,
  financeReceiptWriteOffNo,
  financeApproveNo,
  cancelFinanceReceiptApproval,
  cancelFinanceReceiptApprovalNo,
我在何方's avatar
我在何方 committed
299 300
  cancelFinanceReceiptWriteOffNo,
  cancelFinanceReceiptWriteOff
301
} from "@/api/ecw/financial";
我在何方's avatar
我在何方 committed
302

303
export default {
304
  name: "EcwFinancialVoucher",
305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320
  components: {
    CustomerSelector,
  },
  data() {
    return {
      exportId: "",
      open: false,
      showSearch: true,
      loadings: false,
      form: {},
      creatorData: [],
      list: [],
      total: 0,
      dateType: [],
      loading: "",
      params: {
321

322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341
      },
      // 查询参数
      queryParams: {
        page: 1,
        rows: 20,
        dateType: null,
        date: null,
        originId: null,
        destinationId: null,
        transportId: null,
        isCargoControl: null,
        orderExceptionStatus: null,
        orderExceptionType: null,
        orderNo: null,
        consignorId: null,
        marks: null,
        prodId: null,
        productRecord: null,
        followUpSalesmanId: null,
      },
342
      dateFilter:[],
343
      downloading: false, // 导出状态
344
      dialogVisible:false,
我在何方's avatar
我在何方 committed
345 346 347 348 349 350 351 352
      reason:'',
      writeOffType:1,
      writeOffIndex:0,
      cancelShow:false,
      cancelTitle:'',
      cancelReason:'',
      cancelIndex:0,
      selectIndex:0
353 354
    };
  },
355
  activated(){
356
    this.getList();
357
  },
358 359 360 361 362 363 364 365 366
  created() {
    let that = this;
    listSimpleUsers().then((res) => (that.creatorData = res.data));
    this.getList();
  },
  methods: {
    /** 查询列表 */
    getList() {
      this.loading = true;
367 368 369 370 371 372 373
      this.params = {}
      for(var key in this.queryParams){
          if(this.queryParams[key]){
            this.params[key] = this.queryParams[key]
          }
         }
      console.log(this.params)
374
      // 处理查询参数
375
      let params = { ...this.params };
376 377 378 379 380 381 382 383
      this.addBeginAndEndTime(params, this.dateRangeCreateTime, "createTime");
      // 执行查询
      getReceiptList(params).then((response) => {
        this.list = response.data.list;
        this.total = response.data.total;
        this.loading = false;
      });
    },
我在何方's avatar
我在何方 committed
384 385 386
    changeCustomerId(e){
      this.$set(this.queryParams,'customerId',e.id)
    },
387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414
    verificationClick(row) {
      const id = row.id;
      return this.$router.push("receiptDetail?id=" + id);
    //   this.$modal
    //     .confirm("您确认要核销吗?")
    //     .then(function () {
    //       return receiptVerification(id);
    //     })
    //     .then(() => {
    //       this.getList();
    //       this.$modal.msgSuccess("核销成功");
    //     })
    //     .catch(() => {});
    },
    verificationCancelClick(row) {
      const id = row.id;
      return this.$router.push("receiptDetail?id=" + id);
      // this.$modal
      //   .confirm("您确认要反核销吗?")
      //   .then(function () {
      //     return receiptVerificationCancel(id);
      //   })
      //   .then(() => {
      //     this.getList();
      //     this.$modal.msgSuccess("反核销成功");
      //   })
      //   .catch(() => {});
    },
我在何方's avatar
我在何方 committed
415 416 417 418 419 420 421 422 423
    //显示取消审核弹窗
    cancelClick(index,type){
      this.selectIndex = index
      this.cancelIndex = type
      this.cancelReason = ''
      if(this.cancelIndex==1){
        this.cancelTitle = this.$t('取消审核')
      }else if(this.cancelIndex == 2){
         this.cancelTitle = this.$t('取消反审核')
我在何方's avatar
我在何方 committed
424
      }else if(this.cancelIndex == 3){
我在何方's avatar
我在何方 committed
425
         this.cancelTitle = this.$t('取消反核销审核')
我在何方's avatar
我在何方 committed
426 427
      }else{
        this.cancelTitle = this.$t('取消全部核销审核')
我在何方's avatar
我在何方 committed
428 429 430 431 432 433 434 435 436 437 438 439 440
      }
      this.cancelShow = true
    },
    //取消审核
    cancelWriteOffClick(){
      if(!this.cancelReason){
         this.$modal.msgError(this.$t('请输入申请理由'));
        return
      }
      var receiptId = this.list[this.selectIndex].id
      if(this.cancelIndex==1){
            cancelFinanceReceiptApproval({receiptId:receiptId,remark:this.cancelReason}).then(res=>{
              this.cancelShow = false
我在何方's avatar
我在何方 committed
441
              this.getList();
我在何方's avatar
我在何方 committed
442 443
              this.$message.success(this.$t("提交成功"));

我在何方's avatar
我在何方 committed
444 445 446 447
            });
      }else if(this.cancelIndex ==2){
          cancelFinanceReceiptApprovalNo({receiptId:receiptId,remark:this.cancelReason}).then(res=>{
            this.cancelShow = false
我在何方's avatar
我在何方 committed
448
            this.getList();
我在何方's avatar
我在何方 committed
449 450
            this.$message.success(this.$t("提交成功"));

我在何方's avatar
我在何方 committed
451
          });
我在何方's avatar
我在何方 committed
452
      }else if(this.cancelIndex ==3){
我在何方's avatar
我在何方 committed
453 454
          cancelFinanceReceiptWriteOffNo({receiptId:receiptId,remark:this.cancelReason}).then(res=>{
            this.cancelShow = false
我在何方's avatar
我在何方 committed
455
            this.getList();
我在何方's avatar
我在何方 committed
456 457
            this.$message.success(this.$t("提交成功"));

我在何方's avatar
我在何方 committed
458 459 460 461 462 463
          });
      }else{
          cancelFinanceReceiptWriteOff({receiptId:receiptId,remark:this.cancelReason}).then(res=>{
            this.cancelShow = false
            this.getList();
            this.$message.success(this.$t("提交成功"));
464

我在何方's avatar
我在何方 committed
465 466 467 468 469 470 471 472 473 474 475
          });
      }

    },
    writeOffClick(){
      if(!this.reason){
         this.$modal.msgError(this.$t('请输入申请理由'));
        return
      }
      const receiptIdData = this.list[this.writeOffIndex]
      if(this.writeOffType==1){
476 477 478
        // this.$alert()
        //   .confirm(this.$t('您确认要反审核吗')+'?')
        //   .then(()=>{
我在何方's avatar
我在何方 committed
479
            financeApproveNo({receiptId:receiptIdData.id,receiptNo:receiptIdData.receiptNo,remark:this.reason}).then(res=>{
我在何方's avatar
我在何方 committed
480
              this.getList();
我在何方's avatar
我在何方 committed
481 482 483 484
              this.$message.success(this.$t("提交成功"));
              this.dialogVisible = false
              // this.$store.dispatch('tagsView/delCurrentView')
            });
485 486
          // })
          // .catch(() => {this.dialogVisible = false});
我在何方's avatar
我在何方 committed
487
      }else{
488 489 490
        // this.$modal
        //   .confirm(this.$t('您确认要反核销吗')+'?')
        //   .then(()=>{
我在何方's avatar
我在何方 committed
491
            financeReceiptWriteOffNo({receiptId:receiptIdData.id,receiptNo:receiptIdData.receiptNo,remark:this.reason}).then(res=>{
我在何方's avatar
我在何方 committed
492
              this.getList();
我在何方's avatar
我在何方 committed
493 494 495 496
              this.$message.success(this.$t("提交成功"));
              this.dialogVisible = false
              // this.$store.dispatch('tagsView/delCurrentView')
            });
497 498
          // })
          // .catch(() => {this.dialogVisible = false});
我在何方's avatar
我在何方 committed
499 500 501
      }

    },
502 503
    deleteClick(row) {
      const id = row.id;
我在何方's avatar
我在何方 committed
504
      this.$modal.confirm(this.$t('是否确认删除该收款单')+'?').then(function() {
505 506 507
        return deleteReceipt(id);
      }).then(() => {
        this.getList();
吴滔's avatar
吴滔 committed
508
        this.$modal.msgSuccess(this.$t('删除成功'));
509 510 511 512
      }).catch(() => {});
    },
    /** 搜索按钮操作 */
    handleQuery() {
513 514 515 516 517 518 519 520
      if(this.dateFilter&&this.dateFilter.length>0){
        this.queryParams.beginCreateTime = this.dateFilter[0]
        this.queryParams.endCreateTime = this.dateFilter[1]
      }else{
        this.queryParams.beginCreateTime = ''
        this.queryParams.endCreateTime = ''
      }

521
      this.queryParams.page = 1;
我在何方's avatar
我在何方 committed
522
      this.getList();
523 524 525 526 527 528 529 530 531 532 533 534 535 536 537
    },
    /** 新增按钮操作 */
    handleAdd(id) {
      return this.$router.push("creatCollection?id=" + id);
    },
    toprint(id) {
      return this.$router.push("printVoucher?id=" + id);
    },
    openInvoice(id) {
      return this.$router.push("openInvoice?id=" + id);
    },
    exportReceipt(id) {
      this.open = true;
      this.exportId = id;
    },
我在何方's avatar
我在何方 committed
538 539 540 541 542 543 544
    //显示反审核反核销弹窗
    writeOffShow(type,index){
      this.writeOffType = type
      this.writeOffIndex = index
      this.reason = ''
      this.dialogVisible = true
    },
545
    submitForm(type) {
546
      this.downloading = true
547
      receiptExportExcel({ id: this.exportId, billType: type }).then((response) => {
吴滔's avatar
吴滔 committed
548
          this.$download.excel(response, `${type === 1 ? this.$t('国内账单') : "Debite_note"}.xls`);
我在何方's avatar
我在何方 committed
549
          this.open = false;
550
        }
551
      ).finally(() => this.downloading = false)
552 553 554 555 556 557 558 559
    },
    /** 取消按钮 */
    //  cancel() {
    //    this.open = false;
    //  },
  },
};
</script>
我在何方's avatar
我在何方 committed
560

我在何方's avatar
我在何方 committed
561
 <style scoped>
562 563 564 565 566 567 568 569 570 571 572
.card {
  margin-top: 20px;
}
.dialog-footer {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 160px;
}
我在何方's avatar
我在何方 committed
573 574 575 576 577
.dialog-footers{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
578 579 580 581
.card-title {
  font-size: 18px;
  font-weight: bold;
}
582 583 584 585 586 587 588 589 590
  .cancel_content{
    display: flex;
    flex-direction: column;
  }
  .cancel_content span{
    font-size: 16px;
    font-weight:600;
    margin-bottom:10px
  }
591
</style>