Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
EcomWeb
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
zhanbo.xu
2025-07-21 18:06:57 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0582b1c50c350e1c8c23bc37743ff94de2bdc9ec
0582b1c5
1 parent
d354845b
feat: 开发pdd的功能
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
1 deletions
.env.development
src/api/pdd-info.js
src/views/pdd-info/index.vue
.env.development
View file @
0582b1c
...
...
@@ -47,3 +47,6 @@ VUE_APP_BEIJING_FILLING_NUMBER = 'https://beian.miit.gov.cn/#/Integrated/recordQ
# VUE_APP_BASE_API_uat = 'https://declarationuat.fedex.com.cn/Exp'
# VUE_APP_BASE_API_pre = 'https://iclearexpuat.fedex.com.cn/Exp'
# VUE_APP_BASE_API_prod = 'https://declaration.fedex.com.cn/Exp'
...
...
src/api/pdd-info.js
View file @
0582b1c
...
...
@@ -19,3 +19,13 @@ export function getPddInfo(data) {
data
:
data
,
});
}
// GET
// /customerDeclareData/resend/{id}
// 重新发送申报数据
export
function
getResend
({
id
})
{
return
request
({
url
:
`/bus-customer/customerDeclareData/resend/
${
id
}
`
,
method
:
"get"
,
});
}
...
...
src/views/pdd-info/index.vue
View file @
0582b1c
...
...
@@ -142,12 +142,25 @@
scope.row.logisticsNo
}}</el-button>
</template>
<template slot="optionColumn">
<el-table-column label="操作" width="80">
<template slot-scope="scope">
<el-button
type="text"
@click="showAgain(scope.row)"
v-if="+scope.row.forwardStatusCode === 2"
>
重新发送
</el-button>
</template>
</el-table-column>
</template>
</Table>
</div>
</template>
<script>
import { getPddInfo } from "@/api/pdd-info";
import { getPddInfo
, getResend
} from "@/api/pdd-info";
export default {
name: "ArrivalList",
components: {},
...
...
@@ -263,6 +276,24 @@ export default {
createTime: [],
};
},
showAgain(row) {
this.$confirm("是否确认操作重新发送?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
getResend({ id: row.id }).then((res) => {
if (+res.code === 200) {
this.alertSuccessMsg(res.message);
this.search(0);
} else {
this.alertWarningMsg(res.message);
}
});
})
.catch(() => {});
},
//查询
search(val) {
this.loadings.searchLoading = true;
...
...
Please
register
or
login
to post a comment