剩余模块:生产入库,销售出库

This commit is contained in:
2025-05-20 14:40:44 +08:00
parent 14a5fa371b
commit 933ddab8f3
68 changed files with 8868 additions and 13081 deletions

View File

@@ -1,9 +1,9 @@
<template>
<up-popup :show="props.show" @close="close">
<view class="popupText">仓库</view>
<view class="popupText">{{ t('index.ck') }}</view>
<view class="input-box">
<view class="input-item">
<up-input placeholder="仓库查询" border="none" clearable inputAlign="left" v-model="state.queryString"
<up-input :placeholder="t('index.ckcx')" border="none" clearable inputAlign="left" v-model="state.queryString"
@change="changeFun">
<template #prefix>
<up-icon name="search" color="#2979ff" size="24"></up-icon>
@@ -18,7 +18,7 @@
<view class="data-item" v-for="(item, index) in state.dataList" :key="index" @click="arehouseItemFun(item)">
<view class="tit">{{item.FNAME}}</view>
<view class="line-p"></view>
<view class="b-font">仓库编号{{item.FNUMBER}}</view>
<view class="b-font">{{ t('index.ckbh') }}{{item.FNUMBER}}</view>
</view>
</view>
</scroll-view>
@@ -30,6 +30,10 @@
import { reactive, nextTick, onMounted, ref, computed, defineProps, defineEmits, watch } from 'vue';
import { onLoad, onShow, onReachBottom, } from '@dcloudio/uni-app'
import { stockList } from '../../common/request/api/api';
import i18n from '../../locale/index'
import { useI18n } from 'vue-i18n'
const getI18n = useI18n()
const { t, locale } = getI18n
const props = defineProps({
show: {
type: Boolean,