Browse Source

修复开单bug

dev-xx
qb 11 months ago
parent
commit
93f1f6c6bf
  1. 9
      src/views/distribution/inventory/CreateOrder.vue

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

@ -399,7 +399,7 @@
<div v-loading="item.loading">
<template v-if="item.goodsListOptions.length > 0">
<div
class="goodsNameRow"
:class="{ goodsNameRow: true, active: val.goodsId === item.goodsId }"
v-for="val in item.goodsListOptions"
:key="val.goodsId"
@click="handleChooseGoods(item, val)"
@ -2589,7 +2589,7 @@ const handleChooseGoods = (item, val) => {
}
if (message) {
item.goodsName = '';
// item.goodsName = '';
return ElMessage.warning(message);
}
@ -2842,10 +2842,15 @@ $borderColor: #172e60;
background: #fff;
transition: all 0.3s;
padding: 10px 0;
cursor: pointer;
&:hover {
background: #f5f7fa;
}
&.active {
background: #f5f7fa;
}
}
.is-error {

Loading…
Cancel
Save