提交 10dc18cd authored 作者: huaxinzhu's avatar huaxinzhu

2.2优化

上级 e9cc933e
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
</div> </div>
<div class="table-all-con box-card"> <div class="table-all-con box-card">
<el-card v-for="(item, index) in tableDataList" :key="index" class="card1 text item"> <el-card v-for="(item, index) in tableDataList" :key="index" class="order-card">
<div slot="header" class="el-card-header-spe"> <div slot="header" class="el-card-header-spe">
<div style="float:left;"> <div style="float:left;">
<span>订单状态:</span> <span>订单状态:</span>
...@@ -271,6 +271,7 @@ ...@@ -271,6 +271,7 @@
<p>打开导出的待发货订单数据表,填写【快递公司】和【快递单号】信息</p> <p>打开导出的待发货订单数据表,填写【快递公司】和【快递单号】信息</p>
<p>点击【上传批量发货Excel表单】按钮,选择填写完成的待发货订单数据表并上传,点击【确定】按钮即可完成批量发货</p> <p>点击【上传批量发货Excel表单】按钮,选择填写完成的待发货订单数据表并上传,点击【确定】按钮即可完成批量发货</p>
<p>2、注意事项</p> <p>2、注意事项</p>
<p>请注意,必须正确填写【快递公司】名称和【快递单号】才会导入并发货成功</p>
<p>表格的其它信息请勿做修改,否则会导致批量发货不成功</p> <p>表格的其它信息请勿做修改,否则会导致批量发货不成功</p>
<p>常用快递公司名称(按此名称填写)</p> <p>常用快递公司名称(按此名称填写)</p>
<p>【顺丰快递】【天天快递】【韵达快递】【圆通快递】【中通快递】【中国邮政】</p> <p>【顺丰快递】【天天快递】【韵达快递】【圆通快递】【中通快递】【中国邮政】</p>
...@@ -796,6 +797,10 @@ ...@@ -796,6 +797,10 @@
if (res.code == 1) { if (res.code == 1) {
if (res.data && res.data.fail_list && res.data.fail_list.length > 0) { if (res.data && res.data.fail_list && res.data.fail_list.length > 0) {
this.failDeliveryList = res.data.fail_list; this.failDeliveryList = res.data.fail_list;
this.failDeliveryList.forEach((item)=> {
item['goods_status'] = '发货失败'
})
console.log(802,this.failDeliveryList);
this.dialogDeliveryInfor = true; this.dialogDeliveryInfor = true;
this.$message({type: 'warning', message: '部分订单发货成功,失败订单可以导出'}); this.$message({type: 'warning', message: '部分订单发货成功,失败订单可以导出'});
} else { } else {
...@@ -1024,8 +1029,20 @@ ...@@ -1024,8 +1029,20 @@
} }
/* 订单卡片 样式 */ /* 订单卡片 样式 */
.card1 { .order-card {
margin-bottom: 20px; margin: 10px 0 12px;
}
.order-card /deep/ .el-card__header {
padding: 0;
min-height: fit-content;
}
.el-card-header-spe {
overflow: hidden; /* 此为父元素,子元素都浮动了,所以,这样处理,撑开自己的高度 */
font-size: 14px;
padding: 10px 12px;
background-color: #f0f0f5;
/*background-color: #909399;*/
} }
.table-header-spe { .table-header-spe {
......
...@@ -539,7 +539,7 @@ ...@@ -539,7 +539,7 @@
overflow: hidden; /* 此为父元素,子元素都浮动了,所以,这样处理,撑开自己的高度 */ overflow: hidden; /* 此为父元素,子元素都浮动了,所以,这样处理,撑开自己的高度 */
font-size: 14px; font-size: 14px;
padding: 10px 12px; padding: 10px 12px;
background-color: #eee; background-color: #f0f0f5;
/*background-color: #909399;*/ /*background-color: #909399;*/
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论