提单信息

szh-new
lijingjia 3 months ago
parent 495d14fbd8
commit 8fdaeef638

@ -1,5 +1,4 @@
import { FormSchema, BasicColumn } from '/@/components/Table' import { FormSchema, BasicColumn } from '/@/components/Table'
import SelectTextArea from '/@/views/operation/seaexport/components/SelectTextArea.vue'
import { useOptionsStore } from '/@/store/modules/options' import { useOptionsStore } from '/@/store/modules/options'
import { GetPackageSelectList } from '/@/views/operation/seaexport/api/BookingLedger' import { GetPackageSelectList } from '/@/views/operation/seaexport/api/BookingLedger'
import { useMessage } from '/@/hooks/web/useMessage' import { useMessage } from '/@/hooks/web/useMessage'

@ -78,7 +78,7 @@
<a-tabs v-model:activeKey="activeKey" class="ds-sea-child-tab"> <a-tabs v-model:activeKey="activeKey" class="ds-sea-child-tab">
<a-tab-pane key="1" tab="提单信息" size="small"> <a-tab-pane key="1" tab="提单信息" size="small">
<a-spin :spinning="dloading"> <a-spin :spinning="dloading">
<div class="flex card-box"> <div class="flex card-box lading-box">
<!-- 收发通表单 --> <!-- 收发通表单 -->
<BasicForm style="flex: 1;" @register="registerForm" /> <BasicForm style="flex: 1;" @register="registerForm" />
<!-- 集装箱组件 --> <!-- 集装箱组件 -->
@ -728,7 +728,7 @@
<style lang="less"> <style lang="less">
.ds-sea-lading-info { .ds-sea-lading-info {
padding-right: 20px; padding-left: 20px;
.ds-sea-child-tab { .ds-sea-child-tab {
flex: 1; flex: 1;
margin-left: 16px; margin-left: 16px;
@ -742,6 +742,10 @@
border-top: none; border-top: none;
border-radius: 2px; border-radius: 2px;
} }
.ant-tabs-content {
height: calc(100vh - 200px);
overflow: auto;
}
.ant-col-3 { .ant-col-3 {
max-width: 14.28%; max-width: 14.28%;
} }
@ -759,6 +763,7 @@
.btn-box { .btn-box {
margin: 5px -5px; margin: 5px -5px;
justify-content: space-between; justify-content: space-between;
padding-right: 15px;
} }
.pkg { .pkg {
.ant-row>div:nth-child(1), .ant-row>div:nth-child(4), .ant-row>div:nth-child(6) { .ant-row>div:nth-child(1), .ant-row>div:nth-child(4), .ant-row>div:nth-child(6) {

@ -24,7 +24,8 @@ import {
GetCustomerServiceList, GetCustomerServiceList,
GetVouchingClerkList, GetVouchingClerkList,
GetLaneUserList, GetLaneUserList,
GetClientSourceSelectList GetClientSourceSelectList,
GetOperatorUserList
} from '/@/views/operation/seaexport/api/BookingLedger' } from '/@/views/operation/seaexport/api/BookingLedger'
import { useOptionsStore } from '/@/store/modules/options' import { useOptionsStore } from '/@/store/modules/options'
const optionsStore = useOptionsStore() const optionsStore = useOptionsStore()
@ -61,7 +62,6 @@ getDictOption('packing_type').then((res) => {
const FnnoBill = ref([]) const FnnoBill = ref([])
getDictOption('no_bill').then((res) => { getDictOption('no_bill').then((res) => {
FnnoBill.value = res FnnoBill.value = res
console.log(FnnoBill.value)
}) })
// 销售字典 // 销售字典
const salerCodeDict = ref([]) const salerCodeDict = ref([])
@ -179,7 +179,6 @@ export const basicInfoFormSchema: FormSchema[] = [
resultField: 'data', resultField: 'data',
immediate: false, immediate: false,
onChange: (e, obj) => { onChange: (e, obj) => {
console.log(obj)
if (e && obj) { if (e && obj) {
formModel.contractClientId = obj.id formModel.contractClientId = obj.id
} }
@ -241,7 +240,6 @@ export const basicInfoFormSchema: FormSchema[] = [
resultField: 'data', resultField: 'data',
immediate: false, immediate: false,
onChange: (e, obj) => { onChange: (e, obj) => {
console.log(obj)
if (e && obj) { if (e && obj) {
formModel.carrierId = obj.id formModel.carrierId = obj.id
} }
@ -491,8 +489,6 @@ export const mailingInfoFormSchemaL: FormSchema[] = [
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
}, },
onChange: (e, obj) => { onChange: (e, obj) => {
console.log(e)
console.log(obj)
if (e && obj) { if (e && obj) {
formModel.consigneeId = obj.id formModel.consigneeId = obj.id
formModel.consigneeContent = obj.content formModel.consigneeContent = obj.content
@ -2089,7 +2085,7 @@ export const otherInfoFormSchema: FormSchema[] = [
colProps: { span: 12 }, colProps: { span: 12 },
componentProps: ({ formModel, formActionType }) => { componentProps: ({ formModel, formActionType }) => {
return { return {
api: GetCustomerServiceList, api: GetOperatorUserList,
labelField: 'pinYinCode', labelField: 'pinYinCode',
valueField: 'userName', valueField: 'userName',
showName: 'userName', showName: 'userName',
@ -2294,7 +2290,6 @@ export const otherInfoFormSchema: FormSchema[] = [
immediate: false, immediate: false,
resultField: 'data', resultField: 'data',
onChange: async (e, obj) => { onChange: async (e, obj) => {
console.log(obj)
if (e && obj) { if (e && obj) {
formModel.sourceCode = obj.sourceCode formModel.sourceCode = obj.sourceCode
formModel.sourceId = obj.id formModel.sourceId = obj.id
@ -2330,7 +2325,6 @@ export const otherInfoFormSchema: FormSchema[] = [
resultField: 'data', resultField: 'data',
onChange: (v, obj) => { onChange: (v, obj) => {
if (v && obj) { if (v && obj) {
console.log(obj)
formModel.sourceDetailId = obj.id formModel.sourceDetailId = obj.id
} }
if (!v && !obj) { if (!v && !obj) {
@ -2381,7 +2375,6 @@ export const otherInfoFormSchema: FormSchema[] = [
resultField: 'data', resultField: 'data',
immediate: false, immediate: false,
onChange: (e, obj) => { onChange: (e, obj) => {
console.log(obj)
if (e && obj) { if (e && obj) {
formModel.saleOrgName = obj.label formModel.saleOrgName = obj.label
formModel.saleOrgId = obj.id formModel.saleOrgId = obj.id
@ -2418,7 +2411,6 @@ export const otherInfoFormSchema: FormSchema[] = [
resultField: 'data', resultField: 'data',
immediate: false, immediate: false,
onChange: (e, obj) => { onChange: (e, obj) => {
console.log(obj)
if (e && obj) { if (e && obj) {
formModel.saleDeptId = obj.id formModel.saleDeptId = obj.id
} }
@ -2736,7 +2728,6 @@ export const personFormSchema: FormSchema[] = [
formModel.email = '' formModel.email = ''
formModel.tel = '' formModel.tel = ''
} }
console.log(v, 222)
// 设置关系人下拉 // 设置关系人下拉
GetOrderContactListByClientId({ id: v }).then(res => { GetOrderContactListByClientId({ id: v }).then(res => {
personList.value = res.data.map(item => { personList.value = res.data.map(item => {
@ -2747,7 +2738,6 @@ export const personFormSchema: FormSchema[] = [
mobile: item.mobile mobile: item.mobile
} }
}) })
console.log(personList.value)
}) })
} }
} }

@ -49,9 +49,7 @@
style="width: 66px" style="width: 66px"
:fieldNames="{ :fieldNames="{
label: 'ctnName', label: 'ctnName',
value: 'id', value: 'id'
ctnCode: 'ediCode',
ctnSize: 'ctnSize'
}" }"
:options="optionsStore.getOptionsByCode('GetCtnSelectList')" :options="optionsStore.getOptionsByCode('GetCtnSelectList')"
:filter-option="filterOption" :filter-option="filterOption"

Loading…
Cancel
Save