prepayDeal.vue 39.4 KB
Newer Older
1 2 3 4
<template>
  <div class="app-container">
    <el-card>
     <div slot="header" class="header">
我在何方's avatar
我在何方 committed
5
       <div class="card-title">{{$t('查看')}}</div>
dragondean@qq.com's avatar
dragondean@qq.com committed
6
       <el-button type="primary" icon="el-icon-arrow-left" @click="$store.dispatch('tagsView/delCurrentView')">{{$t('返回')}}</el-button>
7
     </div>
dragondean@qq.com's avatar
dragondean@qq.com committed
8
     <el-form v-if="orderData" :model="orderData" ref="queryForm" size="small" :inline="true"  label-width="120px" class="card">
9
       <el-row>
我在何方's avatar
我在何方 committed
10
          <el-form-item :label="$t('订单号')+':'">
我在何方's avatar
我在何方 committed
11 12 13
            <router-link :to="{path: '/order/detail',query: {orderId: orderData.orderId}}" class="link-type">
              <span>{{orderData.orderNo || ''}}</span>
            </router-link>
我在何方's avatar
我在何方 committed
14

15 16
          </el-form-item>
       </el-row>
我在何方's avatar
我在何方 committed
17
       <div v-if="shopData&&['goods_add_exception','fee_exception',].indexOf(orderExceptionData.orderExceptionType) == -1">
我在何方's avatar
我在何方 committed
18
         <el-row>
我在何方's avatar
我在何方 committed
19
            <el-form-item :label="$t('产品名称')+':'" >
dragondean@qq.com's avatar
dragondean@qq.com committed
20
              {{shopData.prodTitleZh || ''}}
我在何方's avatar
我在何方 committed
21 22 23
            </el-form-item>
         </el-row>
         <el-row>
我在何方's avatar
我在何方 committed
24
            <el-form-item :label="$t('产品英文名称')+':'">
dragondean@qq.com's avatar
dragondean@qq.com committed
25
              {{shopData.prodTitleEn || ''}}
我在何方's avatar
我在何方 committed
26 27 28
            </el-form-item>
         </el-row>
       </div>
29
       <el-row>
我在何方's avatar
我在何方 committed
30
           <el-form-item :label="$t('运输路线')+':'" >
Marcus's avatar
Marcus committed
31
               <span v-if="orderData">{{ $t('') }}<dict-tag :type="DICT_TYPE.ECW_TRANSPORT_TYPE" :value="orderData.transportId" />{{ $t('') }}</span>
我在何方's avatar
我在何方 committed
32
                {{orderData?getRouterNameById():''}}
33 34
           </el-form-item>
       </el-row>
chenjiuping's avatar
chenjiuping committed
35

dragondean@qq.com's avatar
dragondean@qq.com committed
36
       <!-- 单证异常,发货人异常,其他异常 不显示这部分内容 -->
我在何方's avatar
我在何方 committed
37
       <div v-if="['order_doc_exception','order_consignor_exception', 'order_other_exception','fee_exception'].indexOf(orderExceptionData.orderExceptionType) == -1">
dragondean@qq.com's avatar
dragondean@qq.com committed
38
        <!-- 预付异常,提货异常,代收货款是针对整个订单的 -->
39
        <template v-if="['order_pay_exception','order_pick_up_exception', 'order_cod_exception','not_customer_service_exception'].indexOf(orderExceptionData.orderExceptionType) > -1">
dragondean@qq.com's avatar
dragondean@qq.com committed
40 41 42 43 44 45
          <el-row>
              <el-form-item :label="$t('填单参数')+':'">
                <template v-if="orderData && orderData.costVO">
                {{(orderData.costVO.totalNum||0)+$t('')+(orderData.costVO.totalVolume||0)+''+(orderData.costVO.totalWeight||0)+'kg '+(orderData.costVO.totalQuantity||0)+$t('')}}
                </template>
              </el-form-item>
dragondean@qq.com's avatar
dragondean@qq.com committed
46
              <el-form-item :label="$t('代收金额')+':'" v-if="orderExceptionData.orderExceptionType == 'order_cod_exception'">
dragondean@qq.com's avatar
dragondean@qq.com committed
47
                <template v-if="orderData && orderData.costVO">
48
                  {{orderExceptionData.orderExceptionAmount}} {{currencyMap[orderExceptionData.orderExceptionAmountCurrencyId]}}
dragondean@qq.com's avatar
dragondean@qq.com committed
49 50
                </template>
              </el-form-item>
dragondean@qq.com's avatar
dragondean@qq.com committed
51 52 53 54 55 56 57 58 59 60 61
          </el-row>
          <el-row>
              <el-form-item :label="$t('入仓参数')+':'">
                <template v-if="orderData && orderData.costVO">
                  <span>{{(orderData.sumNum||0)+$t('')+(orderData.sumVolume||0)+''+(orderData.sumWeight||0)+'kg '+(orderData.sumQuantity||0) +$t('')}}</span>
                </template>
              </el-form-item>
          </el-row>
        </template>

        <template v-else>
62
          <el-row v-if="shopData">
我在何方's avatar
我在何方 committed
63
            <el-form-item :label="$t('填单参数')+':'">
64
              <template >
65 66 67 68 69 70
                {{$t('{num}箱 {volume}m³ {weight}kg {quantity}', {
                  num: shopData.num || 0,
                  volume: shopData.volume || 0,
                  weight: shopData.weight || 0,
                  quantity: shopData.quantity || 0
                })}}
dragondean@qq.com's avatar
dragondean@qq.com committed
71
              </template>
我在何方's avatar
我在何方 committed
72
            </el-form-item>
dragondean@qq.com's avatar
dragondean@qq.com committed
73 74
          </el-row>
          <el-row v-if="shopData">
75
              <el-form-item :label="$t('入仓参数')+':'" ><template v-if="shopData.warehouseInInfoVO">
dragondean@qq.com's avatar
dragondean@qq.com committed
76 77 78 79 80
                {{$t('{num}箱 {volume}m³ {weight}kg {quantity}', {
                    num: shopData.warehouseInInfoVO.cartonsNum || 0,
                    volume: shopData.warehouseInInfoVO.volume || 0,
                    weight: shopData.warehouseInInfoVO.weight || 0,
                    quantity: shopData.warehouseInInfoVO.quantityAll || 0
81
                  })}}</template>
