客户更换接口及取消保存

dev
张同海 2 years ago
parent ecdc31f4e0
commit 44d285b2a6

@ -36,7 +36,17 @@ export function DjyCustomerpage(parameter) {
params: parameter
})
}
/**
* 获取分页查询客户
* @params keyword
*/
export function DjyCustomerSuggest(parameter) {
return axios({
url: '/DjyCustomer/Suggest',
method: 'get',
params: parameter
})
}
/**
* 获取船公司
* @params CnName

@ -428,6 +428,7 @@ import { XCard } from '@/components'
import { AutoComplete } from 'ant-design-vue'
import {
DjyCustomerpage,
DjyCustomerSuggest,
GetCarrierlist,
GetVessellist,
GetSysUserPage,
@ -835,10 +836,10 @@ export default {
},
// - start
getDjyCustomerpage(name = '', type, key) {
DjyCustomerpage({
DjyCustomerSuggest({
// SearchValue: name,
// PropString: key,
ShortName: name
keyword: name
})
.then(res => {
if (res.code === 200) {

@ -877,9 +877,11 @@ export default {
},
mounted() {
const shipperScroll = document.getElementById('shipper-scroll')
shipperScroll.addEventListener('scroll', () => {
document.getElementById('shipper-scroll-right').scrollTop = shipperScroll.scrollTop
})
if (shipperScroll) {
shipperScroll.addEventListener('scroll', () => {
document.getElementById('shipper-scroll-right').scrollTop = shipperScroll.scrollTop
})
}
const consigneeScroll = document.getElementById('consignee-scroll')
consigneeScroll.addEventListener('scroll', () => {
document.getElementById('consignee-scroll-right').scrollTop = consigneeScroll.scrollTop

@ -346,8 +346,7 @@ export default {
const arr = this.formRes.MBLNO.split(/-||,|[.]/)
let val = ``
arr.map((item, index) => {
val += `${item}
`
val += `${item}`
})
this.moreNumVal = val
this.moreNumVisible = !this.moreNumVisible

Loading…
Cancel
Save