|
|
|
@ -57,15 +57,11 @@ const FntradeTerm = ref([])
|
|
|
|
|
getDictOption('packing_type').then((res) => {
|
|
|
|
|
FntradeTerm.value = res
|
|
|
|
|
})
|
|
|
|
|
// 单提份数字典
|
|
|
|
|
// 单提份数/副本份数字典
|
|
|
|
|
const FnnoBill = ref([])
|
|
|
|
|
getDictOption('no_bill').then((res) => {
|
|
|
|
|
FnnoBill.value = res
|
|
|
|
|
})
|
|
|
|
|
// 副本份数字典
|
|
|
|
|
const FncopyNoBill = ref([])
|
|
|
|
|
getDictOption('copy_no_bill').then((res) => {
|
|
|
|
|
FncopyNoBill.value = res
|
|
|
|
|
console.log(FnnoBill.value)
|
|
|
|
|
})
|
|
|
|
|
// 销售字典
|
|
|
|
|
const salerCodeDict = ref([])
|
|
|
|
@ -210,11 +206,13 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
mode: 'SECRET_COMBOBOX_MODE_DO_NOT_USE',
|
|
|
|
|
onChange: (e, obj) => {
|
|
|
|
|
if (e && obj) {
|
|
|
|
|
cno.value = e
|
|
|
|
|
cno.value = obj.contractNote
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onBlur: () => {
|
|
|
|
|
formActionType ? formActionType.linkageForm(cno) : null
|
|
|
|
|
if (cno.value) {
|
|
|
|
|
formActionType ? formActionType.linkageForm(cno) : null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -1304,7 +1302,7 @@ export const noteFormSchema: FormSchema[] = [
|
|
|
|
|
component: 'Select',
|
|
|
|
|
required: false,
|
|
|
|
|
dynamicDisabled: false,
|
|
|
|
|
// defaultValue: '',
|
|
|
|
|
defaultValue: null,
|
|
|
|
|
colProps: { span: 5 },
|
|
|
|
|
componentProps: {
|
|
|
|
|
options: FnnoBill,
|
|
|
|
@ -1321,10 +1319,10 @@ export const noteFormSchema: FormSchema[] = [
|
|
|
|
|
component: 'Select',
|
|
|
|
|
required: false,
|
|
|
|
|
dynamicDisabled: false,
|
|
|
|
|
// defaultValue: '',
|
|
|
|
|
defaultValue: null,
|
|
|
|
|
colProps: { span: 5 },
|
|
|
|
|
componentProps: {
|
|
|
|
|
options: FncopyNoBill,
|
|
|
|
|
options: FnnoBill,
|
|
|
|
|
allowClear: true,
|
|
|
|
|
showSearch: true,
|
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
@ -1716,9 +1714,10 @@ export const cargoInfoFormSchema2: FormSchema[] = [
|
|
|
|
|
field: 'goodsName',
|
|
|
|
|
label: '品名',
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
labelSlot: 'goodsName',
|
|
|
|
|
required: false,
|
|
|
|
|
dynamicDisabled: false,
|
|
|
|
|
// defaultValue: '',
|
|
|
|
|
defaultValue: null,
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|