dragondean@qq.com's avatar
dragondean@qq.com committed
82
                <!-- <span>{{(orderData.sumNum||0)+$t('')+(orderData.sumVolume||0)+''+(orderData.sumWeight||0)+'kg '+(orderData.sumQuantity||0) +$t('')}}</span> -->
83

dragondean@qq.com's avatar
dragondean@qq.com committed
84
              <template v-else>{{$t('无入仓数据')}}</template>
85
              </el-form-item>
dragondean@qq.com's avatar
dragondean@qq.com committed
86 87
          </el-row>
        </template>
chenjiuping's avatar
chenjiuping committed
88

dragondean@qq.com's avatar
dragondean@qq.com committed
89 90
        <el-row :span="12">
          <el-form-item :label="$t('异常描述')+':'">
91
            <!-- <dict-tag :type="DICT_TYPE.ORDER_ERROR_TYPE" :value="orderExceptionData.orderExceptionType" /> -->
dragondean@qq.com's avatar
dragondean@qq.com committed
92
            <!-- {{orderExceptionData.orderExceptionDescVO?orderExceptionData.orderExceptionDescVO.descZh:''}} -->
93
            {{$l(orderExceptionData.orderExceptionDescVO, 'desc')}}
dragondean@qq.com's avatar
dragondean@qq.com committed
94
          </el-form-item>
95
          <el-button v-if="orderExceptionData.orderExceptionType=='order_pay_exception'&&orderExceptionData.orderExceptionStatus!=2" type="primary" plain icon="el-icon-plus" style="margin-left: 200px;"  @click="handleAdd">{{ $t('新增收款单') }}</el-button>
dragondean@qq.com's avatar
dragondean@qq.com committed
96 97 98 99 100 101
        </el-row>
        <el-row v-if="orderExceptionData.orderExceptionDetails">
          <el-form-item :label="$t('详细内容')+':'">
            <span>{{orderExceptionData.orderExceptionDetails}}</span>
          </el-form-item>
        </el-row>
102
        <el-row v-if="orderExceptionData.orderExceptionType=='order_pay_exception'||orderExceptionData.orderExceptionType!='goods_add_exception'">
dragondean@qq.com's avatar
dragondean@qq.com committed
103 104 105 106
          <el-form-item :label="$t('收费参数')+':'">
            <span>{{orderData.sumNum||0}}{{$t('')}} {{orderData.wvolume||0}}m³  {{orderData.vweight||0}}Kg  {{orderData.sumQuantity||0}}{{$t('')}}</span>
          </el-form-item>
        </el-row>
107 108 109 110 111 112 113 114 115 116
        <el-row>
          <el-form-item :label="$t('创建时间')+':'">
            <span>{{parseTime(orderExceptionData.createTime)}}</span>
          </el-form-item>
        </el-row>
        <el-row>
          <el-form-item :label="$t('处理时间')+':'">
               <span>{{parseTime(orderExceptionData.handlerTime)||'/'}}</span>
          </el-form-item>
        </el-row>
我在何方's avatar
我在何方 committed
117
       </div>
我在何方's avatar
我在何方 committed
118
     </el-form>
119

dragondean@qq.com's avatar
dragondean@qq.com committed
120
      <!-- 预付异常的表格 -->
121
      <el-table v-if="orderExceptionData.orderExceptionType=='order_pay_exception'" v-loading="loading" border :data="preException">
dragondean@qq.com's avatar
dragondean@qq.com committed
122 123 124 125 126 127 128 129 130 131 132 133 134 135
        <el-table-column :label="$t('品名')" align="center">
          <template slot-scope="scope">
            {{scope.row.titleZh+'('+scope.row.titleEn+')'}}
          </template>
        </el-table-column>
        <el-table-column :label="$t('箱数')" prop="num" />
        <el-table-column :label="$t('体积/重量')">
          <template slot-scope="scope">
              {{scope.row.volume+'/'+scope.row.weight}}
            </template>
          </el-table-column>
          <el-table-column :label="$t('收款类型')">
              <template >
                {{$t('预付')}}
136
              </template>
dragondean@qq.com's avatar
dragondean@qq.com committed
137 138 139 140 141 142 143 144 145 146 147 148
          </el-table-column>
        <el-table-column :label="$t('收入类型')">
            <template slot-scope="scope">
              <dict-tag :type="DICT_TYPE.FEE_TYPE" :value="scope.row.feeType"></dict-tag>
            </template>
        </el-table-column>
        <el-table-column :label="$t('应收金额')" prop="totalAmount" >
          <template slot-scope="{row}">
                {{row.totalAmount}}
                {{ currencyMap[row.currencyId] }}
          </template>
        </el-table-column>
chenjiuping's avatar
chenjiuping committed
149

dragondean@qq.com's avatar
dragondean@qq.com committed
150
        <el-table-column :label="$t('付款人')">
151
          <template slot-scope="{row}">
dragondean@qq.com's avatar
dragondean@qq.com committed
152
            <span>
153
              <dict-tag :type="DICT_TYPE.DRAWEE" :value="row.paymentUser"></dict-tag>
dragondean@qq.com's avatar
dragondean@qq.com committed
154
            </span>
dragondean@qq.com's avatar
dragondean@qq.com committed
155 156 157 158
          </template>
        </el-table-column>
        <el-table-column :label="$t('付款状态')" prop="worth">
          <template slot-scope="scope">
159
              <dict-tag :type="DICT_TYPE.ECW_RECEIVABLE_STATE" :value="scope.row.state"></dict-tag>
dragondean@qq.com's avatar
dragondean@qq.com committed
160 161 162 163 164
            </template>
          </el-table-column>
      </el-table>

      <!-- 单证异常,发货人异常,其他异常的表格 -->
我在何方's avatar
我在何方 committed
165
      <el-table v-if="['order_doc_exception', 'order_consignor_exception', 'order_other_exception','fee_exception'].indexOf(orderExceptionData.orderExceptionType) > -1" v-loading="loading" border :data="orderData.orderItemVOList">
