修复业务模块bug
This commit is contained in:
@@ -11082,6 +11082,14 @@ export default {
|
||||
this.$message.warning('请选择至少一条数据');
|
||||
return;
|
||||
}
|
||||
const nonRoadWaybills = this.selectionList.filter(row => {
|
||||
const transportType = String(row.transportType || '').trim();
|
||||
return transportType !== '公路运输' && transportType.toLowerCase() !== 'road';
|
||||
});
|
||||
if (nonRoadWaybills.length) {
|
||||
this.$message.warning('公路配置仅支持运输方式为“公路运输”的运单');
|
||||
return;
|
||||
}
|
||||
if (typeof this.api.roadLoading !== 'function') {
|
||||
this.$message.warning('公路配载功能暂未配置');
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user