Commit 3088a65d by wuqian

物流跟踪号加上下载

parent 68ff5800
...@@ -446,12 +446,21 @@ ...@@ -446,12 +446,21 @@
</div> </div>
<div class="order-detail-item"> <div class="order-detail-item">
<span class="order-detail-item-label">物流跟踪号:</span> <span class="order-detail-item-label">物流跟踪号:</span>
<span <!-- <span
class="order-detail-item-value" class="order-detail-item-value"
:title="row.trackingNumber" :title="row.trackingNumber"
> >
{{ row.trackingNumber }} {{ row.trackingNumber }}
</span> </span> -->
<el-button
type="primary"
:title="row.trackingNumber"
link
:disabled="!row.expressSheet"
@click="downloadFacebook(row.expressSheet)"
>
{{ row.trackingNumber }}</el-button
>
<el-icon class="icon" @click="copy(row.trackingNumber || '')"> <el-icon class="icon" @click="copy(row.trackingNumber || '')">
<DocumentCopy /> <DocumentCopy />
</el-icon> </el-icon>
...@@ -1352,6 +1361,9 @@ const handleProductionClientChange = async (v: string) => { ...@@ -1352,6 +1361,9 @@ const handleProductionClientChange = async (v: string) => {
} }
} }
} }
const downloadFacebook = async (row: string) => {
window.open(filePath + row, '_blank')
}
const confirm = async (row: ProductList) => { const confirm = async (row: ProductList) => {
confirmDialogShow.value = true confirmDialogShow.value = true
productionClientValue.value = '' productionClientValue.value = ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment