委托单位联动

szh-new
lijingjia 3 months ago
parent 914890901d
commit 43623db062

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 27.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 18 18" style="enable-background:new 0 0 18 18;" xml:space="preserve">
<style type="text/css">
.st0{fill:#33383D;}
.st1{fill:#845119;}
</style>
<path class="st0" d="M9,0C4,0,0,4,0,9s4,9,9,9s9-4,9-9S14,0,9,0z M14.4,14.4c-3,3-7.8,3-10.8,0c-3-3-3-7.8,0-10.8
C4.3,2.9,5.1,2.3,6,2c1-0.4,2-0.6,3-0.6c1,0,2,0.2,2.9,0.6C13.8,2.7,15.2,4.2,16,6C17.2,8.9,16.6,12.2,14.4,14.4z"/>
<path class="st1" d="M13.9,8.6L13.9,8.6l-4,0V3.4c0-0.4-0.4-0.8-0.8-0.8c-0.4,0-0.8,0.4-0.8,0.8v5.2c0,0.9,0.7,1.6,1.6,1.6h4
c0.4,0,0.8-0.4,0.8-0.8C14.7,8.9,14.4,8.6,13.9,8.6z"/>
</svg>

After

Width:  |  Height:  |  Size: 830 B

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

@ -17,10 +17,10 @@
<SvgIcon class="ml15" size="18" name="print" @click="print" /> <SvgIcon class="ml15" size="18" name="print" @click="print" />
</a-tooltip> </a-tooltip>
<a-tooltip placement="top" title="发送"> <a-tooltip placement="top" title="发送">
<SvgIcon class="ml15" size="18" name="submit" @click="sendEmail" /> <SvgIcon class="ml15" size="18" name="submit1" @click="sendEmail" />
</a-tooltip> </a-tooltip>
<a-tooltip placement="top" title="历史"> <a-tooltip placement="top" title="历史">
<SvgIcon class="ml15" size="18" name="submit" @click="historyList" /> <SvgIcon class="ml15" size="18" name="history" @click="historyList" />
</a-tooltip> </a-tooltip>
</div> </div>
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />

@ -1234,8 +1234,8 @@ export const noteFormSchema: FormSchema[] = [
api: GetClientFrtSelectList, api: GetClientFrtSelectList,
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
labelField: 'cnName', labelField: 'frtName',
valueField: 'cnName', valueField: 'frtName',
resultField: 'data', resultField: 'data',
immediate: false, immediate: false,
filterOption: (input: string, option: any) => { filterOption: (input: string, option: any) => {

@ -366,7 +366,7 @@
}, 0) }, 0)
} }
const filterOption = (input, option) => { const filterOption = (input, option) => {
return option.value.toLowerCase().indexOf(input.toLowerCase()) >= 0; return option.ctnName.toLowerCase().indexOf(input.toLowerCase()) >= 0;
} }
const [ const [
registerForm4, registerForm4,

@ -325,7 +325,7 @@
type: 'dropdown', type: 'dropdown',
// (process) // (process)
source: async (query, process) => { source: async (query, process) => {
const res = ctnDict.value.length ? ctnDict.value : (await GetCtnSelectList())?.data const res = (await GetCtnSelectList({ queryKey: query }))?.data
if (!ctnDict.value.length) ctnDict.value = res if (!ctnDict.value.length) ctnDict.value = res
const dict = res.map((res) => { const dict = res.map((res) => {
return res.ctnName return res.ctnName
@ -372,7 +372,6 @@
// (process) // (process)
source: async (query, process) => { source: async (query, process) => {
const res = (await GetPackageSelectList({ queryKey: query }))?.data const res = (await GetPackageSelectList({ queryKey: query }))?.data
console.log(res)
mainPkgs.value = res mainPkgs.value = res
const dict = res.map((res) => { const dict = res.map((res) => {
return res.packageName return res.packageName

@ -278,6 +278,13 @@
{ deep: true } { deep: true }
) )
onMounted(() => { onMounted(() => {
emitter.on('customerBack', (v) => {
if (v.blContent) {
setFieldsValueL({
shipperContent: v.blContent
})
}
})
// //
// if (source.value != 'edit') { // if (source.value != 'edit') {
// mailingInfoFormSchemaR.forEach(item => { // mailingInfoFormSchemaR.forEach(item => {

Loading…
Cancel
Save