|
@@ -718,23 +718,6 @@
|
|
|
sa.error('载重只能输入数字')
|
|
|
return;
|
|
|
}
|
|
|
- let checkList = this.itemTypeList;
|
|
|
- let chechItem = this.checkItem;
|
|
|
- for (let j in this.needTypeId) {
|
|
|
- let id = this.needTypeId[j];
|
|
|
- for (let i in checkList) {
|
|
|
- let type = checkList[i];
|
|
|
- let typeName = type.name;
|
|
|
- if (id == type.id && !type.itemId && typeName !== '特殊车辆' && typeName !== '干杂货人工装卸') {
|
|
|
- sa.error('选择[' + this.m.goodsName + ']时,[' + typeName + ']必选')
|
|
|
- return;
|
|
|
- }
|
|
|
- if (!chechItem && this.m.goodsName == '干杂货') {
|
|
|
- sa.error('请选择特殊车辆或干杂货人工装卸之一')
|
|
|
- return;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
let typeList = this.itemTypeList.filter(obj => obj.itemId);
|
|
|
let needIds = this.needTypeId;
|
|
|
for (let i in needIds) {
|