修改问题

master
sunzehua 1 year ago
parent dc4fa47d32
commit e6fd9a489a

@ -127,6 +127,19 @@
</a-form-model-item>
</a-col>
</a-row>
<a-row>
<a-col :span="'4-8'">
<a-form-model-item
class="from-label"
label="销售代码"
:labelCol="labelCol"
:wrapperCol="wrapperCol"
has-feedback
prop="blfrt">
<span>{{ details.saleCode }}</span>
</a-form-model-item>
</a-col>
</a-row>
<a-row>
<a-col :span="24">
<a-form-model-item

@ -1890,10 +1890,11 @@ export default {
this.statusLoading = false
res.data.logList.forEach(item => {
const arr = item.status.split('')
item.status = arr[0]
if (arr.length > 1) {
item.remark = arr[1].slice(5, arr[1].length)
let str = item.status.substr(arr[0].length + 1)
item.remark = str.substr(5)
}
item.status = arr[0]
})
this.statusList = res.data.logList
} else {

@ -486,10 +486,9 @@ export default {
type: 'select',
showLabel: 'name',
data: [
{ name: '已接收' },
{ name: '已审核' },
{ name: '已驳回' },
{ name: '已提交' },
{ name: '已录入' }
{ name: '已驳回' }
]
},
{ title: '订舱日期', align: 'center', width: 160, label: 'time', type: 'dateRange', resLabel: ['createdTimeStart', 'createdTimeEnd'] },

@ -1109,12 +1109,6 @@ export default {
if (!res.data.bookingEDIExt) {
res.data.bookingEDIExt = bookingEDIExt
}
if (res.data.cargoid == 'R') {
this.cargoRules['goodsname'][0].required = true
}
if (res.data.cargoid != 'R') {
this.cargoRules['goodsname'][0].required = false
}
if (!res.data.extendState) {
this.isLockBooking = false
} else {

@ -835,11 +835,6 @@ export default {
this.details.goodsname = res.goodsNameEN || ''
} else if (type === 'cargoid') {
this.details.cargoid = res.code || ''
if (res.code == 'R') {
this.rules['goodsname'][0].required = true
} else {
this.rules['goodsname'][0].required = false
}
} else if (['kindpkgs'].includes(type)) {
this.details.kindpkgs = res['name'] || ''
const enCapitalRes = this.SetTOTALNO(this.details.pkgs)

@ -459,7 +459,7 @@ export default {
}}
>
{this.packageList.map((item, index) => {
return <a-select-option value={index}>{item.code}</a-select-option>
return <a-select-option value={index}>{item.name}</a-select-option>
})}
</a-select>
)
@ -802,15 +802,7 @@ export default {
}
},
beforeStartCellEditing: ({ row, column, cellValue }) => {
console.log(column)
const arr = this.$options.filters['dictData']('BookingLockCtn')
let type = true
arr.forEach(item => {
if (item.code == column.field && this.isLockBooking) {
type = false
}
})
return type
return true
},
afterCellValueChange: ({ row, column, changeValue }) => {
if (this.inTableLoad) {

Loading…
Cancel
Save