临时做了些许调整

This commit is contained in:
2024-07-23 19:58:23 +08:00
parent fb86674626
commit f46a568428
2 changed files with 9 additions and 8 deletions

View File

@@ -1,5 +1,4 @@
<script>
const currentDate = "20240705"
export default {
name: "AppStoresTable",
label: "多店监控",
@@ -75,7 +74,6 @@ export default {
}
},
computed: {
refs: v => v.$parent.getItemRefs(),
search: v => v.$multipleStoreBoard.search,
storeList: v => {
const list = []
@@ -134,7 +132,7 @@ export default {
},
getStoreKeyGoods() {
return $http.post("/data-boot/la/screen/multipleStoreBoard/storeKeyGoods", {
type: "1", ...this.search, currentDate
type: "1", ...this.search,
}).then(res => {
if (res?.data) {
this.storeKeyGoods = res.data
@@ -175,7 +173,7 @@ export default {
const {thirdGoodsCode} = this.storeKeyGoods[rowIndex],
{storeCode, longitude, latitude} = store
return $http.post("/data-boot/la/screen/multipleStoreBoard/aroundStock", {
type: "1", ...this.search, storeCode, longitude, latitude, thirdGoodsCode, currentDate
type: "1", ...this.search, storeCode, longitude, latitude, thirdGoodsCode,
}).then(res => {
if (res?.data) {
this.aroundStock = res.data