Commit 6d967fb2 authored by huhaiqing's avatar huhaiqing

修改海运缺陷单

parent f6a5e5df
...@@ -215,8 +215,7 @@ export function getNoticeList(data) { ...@@ -215,8 +215,7 @@ export function getNoticeList(data) {
return request({ return request({
url: "/shipment/box/noticeList", url: "/shipment/box/noticeList",
method: "post", method: "post",
headers: { "Content-Type": "application/x-www-form-urlencoded" }, data,
data: jsonToFormData(data),
}); });
} }
...@@ -246,7 +245,7 @@ export function getBoxApproval(params) { ...@@ -246,7 +245,7 @@ export function getBoxApproval(params) {
} }
// 获得制作提货单(审核中调用) // 获得制作提货单(审核中调用)
export function getBillOfLandingInProcessing(params){ export function getBillOfLandingInProcessing(params) {
return request({ return request({
url: "/shipment/make-bill-of-lading/getInProcessing", url: "/shipment/make-bill-of-lading/getInProcessing",
method: "get", method: "get",
......
...@@ -312,7 +312,9 @@ export default { ...@@ -312,7 +312,9 @@ export default {
methods: { methods: {
formatDate, formatDate,
queryNotice() { queryNotice() {
getNoticeList({}).then((res) => { getNoticeList({
transportTypeList: this.transportTypes.map((item) => item.value),
}).then((res) => {
const { data } = res; const { data } = res;
this.noticeList = data ?? []; this.noticeList = data ?? [];
if (data.length) { if (data.length) {
......
...@@ -354,6 +354,7 @@ export default { ...@@ -354,6 +354,7 @@ export default {
} else if (type === "single") { } else if (type === "single") {
orders = [row]; orders = [row];
} }
debugger
this.getErrorType(); this.getErrorType();
this.$set(this.errorInfo, "orderList", orders); this.$set(this.errorInfo, "orderList", orders);
this.$set(this.errorInfo, "operate", type); this.$set(this.errorInfo, "operate", type);
......
...@@ -240,8 +240,8 @@ ...@@ -240,8 +240,8 @@
<el-table-column :label="$t('品名')" align="center" prop="prodTitleZh" /> <el-table-column :label="$t('品名')" align="center" prop="prodTitleZh" />
<el-table-column :label="$t('备案')" align="center" prop="feeType"> <el-table-column :label="$t('备案')" align="center" prop="feeType">
<template slot-scope="{row}"> <template slot-scope="{row}">
<template v-if="row.brandName">{{row.brandName}}</template> <template>{{row.brandName}}</template>
<dict-tag v-else :type="DICT_TYPE.ECW_IS_BRAND" :value="row.feeType" /> <dict-tag :type="DICT_TYPE.BRAND_CUSTOMER_CHARGING_MODEL" :value="row.feeType" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('箱数')" align="center" prop="num" /> <el-table-column :label="$t('箱数')" align="center" prop="num" />
...@@ -354,7 +354,7 @@ export default { ...@@ -354,7 +354,7 @@ export default {
{ value: "2", label: this.$t("关联单") }, { value: "2", label: this.$t("关联单") },
], ],
// 备案 // 备案
filingOps: this.getDictDatas(DICT_TYPE.COMMISSION_PRODUCT_APPROVAL), filingOps: this.getDictDatas(DICT_TYPE.BRAND_CUSTOMER_CHARGING_MODEL),
// 报关方式 // 报关方式
declarationMethodOps: this.getDictDatas(DICT_TYPE.ECW_CUSTOMS_TYPE), declarationMethodOps: this.getDictDatas(DICT_TYPE.ECW_CUSTOMS_TYPE),
// 查询标识 // 查询标识
......
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