dragondean@qq.com's avatar
dragondean@qq.com committed
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186
        <el-table-column :label="$t('序号')" align="center" prop="id" type="index">
            <template slot-scope="scope">
                <span>{{scope.$index + 1}}</span>
            </template>
          </el-table-column>
        <el-table-column :label="$t('中文名')" align="center"  prop="prodTitleZh" />
        <el-table-column :label="$t('英文名')" align="center"  prop="prodTitleEn" />
        <el-table-column :label="$t('品牌')" align="center" prop="brandType">
          <template slot-scope="scope">
              <dict-tag :type="DICT_TYPE.ECW_IS_BRAND" :value="scope.row.brandType"></dict-tag>
            </template>
          </el-table-column>
        <el-table-column :label="$t('填单箱数')" prop="num" />
        <el-table-column :label="$t('入仓箱数')">
          <template slot-scope="scope">
              {{scope.row.warehouseInInfoVO?scope.row.warehouseInInfoVO.cartonsNum:0}}
            </template>
          </el-table-column>
          <el-table-column :label="$t('方数')" prop="volume">
            <template slot-scope="scope">
                {{scope.row.warehouseInInfoVO?scope.row.warehouseInInfoVO.volume:0}}
我在何方's avatar
我在何方 committed
187 188
              </template>
            </el-table-column>
dragondean@qq.com's avatar
dragondean@qq.com committed
189 190 191
        <el-table-column :label="$t('重量')" prop="weight">
          <template slot-scope="scope">
              {{scope.row.warehouseInInfoVO?scope.row.warehouseInInfoVO.weight:0}}
192
            </template>
dragondean@qq.com's avatar
dragondean@qq.com committed
193 194 195 196
          </el-table-column>
        <el-table-column :label="$t('数量')" prop="quantity">
          <template slot-scope="scope">
              {{scope.row.warehouseInInfoVO?scope.row.warehouseInInfoVO.quantityAll:0}}
dragondean@qq.com's avatar
dragondean@qq.com committed
197
            </template>
dragondean@qq.com's avatar
dragondean@qq.com committed
198 199 200
          </el-table-column>
        <el-table-column :label="$t('货值')" prop="worth" />
      </el-table>
我在何方's avatar
我在何方 committed
201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243
<!-- 未分配客户经理 -->
	 <div v-if="orderExceptionData.orderExceptionType=='not_customer_service_exception'">
     <el-row :gutter="20">
        <el-col :span="8" v-if="orderData.consignorVO">
          <el-descriptions class="margin-top" border :title="$t('发货人')" :column="1" :labelStyle="{width:'150px'}">
            <el-descriptions-item :label="$t('发货人')">{{orderData.consignorVO.name}}</el-descriptions-item>
            <el-descriptions-item :label="$t('发货人电话')">
              +{{orderData.consignorVO.countryCode}} {{orderData.consignorVO.phone}}
            </el-descriptions-item>
            <el-descriptions-item :label="$t('发货人邮箱')">{{orderData.consignorVO.email}}</el-descriptions-item>
            <el-descriptions-item :label="$t('发货人公司名称')">
              {{orderData.consignorVO.company}}
            </el-descriptions-item>
          </el-descriptions>
        </el-col>
        <el-col :span="16" v-if="orderData.consigneeVO">
          <el-descriptions class="margin-top" border :title="$t('收货人')" :column="2" :labelStyle="{width:'150px'}">
            <el-descriptions-item :label="$t('收货人')">{{orderData.consigneeVO.name}}</el-descriptions-item>
            <el-descriptions-item :label="$t('收货人电话')">
              +{{orderData.consigneeVO.countryCode}} {{orderData.consigneeVO.phone}}
            </el-descriptions-item>
            <el-descriptions-item :label="$t('收货人邮箱')">{{orderData.consigneeVO.email}}</el-descriptions-item>
            <el-descriptions-item :label="$t('收货人公司名称')">
              {{orderData.consigneeVO.company}}
            </el-descriptions-item>
            <el-descriptions-item :label="$t('收货方式')">
              <dict-tag :type="DICT_TYPE.ECW_HARVEST_METHOD" :value="orderData.consigneeVO.harvestMethod" />
            </el-descriptions-item>
            <el-descriptions-item :label="$t('收货地区')">
              {{region}}
            </el-descriptions-item>
            <el-descriptions-item :label="$t('收货地址')">
              {{orderData.consigneeVO.address}}
            </el-descriptions-item>
          </el-descriptions>
        </el-col>
      </el-row>
      <div class="link-text">
        <router-link :to="{path: '/customer/query/'+orderData.customerId}" class="link-type">
          <span>{{$t('归属客户')}}:{{ customerData.name||'' }} </span><span>{{$t('客户编号')}}:{{ customerData.number||'' }}</span>
        </router-link>
      </div>
    </div>
dragondean@qq.com's avatar
dragondean@qq.com committed
244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260
      <el-form :model="handlerParams" ref="queryForms" size="small" :inline="true"  label-width="120px" class="card">
        <el-row v-if="orderExceptionData.orderExceptionType=='order_pay_exception'">
          <el-form-item :label="$t('订单总金额')+':'">
              <span style="margin-left: 8px;" v-for="(item, key) of orderFee.totalAmountList" :key="key">
                {{item}}
                {{currencyMap[key]}}
              </span>
          </el-form-item>
        </el-row>
        <el-row v-if="orderExceptionData.orderExceptionType=='order_pay_exception'">
          <el-form-item :label="$t('应付预付金额')+':'">
              <span style="margin-left: 8px;" v-for="(item, key) of orderFee.totalPaymentAmount" :key="key">{{item}}{{currencyMap[key]}}</span>
          </el-form-item>
        </el-row>
        <el-row v-if="orderExceptionData.orderExceptionType=='order_pay_exception'">
          <el-col :span="6">
          <el-form-item :label="$t('已核销预付金额')+':'">
我在何方's avatar
我在何方 committed
261 262
            <span v-if="JSON.stringify(orderFee.writeOffAmount) != '{}'" style="margin-left: 8px;" v-for="(item, key) of orderFee.writeOffAmount" :key="key">{{item}}{{currencyMap[key]}}</span>
            <span v-if="JSON.stringify(orderFee.writeOffAmount) == '{}'">0</span>
dragondean@qq.com's avatar
dragondean@qq.com committed
263 264
          </el-form-item>
          </el-col>
我在何方's avatar
我在何方 committed
265
          <el-col :span="12">
266
          <el-form-item :label="$t('已核销预付金额占总金额比例')+':'" label-width="320px">
dragondean@qq.com's avatar
dragondean@qq.com committed
267 268 269 270 271 272 273 274 275 276
              {{orderFee.writeOffAmountScale}}%
          </el-form-item>
          </el-col>
        </el-row>
        <el-row v-if="orderExceptionData.orderExceptionType=='order_pay_exception'" >
          <el-col :span="6">
          <el-form-item :label="$t('预付商品货值')+':'">
              {{orderFee.paymentGoodsWorth}} {{$t('人民币')}}
          </el-form-item>
          </el-col>
