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-04-16 11:37:30 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
70d52798f256f35a6239b7d84e27266ca86b874c
70d52798
1 parent
c30f7e05
feat: 修改运抵单申报页面
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
25 deletions
src/views/arrival-declare/index.vue
src/views/arrival-declare/index.vue
View file @
70d5279
...
...
@@ -155,7 +155,7 @@
{{ scope.row.billNo }}
</el-button>
</template>
<template v-slot:listReceiptStatus="scope">
<
!-- <
template v-slot:listReceiptStatus="scope">
<TablePopover
ref="listReceiptStatusPopover"
dataKey="listReceiptStatus"
...
...
@@ -175,7 +175,7 @@
{{ scope.row.listReceiptStatus }}
</div>
</TablePopover>
</template>
</template>
-->
<template v-slot:arrivalInReceiptStatus="scope">
<TablePopover
ref="arrivalInReceiptStatusPopover"
...
...
@@ -207,11 +207,7 @@
</template>
<script>
import {
getArrivalIneList,
getListReceipt,
arrivalInReceipt,
} from "@/api/declareData-api.js";
import { getArrivalIneList, arrivalInReceipt } from "@/api/declareData-api.js";
import DialogVue from "./dialog.vue";
export default {
name: "SupervisePlaceManage",
...
...
@@ -276,7 +272,7 @@ export default {
value: "listReceiptStatus",
width: "",
align: "left",
slot: true,
//
slot: true,
},
{
// release-v1.0.9
...
...
@@ -368,23 +364,24 @@ export default {
this.tableMaxheight = window.innerHeight - 300;
},
//查询回执
receiptApi(
id
, type) {
receiptApi(
billNo
, type) {
return new Promise((resolve, reject) => {
let obj = { declareId: id };
if (type == "listReceiptStatus") {
getListReceipt(obj)
.then((res) => {
if (res.code === "200") {
resolve(res.data);
} else {
reject();
}
})
.catch((err) => {
console.log(err);
reject();
});
} else if (type == "arrivalInReceiptStatus") {
let obj = { billNo };
// if (type == "listReceiptStatus") {
// getListReceipt(obj)
// .then((res) => {
// if (res.code === "200") {
// resolve(res.data);
// } else {
// reject();
// }
// })
// .catch((err) => {
// console.log(err);
// reject();
// });
// } else
if (type == "arrivalInReceiptStatus") {
arrivalInReceipt(obj)
.then((res) => {
if (res.code === "200") {
...
...
@@ -405,7 +402,7 @@ export default {
console.log(val);
this.receiptApi(val.data.
declareId
, val.status)
this.receiptApi(val.data.
billNo
, val.status)
.then((res) => {
val.tableData.forEach((item) => {
if (item.declareId == val.data.declareId) {
...
...
Please
register
or
login
to post a comment