|
@@ -253,7 +253,7 @@ const saleBatches = ref([])
|
|
|
const batchInfo = ref({})
|
|
const batchInfo = ref({})
|
|
|
const batchId = ref(0)
|
|
const batchId = ref(0)
|
|
|
function getSaleBatch() {
|
|
function getSaleBatch() {
|
|
|
- return http.get('sysConfig/get/home_session').then(res => {
|
|
|
|
|
|
|
+ return http.get('sysConfig/get/home_batch_id').then(res => {
|
|
|
if (res.value === '0') {
|
|
if (res.value === '0') {
|
|
|
return http.post('saleBatch/all', {}, { body: 'json' }).then(res => {
|
|
return http.post('saleBatch/all', {}, { body: 'json' }).then(res => {
|
|
|
saleBatches.value = res.content.map(item => {
|
|
saleBatches.value = res.content.map(item => {
|