Commit d518cbf1 authored by zhoutong's avatar zhoutong
parents 49e39287 f9b6ea3e
......@@ -83,10 +83,16 @@ export default {
});
}
});
if (orderLocationList.length === 0) {
this.$message.error(this.$t("没有需要修改储位的订单"));
return;
let orderIds = []
this.storageList.forEach(item=>{
if(!orderIds.includes(item.orderId)){
orderIds.push(item.orderId)
}
})
orderIds.forEach(id=>{
orderLocationList.push({orderId: id})
})
}
tallyLocationUpdate({
......
......@@ -264,7 +264,7 @@
<el-button @click="showLogs" type="primary" v-if="readonly">{{$t('查看价格日志')}}</el-button>
</div>
<logs ref="logs"></logs>
<logs ref="logs" :unit-map="unitMap" :currency-map="currencyMap"></logs>
</div>
</template>
<script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment