剩余模块:生产入库,销售出库
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<up-popup :show="props.show" @close="close">
|
||||
<view class="popupText">仓位</view>
|
||||
<view class="popupText">{{ t('index.cw') }}</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.cwcx')" border="none" clearable inputAlign="left" v-model="state.queryString"
|
||||
@change="changeFun">
|
||||
<template #prefix>
|
||||
<up-icon name="search" color="#2979ff" size="24"></up-icon>
|
||||
@@ -19,7 +19,7 @@
|
||||
<view class="tit">{{ item.FFlexValueName }}</view>
|
||||
<!-- <view class="description">{{ item. }}</view> -->
|
||||
<view class="line-p"></view>
|
||||
<view class="b-font">仓位编号:{{item.FFlexValueNumber}}</view>
|
||||
<view class="b-font">{{ t('index.cwbh') }}:{{item.FFlexValueNumber}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
@@ -31,17 +31,21 @@
|
||||
import { reactive, nextTick, onMounted, ref, computed, defineProps, defineEmits, watch } from 'vue';
|
||||
import { onLoad, onShow, onReachBottom, } from '@dcloudio/uni-app'
|
||||
import { fStockFlexDetailList, 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,
|
||||
default: false
|
||||
},
|
||||
warehouseId:{
|
||||
warehouseId: {
|
||||
type: Number,
|
||||
default: null
|
||||
}
|
||||
})
|
||||
const emits = defineEmits(['locationClose','locationData'])
|
||||
const emits = defineEmits(['locationClose', 'locationData'])
|
||||
const state = reactive({
|
||||
queryString: '',
|
||||
dataList: [],
|
||||
@@ -82,9 +86,9 @@
|
||||
}
|
||||
const fnDataList = () => {
|
||||
let param = {
|
||||
Number:props.warehouseId,
|
||||
queryString:state.queryString,
|
||||
IsSortBySeq:true
|
||||
Number: props.warehouseId,
|
||||
queryString: state.queryString,
|
||||
IsSortBySeq: true
|
||||
};
|
||||
fStockFlexDetailList(param).then(res => {
|
||||
uni.hideLoading();
|
||||
@@ -96,11 +100,11 @@
|
||||
const close = () => {
|
||||
emits('locationClose', false)
|
||||
}
|
||||
const arehouseItemFun = (item:any) => {
|
||||
emits('locationData',{
|
||||
const arehouseItemFun = (item : any) => {
|
||||
emits('locationData', {
|
||||
...item,
|
||||
FlexEntryId:{
|
||||
Number:item.FFlexValueNumber
|
||||
FlexEntryId: {
|
||||
Number: item.FFlexValueNumber
|
||||
}
|
||||
})
|
||||
// FEntity_FEntryId
|
||||
@@ -195,11 +199,13 @@
|
||||
font-weight: bold;
|
||||
padding: 20rpx 0;
|
||||
}
|
||||
.description{
|
||||
|
||||
.description {
|
||||
font-size: 25rpx;
|
||||
margin-top: 8rpx;
|
||||
// padding: 20rpx 0;
|
||||
}
|
||||
|
||||
.line-p {
|
||||
border: 1px solid #efeaea;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user