我在何方's avatar
我在何方 committed
277
          <el-col :span="12">
278
          <el-form-item :label="$t('预付商品货值占总货值比例')+':'" label-width="320px">
dragondean@qq.com's avatar
dragondean@qq.com committed
279 280 281 282 283
              {{orderFee.paymentGoodsWorthScale}}%
          </el-form-item>
          </el-col>
        </el-row>
        <el-row v-if="orderExceptionData.orderExceptionType=='order_pay_exception'">
284 285 286 287 288 289

          <el-col :span="6">
             <el-form-item :label="$t('预付商品方数')+':'">
                 {{orderFee.paymentGoodsVolume}} {{$t('立方米')}}
             </el-form-item>
          </el-col>
我在何方's avatar
我在何方 committed
290
          <el-col :span="12">
291 292
          <el-form-item :label="$t('预付商品货值占订单总运费+清关费比例')+':'" label-width="320px">
              {{orderFee.needWorthScale}}%
dragondean@qq.com's avatar
dragondean@qq.com committed
293
          </el-form-item>
294
          </el-col>
dragondean@qq.com's avatar
dragondean@qq.com committed
295 296 297 298 299 300 301
        </el-row>
        <el-row v-if="orderExceptionData.orderExceptionType=='order_pay_exception'">
          <el-col :span="6">
            <el-form-item :label="$t('订单总方数')+':'">
                {{orderFee.totalVolume}} {{$t('立方米')}}
            </el-form-item>
          </el-col>
我在何方's avatar
我在何方 committed
302
          <el-col :span="12">
303
            <el-form-item :label="$t('预付商品方数占总方数比例')+':'" label-width="320px">
dragondean@qq.com's avatar
dragondean@qq.com committed
304 305 306 307
                {{orderFee.paymentGoodsVolumeScale}}%
            </el-form-item>
            </el-col>
        </el-row>
我在何方's avatar
我在何方 committed
308
        <el-row :span="12" v-if="orderExceptionData.orderExceptionType=='order_doc_exception'">
309
          <el-form-item v-if="orderExceptionData.orderExceptionStatus!=2" :label="$t('报关资料')+':'" size="medium" :require="true">
我在何方's avatar
我在何方 committed
310
            <file-upload v-model="handlerParams.fileList" :value="orderExceptionData.orderExceptionAttr" ></file-upload>
dragondean@qq.com's avatar
dragondean@qq.com committed
311 312
          </el-form-item>
        </el-row>
313 314 315 316 317 318 319
        <el-form-item :label="$t('附件')" align="center" v-if="orderExceptionData.orderExceptionType=='order_other_exception'">
          <template slot-scope="scope">
            <div class="filelist">
              <span v-for="(item,index) in handlerParams.fileList" :key="index" @click="onClickOpenPreview(item,index)">{{'附件'+(index+1)}}</span>
            </div>
          </template>
        </el-form-item>
dragondean@qq.com's avatar
dragondean@qq.com committed
320
        <!--预付异常的备选需要根据接口数据过滤-->
321
        <el-row v-if="orderExceptionData.orderExceptionType=='order_pay_exception'||orderExceptionData.orderExceptionType=='not_customer_service_exception'">
dragondean@qq.com's avatar
dragondean@qq.com committed
322
            <el-form-item :label="$t('处理结果')+':'" required>
323
              <el-select v-model="handlerParams.orderExceptionHandlerResult" :placeholder="$t('请选择')" clearable :disabled="orderExceptionData.orderExceptionStatus==2">
dragondean@qq.com's avatar
dragondean@qq.com committed
324
                <template v-for="dict in getDictDatas(orderExceptionData.orderExceptionType+'_result')">
325
                  <el-option :disabled="orderFee && orderFee.result && orderFee.result.indexOf(dict.value) ==-1" :key="dict.value" :label="$l(dict, 'label')" :value="dict.value"/>
dragondean@qq.com's avatar
dragondean@qq.com committed
326 327 328 329
                </template>
              </el-select>
            </el-form-item>
        </el-row>
330
        <el-row v-else-if="orderExceptionData.orderExceptionType!='order_miss_exception'&&orderExceptionData.orderExceptionType!='order_superfluous_goods_exception'&&orderExceptionData.orderExceptionType!='order_in_water_exception'&&orderExceptionData.orderExceptionType!='order_damage_exception'">
dragondean@qq.com's avatar
dragondean@qq.com committed
331
            <el-form-item :label="$t('处理结果')+':'" required>
332
              <el-select v-model="handlerParams.orderExceptionHandlerResult" :placeholder="$t('请选择')" clearable @change="handlerResultChange" :disabled="orderExceptionData.orderExceptionStatus==2">
dragondean@qq.com's avatar
dragondean@qq.com committed
333
                <template v-for="dict in getDictDatas(orderExceptionData.orderExceptionType+'_result')">
334
                  <el-option :disabled="dict.value=='pending'"  :key="dict.value" :label="$l(dict, 'label')" :value="dict.value"/>
dragondean@qq.com's avatar
dragondean@qq.com committed
335 336 337 338
                </template>
              </el-select>
            </el-form-item>
        </el-row>
我在何方's avatar
我在何方 committed
339
        <!-- v1.7新增商品异常 -->
我在何方's avatar
我在何方 committed
340
        <div v-if="shopData&&orderExceptionData.orderExceptionType=='goods_add_exception'&&handlerParams.orderExceptionHandlerResult=='goods_exists'">
我在何方's avatar
我在何方 committed
341 342 343 344 345 346 347 348 349 350 351 352 353
          <el-row :gutter="24">
            <el-col :span="6">
              <el-form-item :label="$t('新增品名中文')+':'" >
                {{shopData.prodTitleZh || ''}}
              </el-form-item>
            </el-col>
               <el-form-item label="中文品名"
                   :rules="{
                       required: true, message: $t('请选择产品'), trigger: 'blur'
                   }"
                   class="mb-0 mr-0"
               >
                  <product-selector
354
                  :status="0"
355
                  :disabled="orderExceptionData.orderExceptionStatus==2"
我在何方's avatar
我在何方 committed
356
                   @hook:mounted="onTableMounted"
357 358
                   v-model="productId2"
                   @change = "onProductChange($event)"
