|
|
|
@ -317,15 +317,15 @@
|
|
|
|
|
const content = JSON.parse(data.content).columns
|
|
|
|
|
// 提单确认的时候,下列字段为必填项
|
|
|
|
|
const status = route.query.status
|
|
|
|
|
if (status == 'WAIT_BILL_CONFIRM') {
|
|
|
|
|
if (content && content.length) {
|
|
|
|
|
content.forEach(item => {
|
|
|
|
|
if (item.field == 'vessel' || item.field == 'innerVoyno' || item.field == 'mblno' || item.field == 'hblno' || item.field == 'shipperContent' || item.field == 'consigneeContent' || item.field == 'notifyPartyContent' || item.field == 'kgs' || item.field == 'cbm' || item.field == 'pkgs' || item.field == 'goodsName' || item.field == 'description' || item.field == 'mblFrt' || item.field == 'issueDate' || item.field == 'issueType' || item.field == 'service') {
|
|
|
|
|
item.required = true
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// if (status == 'WAIT_BILL_CONFIRM') {
|
|
|
|
|
// if (content && content.length) {
|
|
|
|
|
// content.forEach(item => {
|
|
|
|
|
// if (item.field == 'vessel' || item.field == 'innerVoyno' || item.field == 'mblno' || item.field == 'hblno' || item.field == 'shipperContent' || item.field == 'consigneeContent' || item.field == 'notifyPartyContent' || item.field == 'kgs' || item.field == 'cbm' || item.field == 'pkgs' || item.field == 'goodsName' || item.field == 'description' || item.field == 'mblFrt' || item.field == 'issueDate' || item.field == 'issueType' || item.field == 'service') {
|
|
|
|
|
// item.required = true
|
|
|
|
|
// }
|
|
|
|
|
// })
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
// 状态为审单后: 船公司、起运港、卸货港、约主(约号)、交货地锁死
|
|
|
|
|
if (status && status != 'WAIT_ORDER_AUDIT' && status != 'ORDER_AUDIT_REJECTED') {
|
|
|
|
|
if (content && content.length) {
|
|
|
|
|