Commit cb9d1cc6 by qinjianhui

fix: 问题修改

parent b09b7594
......@@ -95,6 +95,7 @@ defineProps({
height: 600px;
margin-top: 20px;
border: 1px solid #eee;
overflow: auto;
}
.image {
......
......@@ -711,7 +711,10 @@ const getPackingData = async (code: string) => {
item.count || item.count === 0 ? (item.count += 1) : (item.count = 0)
}
}
orderList.value.unshift(res.data)
const index = orderList.value.findIndex((item) => item.id === res.data.id)
if (index === -1) {
orderList.value.unshift(res.data)
}
}
orderNumber.value = code
productionOrderNumber.value = ''
......@@ -1070,6 +1073,10 @@ const cancelOrder = async (id: number) => {
line-height: 26px;
display: flex;
}
.order-list-expand_item_label {
margin-right: 6px;
}
</style>
<style>
.send-order-dialog .el-dialog__body {
......
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