diff --git a/src/api/store_product_price.ts b/src/api/store_product_price.ts index 8e29779f4..ad09d9da7 100644 --- a/src/api/store_product_price.ts +++ b/src/api/store_product_price.ts @@ -28,3 +28,7 @@ export function apiStoreProductPriceEnterPrice(params: any) { export function apiStoreProductPriceDetail(params: any) { return request.get({ url: '/store_product_price/storeproductprice/detail', params }) } + +export function apiStoreProductPriceExport(params: any) { + return request.post({ url: '/store_product_price/storeproductprice/export', params }) +} diff --git a/src/api/system_store_storage.ts b/src/api/system_store_storage.ts index fb183b800..975d02fcb 100644 --- a/src/api/system_store_storage.ts +++ b/src/api/system_store_storage.ts @@ -28,4 +28,8 @@ export function apiSystemStoreStorageDetail(params: any) { // 门店一键确认入库 export function apiSystemStoreStorageBatchConfirm(params: any) { return request.post({ url: '/system_store_storage/systemstorestorage/batchConfirm', params }) +} + +export function apiSystemStoreStorageRollback(params: any) { + return request.post({ url: '/system_store_storage/systemstorestorage/rollback', params }) } \ No newline at end of file diff --git a/src/views/order/beforehand_order/details.vue b/src/views/order/beforehand_order/details.vue index f700ebf19..a39786ef8 100644 --- a/src/views/order/beforehand_order/details.vue +++ b/src/views/order/beforehand_order/details.vue @@ -129,7 +129,7 @@ 打印无价格出库单 - + 追加 { return { id: item.id, nums: item.num || 0, + unit: item.unit || 0, purchase: item.price || 0, prices: item.purchase || 0, total_price: item.total_price || 0, @@ -509,6 +510,9 @@ const appendAdd = () => { }).then((res) => { dialogShop.value = false }) + if (formData.value.order_type == 7) { + goodsOfferRef.value?.getList(formData.value.id) + } } const queryParams = reactive({ bhoid: route.query.id, diff --git a/src/views/store/system_store_storage/index.vue b/src/views/store/system_store_storage/index.vue index 542194c17..c81a066a2 100644 --- a/src/views/store/system_store_storage/index.vue +++ b/src/views/store/system_store_storage/index.vue @@ -1,229 +1,205 @@ + getLists() + + const storeloading = ref(false) + const storeList = ref([]) + const remoteMethod = (e = '') => { + storeloading.value = true + apiSystemStoreLists({ + name: e, + page_size: 50 + }) + .then((res) => { + storeList.value = res.lists + setTimeout(() => { + storeloading.value = false + }, 300) + }) + .catch((err) => { + setTimeout(() => { + storeloading.value = false + }, 300) + }) + } + \ No newline at end of file diff --git a/src/views/store_product_price/index.vue b/src/views/store_product_price/index.vue index 444d1e736..1e1769a32 100644 --- a/src/views/store_product_price/index.vue +++ b/src/views/store_product_price/index.vue @@ -1,175 +1,200 @@ + // 确认 + const handleEnter = async (data : any) => { + await feedback.confirm('是否改价:' + data.store_name) + await apiStoreProductPriceEnterPrice({ id: data.id }) + getLists() + } + + const xlsx = () => { + apiStoreProductPriceExport(queryParams).then((res) => { + window.open(res.url, '_blank') + ElMessage.success('导出成功') + }) + } + + getLists() + \ No newline at end of file diff --git a/src/views/warehouse_product/index.vue b/src/views/warehouse_product/index.vue index f6e09bb03..fcd367606 100644 --- a/src/views/warehouse_product/index.vue +++ b/src/views/warehouse_product/index.vue @@ -53,10 +53,10 @@ /> - + @@ -218,7 +218,7 @@ const showEdit = ref(false) // 查询条件 const queryParams = reactive({ warehouse_id: '', - product_id: '', + product_name: '', financial_pm: 1, store_id: '', bar_code: '',