Browse Source

导入规则

java8
han\hanst 1 month ago
parent
commit
c55c3eb2ac
  1. 35
      src/views/modules/ecss/del_upload_excel.vue

35
src/views/modules/ecss/del_upload_excel.vue

@ -11,12 +11,27 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-col :span="4">
<el-form-item label=" ">
<el-button type="primary" @click="downloadFile()">下载文件模板</el-button>
</el-form-item>
</el-col>
<el-col :span="24" style="margin-top: 10px">
<el-col :span="8">
<el-form-item label=" ">
<div style="margin-top:40px;padding: 10px; background-color: #FFF3E0; border: 1px solid #FFB74D; border-radius: 4px; font-size: 13px; line-height: 1.6;">
<div style="color: #E65100; font-weight: bold; margin-bottom: 5px;">
<i class="el-icon-warning" style="margin-right: 5px;"></i>导入规则
</div>
<div style="color: #666;">
以下3种情况不读取Excel内容<br/>
1发票在系统已存在<br/>
2内销<br/>
3CargoReady Date为空
</div>
</div>
</el-form-item>
</el-col>
<el-col :span="20" style="margin-top: 10px">
<el-upload class="customer-upload" drag action="javascript:void(0);" ref="uploadFile" :limit="1" accept=".xlsx,.xls"
:before-upload="beforeUploadHandle" :on-change="onChange" :auto-upload="false" style="text-align: left;">
<i class="el-icon-upload"></i>
@ -66,7 +81,7 @@
<a type="text" size="small" style="color: red" @click="deleteRow(scope.$index, scope.row)">删除</a>
</template>
</el-table-column>-->
<el-table-column prop="cmcInvoice" label="发票号" width="120" fixed="left">
<el-table-column prop="cmcInvoice" label="发票号" width="90" fixed="left">
<template slot-scope="scope">
<div>
<span :style="scope.row.exists ? 'color: red; font-weight: bold;' : ''">
@ -78,19 +93,7 @@
</div>
</template>
</el-table-column>
<el-table-column prop="destination" label="目的地" width="100"></el-table-column>
<el-table-column label="状态" width="100">
<template slot-scope="scope">
<div v-if="scope.row.exists">
<el-tag type="warning" size="small">已存在</el-tag>
<div style="font-size: 12px; color: #E6A23C; margin-top: 2px;">该发票号已生成发货通知单</div>
</div>
<div v-else>
<el-tag type="success" size="small">可导入</el-tag>
<div style="font-size: 12px; color: #67C23A; margin-top: 2px;">数据正常可以导入</div>
</div>
</template>
</el-table-column>
<el-table-column prop="destination" label="目的地" width="100" :show-overflow-tooltip="true"></el-table-column>
<el-table-column label="客户模板" width="150">
<template slot-scope="scope">
<el-input

Loading…
Cancel
Save