|
|
@ -572,7 +572,9 @@ |
|
|
|
<el-button v-if="!QuantityEntryStatus" color="#172e60" type="success" @click="ModifyLCL" |
|
|
|
<el-button v-if="!QuantityEntryStatus" color="#172e60" type="success" @click="ModifyLCL" |
|
|
|
>修改(零担订单)</el-button |
|
|
|
>修改(零担订单)</el-button |
|
|
|
> |
|
|
|
> |
|
|
|
<el-button color="#172e60" type="success" @click="SubmitLoad">提交(零担订单)</el-button> |
|
|
|
<el-button v-else color="#172e60" type="success" @click="SubmitLoad" |
|
|
|
|
|
|
|
>提交(零担订单)</el-button |
|
|
|
|
|
|
|
> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
</el-dialog> |
|
|
@ -1713,7 +1715,7 @@ const QuantityEntry = async val => { |
|
|
|
console.log(dataInfo.value, 'dataInfo.value'); |
|
|
|
console.log(dataInfo.value, 'dataInfo.value'); |
|
|
|
|
|
|
|
|
|
|
|
dataId.value = findIndexById(val.id); //记录当前点击的订单 |
|
|
|
dataId.value = findIndexById(val.id); //记录当前点击的订单 |
|
|
|
editLoading.value=true |
|
|
|
editLoading.value = true; |
|
|
|
// 编辑状态 |
|
|
|
// 编辑状态 |
|
|
|
if (RouteId.value) { |
|
|
|
if (RouteId.value) { |
|
|
|
await $_getDeliveryZeroOrderDetail({ |
|
|
|
await $_getDeliveryZeroOrderDetail({ |
|
|
@ -1796,6 +1798,7 @@ const SubmitLoad = () => { |
|
|
|
}); |
|
|
|
}); |
|
|
|
let max = dataInfo.value[dataId.value].handQuantity - sum; |
|
|
|
let max = dataInfo.value[dataId.value].handQuantity - sum; |
|
|
|
console.log(dataInfo.value, ' dataInfo.value['); |
|
|
|
console.log(dataInfo.value, ' dataInfo.value['); |
|
|
|
|
|
|
|
|
|
|
|
if (Numberoperations > max) { |
|
|
|
if (Numberoperations > max) { |
|
|
|
ElMessage({ |
|
|
|
ElMessage({ |
|
|
|
message: '操作数量总和不能大于冻结数量总和', |
|
|
|
message: '操作数量总和不能大于冻结数量总和', |
|
|
@ -1848,7 +1851,15 @@ const SubmitLoad = () => { |
|
|
|
console.log(isZeroTable.value, '提交零担的值'); |
|
|
|
console.log(isZeroTable.value, '提交零担的值'); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
dataInfo.value[dataId.value].parcelNumberVOS = isZeroTable.value; |
|
|
|
dataInfo.value[dataId.value].parcelNumberVOS = isZeroTable.value; |
|
|
|
|
|
|
|
// 零担计划数量 |
|
|
|
|
|
|
|
let _summation = 0; |
|
|
|
|
|
|
|
dataInfo.value[0].parcelNumberVOS.forEach(item => { |
|
|
|
|
|
|
|
_summation += item.reservationNum; |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
dataInfo.value[dataId.value].reservationNum = _summation; |
|
|
|
|
|
|
|
|
|
|
|
comprehensive.value = false; //关闭弹窗 |
|
|
|
comprehensive.value = false; //关闭弹窗 |
|
|
|
EnteringLibrary.value = false; //关闭零担 |
|
|
|
EnteringLibrary.value = false; //关闭零担 |
|
|
|
QuantityEntryStatus.value = false; //此时开启零担录入 |
|
|
|
QuantityEntryStatus.value = false; //此时开启零担录入 |
|
|
|