我在何方's avatar
我在何方 committed
359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375
                   />
               </el-form-item>
          </el-row>
          <el-row :gutter="24">
            <el-col :span="6">
              <el-form-item :label="$t('新增品名英文')+':'">
                {{shopData.prodTitleEn || ''}}
              </el-form-item>
            </el-col>
            <el-form-item label="英文品名"
                 :rules="{
                     required: true, message: $t('请选择产品'), trigger: 'blur'
                 }"
                 class="mb-0 mr-0"
             >
                <product-selector
                lang="En"
376
                :status="0"
377
                 v-model="productId1"
378
                 :disabled="orderExceptionData.orderExceptionStatus==2"
379
                 @change = "onProductChange($event)"
我在何方's avatar
我在何方 committed
380 381 382 383
                 />
             </el-form-item>
          </el-row>
        </div>
384
      <el-row v-if="orderExceptionData.orderExceptionType=='not_customer_service_exception'&&handlerParams.orderExceptionHandlerResult=='allocate'">
我在何方's avatar
我在何方 committed
385
        <el-form-item  :label="$t('移交客户经理')+':'" required>
386
          <el-select v-model="handlerParams.customerService" :placeholder="$t('请选择客户经理')" clearable :disabled="orderExceptionData.orderExceptionStatus==2">
387 388
              <el-option v-for="dict in customerServiceList"
                         :key="dict.id" :label="dict.nickname" :value="dict.id"/>
我在何方's avatar
我在何方 committed
389 390 391
          </el-select>
        </el-form-item>
      </el-row>
392 393 394
        <!-- 代收货款 时需要填写代收金额 -->
        <el-row v-if="handlerParams.orderExceptionHandlerResult == 'cod'" >
          <el-form-item :label="$t('代收金额')+':'" size="medium" required>
395
            <el-input class="w-100"  type="text" v-model="handlerParams.amount" :disabled="orderExceptionData.orderExceptionStatus==2" />
396 397 398
            <!-- <el-select v-model="handlerParams.currency"  clearable>
              <el-option  v-for="dict in getDictDatas('shipping_price_unit') "
                      :key="dict.value" :label="dict.label" :value="dict.value"/>
399 400
            </el-select> -->{{getCurrencyLabel(handlerParams.currency)}}
            <!-- <dict-tag type="shipping_price_unit" v-model="handlerParams.currency" class="w-100 ml-10"  /> -->
401 402 403
          </el-form-item>
        </el-row>

dragondean@qq.com's avatar
dragondean@qq.com committed
404 405
        <el-row :span="8" v-if="orderExceptionData.orderExceptionType=='order_pick_up_exception'&&handlerParams.orderExceptionHandlerResult=='cost_required'">
          <el-form-item :label="$t('送货费用')+':'" size="medium">
406 407
            <el-input style="width: 100px;"  type="text" v-model="handlerParams.amount"  :disabled="orderExceptionData.orderExceptionStatus==2"/>
            <el-select v-model="handlerParams.currency" style="width: 100px;margin-left: 10px;" clearable :disabled="orderExceptionData.orderExceptionStatus==2">
408 409 410
              <el-option  v-for="dict in currencyList "
                        :key="dict.id" :label="dict.titleZh" :value="dict.id"/>
              </el-select>
dragondean@qq.com's avatar
dragondean@qq.com committed
411 412
          </el-form-item>
        </el-row>
我在何方's avatar
我在何方 committed
413
        <el-row :span="8" v-if="orderExceptionData.orderExceptionType!='not_customer_service_exception'&&orderExceptionData.orderExceptionType!='goods_add_exception'">
dragondean@qq.com's avatar
dragondean@qq.com committed
414
          <el-form-item :label="$t('备注')+':'" size="medium">
415
            <el-input style="width: 500px;"  type="textarea" v-model="handlerParams.orderExceptionHandlerRemark" :disabled="orderExceptionData.orderExceptionStatus==2" />
dragondean@qq.com's avatar
dragondean@qq.com committed
416 417 418 419 420 421
          </el-form-item>
        </el-row>

        <div v-if="orderExceptionData.orderExceptionType=='order_miss_exception'||orderExceptionData.orderExceptionType=='order_superfluous_goods_exception'||orderExceptionData.orderExceptionType=='order_in_water_exception'||orderExceptionData.orderExceptionType=='order_damage_exception'">
          <el-row >
            <el-form-item :label="$t('状态')+':'">
422
              <el-radio-group v-model="handlerParams.orderExceptionStatus" @change="changeExceptionStatus" :disabled="orderExceptionData.orderExceptionStatus==2">
dragondean@qq.com's avatar
dragondean@qq.com committed
423 424 425 426 427 428 429
                  <el-radio  label="1">{{$t('处理中')}}</el-radio>
                  <el-radio  label="2">{{$t('已处理')}}</el-radio>
                </el-radio-group>
            </el-form-item>
          </el-row>
          <el-row>
            <el-form-item :label="$t('处理结果')+':'" required v-if="handlerParams.orderExceptionStatus==2">
430
              <el-select v-model="handlerParams.orderExceptionHandlerResult" :placeholder="$t('请选择')" clearable :disabled="orderExceptionData.orderExceptionStatus==2">
dragondean@qq.com's avatar
dragondean@qq.com committed
431 432 433 434 435 436 437
              <el-option  v-for="dict in getDictDatas(orderExceptionData.orderExceptionType+'_don_result')"
                        :key="dict.value" :label="dict.label" :value="dict.value"/>
              </el-select>
            </el-form-item>
          </el-row>
          <el-row >
            <el-form-item :label="$t('赔付金额')+':'" size="medium" required v-if="handlerParams.orderExceptionStatus==2">
438 439
              <el-input style="width: 100px;"  type="text" v-model="handlerParams.amount" :disabled="orderExceptionData.orderExceptionStatus==2" />
              <el-select v-model="handlerParams.currency" style="width: 100px;margin-left: 10px;" clearable :disabled="orderExceptionData.orderExceptionStatus==2">
我在何方's avatar
我在何方 committed
440 441
              <el-option  v-for="dict in currencyList "
                        :key="dict.id" :label="dict.titleZh" :value="dict.id"/>
dragondean@qq.com's avatar
dragondean@qq.com committed
442 443 444 445 446
              </el-select>
            </el-form-item>
          </el-row>
          <el-row>
            <el-form-item :label="$t('查明原因')+':'" required v-if="handlerParams.orderExceptionStatus==1">
