diff --git a/src/api/purchase_product_offer.ts b/src/api/purchase_product_offer.ts index ae5602988..d33d7cce4 100644 --- a/src/api/purchase_product_offer.ts +++ b/src/api/purchase_product_offer.ts @@ -34,7 +34,13 @@ export function apiPurchaseProductOfferSetBatchProcureInfo(params: any) { params }) } - +// 仓库验收信息设置 +export function apiPurchaseProductOffersetStoreroomInfo(params: any) { + return request.post({ + url: '/purchase_product_offer/purchaseproductoffer/setStoreroomInfo', + params + }) +} // 采购供应链商品详情 export function apiPurchaseProductOfferDetail(params: any) { return request.get({ url: '/purchase_product_offer/purchaseproductoffer/detail', params }) diff --git a/src/views/order/beforehand_order/add.vue b/src/views/order/beforehand_order/add.vue index 346a05ffd..0b624d7ed 100644 --- a/src/views/order/beforehand_order/add.vue +++ b/src/views/order/beforehand_order/add.vue @@ -22,13 +22,8 @@ 往期补单 - - + + + + + + + + + + + + + + + @@ -138,6 +154,10 @@ const formData = reactive({ total_price: 0, order_type: 1, store_id: '', + nikename: '', + phone: '', + address: '', + arrival_time: '', mark: '' }) diff --git a/src/views/order/beforehand_order/component/goodsOffer.vue b/src/views/order/beforehand_order/component/goodsOffer.vue index d2645651a..9fb5a6d92 100644 --- a/src/views/order/beforehand_order/component/goodsOffer.vue +++ b/src/views/order/beforehand_order/component/goodsOffer.vue @@ -31,6 +31,9 @@ 设置采购信息 + 库房设置信息 @@ -155,13 +158,50 @@ + + + + + + + + + + + + + + diff --git a/src/views/order/beforehand_order/details.vue b/src/views/order/beforehand_order/details.vue index fb06bdb07..bce4ee3b1 100644 --- a/src/views/order/beforehand_order/details.vue +++ b/src/views/order/beforehand_order/details.vue @@ -14,6 +14,20 @@
{{ formData.system_store }}
+
+
+
姓名:
+
{{ formData.nikename }}
+
+
+
手机:
+
{{ formData.phone }}
+
+
+
送货地址:
+
{{ formData.address }}
+
+
备注:
@@ -42,118 +56,7 @@ @tab-change="tabChange" > - 导出表格 - - - - -
-
- - - - - - - - - - - - - - - - - - -
-
- -
-
+
@@ -392,6 +295,7 @@ import feedback from '@/utils/feedback' import EditPopup from './editProduct.vue' import { apiDeliveryServiceLists } from '@/api/delivery_service' import goodsOffer from './component/goodsOffer.vue' +import orderCartInfo from './component/orderCartInfo.vue' import warehousing from './component/warehousing.vue' import outbound from './component/outbound.vue' import { apiUserLists } from '@/api/user' @@ -409,6 +313,9 @@ const outboundRef = ref(null) const route = useRoute() const tabChange = (type: any) => { + if (type == 'second') { + orderCartInfo.value?.getList(formData.value) + } if (type == 'offer') { goodsOfferRef.value?.getList(formData.value.id) } @@ -618,28 +525,6 @@ const generateOrderAdd = () => { apiPurchaseOrderGenerateOrder(generateOrderData.value).then((res) => {}) } -const beforehand_order_cart_info = () => { - apiBeforehandOrderCartInfoLists({ - export: 2, - bhoid: formData.value.id - }).then((res) => { - window.open(res.url, '_blank') - ElMessage.success('导出成功') - }) -} - -const topCateChange = (row: any) => { - if (row.id == 0) { - queryParams.top_cate = '' - queryParams.top_cate_value = '全部' - getLists() - } else { - queryParams.top_cate = row.id - queryParams.top_cate_value = row.name - - getLists() - } -} defineExpose({ open })