zhanbo.xu

feat: 新增功能

import request from "@/utils/request";
// POST
// /exportOrder/pvg/queryList
// 获取PVG订单列表
export function getPvgList(data) {
return request({
url: "/bus-customer/exportOrder/pvg/queryList",
method: "post",
data: data,
});
}
// GET
// /exportOrder/pvg/info/{id}
// 获取PVG订单详情
export function getPvgInfo({ id }) {
return request({
url: `/bus-customer/exportOrder/pvg/info/${id}`,
method: "get",
});
}
// GET
// /exportOrder/pvg/receipt/{id}
// 获取PVG订单回执信息
export function getPvgReceiptInfo({ id }) {
return request({
url: `/bus-customer/exportOrder/pvg/receipt/${id}`,
method: "get",
});
}
// GET
// /exportWaybill/pvg/info/{id}
// 获取PVG运单详情
export function getPvgWaybillInfo({ id }) {
return request({
url: `/bus-customer/exportWaybill/pvg/info/${id}`,
method: "get",
});
}
// POST
// /exportWaybill/pvg/queryList
// 获取PVG运单列表
export function getPvgWaybillList(data) {
return request({
url: "/bus-customer/exportWaybill/pvg/queryList",
method: "post",
data: data,
});
}
// GET
// /exportWaybill/pvg/receipt​/{id}
// 获取PVG订单回执信息
export function getPvgWaybillReceiptInfo(id) {
return request({
url: `/bus-customer/exportWaybill/pvg/receipt/${id}`,
method: "get",
});
}
......@@ -205,6 +205,15 @@ export const constantRoutes = [
hidden: true,
meta: { title: "PDD数据详情", icon: "" },
},
// PVG
{
path: "/pvg-order-detail",
component: (resolve) =>
require(["@/views/pvgOrder/detail.vue"], resolve),
hidden: true,
name: "PvgOrderDetail",
meta: { title: "PVG订单详情", icon: "" },
},
],
},
{
......
......@@ -18,14 +18,24 @@
:expandRowKeys="expandRowKeys"
>
<template v-slot:unit="scope">
<span>{{
selectDictLabel(scope.row.unit, "MEASUREMENT_UNIT", "itemCode")
}}</span>
<span>
{{ selectDictLabel(scope.row.unit, "MEASUREMENT_UNIT", "itemCode") }}
</span>
</template>
<template v-slot:unit1="scope">
<span>
{{ selectDictLabel(scope.row.unit1, "MEASUREMENT_UNIT", "itemCode") }}
</span>
</template>
<template v-slot:unit2="scope">
<span>
{{ selectDictLabel(scope.row.unit2, "MEASUREMENT_UNIT", "itemCode") }}
</span>
</template>
<template v-slot:currency="scope">
<span>{{
selectDictLabel(scope.row.currency, "CURRENCY", "itemValue")
}}</span>
<span>
{{ selectDictLabel(scope.row.currency, "CURRENCY", "itemValue") }}
</span>
</template>
<!-- <template slot="optionColumn">
<el-table-column
......
......@@ -101,8 +101,8 @@
</el-col>
</el-row>
<el-row :gutter="5">
<!-- 商品金额 -->
<el-col :span="3">
<!-- 商品金额 -->
<el-col :span="3">
<Formitem label="商品金额" prop="goodsValue">
<el-input
type="text"
......
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.