447
                <el-select v-model="handlerParams.orderExceptionHandlerResult" clearable :disabled="orderExceptionData.orderExceptionStatus==2">
dragondean@qq.com's avatar
dragondean@qq.com committed
448 449 450 451 452 453 454 455 456
                <el-option  v-for="dict in getDictDatas(orderExceptionData.orderExceptionType+'_result')"
                          :key="dict.value" :label="dict.label" :value="dict.value"/>
                </el-select>
            </el-form-item>
          </el-row>
        </div>
      </el-form>
    </el-card>
    <!-- 只有不需要预付才需要审核 -->
457
    <template v-if="showWorkFlow&&orderExceptionData.orderExceptionStatus!=2">
dragondean@qq.com's avatar
dragondean@qq.com committed
458 459 460 461 462 463 464 465 466 467 468 469 470
      <div class="page-title">{{$t('审批流程')}}</div>
      <work-flow xmlkey="commission_config" v-model="handlerParams.ccIds" />
    </template>
    <div slot="footer" class="dialog-footer">
      <!-- bpmStatus
      异常流程状态,1处理中2通过3不通过4已取消
      待审核可能没有bpmStatus字段
      -->
      <template v-if="orderExceptionData.bpmStatus == 1 || (orderExceptionData.bpmId && !orderExceptionData.bpmStatus)">
        <el-button type="primary" @click="$router.push(`/bpm/process-instance/detail?id=`+orderExceptionData.bpmId)">{{$t('审核中')}}</el-button>
        <el-button plain type="primary" @click="cancelAudit">{{$t('取消审核')}}</el-button>
        <el-button plain type="primary" @click="$store.dispatch('tagsView/delCurrentView')">{{$t('返回')}}</el-button>
      </template>
471 472 473
      <template v-else-if="orderExceptionData.orderExceptionStatus==2">
        <el-button plain type="primary" @click="$store.dispatch('tagsView/delCurrentView')">{{$t('返回')}}</el-button>
      </template>
dragondean@qq.com's avatar
dragondean@qq.com committed
474 475 476 477 478
      <template v-else>
        <el-button  type="primary" @click="submitForm">{{$t('提交')}}</el-button>
        <el-button plain type="primary" @click="$store.dispatch('tagsView/delCurrentView')">{{$t('取消')}}</el-button>
      </template>
    </div>
479 480 481
    <div class="preview" v-if="IsPreview">
      <file-preview :key="timers" :TragetPic="TragetPic" :FilePreAll="FilePreAll" @Close="onClickClosePreview"></file-preview>
    </div>
482 483 484 485
  </div>
</template>

<script>
我在何方's avatar
我在何方 committed
486 487
  import FileUpload from '@/components/FileUpload'
  import {getDictData, getDictDatas} from  '@/utils/dict'
我在何方's avatar
我在何方 committed
488
  import {getOrder} from '@/api/ecw/order'
489
  import FilePreview from '@/components/FilePreview'
我在何方's avatar
我在何方 committed
490
  import { getCurrencyList } from '@/api/ecw/currency'
491
  import {getExceptionById,handlerExceptionByExceptionId,getOrderItemById,getOrderFeeById,getOrderExcptionResult} from "@/api/ecw/orderException"
492
  import {getFirstReceivableListByOrderId} from '@/api/ecw/financial'
493
  import WorkFlow from '@/components/WorkFlow'
494
  import {listByIds} from '@/api/ecw/region'
495
  import {listServiceUser} from "@/api/system/user";
496
  import {cancelProcessInstance} from '@/api/bpm/processInstance'
我在何方's avatar
我在何方 committed
497
  import {getCustomer} from '@/api/ecw/customer'
我在何方's avatar
我在何方 committed
498
  import ProductSelector from '@/components/ProductSelector'
