约主换成供应商

feature-JimuReport-1106-yjl
lijingjia 1 month ago
parent 8a447a6ae2
commit 30771dfbb7

@ -12,7 +12,7 @@ VITE_PUBLIC_PATH = /
# Cross-domain proxy, you can configure multiple # Cross-domain proxy, you can configure multiple
# Please note that no line breaks # Please note that no line breaks
# VITE_PROXY = [["/basic-api","http://localhost:3000"],["/upload","http://localhost:3300/upload"]] # VITE_PROXY = [["/basic-api","http:///60.209.125.238"],["/upload","http://localhost:3300/upload"]]
VITE_PROXY=[["/api","http://118.190.144.189:3008"],["/stage-api","https://www.666cxf.com/stage-api"]] # 开发 测试环境 VITE_PROXY=[["/api","http://118.190.144.189:3008"],["/stage-api","https://www.666cxf.com/stage-api"]] # 开发 测试环境
# Delete console # Delete console

@ -23,7 +23,7 @@
@row-click="onRowClick" @row-click="onRowClick"
></BasicTable> ></BasicTable>
<div class="info mt15"> <div class="info mt15">
<h4>费用明细</h4> <h4>费用明细 <span class="fee-checkbox"><a-checkbox v-model:checked="checked">引入结算对象</a-checkbox></span></h4>
<feeTable <feeTable
ref="feeTabel" ref="feeTabel"
:tbType='tbType' :tbType='tbType'
@ -80,6 +80,8 @@
}) })
// //
const visible = ref(false) const visible = ref(false)
//
const checked = ref(false)
// //
const state = reactive({ const state = reactive({
historyRowKeys: [] historyRowKeys: []
@ -101,6 +103,9 @@
} else { } else {
data = feeTabel.value.feeData data = feeTabel.value.feeData
} }
if (data && data.length == 0) {
return createMessage.warning('请勾选要引入的费用!')
}
emits('submit', data) emits('submit', data)
} }
const historyChange = (v) => { const historyChange = (v) => {
@ -170,5 +175,9 @@
.info { .info {
padding: 0 15px; padding: 0 15px;
} }
.fee-checkbox span {
margin-left: 50px;
font-size: 12px;
}
} }
</style> </style>

@ -1041,12 +1041,17 @@ export const columns: BasicColumn[] = [
{ {
title: '主提单号', title: '主提单号',
dataIndex: 'mblno', dataIndex: 'mblno',
width: 150, width: 120,
},
{
title: '分提单号',
dataIndex: 'hblno',
width: 120,
}, },
{ {
title: '船名', title: '船名',
dataIndex: 'vessel', dataIndex: 'vessel',
width: 150, width: 120,
}, },
{ {
title: '航次', title: '航次',
@ -1056,18 +1061,32 @@ export const columns: BasicColumn[] = [
{ {
title: '开船日期', title: '开船日期',
dataIndex: 'etd', dataIndex: 'etd',
width: 120, width: 90,
}, },
{ {
title: '装货港', title: '装货港',
dataIndex: 'loadPort', dataIndex: 'loadPort',
width: 140, width: 110,
}, },
{ {
title: '卸货港', title: '卸货港',
dataIndex: 'dischargePort', dataIndex: 'dischargePort',
width: 140, width: 110,
},
{
title: '发货人',
dataIndex: 'shipper',
width: 110,
},
{
title: '收货人',
dataIndex: 'consignee',
width: 110,
},
{
title: '国内发货人',
dataIndex: 'shipperCn',
width: 110,
}, },
{ {
title: '发货人内容', title: '发货人内容',

@ -207,7 +207,7 @@ export const basicInfoFormSchema: FormSchema[] = [
colProps: { span: 5 }, colProps: { span: 5 },
componentProps: ({ formModel, formActionType }) => { componentProps: ({ formModel, formActionType }) => {
return { return {
api: GetClientListByCode, api: GetSupplierListByCode,
params: { code: 'contract' }, params: { code: 'contract' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
valueField: 'shortName', valueField: 'shortName',
@ -876,8 +876,8 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
componentProps: { componentProps: {
allowClear: true, allowClear: true,
showTime: true, showTime: true,
valueFormat: 'YYYY-MM-DD HH:mm', valueFormat: 'YYYY-MM-DD HH:mm'
}, }
}, },
{ {
label: '装货港', label: '装货港',
@ -899,15 +899,15 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
if (e && obj) { if (e && obj) {
formActionType ? formActionType.linkageForm({ key: 'loadPortCode', value: obj }) : null formActionType ? formActionType.linkageForm({ key: 'loadPortCode', value: obj }) : null
formModel.loadPortId = obj.id formModel.loadPortId = obj.id
formModel.loadPort = obj.portName formModel.loadPort = obj.portName + ',' + obj.countryEnName
} }
if (!e && !obj) { if (!e && !obj) {
formModel.loadPortId = null formModel.loadPortId = null
formModel.loadPort = null formModel.loadPort = null
} }
}, }
} }
}, }
}, },
{ {
label: '卸货港', label: '卸货港',

Loading…
Cancel
Save