提单信息

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

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

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

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

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

Loading…
Cancel
Save