499 500 501
  export default {
    name: "PrepayDeal",
    components: {
我在何方's avatar
我在何方 committed
502
      FileUpload, WorkFlow,FilePreview,ProductSelector
503 504 505 506 507
    },
    data() {
      return {
        // 遮罩层
        loading: false,
我在何方's avatar
我在何方 committed
508
        orderExceptionData: {},
509 510
        types:'package,bag',
        importance:1,
我在何方's avatar
我在何方 committed
511 512
        orderData:{
        },
513
        orderId:0,
我在何方's avatar
我在何方 committed
514 515
        orderExceptionId:0,
        handlerParams:{
516
          orderExceptionId:0,
我在何方's avatar
我在何方 committed
517 518
          orderExceptionStatus:"1",
          orderExceptionHandlerResult:''
我在何方's avatar
我在何方 committed
519
        },
chenjiuping's avatar
chenjiuping committed
520

521 522 523
        //发货/收货人信息
        consigneeData:[],
        routerList:[],
我在何方's avatar
我在何方 committed
524
        multipleSelection:[],
我在何方's avatar
我在何方 committed
525
        preException:[],
我在何方's avatar
我在何方 committed
526 527
        orderFee:[],
        currencyList:[],
528
        showWorkFlow: false, // 是否显示工作流
529 530 531 532
        IsPreview:false, // 控制预览弹窗字段
        timers:"", //时间戳
        FilePreAll:[], // 预览数组
        TragetPic:{},
我在何方's avatar
我在何方 committed
533
        region:'',
534 535
        customerData:{},//归属客户
        customerServiceList:[],//客户经理
536 537
        productId1:null,
        productId2:null
538 539 540
      };
    },
    created() {
我在何方's avatar
我在何方 committed
541 542 543 544
      if(this.$route.query.id){
        this.orderExceptionId = this.$route.query.id
        this.handlerParams.orderExceptionId = this.$route.query.id
        this.getList()
我在何方's avatar
我在何方 committed
545

546
      }
547 548 549
      listServiceUser().then(r=>{
        this.customerServiceList = r.data;
      })
dragondean@qq.com's avatar
dragondean@qq.com committed
550
      getCurrencyList().then(res => this.currencyList = res.data)
我在何方's avatar
我在何方 committed
551
    },
552 553 554 555
    watch:{
      'handlerParams.orderExceptionHandlerResult'(val){
        if(val == 'no_pay'){
          this.showWorkFlow = true
556
        }else this.showWorkFlow = false
557 558 559 560 561

        // 如果是代收货款,则给默认单位
        if(val == 'cod' && this.orderExceptionData.orderExceptionAmountCurrencyId){
          this.$set(this.handlerParams, 'currency', this.orderExceptionData.orderExceptionAmountCurrencyId)
        }
562 563 564 565 566 567 568 569 570 571 572
      },
      'orderData.consigneeVO'(val){
        if(!val) return '-'
        listByIds({ids: [val.country, val.province, val.city].join(',')}).then(res => {
          console.log('listById', res)
          let region = ''
          res.data.forEach(item => {
            region += " " + item.titleZh
          })
          this.region = region
        })
573 574
      }
    },
我在何方's avatar
我在何方 committed
575
    computed: {
576
      currencyMap(){
我在何方's avatar
我在何方 committed
577 578 579 580 581 582
        let map = {}
        this.currencyList.forEach(item => {
          map[item.id] = this.$l(item, 'title')
        })
        return map
      },
dragondean@qq.com's avatar
dragondean@qq.com committed
583 584
      shopData(){
        if(this.orderExceptionData.orderItemId && this.orderData && this.orderData.orderItemVOList){
我在何方's avatar
我在何方 committed
585 586
          if(this.orderExceptionData.orderExceptionType=='goods_add_exception'&&!this.handlerParams.productId){
            this.handlerParams.productId = this.orderData.orderItemVOList.find(item => item.orderItemId == this.orderExceptionData.orderItemId).prodId
587 588
            // this.productId1 = this.handlerParams.productId
            // this.productId2 = this.handlerParams.productId
我在何方's avatar
我在何方 committed
589
          }
dragondean@qq.com's avatar
dragondean@qq.com committed
590 591 592
          return this.orderData.orderItemVOList.find(item => item.orderItemId == this.orderExceptionData.orderItemId)
        }
      }
593 594
    },
    methods: {
595
      getDictData,
我在何方's avatar
我在何方 committed
596 597 598
      onTableMounted(e){
          // console.warn('onTableMounted', e)
      },
599
      /** 查询列表 */
600 601 602 603 604
	  getCurrencyLabel(id){
	    var label = this.currencyList.filter(item=>item.id == id)
	    if(label.length>0) return label[0].titleZh
	    return ''
	  },
605 606
      getList() {
        let that = this
我在何方's avatar
我在何方 committed
607 608 609
        that.loading = true;
        getExceptionById(that.orderExceptionId).then(response => {
          that.orderExceptionData = response.data;
610
          // that.orderExceptionData.orderExceptionType = 'order_other_exception'
611
          // that.orderExceptionData.orderExceptionType = 'order_miss_exception'
我在何方's avatar
我在何方 committed
612
           // that.orderExceptionData.orderExceptionType = 'not_customer_service_exception'
我在何方's avatar
我在何方 committed
613
           // that.orderExceptionData.orderExceptionType = 'fee_exception'
我在何方's avatar
我在何方 committed
614 615 616
          that.loading = false;
          that.orderId = response.data.orderId
          that.getOrderData()
我在何方's avatar
我在何方 committed
617 618 619
          if(that.orderExceptionData.orderExceptionAttr){
            that.handlerParams.fileList = that.orderExceptionData.orderExceptionAttr.split(',')
          }
我在何方's avatar
我在何方 committed
620 621 622
          // if(response.data.hasOwnProperty('orderItemId')){
          //   that.getShopData(response.data.orderItemId)
          // }
我在何方's avatar
我在何方 committed
623

我在何方's avatar
我在何方 committed
624 625 626 627
          if(that.orderExceptionData.orderExceptionType == 'order_pay_exception'){
            that.getOrderFeeByIdData()
            that.getPreExceptionData()
          }
628 629 630
          if(that.orderExceptionData.orderExceptionStatus==2){
            that.getOrderExcptionResult()
          }
我在何方's avatar
我在何方 committed
631

我在何方's avatar
我在何方 committed
632 633
        });
      },
我在何方's avatar
我在何方 committed
634 635 636
      changeExceptionStatus(){
        this.$set(this.handlerParams,'orderExceptionHandlerResult','')
      },
我在何方's avatar
我在何方 committed
637 638 639
      getOrderData(){
        getOrder(this.orderId).then(response => {
          this.orderData = response.data
我在何方's avatar
我在何方 committed
640 641 642
          if(response.data.customerId){
            this.getCustomerData(response.data.customerId)
          }
我在何方's avatar
我在何方 committed
643
        });
644
      },
我在何方's avatar
我在何方 committed
645 646 647 648 649
      getCustomerData(id){
        getCustomer(id).then(res=>{
          this.customerData = res.data
        })
      },
650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668
      //获取异常结果
      getOrderExcptionResult(){
        getOrderExcptionResult({orderExceptionId:this.orderExceptionId}).then(res=>{
          this.handlerParams = Object.assign(this.handlerParams,res.data.list[0])
          if(!this.orderExceptionData.handlerTime){
            this.orderExceptionData.handlerTime =  this.handlerParams.handlerTime
          }
          if(this.handlerParams.handlerRemark){
            this.$set(this.handlerParams,'orderExceptionHandlerRemark', this.handlerParams.handlerRemark)
          }
          if(this.handlerParams.handlerResult){
              this.$set(this.handlerParams,'orderExceptionHandlerResult', this.handlerParams.handlerResult)
          }
          if(this.handlerParams.productId){
            this.productId2 = this.productId1 = this.handlerParams.productId
          }
        })

      },
我在何方's avatar
我在何方 committed
669 670 671
      getOrderFeeByIdData(){
        getOrderFeeById({id:this.orderId}).then(response => {
          this.orderFee = response.data
672
          this.handlerParams.orderExceptionHandlerResult = this.orderFee.result[0]
673 674 675 676
          if(this.orderExceptionData.orderExceptionStatus==2){
            this.getOrderExcptionResult()
          }

我在何方's avatar
我在何方 committed
677 678
        })
      },
679 680 681
      getPreExceptionData(){
        getFirstReceivableListByOrderId({id:this.orderId}).then(response => {
          this.preException = response.data
我在何方's avatar
我在何方 committed
682 683 684 685 686 687
          // this.preException.forEach(item=>{
          //   var curr = getDictData('shipping_price_unit', item.currencyId)
          //   if(curr.label == this.$t('美元')){
          //     item.doller = item.totalAmount
          //   }
          // })
688 689
        });
      },
690
      /* getShopData(id){
我在何方's avatar
我在何方 committed
691 692 693
        getOrderItemById(id).then(res=>{
          this.shopData = res.data
        })
694
      }, */
695 696 697 698
      handleSelectionChange(val) {
         this.multipleSelection = val;
       },
      // 根据线路id显示线路名称
我在何方's avatar
我在何方 committed
699 700
      getRouterNameById(){
              if(this.orderData.logisticsInfoDto) {
Marcus's avatar
Marcus committed
701
                  return this.$t('')+this.$t('')+this.orderData.logisticsInfoDto.startTitleZh + this.$t('')+this.$t('发往')+this.$t('') + this.orderData.logisticsInfoDto.destTitleZh+this.$t('')
702
              }
我在何方's avatar
我在何方 committed
703
              return this.$t('')
704
      },
705 706
      //新增异常处理结果切换
      handlerResultChange(){
707 708 709 710
        // if(this.orderExceptionData.orderExceptionType=='goods_add_exception'){
        //   this.productId1 = this.handlerParams.productId
        //   this.productId2 = this.handlerParams.productId
        // }
711
      },
712
      submitForm(){
713
          if(!this.handlerParams.orderExceptionHandlerResult){
我在何方's avatar
我在何方 committed
714
            this.$modal.msgError(this.$t('请选择处理结果'));
我在何方's avatar
我在何方 committed
715
            return
716
          }
我在何方's avatar
我在何方 committed
717 718 719 720 721
          if(this.orderExceptionData.orderExceptionType=='order_doc_exception'&&this.handlerParams.fileList&&this.handlerParams.fileList.length>0){
            // if(!this.handlerParams.fileList||this.handlerParams.fileList.length==0){
            //   this.$modal.msgError(this.$t('请上传报关资料'));
            //   return
            // }
我在何方's avatar
我在何方 committed
722
            this.handlerParams.files = Array.isArray(this.handlerParams.fileList) ? this.handlerParams.fileList.join(',') : this.handlerParams.fileList
我在何方's avatar
我在何方 committed
723
          }
724 725 726 727
          if(this.orderExceptionData.orderExceptionType=='goods_add_exception'&&this.handlerParams.orderExceptionHandlerResult=='goods_absent'){
            this.$redirect('/product/product-list?prodId=' + this.handlerParams.productId)
            return
          }
728 729 730 731 732 733 734
          if(this.orderExceptionData.orderExceptionType=='goods_add_exception'&&this.handlerParams.orderExceptionHandlerResult=='goods_exists'){
            if(this.productId1){
              this.handlerParams.productId = this.productId1
            }else{
              this.$modal.msgError(this.$t('请选择产品'));
              return
            }
735
          }
我在何方's avatar
我在何方 committed
736
          handlerExceptionByExceptionId(this.handlerParams).then(res=>{
我在何方's avatar
我在何方 committed
737
              this.$modal.msgSuccess(this.$t('提交成功'));
738
              this.$redirect('/order/pending?id=' + this.orderData.orderId)
我在何方's avatar
我在何方 committed
739
          })
740 741 742
      },
      /** 跟进按钮操作 */
      handleAdd() {
我在何方's avatar
我在何方 committed
743
        this.$router.push({
744
          path: "/financial/creatCollection?receiptId=0",
我在何方's avatar
我在何方 committed
745 746 747 748
          query:{
            orderId:this.orderId,
          }
        });
749
      },
750 751 752 753
      // 取消审核
      cancelAudit(){
        this.$prompt("请输入取消原因", {
          inputPattern: /[\S]+/,
Marcus's avatar
Marcus committed
754
          inputErrorMessage: this.$t('不能为空')
755 756 757 758 759 760
        }).then(({value}) => {
          return cancelProcessInstance(this.orderExceptionData.bpmId, value)
        })
        .then(res => {
          this.getList()
        })
761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798
      },
      getFileName(fileName){
        var fileArr = fileName.split('/')
        return fileArr[fileArr.length-1]
      },
      getFileFormat(fileName){
        var fileArr = this.getFileName(fileName).split('.')
        return fileArr[fileArr.length-1]
      },
      // 打开预览
      onClickOpenPreview(val,index){
        this.TragetPic  = { // 当前点击的文件
          FileName: this.getFileName(val), // 文件名称
          name: this.getFileName(val), // 文件名称(可以不传)
          format:this.getFileFormat(val), // 文件格式
          url: val,  // 预览地址
          downUrl:"", // 下载地址
        } // 目标对象
          var fileArr = this.handlerParams.fileList

          fileArr.forEach(item =>{ // 需要预览的文件数组(可以传空数组就是单张预览)
            let obj = {
              FileName: this.getFileName(item),
              name: this.getFileName(item),
              format:this.getFileFormat(item),
              url: item,
              downUrl:"",
            }
            this.FilePreAll.push(obj)
          })
           console.log(this.FilePreAll)
        this.IsPreview = true // 打开预览弹窗
        this.timers = new Date().getTime() // 刷新预览地址
      },
      // 关闭预览
        onClickClosePreview(val){
          this.IsPreview = val  // 由组件内部传入的关闭数据赋值关闭
        },
799 800 801 802 803 804 805 806 807
        onProductChange(product){
            if(!product){
              this.productId1 = null
              this.productId2 = null
             return false
            }
              this.productId1 = product.id
              this.productId2 = product.id
        },
808 809 810 811
    }
  };
</script>

我在何方's avatar
我在何方 committed
812
<style scoped>
813 814 815 816 817 818
  .link-text{
    margin-top:20px;
  }
  .link-text span{
    font-size:16px;
    font-weight:600;
我在何方's avatar
我在何方 committed
819
    margin-right:20px;
820
  }
821 822 823 824 825 826
  .card-title{
      font-size: 18px;
      font-weight: bold;
       margin-top: 10px;
  }
  .header{
我在何方's avatar
我在何方 committed
827
    width: 100%;
828 829 830 831 832 833 834 835 836 837 838 839
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .card{
    margin-top: 20px;
  }
  .dialog-footer{
    padding: 40px;
    width: 60%;
    align-items: center;
    display: flex;
840
    /* justify-content: space-between; */
841
  }
842 843 844 845 846 847 848 849 850
  .filelist{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column
  }
  .filelist span{
    color: #1E98D7;
  }
我在何方's avatar
我在何方 committed
851 852 853
  .red{
      color: red;
  }
854 855 856
  .el-select{
   width:300px !important;
  }
chenjiuping's avatar
chenjiuping committed
857
</style>