Browse Source

新增开单录单配送最低计费限制

dev-xx
qb 10 months ago
parent
commit
66d902f33b
  1. 6
      src/views/distribution/inventory/CreateOrder.vue
  2. 6
      src/views/waybill/CreateZeroOrder.vue

6
src/views/distribution/inventory/CreateOrder.vue

@ -2731,7 +2731,11 @@ const handleDispatchPrice = (dispatch, template) => {
}
//
if ((dispatch || template) && template.trunklineIsMinCost) {
if (
(dispatch || template) &&
template.trunklineIsMinCost &&
Number(template.dispatchMinCostMode) === 1
) {
switch (Number(template.dispatchMinCostType)) {
//
case 1:

6
src/views/waybill/CreateZeroOrder.vue

@ -2268,7 +2268,11 @@ const handleDispatchPrice = (dispatch, template) => {
}
//
if ((dispatch || template) && template.trunklineIsMinCost) {
if (
(dispatch || template) &&
template.trunklineIsMinCost &&
Number(template.dispatchMinCostMode) === 1
) {
switch (Number(template.dispatchMinCostType)) {
//
case 1:

Loading…
Cancel
Save