Commit 40f59d70 by zhuzhequan

Merge branch 'master' of http://47.99.244.21:9999/qinjianhui/factory_front

# Conflicts:
#	src/views/order/pod/index.vue
parents 4b7fcd2a 0eb970c3
......@@ -220,3 +220,13 @@ export function getWaitShipmentCount(
},
)
}
// 完成发货
export function completeDeliveryApi(
productIdList: number[],
data: ShipmentForm,
) {
return axios.post<never, BaseRespData<never>>(
'factory/podJomallOrder/completeDelivery ',
{ productIdList, ...data },
)
}
......@@ -108,6 +108,7 @@ export interface ProductList {
factorySubOrderNumber?: string
podOrderId?: number | string
isProduction?: boolean
imageAry?: string
}
export interface MemoList {
......
......@@ -180,9 +180,18 @@
</div>
</div>
<div v-if="currentRow" class="shipment-order-detail_info">
<div class="shipment-order-detail_info_image">
<div v-if="!currentRow.imageAry" class="shipment-order-detail_info_image">
<img :src="currentRow.variantImage" style="width: 100%" />
</div>
<div v-else class="shipment-order-detail_info_image-list">
<div
v-for="item in JSON.parse(currentRow.imageAry)"
:key="item"
class="shipment-order-detail_info_image-list-item"
>
<img :src="item.url" style="width: 100%" />
</div>
</div>
<div class="shipment-order-detail_info_other">
<div class="order-norm">
<span class="order-norm-label" style="margin-right: 6px">
......@@ -446,4 +455,12 @@ const calculateTotals = (ee: OrderData) => {
font-weight: bold;
}
}
.shipment-order-detail_info_image-list {
height: 100%;
overflow: auto;
border: 1px solid #eee;
.shipment-order-detail_info_image-list-item:not(:last-child) {
border-bottom: 1px solid #eee;
}
}
</style>
......@@ -50,7 +50,6 @@
style="width: 130px"
></ElInput>
</ElFormItem>
<!-- <ElFormItem label="发货单号">
<ElInput
v-model="searchForm.shipmentNumber"
......@@ -144,6 +143,7 @@
</span>
<span
v-if="
status === 'TO_BE_CONFIRMED' ||
status === 'IN_PRODUCTION' ||
status === 'PART_SHIPPING'
"
......@@ -989,7 +989,6 @@ const countVisible = ref(false)
const keyCode = ref('')
const cardItem = ref<PodProductList | CardOrderData>()
const rightMenuRef = ref()
const userMarkList = ref<string[]>([])
const count = ref<number>(0)
const rightClick = (e: MouseEvent, item: PodProductList | CardOrderData) => {
cardItem.value = item
......
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