Showing
8 changed files
with
88 additions
and
6 deletions
src/api/pvg.js
0 → 100644
| 1 | +import request from "@/utils/request"; | ||
| 2 | + | ||
| 3 | +// POST | ||
| 4 | +// /exportOrder/pvg/queryList | ||
| 5 | +// 获取PVG订单列表 | ||
| 6 | +export function getPvgList(data) { | ||
| 7 | + return request({ | ||
| 8 | + url: "/bus-customer/exportOrder/pvg/queryList", | ||
| 9 | + method: "post", | ||
| 10 | + data: data, | ||
| 11 | + }); | ||
| 12 | +} | ||
| 13 | + | ||
| 14 | +// GET | ||
| 15 | +// /exportOrder/pvg/info/{id} | ||
| 16 | +// 获取PVG订单详情 | ||
| 17 | +export function getPvgInfo({ id }) { | ||
| 18 | + return request({ | ||
| 19 | + url: `/bus-customer/exportOrder/pvg/info/${id}`, | ||
| 20 | + method: "get", | ||
| 21 | + }); | ||
| 22 | +} | ||
| 23 | + | ||
| 24 | +// GET | ||
| 25 | +// /exportOrder/pvg/receipt/{id} | ||
| 26 | +// 获取PVG订单回执信息 | ||
| 27 | +export function getPvgReceiptInfo({ id }) { | ||
| 28 | + return request({ | ||
| 29 | + url: `/bus-customer/exportOrder/pvg/receipt/${id}`, | ||
| 30 | + method: "get", | ||
| 31 | + }); | ||
| 32 | +} | ||
| 33 | + | ||
| 34 | +// GET | ||
| 35 | +// /exportWaybill/pvg/info/{id} | ||
| 36 | +// 获取PVG运单详情 | ||
| 37 | +export function getPvgWaybillInfo({ id }) { | ||
| 38 | + return request({ | ||
| 39 | + url: `/bus-customer/exportWaybill/pvg/info/${id}`, | ||
| 40 | + method: "get", | ||
| 41 | + }); | ||
| 42 | +} | ||
| 43 | + | ||
| 44 | +// POST | ||
| 45 | +// /exportWaybill/pvg/queryList | ||
| 46 | +// 获取PVG运单列表 | ||
| 47 | +export function getPvgWaybillList(data) { | ||
| 48 | + return request({ | ||
| 49 | + url: "/bus-customer/exportWaybill/pvg/queryList", | ||
| 50 | + method: "post", | ||
| 51 | + data: data, | ||
| 52 | + }); | ||
| 53 | +} | ||
| 54 | + | ||
| 55 | +// GET | ||
| 56 | +// /exportWaybill/pvg/receipt/{id} | ||
| 57 | +// 获取PVG订单回执信息 | ||
| 58 | +export function getPvgWaybillReceiptInfo(id) { | ||
| 59 | + return request({ | ||
| 60 | + url: `/bus-customer/exportWaybill/pvg/receipt/${id}`, | ||
| 61 | + method: "get", | ||
| 62 | + }); | ||
| 63 | +} |
| ... | @@ -205,6 +205,15 @@ export const constantRoutes = [ | ... | @@ -205,6 +205,15 @@ export const constantRoutes = [ |
| 205 | hidden: true, | 205 | hidden: true, |
| 206 | meta: { title: "PDD数据详情", icon: "" }, | 206 | meta: { title: "PDD数据详情", icon: "" }, |
| 207 | }, | 207 | }, |
| 208 | + // PVG | ||
| 209 | + { | ||
| 210 | + path: "/pvg-order-detail", | ||
| 211 | + component: (resolve) => | ||
| 212 | + require(["@/views/pvgOrder/detail.vue"], resolve), | ||
| 213 | + hidden: true, | ||
| 214 | + name: "PvgOrderDetail", | ||
| 215 | + meta: { title: "PVG订单详情", icon: "" }, | ||
| 216 | + }, | ||
| 208 | ], | 217 | ], |
| 209 | }, | 218 | }, |
| 210 | { | 219 | { | ... | ... |
| ... | @@ -18,14 +18,24 @@ | ... | @@ -18,14 +18,24 @@ |
| 18 | :expandRowKeys="expandRowKeys" | 18 | :expandRowKeys="expandRowKeys" |
| 19 | > | 19 | > |
| 20 | <template v-slot:unit="scope"> | 20 | <template v-slot:unit="scope"> |
| 21 | - <span>{{ | 21 | + <span> |
| 22 | - selectDictLabel(scope.row.unit, "MEASUREMENT_UNIT", "itemCode") | 22 | + {{ selectDictLabel(scope.row.unit, "MEASUREMENT_UNIT", "itemCode") }} |
| 23 | - }}</span> | 23 | + </span> |
| 24 | + </template> | ||
| 25 | + <template v-slot:unit1="scope"> | ||
| 26 | + <span> | ||
| 27 | + {{ selectDictLabel(scope.row.unit1, "MEASUREMENT_UNIT", "itemCode") }} | ||
| 28 | + </span> | ||
| 29 | + </template> | ||
| 30 | + <template v-slot:unit2="scope"> | ||
| 31 | + <span> | ||
| 32 | + {{ selectDictLabel(scope.row.unit2, "MEASUREMENT_UNIT", "itemCode") }} | ||
| 33 | + </span> | ||
| 24 | </template> | 34 | </template> |
| 25 | <template v-slot:currency="scope"> | 35 | <template v-slot:currency="scope"> |
| 26 | - <span>{{ | 36 | + <span> |
| 27 | - selectDictLabel(scope.row.currency, "CURRENCY", "itemValue") | 37 | + {{ selectDictLabel(scope.row.currency, "CURRENCY", "itemValue") }} |
| 28 | - }}</span> | 38 | + </span> |
| 29 | </template> | 39 | </template> |
| 30 | <!-- <template slot="optionColumn"> | 40 | <!-- <template slot="optionColumn"> |
| 31 | <el-table-column | 41 | <el-table-column | ... | ... |
src/views/pvgOrder/detail.vue
0 → 100644
This diff is collapsed. Click to expand it.
src/views/pvgOrder/index.vue
0 → 100644
This diff is collapsed. Click to expand it.
src/views/pvgWaybill/detail.vue
0 → 100644
This diff is collapsed. Click to expand it.
src/views/pvgWaybill/index.vue
0 → 100644
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment