备注:
@@ -42,118 +56,7 @@
@tab-change="tabChange"
>
- 导出表格
-
-
-
-
-
-
-
-
-
-
-
-
-
{{ row.store_name }}
-
-
-
-
-
-
-
-
-
-
-
- 否
- 是
-
-
- {{ row.status_name }}
- 无需采购
-
-
-
-
-
-
-
- 编辑
-
-
- 删除
-
-
-
-
-
-
-
+
@@ -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
})