海运出口 新增部分功能

szh-new
张同海 8 months ago
parent 2caaa8a615
commit 408d0b7deb

@ -1,3 +1,11 @@
###
# @Author: 张同海 14166000+zhangtonghai@user.noreply.gitee.com
# @Date: 2024-04-17 10:30:29
# @LastEditors: 张同海 14166000+zhangtonghai@user.noreply.gitee.com
# @LastEditTime: 2024-04-18 16:02:47
# @FilePath: \ds-wms-client-web\.env.development
# @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
###
# Whether to open mock # Whether to open mock
VITE_USE_MOCK = true VITE_USE_MOCK = true

@ -1,4 +1,37 @@
import { request } from '/@/utils/request' import { request } from '/@/utils/request'
// 编辑 (Auth)
export function BookingOrderSave(parameter) {
return request({
url: '/opApi/SeaExport/EditSeaExport',
method: 'post',
data: parameter,
})
}
// 列表 (Auth)
export function PageDataByBooking(parameter) {
return request({
url: '/opApi/SeaExport/GetSeaExportList',
method: 'post',
data: parameter,
})
}
// 获取单证员列表 (Auth)
export function GetVouchingClerkList(parameter) {
return request({
url: '/mainApi/ClientCommon/GetVouchingClerkList',
method: 'get',
params: parameter,
})
}
// 获取场站下拉列表 (Auth)
export function GetYardClientList(parameter) {
return request({
url: '/mainApi/ClientCommon/GetYardClientList',
method: 'get',
params: parameter,
})
}
/** /**
* 分页查询订舱主表 * 分页查询订舱主表
* @params PageSize * @params PageSize
@ -11,13 +44,7 @@ export function BookingOrderPage(parameter) {
params: parameter, params: parameter,
}) })
} }
export function PageDataByBooking(parameter) {
return request({
url: '/mainApi/SeaExport/GetSeaExportList',
method: 'post',
data: parameter,
})
}
// 更新用户高级查询条件设置 (Auth) // 更新用户高级查询条件设置 (Auth)
export function UpdateUserQuerySet(parameter) { export function UpdateUserQuerySet(parameter) {
return request({ return request({
@ -42,23 +69,6 @@ export function GetCarrierlist(parameter) {
params: parameter, params: parameter,
}) })
} }
// 编辑 (Auth)
export function BookingOrderSave(parameter) {
return request({
url: '/mainApi/SeaExport/EditSeaExport',
method: 'post',
data: parameter,
})
}
// 获取单证员列表 (Auth)
export function GetVouchingClerkList(parameter) {
return request({
url: '/mainApi/ClientCommon/GetVouchingClerkList',
method: 'get',
params: parameter,
})
}
/** /**
* 获取订舱明细 * 获取订舱明细

@ -70,7 +70,10 @@
voyno: any voyno: any
etd: any etd: any
} }
import { GetVouchingClerkList } from '/@/views/operation/seaexport/api/BookingLedger' import {
GetVouchingClerkList,
GetYardClientList,
} from '/@/views/operation/seaexport/api/BookingLedger'
import { ref } from 'vue' import { ref } from 'vue'
import { useMessage } from '/@/hooks/web/useMessage' import { useMessage } from '/@/hooks/web/useMessage'
const { notification } = useMessage() const { notification } = useMessage()
@ -103,16 +106,22 @@
} }
} }
function getSelectFirst(e, canClick = true) { function getSelectFirst(e, canClick = true) {
console.log(e, canClick, RefselectView.value, 'getSelectFirst')
// if (canClick) { // if (canClick) {
// RefselectView.value.$refs.vcSelect.$refs.arrow.click() // RefselectView.value.$refs.vcSelect.$refs.arrow.click()
// } else { // } else {
// RefselectView.value.focus() // RefselectView.value.focus()
// } // }
RefselectView.value.focus() RefselectView.value.focus()
console.log(open.value)
open.value = true open.value = true
console.log(open.value)
if ( if (
[ [
'doc', 'doc',
'blType',
// --------------- // ---------------
'cargoid', 'cargoid',
'nobill', 'nobill',
@ -132,6 +141,15 @@
'shippercountry', 'shippercountry',
].includes(props.type) ].includes(props.type)
) { ) {
console.log(props.type)
if (props.type === 'blType') {
selectList.value = emnuData(props.type)
inLoading.value = false
console.log(selectList.value)
return false
}
// if (props.type === 'yard') { // if (props.type === 'yard') {
// if (this.yardFilter.length === 0) { // if (this.yardFilter.length === 0) {
// selectList.value = this.yardList // selectList.value = this.yardList
@ -238,157 +256,174 @@
} }
} }
function emnuData(type) { function emnuData(type) {
switch ( switch (type) {
type case 'blType':
// case 'cargoid': return [
// return [ {
// { name: '整箱',
// name: 'S ', code: '整箱',
// code: 'S', },
// }, {
// { name: '拼箱单票',
// name: 'R ', code: '拼箱单票',
// code: 'R', },
// }, {
// { name: '拼箱主票',
// name: 'D ', code: '拼箱主票',
// code: 'D', },
// }, {
// { name: '拼箱分票',
// name: 'O ', code: '拼箱分票',
// code: 'O', },
// }, ]
// ]
// case 'nobill':
// return [
// {
// name: 'ONE',
// code: 'ONE',
// },
// {
// name: 'TWO',
// code: 'TWO',
// },
// {
// name: 'THREE',
// code: 'THREE',
// },
// {
// name: 'FOUR',
// code: 'FOUR',
// },
// {
// name: 'FIVE',
// code: 'FIVE',
// },
// {
// name: 'SIX',
// code: 'SIX',
// },
// {
// name: 'SEVEN',
// code: 'SEVEN',
// },
// {
// name: 'EIGHT',
// code: 'EIGHT',
// },
// {
// name: 'NINE',
// code: 'NINE',
// },
// {
// name: 'TEN',
// code: 'TEN',
// },
// ]
// case 'copynobill':
// return [
// {
// name: 'ONE',
// code: 'ONE',
// },
// {
// name: 'TWO',
// code: 'TWO',
// },
// {
// name: 'THREE',
// code: 'THREE',
// },
// {
// name: 'FOUR',
// code: 'FOUR',
// },
// {
// name: 'FIVE',
// code: 'FIVE',
// },
// {
// name: 'SIX',
// code: 'SIX',
// },
// {
// name: 'SEVEN',
// code: 'SEVEN',
// },
// {
// name: 'EIGHT',
// code: 'EIGHT',
// },
// {
// name: 'NINE',
// code: 'NINE',
// },
// {
// name: 'TEN',
// code: 'TEN',
// },
// ]
// case 'masterBolIndicator':
// return [
// { ID: '1', NAME: 'Carrier filing HBL | HBL' },
// { ID: '2', NAME: 'Self filing HBL | ' },
// { ID: '3', NAME: 'Not Applicable/Straight bl | HBL' },
// ]
// case 'salerCode':
// return [
// { ID: 'CN087', NAME: 'CN087 | GRACE SUN' },
// { ID: 'CN096', NAME: 'CN096 | LEON LIANG' },
// { ID: 'CN097', NAME: 'CN097 | CHARLES GAO' },
// { ID: 'CN098', NAME: 'CN098 | TERESA LIU SHAN' },
// { ID: 'CN106', NAME: 'CN106 | HOKI YU' },
// { ID: 'CN107', NAME: 'CN107 | WILLIAM YANG JING YU' },
// { ID: 'CN099', NAME: 'CN099 | HELEN ZHANG' },
// { ID: 'CN100', NAME: 'CN100 | LEOREN' },
// ]
// case 'yard':
// return this.yardList
// case 'kindpkgs':
// return this.packageList
// case 'carrierid':
// return this.carrierList
// case 'carrier':
// return this.carrierList
// case 'issuetype':
// return this.issuetypeList
// case 'blfrt':
// return this.blfrtList
// case 'lineName':
// return this.lineList
// case 'shippingMethod':
// const arr = this.$options.filters['dictData']('ShippingMethod') || []
// return arr
// case 'sourceName':
// return this.sourceList
// case 'notifypartycountry':
// return this.countryList
// case 'consigneecountry':
// return this.countryList
// case 'shippercountry':
// return this.countryList
) {
} }
// case 'cargoid':
// return [
// {
// name: 'S ',
// code: 'S',
// },
// {
// name: 'R ',
// code: 'R',
// },
// {
// name: 'D ',
// code: 'D',
// },
// {
// name: 'O ',
// code: 'O',
// },
// ]
// case 'nobill':
// return [
// {
// name: 'ONE',
// code: 'ONE',
// },
// {
// name: 'TWO',
// code: 'TWO',
// },
// {
// name: 'THREE',
// code: 'THREE',
// },
// {
// name: 'FOUR',
// code: 'FOUR',
// },
// {
// name: 'FIVE',
// code: 'FIVE',
// },
// {
// name: 'SIX',
// code: 'SIX',
// },
// {
// name: 'SEVEN',
// code: 'SEVEN',
// },
// {
// name: 'EIGHT',
// code: 'EIGHT',
// },
// {
// name: 'NINE',
// code: 'NINE',
// },
// {
// name: 'TEN',
// code: 'TEN',
// },
// ]
// case 'copynobill':
// return [
// {
// name: 'ONE',
// code: 'ONE',
// },
// {
// name: 'TWO',
// code: 'TWO',
// },
// {
// name: 'THREE',
// code: 'THREE',
// },
// {
// name: 'FOUR',
// code: 'FOUR',
// },
// {
// name: 'FIVE',
// code: 'FIVE',
// },
// {
// name: 'SIX',
// code: 'SIX',
// },
// {
// name: 'SEVEN',
// code: 'SEVEN',
// },
// {
// name: 'EIGHT',
// code: 'EIGHT',
// },
// {
// name: 'NINE',
// code: 'NINE',
// },
// {
// name: 'TEN',
// code: 'TEN',
// },
// ]
// case 'masterBolIndicator':
// return [
// { ID: '1', NAME: 'Carrier filing HBL | HBL' },
// { ID: '2', NAME: 'Self filing HBL | ' },
// { ID: '3', NAME: 'Not Applicable/Straight bl | HBL' },
// ]
// case 'salerCode':
// return [
// { ID: 'CN087', NAME: 'CN087 | GRACE SUN' },
// { ID: 'CN096', NAME: 'CN096 | LEON LIANG' },
// { ID: 'CN097', NAME: 'CN097 | CHARLES GAO' },
// { ID: 'CN098', NAME: 'CN098 | TERESA LIU SHAN' },
// { ID: 'CN106', NAME: 'CN106 | HOKI YU' },
// { ID: 'CN107', NAME: 'CN107 | WILLIAM YANG JING YU' },
// { ID: 'CN099', NAME: 'CN099 | HELEN ZHANG' },
// { ID: 'CN100', NAME: 'CN100 | LEOREN' },
// ]
// case 'yard':
// return this.yardList
// case 'kindpkgs':
// return this.packageList
// case 'carrierid':
// return this.carrierList
// case 'carrier':
// return this.carrierList
// case 'issuetype':
// return this.issuetypeList
// case 'blfrt':
// return this.blfrtList
// case 'lineName':
// return this.lineList
// case 'shippingMethod':
// const arr = this.$options.filters['dictData']('ShippingMethod') || []
// return arr
// case 'sourceName':
// return this.sourceList
// case 'notifypartycountry':
// return this.countryList
// case 'consigneecountry':
// return this.countryList
// case 'shippercountry':
// return this.countryList
} }
function getSelectBlur(e) { function getSelectBlur(e) {
open.value = false open.value = false
@ -483,9 +518,13 @@
switch (type) { switch (type) {
case 'GetVouchingClerkList': case 'GetVouchingClerkList':
return GetVouchingClerkList return GetVouchingClerkList
case 'GetYardClientList':
return GetYardClientList
} }
} }
function handleChange(op) { function handleChange(op) {
console.log(op)
let Dop = op[0] let Dop = op[0]
inEdit.value = true inEdit.value = true
setTimeout(() => { setTimeout(() => {

@ -224,173 +224,274 @@
import mastetMore from './modules/mastetMore.vue' import mastetMore from './modules/mastetMore.vue'
import rightContent from './modules/rightContent.vue' import rightContent from './modules/rightContent.vue'
import sedOrder from './modules/sedOrder.vue' import sedOrder from './modules/sedOrder.vue'
// const initDetail = {
// id: 0,
// parentId: 0,
// customername: '',
// customerid: '',
// carrier: 'CMA',
// carrierid: 'CMA',
// forwarder: '',
// forwarderid: '',
// pono: '',
// mblno: '',
// hblno: '',
// epCode: '',
// custno: '',
// contractno: '',
// vessel: '',
// voyno: '',
// voynoinner: '',
// lanecode: '',
// etd: '',
// atd: '',
// lanename: '',
// shipagency: '',
// shipagencyid: '',
// lineName: '',
// sale: '',
// saleid: '',
// op: '',
// opid: '',
// doc: '',
// docid: '',
// custservice: '',
// custserviceid: '',
// route: '',
// routeid: '',
// dzRemark: '',
// czRemark: '',
// // shipper: '',
// shipperContent: '',
// notifypartY2: '',
// feeself: false,
// // consignee: '',
// consigneeContent: '',
// // notifyparty: '',
// notifyPartyContent: '',
// yard: '',
// yardid: '',
// customser: '',
// customserid: '',
// trucker: '',
// truckerid: '',
// agentname: '',
// agentId: '',
// // agentid: '',
// warehouse: '',
// warehouseID: '',
// eta: '',
// // closingdate: '',
// closingDate: '',
// closedocdate: '',
// closevgmdate: '',
// portload: '',
// portloadid: '',
// transport: '',
// transportid: '',
// portdischarge: '',
// portdischargeid: '',
// destination: '',
// destinationid: '',
// placedelivery: '',
// placedeliveryid: '',
// placereceipt: '',
// placereceiptid: '',
// pkgs: 0,
// kindpkgs: '',
// kgs: 0,
// cbm: 0,
// yardremark: '',
// yardcontract: '',
// yardcontracttel: '',
// yardcontractemail: '',
// pkgstotal: '',
// kgstotal: '',
// cbmtotal: '',
// marks: '',
// goodsname: '',
// goodscode: '',
// cargoid: '',
// hscode: '',
// description: '',
// totalno: '',
// issuetype: '',
// issuedate: '',
// issueplace: '',
// issueplaceid: '',
// nobill: '',
// copynobill: '',
// prepardat: '',
// prepardatid: '',
// payableat: '',
// payableatid: '',
// blfrt: '',
// thirdpayaddr: '',
// service: 'CY-CY',
// reeferf: '',
// tempset: '',
// tempid: '',
// tempmin: '',
// tempmax: '',
// humidity: '',
// dclass: '',
// dunno: '',
// dpage: '',
// dlabel: '',
// linkman: '',
// soremark: '',
// siremark: '',
// ctnInputs: [],
// weituo: '',
// freightpayer: '',
// scaccode: '',
// itncode: '',
// iscontainersoc: 0,
// tempFiles: [],
// bookingEDIExt: {
// weiTuoFang: '',
// ediAttn: '',
// ediAttnTel: '',
// ediAttnMail: '',
// sendCode: '',
// receiveCode: '',
// amsConsignee: '',
// amsNotifyParty: '',
// opEName: '',
// opTel: '',
// opEmail: '',
// goodsName: '',
// orderRemark: '',
// kingTareweight: '',
// exRemark1: '',
// exRemark2: '',
// exRemark3: '',
// exRemark4: '',
// consigneeEdiCode: '',
// shipperEdiCode: '',
// notifyCdoe: '',
// salerCode: '',
// salerCodeName: '',
// emanifestHbl: '',
// masterBolIndicator: '',
// masterBolIndicatorName: '',
// s0CC0C: '',
// ckhi: '',
// cncm: '',
// wncm: '',
// acihbl: '',
// },
// hbList: [],
// remark: [],
// file: [],
// log: [],
// item: [],
// statuslog: [],
// extendState: {
// isLockBooking: false,
// },
// autoYardImport: {},
// }
const initDetail = { const initDetail = {
id: 0, cntrNo: '',
parentId: 0, // ----------
customername: '', doc: '',
customerid: '', bsno: '1',
carrier: 'CMA',
carrierid: 'CMA',
forwarder: '',
forwarderid: '',
pono: '',
mblno: '',
hblno: '', hblno: '',
epCode: '', mblno: '',
custno: '',
contractno: '',
vessel: '',
voyno: '', voyno: '',
voynoinner: '', blType: '整箱',
lanecode: '', irCode: '',
etd: '', remark: '',
atd: '', applyNo: '',
lanename: '', stlName: '',
shipagency: '', transNo: '',
shipagencyid: '', bookingNo: '',
lineName: '', invoiceNo: '',
sale: '', voucherNo: '',
saleid: '', contractNo: '',
op: '', customerNo: '',
opid: '', sourceCode: '',
doc: '', accountDate: '1',
docid: '', bookingType: '',
custservice: '', grossWeight: '',
custserviceid: '', insuranceer: '',
route: '', insuranceNo: '',
routeid: '', measurement: '',
dzRemark: '', operatorFax: '',
czRemark: '', operatorTel: '',
// shipper: '', customername: '',
operatorCode: '',
temperatureUnit: '',
financialStaffEmail: '',
financialStaffTel: '',
financialStaffFax: '',
serviceContractNo: '',
noPkgs: '',
operatorEmail: '',
yard: '',
shipperContent: '', shipperContent: '',
notifypartY2: '',
feeself: false,
// consignee: '',
consigneeContent: '', consigneeContent: '',
// notifyparty: '',
notifyPartyContent: '', notifyPartyContent: '',
yard: '', description: '',
yardid: '', mblFrt: '',
customser: '', noBill: '',
customserid: '', vessel: '',
trucker: '', service: '',
truckerid: '', yardTel: '',
agentname: '', loadPort: '',
agentId: '', yardATTN: '',
// agentid: '', IssueType: '',
warehouse: '', orderType: '',
warehouseID: '', payableAt: '',
eta: '', prepareAt: '',
// closingdate: '', tradeTerm: '',
closingDate: '',
closedocdate: '',
closevgmdate: '',
portload: '',
portloadid: '',
transport: '', transport: '',
transportid: '', wareHouse: '',
portdischarge: '', copyNoBill: '',
portdischargeid: '', issuePlace: '',
destination: '', destination: '',
destinationid: '', packingType: '',
placedelivery: '', agentContent: '',
placedeliveryid: '', receiptPlace: '',
placereceipt: '', deliveryPlace: '',
placereceiptid: '', dischargePort: '',
pkgs: 0, financialStaffCode: '',
kindpkgs: '',
kgs: 0,
cbm: 0,
yardremark: '',
yardcontract: '',
yardcontracttel: '',
yardcontractemail: '',
pkgstotal: '',
kgstotal: '',
cbmtotal: '',
marks: '', marks: '',
goodsname: '', hsCode: '',
goodscode: '', cargoId: '',
cargoid: '', linkMan: '',
hscode: '', totalNo: '',
description: '', dangerNo: '',
totalno: '',
issuetype: '',
issuedate: '',
issueplace: '',
issueplaceid: '',
nobill: '',
copynobill: '',
prepardat: '',
prepardatid: '',
payableat: '',
payableatid: '',
blfrt: '',
thirdpayaddr: '',
service: 'CY-CY',
reeferf: '',
tempset: '',
tempid: '',
tempmin: '',
tempmax: '',
humidity: '', humidity: '',
dclass: '', cntrTotal: '',
dunno: '', goodsName: '',
dpage: '', dangerPage: '',
dlabel: '', dangerClass: '',
linkman: '', dangerLabel: '',
soremark: '', reeferQuantity: '',
siremark: '', temperatureMax: '',
ctnInputs: [], temperatureMin: '',
weituo: '', temperatureSet: '',
freightpayer: '', // ----------------------------
scaccode: '', voyno2N: '',
itncode: '', customNo: '',
iscontainersoc: 0, kindPkgs: '',
tempFiles: [], masterNo: '1',
bookingEDIExt: { vessel2N: '',
weiTuoFang: '', ediRemark: '',
ediAttn: '', cntrSealNo: '',
ediAttnTel: '', enterprise: '',
ediAttnMail: '', tranStatus: '',
sendCode: '', transRemark: '',
receiveCode: '', inspectionNo: '',
amsConsignee: '', termDelivery: '',
amsNotifyParty: '', manifestStatus: '',
opEName: '', insperctService: '',
opTel: '', masterDescription: '',
opEmail: '', masterShipperContent: '',
goodsName: '', masterConsigneeContent: '',
orderRemark: '', masterNotifyPartyContent: '',
kingTareweight: '',
exRemark1: '',
exRemark2: '',
exRemark3: '',
exRemark4: '',
consigneeEdiCode: '',
shipperEdiCode: '',
notifyCdoe: '',
salerCode: '',
salerCodeName: '',
emanifestHbl: '',
masterBolIndicator: '',
masterBolIndicatorName: '',
s0CC0C: '',
ckhi: '',
cncm: '',
wncm: '',
acihbl: '',
},
hbList: [],
remark: [],
file: [],
log: [],
item: [],
statuslog: [],
extendState: {
isLockBooking: false,
},
autoYardImport: {},
} }
const bookingEDIExtData = { const bookingEDIExtData = {
weiTuoFang: '', weiTuoFang: '',
@ -430,8 +531,8 @@
const type = ref(route.query.type || 'CMA') const type = ref(route.query.type || 'CMA')
const isCopy = ref(route.query.isCopy || false) const isCopy = ref(route.query.isCopy || false)
const Showtabs = ref(false) const Showtabs = ref(false)
// const bookingDetails = ref(initDetail) const bookingDetails = ref({ ...initDetail })
const bookingDetails = ref() // const bookingDetails = ref()
const tabBarStyle = ref({ const tabBarStyle = ref({
background: '#fff', background: '#fff',
padding: '0 20px', padding: '0 20px',
@ -657,7 +758,7 @@
historyData.value[id.value] = hisData historyData.value[id.value] = hisData
} }
if (appStore.gethasbookingDetail) { if (appStore.gethasbookingDetail) {
bookingDetails.value = {} bookingDetails.value = { ...initDetail }
} }
next() next()
setTimeout(() => { setTimeout(() => {
@ -768,7 +869,13 @@
const FnOk = () => { const FnOk = () => {
console.log(bookingDetails.value, RefbasicInfo.value.RefbasicFrom.getFieldsValue()) console.log(bookingDetails.value, RefbasicInfo.value.RefbasicFrom.getFieldsValue())
const _data = { ...bookingDetails.value, ...RefbasicInfo.value.RefbasicFrom.getFieldsValue() } const _data = {
...initDetail,
...bookingDetails.value,
...RefbasicInfo.value.RefbasicFrom.getFieldsValue(),
...RefmailingInfo.value.RefmailingFrom.getFieldsValue(),
...RefcargoInfo.value.RefcargoFrom.getFieldsValue(),
}
// delete _data.hbList // delete _data.hbList
appStore.setinBookingDetailsSave(true) appStore.setinBookingDetailsSave(true)
// if (route.query.isCopy) { // if (route.query.isCopy) {
@ -1038,6 +1145,45 @@
// check() // check()
// } // }
} }
//
function changeDetailFun(data) {
const { detail } = data
console.log(data, detail.value, bookingDetails.value, 'changeDetailFun')
// if (ifCompare(bookingDetails.value, detail.value) && !inChildLoading.value) {
// checkSaveFun({ type: 'details', hasChange: true })
// }
bookingDetails.value = detail.value
}
//
// function ifCompare(object1, object2) {
// var o1keys = Object.keys(object1)
// var o2keys = Object.keys(object2)
// if (o2keys.length !== o1keys.length) return false
// for (let i = 0; i <= o1keys.length - 1; i++) {
// const key = o1keys[i]
// if (!o2keys.includes(key)) return false
// if (object2[key] !== object1[key]) return false
// }
// return true
// }
function checkSaveFun(data) {
if (inGoodsSave.value) {
return false
}
const key = route.fullPath
const lastPages = appStore.getneedSavePages
const $data = appStore.getneedSavePages[key] || {}
if (!detailsLoadOver.value) {
data.hasChange = false
}
if (data.type === 'details') {
$data.details = data.hasChange
} else if (data.type === 'hbList') {
$data.hbList = data.hasChange
}
lastPages[key] = $data
appStore.setneedSavePages(lastPages)
}
// ============================================ // ============================================
function getRouterHis() { function getRouterHis() {
inChildLoading.value = true inChildLoading.value = true
@ -1345,15 +1491,7 @@
RefrightContent.value.saveServiceBasic(data) RefrightContent.value.saveServiceBasic(data)
} }
} }
function changeDetailFun(data) {
console.log(data)
const { detail } = data
if (ifCompare(bookingDetails.value, detail) && !inChildLoading.value) {
checkSaveFun({ type: 'details', hasChange: true })
}
bookingDetails.value = detail
}
function changectnall(arr) { function changectnall(arr) {
let str = '' let str = ''
arr.forEach((item, index) => { arr.forEach((item, index) => {
@ -1406,17 +1544,7 @@
function pkgsEnCapitalFun(data) { function pkgsEnCapitalFun(data) {
bookingDetails.value.totalno = data bookingDetails.value.totalno = data
} }
function ifCompare(object1, object2) {
var o1keys = Object.keys(object1)
var o2keys = Object.keys(object2)
if (o2keys.length !== o1keys.length) return false
for (let i = 0; i <= o1keys.length - 1; i++) {
const key = o1keys[i]
if (!o2keys.includes(key)) return false
if (object2[key] !== object1[key]) return false
}
return true
}
function changeParentTabs(type) { function changeParentTabs(type) {
mainOrderActiveKey.value = type mainOrderActiveKey.value = type
} }
@ -1444,7 +1572,7 @@
}, 100) }, 100)
} }
function init() { function init() {
bookingDetails.value = JSON.parse(JSON.stringify(initDetail)) bookingDetails.value = { ...initDetail }
excuteRules.value = [] excuteRules.value = []
excuteRulesType.value = '' excuteRulesType.value = ''
Showtabs.value = false Showtabs.value = false
@ -2196,24 +2324,7 @@
console.log(err) console.log(err)
}) })
} }
function checkSaveFun(data) {
if (inGoodsSave.value) {
return false
}
const key = route.fullPath
const lastPages = appStore.getneedSavePages
const $data = appStore.getneedSavePages[key] || {}
if (!detailsLoadOver.value) {
data.hasChange = false
}
if (data.type === 'details') {
$data.details = data.hasChange
} else if (data.type === 'hbList') {
$data.hbList = data.hasChange
}
lastPages[key] = $data
appStore.setneedSavePages(lastPages)
}
function changeHBFun(data) { function changeHBFun(data) {
const arr = [] const arr = []
data.map((item: any) => { data.map((item: any) => {

File diff suppressed because it is too large Load Diff

@ -599,7 +599,30 @@
import { useRoute } from 'vue-router' import { useRoute } from 'vue-router'
const route = useRoute() const route = useRoute()
const props = defineProps({ const props = defineProps({
details: { type: Object, default: {} }, details: {
type: Object,
default: {
marks: '',
hsCode: '',
cargoId: '',
linkMan: '',
totalNo: '',
dangerNo: '',
humidity: '',
cntrTotal: '',
goodsName: '',
dangerPage: '',
dangerClass: '',
dangerLabel: '',
description: '',
grossWeight: '',
reeferQuantity: '',
temperatureMax: '',
temperatureMin: '',
temperatureSet: '',
kindPkgs: '',
},
},
rules: { type: Object, default: {} }, rules: { type: Object, default: {} },
isLockBooking: { type: Boolean, default: false }, isLockBooking: { type: Boolean, default: false },
inSave: { type: Boolean, default: false }, inSave: { type: Boolean, default: false },

@ -863,143 +863,59 @@
</a-form> </a-form>
</div> </div>
</template> </template>
<script> <script lang="ts" setup>
import inputView from '../components/inputView.vue' import inputView from '../components/inputView.vue'
import selectView from '../components/selectView.vue' import selectView from '../components/selectView.vue'
import datePickerView from '../components/datePickerView.vue' import datePickerView from '../components/datePickerView.vue'
let timer let timer
export default { const props = defineProps({
components: { details: {
inputView, type: Object,
selectView, default: {},
}, },
props: { rules: {
details: { type: Object,
type: Object, default: {},
default: () => {
return {}
},
},
rules: {
type: Object,
default: () => {
return {}
},
},
inSave: {
type: Boolean,
default: false,
},
isParent: {
type: String,
default: '',
},
}, },
data() { inSave: {
return { type: Boolean,
iscontainersoc: '', default: false,
StoreSalesRepCode: [
{ ID: 'CN087', NAME: 'CN087 | GRACE SUN' },
{ ID: 'CN096', NAME: 'CN096 | LEON LIANG' },
{ ID: 'CN097', NAME: 'CN097 | CHARLES GAO' },
{ ID: 'CN098', NAME: 'CN098 | TERESA LIU SHAN' },
{ ID: 'CN106', NAME: 'CN106 | HOKI YU' },
{ ID: 'CN107', NAME: 'CN107 | WILLIAM YANG JING YU' },
{ ID: 'CN099', NAME: 'CN099 | HELEN ZHANG' },
{ ID: 'CN100', NAME: 'CN100 | LEOREN' },
],
StoreMasterBOLIndicator: [
{ ID: '1', NAME: 'Carrier filing HBL | 船公司发HBL' },
{ ID: '2', NAME: 'Self filing HBL | 自己发' },
{ ID: '3', NAME: 'Not Applicable/Straight bl | 无HBL' },
],
}
}, },
watch: { isParent: {
details: { type: String,
handler(nval, oval) { default: '',
if (!this.inSave) {
this.$emit('changeDetail', {
detail: nval,
type: 'ediMore',
})
}
},
deep: true,
},
iscontainersoc(nval, oval) {
this.details.iscontainersoc = nval !== '0'
},
'$route.query': {
immediate: true,
handler(nD, oD) {
if (this.$route.name === 'BookingDetail') {
this.id = this.$route.query.id
}
},
},
},
created() {},
mounted() {
this.iscontainersoc = this.details.iscontainersoc ? '1' : '0'
},
methods: {
debounce(func, wait, ...args) {
if (timer) clearTimeout(timer)
timer = setTimeout(() => {
func.apply(this, args)
}, wait)
},
checkbasic() {
this.$refs.ediFrom.validate((valid) => {
if (valid) {
return true
} else {
return false
}
})
},
inputChange({ type, value }) {
const bookingEDIExtArr = [
'sendCode',
'receiveCode',
'ediAttn',
'ediAttnTel',
'ediAttnMail',
'amsConsignee',
'amsNotifyParty',
'opEName',
'opTel',
'opEmail',
'goodsName',
'orderRemark',
'consigneeEdiCode',
'shipperEdiCode',
'notifyCdoe',
'emanifestHbl',
'acihbl',
'CNPTNo',
'kingTareweight',
'xmcywy',
'emcNameAccount',
]
if (bookingEDIExtArr.includes(type)) {
this.details.bookingEDIExt[type] = value
} else {
this.details[type] = value
}
this.$forceUpdate()
},
getSelectViewRes({ type, res }) {
if (type === 'masterBolIndicator') {
this.details.masterBolIndicator = res.ID || ''
this.details.masterBolIndicatorName = res.NAME || ''
} else if (type === 'salerCode') {
this.details.salerCode = res.ID
this.details.salerCodeName = res.NAME
}
},
}, },
})
function inputChange({ type, value }) {
const bookingEDIExtArr = [
'sendCode',
'receiveCode',
'ediAttn',
'ediAttnTel',
'ediAttnMail',
'amsConsignee',
'amsNotifyParty',
'opEName',
'opTel',
'opEmail',
'goodsName',
'orderRemark',
'consigneeEdiCode',
'shipperEdiCode',
'notifyCdoe',
'emanifestHbl',
'acihbl',
'CNPTNo',
'kingTareweight',
'xmcywy',
'emcNameAccount',
]
if (bookingEDIExtArr.includes(type)) {
props.details.bookingEDIExt[type] = value
} else {
props.details[type] = value
}
this.$forceUpdate()
} }
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>

@ -285,11 +285,9 @@
<selectView <selectView
type="yard" type="yard"
:defaultVal="details.yard" :defaultVal="details.yard"
searchApi="GetYardlist" searchApi="GetYardClientList"
:searchQuery="{ keyword: '' }"
:disabled="BookingLockOrder['yard'] && isLockBooking" :disabled="BookingLockOrder['yard'] && isLockBooking"
:showLabel="['name', 'showCode']" :showLabel="['name', 'showCode']"
:openSearch="false"
@change="getSelectViewRes" @change="getSelectViewRes"
style="flex: 1; margin-top: -4px" style="flex: 1; margin-top: -4px"
></selectView> ></selectView>
@ -1198,6 +1196,49 @@
></selectView> ></selectView>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="6">
<a-form-item
class="from-label"
label="委托方式"
:labelCol="labelCol"
:wrapperCol="wrapperCol"
has-feedback
name="orderType"
>
<selectView
type="orderType"
:defaultVal="details.orderType"
searchApi="GetPortloadlist"
:searchQuery="{ KeyWord: '' }"
:showLabel="['enName']"
:openSearch="true"
:disabled="BookingLockOrder['orderType'] && isLockBooking"
:isCopy="true"
@change="getSelectViewRes"
></selectView>
</a-form-item>
</a-col>
<a-col :span="8">
<a-form-item
class="from-label"
label="清关日期"
:labelCol="labelCol"
:wrapperCol="wrapperCol"
has-feedback
name="tradeTerm"
>
<datePickerView
class="date-picker"
style="min-width: 100px"
:showTime="true"
:disabled="BookingLockOrder['tradeTerm'] && isLockBooking"
:parentVal="details.tradeTerm"
type="tradeTerm"
format="YYYY-MM-DD HH:00"
@dateChange="dateChangeFun"
></datePickerView>
</a-form-item>
</a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-item name="note"> <a-form-item name="note">
<div <div
@ -1643,7 +1684,41 @@
import { useRoute } from 'vue-router' import { useRoute } from 'vue-router'
const route = useRoute() const route = useRoute()
const props = defineProps({ const props = defineProps({
details: { type: Object, default: {} }, details: {
type: Object,
default: {
yard: '',
shipperContent: '',
consigneeContent: '',
notifyPartyContent: '',
description: '',
voyno: '',
mblFrt: '',
noBill: '',
vessel: '',
service: '',
yardTel: '',
loadPort: '',
yardATTN: '',
IssueType: '',
orderType: '',
payableAt: '',
prepareAt: '',
tradeTerm: '',
transport: '',
wareHouse: '',
copyNoBill: '',
issuePlace: '',
destination: '',
packingType: '',
agentContent: '',
receiptPlace: '',
deliveryPlace: '',
dischargePort: '',
financialStaffCode: '',
termDelivery: '',
},
},
rules: { type: Object, default: {} }, rules: { type: Object, default: {} },
isLockBooking: { type: Boolean, default: false }, isLockBooking: { type: Boolean, default: false },
ishd: { type: Boolean, default: false }, ishd: { type: Boolean, default: false },

@ -1,8 +1,9 @@
export default { export default {
basicRules: { basicRules: {
bsno: [{ required: true, message: '请输入业务编号', trigger: 'change' }],
businessStatus: [{ required: false, message: '请选择业务状态', trigger: 'change' }], businessStatus: [{ required: false, message: '请选择业务状态', trigger: 'change' }],
feeStatus: [{ required: false, message: '请选择费用状态', trigger: 'change' }], feeStatus: [{ required: false, message: '请选择费用状态', trigger: 'change' }],
shippingMethod: [{ required: false, message: '请选择装运方式', trigger: 'change' }], blType: [{ required: true, message: '请选择装运方式', trigger: 'change' }],
mailProjectId: [{ required: false, message: '请输入邮件方案', trigger: 'change' }], mailProjectId: [{ required: false, message: '请输入邮件方案', trigger: 'change' }],
saleOrgId: [{ required: false, message: '销售公司', trigger: 'change' }], saleOrgId: [{ required: false, message: '销售公司', trigger: 'change' }],
customername: [{ required: false, message: '请选择委托单位', trigger: 'change' }], customername: [{ required: false, message: '请选择委托单位', trigger: 'change' }],
@ -15,7 +16,7 @@ export default {
operatorId: [{ required: false, message: '请选择操作员', trigger: 'change' }], operatorId: [{ required: false, message: '请选择操作员', trigger: 'change' }],
operatorCode: [{ required: false, message: '请选择操作员代码', trigger: 'change' }], operatorCode: [{ required: false, message: '请选择操作员代码', trigger: 'change' }],
sale: [{ required: false, message: '请选择揽货人', trigger: 'change' }], sale: [{ required: false, message: '请选择揽货人', trigger: 'change' }],
doc: [{ required: true, message: '请选择单证', trigger: 'change' }], doc: [{ required: false, message: '请选择单证', trigger: 'change' }],
customerService: [{ required: false, message: '请选择客服', trigger: 'change' }], customerService: [{ required: false, message: '请选择客服', trigger: 'change' }],
saleDeptId: [{ required: false, message: '请选择所属业务部门', trigger: 'change' }], saleDeptId: [{ required: false, message: '请选择所属业务部门', trigger: 'change' }],
invoiceNo: [{ required: false, message: '请输入发票号', trigger: 'change' }], invoiceNo: [{ required: false, message: '请输入发票号', trigger: 'change' }],
@ -27,33 +28,35 @@ export default {
insuranceer: [{ required: false, message: '请输入保险人', trigger: 'change' }], insuranceer: [{ required: false, message: '请输入保险人', trigger: 'change' }],
serviceContractNo: [{ required: false, message: '请输入服务合同号', trigger: 'change' }], serviceContractNo: [{ required: false, message: '请输入服务合同号', trigger: 'change' }],
applyNo: [{ required: false, message: '请输入申请放箱号', trigger: 'change' }], applyNo: [{ required: false, message: '请输入申请放箱号', trigger: 'change' }],
cntrNo: [{ required: false, message: '请输入集装箱大写', trigger: 'change' }],
etd: [{ required: false, message: '请选择开船日期', trigger: 'change' }], remark: [{ required: false, message: '请输入备注', trigger: 'change' }],
atd: [{ required: false, message: '请选择ATD', trigger: 'change' }], transNo: [{ required: false, message: '请输入运单号', trigger: 'change' }],
vessel: [{ required: false, message: '请输入船名', trigger: 'change' }], voucherNo: [{ required: false, message: '请输入凭证号', trigger: 'change' }],
vesselId: [{ required: false, message: '请输入船名id', trigger: 'change' }], accountDate: [{ required: false, message: '请选择财务日期', trigger: 'change' }],
voyno: [{ required: false, message: '请输入航次', trigger: 'change' }], bookingType: [{ required: false, message: '请输入订舱类型', trigger: 'change' }],
eta: [{ required: false, message: '请选择预抵日期', trigger: 'change' }], grossWeight: [{ required: false, message: '请输入货物毛重', trigger: 'change' }],
insuranceNo: [{ required: false, message: '请输入保险单号', trigger: 'change' }],
measurement: [{ required: false, message: '请输入货物尺码', trigger: 'change' }],
operatorFax: [{ required: false, message: '请输入操作员传真', trigger: 'change' }],
operatorTel: [{ required: false, message: '请输入操作员电话', trigger: 'change' }],
operatorEmail: [{ required: false, message: '请输入操作员邮箱', trigger: 'change' }],
temperatureUnit: [{ required: false, message: '请输入温度单位', trigger: 'change' }],
financialStaffEmail: [{ required: false, message: '请输入财务邮箱', trigger: 'change' }],
financialStaffTel: [{ required: false, message: '请输入财务电话', trigger: 'change' }],
financialStaffFax: [{ required: false, message: '请输入财务传真', trigger: 'change' }],
noPkgs: { required: false, title: '件数包装', message: '请选择件数包装', trigger: 'change' },
// ------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------
bsno: [{ required: false, message: '请输入业务编号', trigger: 'change' }],
billFeeStatus: [{ required: false, message: '请选择单据费用状态', trigger: 'change' }], billFeeStatus: [{ required: false, message: '请选择单据费用状态', trigger: 'change' }],
billFeeStatusTime: [{ required: false, message: '请选择单据费用状态时间', trigger: 'change' }], billFeeStatusTime: [{ required: false, message: '请选择单据费用状态时间', trigger: 'change' }],
businessDate: [{ required: false, message: '请选择录入日期', trigger: 'change' }], businessDate: [{ required: false, message: '请选择录入日期', trigger: 'change' }],
accountDate: [{ required: false, message: '请选择财务日期', trigger: 'change' }],
transNo: [{ required: false, message: '请输入运单号', trigger: 'change' }],
forwarder: [{ required: false, message: '请选择货代公司', trigger: 'change' }], forwarder: [{ required: false, message: '请选择货代公司', trigger: 'change' }],
bookingType: [{ required: false, message: '请输入订舱类型', trigger: 'change' }],
insuranceNo: [{ required: false, message: '请输入保险单号', trigger: 'change' }],
insuranceAmount: [{ required: false, message: '请输入保险金额', trigger: 'change' }], insuranceAmount: [{ required: false, message: '请输入保险金额', trigger: 'change' }],
isVoucher: [{ required: false, message: '请选择是否生成凭证', trigger: 'change' }], isVoucher: [{ required: false, message: '请选择是否生成凭证', trigger: 'change' }],
voucherNo: [{ required: false, message: '请输入凭证号', trigger: 'change' }],
remark: [{ required: false, message: '请输入备注', trigger: 'change' }],
status1: [{ required: false, message: '请输入状态1', trigger: 'change' }], status1: [{ required: false, message: '请输入状态1', trigger: 'change' }],
status2: [{ required: false, message: '请输入状态2', trigger: 'change' }], status2: [{ required: false, message: '请输入状态2', trigger: 'change' }],
status3: [{ required: false, message: '请输入状态3', trigger: 'change' }], status3: [{ required: false, message: '请输入状态3', trigger: 'change' }],
@ -112,6 +115,12 @@ export default {
yardATTN: [{ required: false, message: '场站联系人', trigger: 'change' }], yardATTN: [{ required: false, message: '场站联系人', trigger: 'change' }],
yardTel: [{ required: false, message: '场站联系方式', trigger: 'change' }], yardTel: [{ required: false, message: '场站联系方式', trigger: 'change' }],
transport: [{ required: false, message: '中转港', trigger: 'change' }], transport: [{ required: false, message: '中转港', trigger: 'change' }],
etd: [{ required: false, message: '请选择开船日期', trigger: 'change' }],
atd: [{ required: false, message: '请选择ATD', trigger: 'change' }],
vessel: [{ required: false, message: '请输入船名', trigger: 'change' }],
vesselId: [{ required: false, message: '请输入船名id', trigger: 'change' }],
voyno: [{ required: false, message: '请输入航次', trigger: 'change' }],
eta: [{ required: false, message: '请选择预抵日期', trigger: 'change' }],
receiptPlace: [{ required: false, message: '请选择收货地', trigger: 'change' }], receiptPlace: [{ required: false, message: '请选择收货地', trigger: 'change' }],
receiptPlaceId: [{ required: false, message: '请选择收货地Id', trigger: 'change' }], receiptPlaceId: [{ required: false, message: '请选择收货地Id', trigger: 'change' }],
loadPort: [{ required: false, message: '请选择装货港', trigger: 'change' }], loadPort: [{ required: false, message: '请选择装货港', trigger: 'change' }],
@ -135,12 +144,12 @@ export default {
payableAt: [{ required: false, message: '请选择到付地点', trigger: 'change' }], payableAt: [{ required: false, message: '请选择到付地点', trigger: 'change' }],
service: [{ required: false, message: '请选择运输条款', trigger: 'change' }], service: [{ required: false, message: '请选择运输条款', trigger: 'change' }],
note: [{ required: false, message: '备注', trigger: 'change' }], note: [{ required: false, message: '备注', trigger: 'change' }],
orderType: [{ required: false, message: '请选择委托方式', trigger: 'change' }],
tradeTerm: [{ required: false, message: '请输入清关日期', trigger: 'change' }],
// ------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------
intoPortDocDate: [{ required: false, message: '请选择集港日期', trigger: 'change' }], intoPortDocDate: [{ required: false, message: '请选择集港日期', trigger: 'change' }],
orderType: [{ required: false, message: '请选择委托方式', trigger: 'change' }],
// trucker: [{ required: false, message: '请输入车队', trigger: 'change' }], // trucker: [{ required: false, message: '请输入车队', trigger: 'change' }],
// closevgmdate: [{ required: false, message: '请选择VGM时间', trigger: 'change' }], // closevgmdate: [{ required: false, message: '请选择VGM时间', trigger: 'change' }],
@ -170,12 +179,9 @@ export default {
dangerLabel: [{ required: false, message: '请输入危险品标签', trigger: 'change' }], dangerLabel: [{ required: false, message: '请输入危险品标签', trigger: 'change' }],
linkMan: [{ required: false, message: '请选择联系人', trigger: 'change' }], linkMan: [{ required: false, message: '请选择联系人', trigger: 'change' }],
totalNo: [{ required: false, message: '请输入件数大写', trigger: 'change' }], totalNo: [{ required: false, message: '请输入件数大写', trigger: 'change' }],
// ------------------------------------------------------------------------------------
grossWeight: [{ required: false, message: '请输入货物毛重', trigger: 'change' }], // ------------------------------------------------------------------------------------
measurement: [{ required: false, message: '请输入货物尺码', trigger: 'change' }],
cntrNo: [{ required: false, message: '请输入集装箱大写', trigger: 'change' }],
cntr1: [{ required: false, message: '请输入箱型1', trigger: 'change' }], cntr1: [{ required: false, message: '请输入箱型1', trigger: 'change' }],
cntr2: [{ required: false, message: '请输入箱型2', trigger: 'change' }], cntr2: [{ required: false, message: '请输入箱型2', trigger: 'change' }],
cntr3: [{ required: false, message: '请输入箱型3', trigger: 'change' }], cntr3: [{ required: false, message: '请输入箱型3', trigger: 'change' }],
@ -193,13 +199,8 @@ export default {
packingType: [{ required: false, message: '请选择装箱类型', trigger: 'change' }], packingType: [{ required: false, message: '请选择装箱类型', trigger: 'change' }],
isOperator: [{ required: false, message: '请选择是否为操作', trigger: 'change' }], isOperator: [{ required: false, message: '请选择是否为操作', trigger: 'change' }],
operatorEmail: [{ required: false, message: '请输入操作员邮箱', trigger: 'change' }],
operatorTel: [{ required: false, message: '请输入操作员电话', trigger: 'change' }],
operatorFax: [{ required: false, message: '请输入操作员传真', trigger: 'change' }],
isFinancialStaff: [{ required: false, message: '请选择是否为财务', trigger: 'change' }], isFinancialStaff: [{ required: false, message: '请选择是否为财务', trigger: 'change' }],
financialStaffEmail: [{ required: false, message: '请输入财务邮箱', trigger: 'change' }],
financialStaffTel: [{ required: false, message: '请输入财务电话', trigger: 'change' }],
financialStaffFax: [{ required: false, message: '请输入财务传真', trigger: 'change' }],
}, },
billRules: { billRules: {
blIssueSatus: [{ required: false, message: '请输入签单状态', trigger: 'change' }], blIssueSatus: [{ required: false, message: '请输入签单状态', trigger: 'change' }],
@ -238,8 +239,6 @@ export default {
voyno2N: [{ required: false, message: '二程航次', trigger: 'change' }], voyno2N: [{ required: false, message: '二程航次', trigger: 'change' }],
// ------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------
tradeTerm: [{ required: false, message: '请输入清关日期', trigger: 'change' }],
// 'bookingEDIExt.sendCode': [ // 'bookingEDIExt.sendCode': [
// { required: false, message: '请输入发送方EDI代码', trigger: 'change' }, // { required: false, message: '请输入发送方EDI代码', trigger: 'change' },
// ], // ],
@ -333,7 +332,6 @@ export default {
message: '请选择箱号封号', message: '请选择箱号封号',
trigger: 'change', trigger: 'change',
}, },
noPkgs: { required: false, title: '件数包装', message: '请选择件数包装', trigger: 'change' },
// ctnall: { required: false, title: '箱型', message: '请选择箱型', trigger: 'change' }, // ctnall: { required: false, title: '箱型', message: '请选择箱型', trigger: 'change' },
// ctnnum: { required: false, title: '箱量', message: '请选择箱量', trigger: 'change' }, // ctnnum: { required: false, title: '箱量', message: '请选择箱量', trigger: 'change' },

@ -1917,16 +1917,16 @@
{ staCode: 'sta_zhuangchuan', isChecked: false }, { staCode: 'sta_zhuangchuan', isChecked: false },
{ staCode: 'sta_atd', isChecked: false }, { staCode: 'sta_atd', isChecked: false },
] ]
if (item.bookstatus.length > 0) { // if (item.bookstatus.length > 0) {
bookstatus.map((book, bindex) => { // bookstatus.map((book, bindex) => {
item.bookstatus.map((item, index) => { // item.bookstatus.map((item, index) => {
if (item.staCode === book.staCode) { // if (item.staCode === book.staCode) {
bookstatus[bindex] = item // bookstatus[bindex] = item
bookstatus[bindex].isChecked = true // bookstatus[bindex].isChecked = true
} // }
}) // })
}) // })
} // }
if (item.bsstatusname) { if (item.bsstatusname) {
if (appStore.getstatusDIct) { if (appStore.getstatusDIct) {
appStore.getstatusDIct.forEach((ite) => { appStore.getstatusDIct.forEach((ite) => {
@ -4157,9 +4157,9 @@
overflow: visible !important; overflow: visible !important;
} }
/deep/ .vxe-cell { // /deep/ .vxe-cell {
overflow: visible !important; // overflow: visible !important;
} // }
} }
.bookremark { .bookremark {

@ -213,7 +213,7 @@ export const formSchema: FormSchema[] = [
field: 'currentNo', field: 'currentNo',
label: '当前值', label: '当前值',
component: 'Input', component: 'Input',
defaultValue: '', defaultValue: '0',
colProps: { span: 12 }, colProps: { span: 12 },
dynamicDisabled: true, dynamicDisabled: true,
}, },

Loading…
Cancel
Save