|
@@ -9,6 +9,12 @@
|
|
|
:loading="loading"
|
|
|
:searchConfig="searchConfig"
|
|
|
highlight-current-row
|
|
|
+ :action-list="[
|
|
|
+ {
|
|
|
+ text: '查看今日入库列表',
|
|
|
+ action: () => clickViewTodayEntry(),
|
|
|
+ },
|
|
|
+ ]"
|
|
|
@get-list="getList"
|
|
|
@clickReset="clickReset">
|
|
|
</byTable>
|
|
@@ -43,12 +49,21 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
+
|
|
|
+ <el-dialog title="今日成品库入库列表" v-if="openTodayEntry" v-model="openTodayEntry" width="60%">
|
|
|
+ <div style="max-height: calc(100vh - 184px); overflow-y: auto; overflow-x: hidden">
|
|
|
+ <byTable :hidePagination="true" :source="tableList" :config="config" :loading="loadingTodayEntry" highlight-current-row> </byTable>
|
|
|
+ </div>
|
|
|
+ <template #footer>
|
|
|
+ <el-button @click="openTodayEntry = false">关 闭</el-button>
|
|
|
+ </template>
|
|
|
+ </el-dialog>
|
|
|
</el-card>
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
import byTable from "/src/components/byTable/index";
|
|
|
-import { ElMessage, ElMessageBox } from "element-plus";
|
|
|
+import { ElMessage } from "element-plus";
|
|
|
import moment from "moment";
|
|
|
|
|
|
const { proxy } = getCurrentInstance();
|
|
@@ -313,10 +328,27 @@ const giveawayServerLog = (params) => {
|
|
|
}
|
|
|
);
|
|
|
};
|
|
|
+const openTodayEntry = ref(false);
|
|
|
+const tableList = ref([]);
|
|
|
+const loadingTodayEntry = ref(false);
|
|
|
+const clickViewTodayEntry = () => {
|
|
|
+ loadingTodayEntry.value = true;
|
|
|
+ openTodayEntry.value = true;
|
|
|
+ proxy.post("/inventoryFinished/getTodayInStorageList", {}).then((res) => {
|
|
|
+ tableList.value = res;
|
|
|
+ setTimeout(() => {
|
|
|
+ loadingTodayEntry.value = false;
|
|
|
+ }, 200);
|
|
|
+ });
|
|
|
+};
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
::v-deep(.el-input-number .el-input__inner) {
|
|
|
text-align: left;
|
|
|
}
|
|
|
+:deep(.el-dialog) {
|
|
|
+ margin-top: 10px !important;
|
|
|
+ margin-bottom: 10px !important;
|
|
|
+}
|
|
|
</style>
|