|
|
|
@ -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)
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|