chenhaozhe
2025-08-14 02748088b1581dae85b1006f381a58ce27c42733
解决 日期 源单类型 picker 被遮盖问题
7个文件已修改
142 ■■■■■ 已修改文件
pages/caigouruku/form.vue 39 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/caigoutuiliao/form.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/qitachuku_v2/form.vue 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/qitaruku_v2/form.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/weiwailingliao/form.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/xiaoshouchuku/form.vue 49 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/xiaoshoutuihuo/form.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/caigouruku/form.vue
@@ -88,6 +88,7 @@
                    <view class="right">
                        <picker mode="date" v-model="hform.HDate" @change="HDateChange">
                            <input disabled v-model="hform.HDate" placeholder="请选择日期" />
                            <view class="picker-overlay"></view>
                        </picker>
                    </view>
                </view>
@@ -271,7 +272,7 @@
                OperationType: 1,
                HInterID_Temp: '',
                HPageTitle: '采购入库单',
                showHStockPlaceName: false,
                showHMainSourceBillType: true,
@@ -346,7 +347,9 @@
                }
            }
        },
        components: {BillListPopupVue},
        components: {
            BillListPopupVue
        },
        onLoad(e) {
            console.log(e, this.userInfo)
            this.OperationType = e.OperationType
@@ -365,7 +368,7 @@
            this.getHDeptList()
            this.GetSourceBillType()
            this.getRelationStore()
            uni.$on('BillSelectComplete', (e) => {
                console.log("接收到的消息: ", e.HBillNo)
                this.getHBarCodeData(e.HBillNo)
@@ -381,16 +384,16 @@
                console.log('count: ', count);
                if (count == 1) {
                    let WHIDList = []
                    Array.from(data).forEach(elem => {
                        WHIDList.push(elem.HItemID)
                    Array.from(data).forEach(elem => {
                        WHIDList.push(elem.HItemID)
                    })
                    let sWhere = ` and HItemID in (${WHIDList.join(",")})`
                    this.getHBaseList({
                        sWhere: sWhere
                    })
                } else {
                    this.getHBaseList()
                }
@@ -534,7 +537,9 @@
            },
            //基础仓库资料
            getHBaseList({sWhere=""} = {}) {
            getHBaseList({
                sWhere = ""
            } = {}) {
                uni.request({
                    url: this.serverUrl + '/Gy_Warehouse/list',
                    data: {
@@ -681,7 +686,7 @@
                    if (this.HWHNameList[i].仓库名称 == e) {
                        this.hform.HWHName = this.HWHNameList[i].仓库名称
                        this.hform.HWHID = this.HWHNameList[i].HItemID
                        if (this.HWHNameList[i]['启用仓位'] == 'Y') {
                            this.showHStockPlaceName = true
                        } else {
@@ -1412,7 +1417,7 @@
                    }
                }
            },
            showBillList() {
                this.$refs.billList.showPopup()
            },
@@ -1500,7 +1505,7 @@
            border: 1px solid #acacac;
            position: relative;
            display: flex;
            .uni-combox {
                width: 100%;
            }
@@ -1511,8 +1516,8 @@
            border-radius: 22rpx;
            border: 1px solid #e4e4e4;
            background-color: #e4e4e4;
        }
        input {
@@ -1609,7 +1614,7 @@
            }
        }
    }
    .icon-wrapper {
        background-color: #3A78FF;
        border-radius: 100%;
@@ -1618,12 +1623,12 @@
        display: flex;
        justify-content: center;
        align-items: center;
        .uni-icons {
            color: #fff !important;
        }
    }
    .icon-wrapper[disabled] {
        background-color: rgba(228, 228, 228, 1);
        pointer-events: none;
pages/caigoutuiliao/form.vue
@@ -137,7 +137,7 @@
                            @input="HSupNameChange"></uni-combox>
                    </view> -->
                    <view class="righton">
                        <input name="HSupName" disabled v-model="hform.HSupName" placeholder="请选择供应商" />
                        <input name="HSupName" disabled v-model="hform.HSupName" placeholder="" />
                    </view>
                </view>
                <view class="form-item">
pages/qitachuku_v2/form.vue
@@ -148,12 +148,12 @@
                </view>
                <view class="form-item">
                    <view class="title">客户:</view>
                    <view class="right" v-show="showHSupName">
                    <!-- <view class="right" v-show="showHSupName">
                        <uni-combox :candidates="arrayHSupName" placeholder="请选择客户" v-model="hform.HSupName"
                            @input="HSupNameChange"></uni-combox>
                    </view>
                    <view class="righton" v-show="!showHSupName">
                        <input name="HSupName" disabled v-model="hform.HSupName" placeholder="请选择客户" />
                    </view> -->
                    <view class="righton">
                        <input name="HSupName" disabled v-model="hform.HSupName" placeholder="" />
                    </view>
                </view>
                <view class="form-item">
@@ -301,7 +301,9 @@
        CommonUtils
    } from '../../utils/common';
    import BillListPopupVue from '../../components/BillListPopup/BillListPopup.vue';
    import { getUserStockRelation } from '../../utils/userRelationManager';
    import {
        getUserStockRelation
    } from '../../utils/userRelationManager';
    export default {
        data() {
            return {
@@ -323,7 +325,7 @@
                tabs: 0,
                HMainSourceBillType: '手工录入',
                arrayHMainSourceBillType: ['出库申请单', '手工录入'],
                arrayHMainSourceBillValue: ['1242','-1'],
                arrayHMainSourceBillValue: ['1242', '-1'],
                linterid: '',
                HBillNo: '',
@@ -416,7 +418,7 @@
            this.getHEmpList()
            this.getHDeptList()
            this.set_InitBillSubType()
            this.GetSourceBillType()
            this.getRelationStore()
@@ -437,16 +439,16 @@
                } = await getUserStockRelation()
                if (count == 1) {
                    let WHIDList = []
                    Array.from(data).forEach(elem => {
                        WHIDList.push(elem.HItemID)
                    Array.from(data).forEach(elem => {
                        WHIDList.push(elem.HItemID)
                    })
                    let sWhere = ` and HItemID in (${WHIDList.join(",")})`
                    this.getHBaseList({
                        sWhere: sWhere
                    })
                } else {
                    this.getHBaseList()
                }
@@ -622,7 +624,9 @@
                )
            },
            //基础仓库资料
            getHBaseList({sWhere=''} = {}) {
            getHBaseList({
                sWhere = ''
            } = {}) {
                uni.request({
                    url: this.serverUrl + '/Gy_Warehouse/list',
                    data: {
@@ -1127,7 +1131,7 @@
                                    this.hform.HSourceBillNo = data.hSourceBillNoField
                                    //获取源单类型、源单单号
                                    this.hform.HMainSourceBillType = data.hSourceBillTypeField
                                    let index = this.arrayHMainSourceBillValue.findIndex(e => e = data
                                        .hSourceBillTypeField)
                                    if (index != -1) {
@@ -1325,7 +1329,7 @@
                            this.hform.HBillNo = data.HBillNo
                            this.hform.HMainSourceBillType = data.HSourceBillType
                            this.hform.HSourceBillNo = data.HSourceBillNo
                            let index = this.arrayHMainSourceBillValue.findIndex(e => e = data.HSourceBillType)
                            if (index != -1) {
                                this.HMainSourceBillType = this.arrayHMainSourceBillType[index]
pages/qitaruku_v2/form.vue
@@ -149,12 +149,12 @@
                </view>
                <view class="form-item">
                    <view class="title">供应商:</view>
                    <view class="right" v-show="showHSupName">
                    <!-- <view class="right" v-show="showHSupName">
                        <uni-combox :candidates="arrayHSupName" placeholder="请选择供应商" v-model="hform.HSupName"
                            @input="HSupNameChange"></uni-combox>
                    </view>
                    <view class="righton" v-show="!showHSupName">
                        <input name="HSupName" disabled v-model="hform.HSupName" placeholder="请选择供应商" />
                    </view> -->
                    <view class="righton">
                        <input name="HSupName" disabled v-model="hform.HSupName" placeholder="" />
                    </view>
                </view>
                <view class="form-item">
pages/weiwailingliao/form.vue
@@ -136,12 +136,12 @@
                </view>
                <view class="form-item">
                    <view class="title">供应商:</view>
                    <view class="right" v-show="showHSupName">
                    <!-- <view class="right" v-show="showHSupName">
                        <uni-combox :candidates="arrayHSupName" placeholder="请选择供应商" v-model="hform.HSupName"
                            @input="HSupNameChange"></uni-combox>
                    </view>
                    <view class="righton" v-show="!showHSupName">
                        <input name="HSupName" disabled v-model="hform.HSupName" placeholder="请选择供应商" />
                    </view> -->
                    <view class="righton">
                        <input name="HSupName" disabled v-model="hform.HSupName" placeholder="" />
                    </view>
                </view>
                <view class="form-item">
pages/xiaoshouchuku/form.vue
@@ -32,7 +32,7 @@
                </view>
                <view class="righton" v-show="!showHStockPlaceName">
                    <input v-model="hform.HStockPlaceName" disabled placeholder="不可操作" />
                        </view>
                </view>
            </view>
            <view class="tabs">
@@ -75,12 +75,12 @@
                            v-model="hform.HSourceBillNo" @input="HSourceBillNoChange"></uni-combox> -->
                        <input :focus="HSourceBillNoFocus" type="text" @confirm="onSourceBillConfirmHandler"
                            name="HSourceBillNo" v-model="hform.HSourceBillNo" placeholder="请输入源单单号" />
                    </view>
                    <view class="icon-wrapper" v-show="showHSourceBillNo" :disabled="hform.HMainSourceBillType === -1">
                        <uni-icons type="search" size="20" @click="showBillList"></uni-icons>
                    </view>
                    <view class="righton" v-show="!showHSourceBillNo">
                        <input name="HSourceBillNo" disabled v-model="hform.HSourceBillNo" placeholder="请输入源单单号" />
                    </view>
@@ -97,8 +97,8 @@
                    <view class="right">
                        <picker mode="date" v-model="hform.HDate" @change="HDateChange">
                            <input disabled v-model="hform.HDate" placeholder="请选择日期" />
                            <view class="picker-overlay"></view>
                        </picker>
                        <view class="picker-overlay"></view>
                    </view>
                </view>
                <view class="form-item">
@@ -150,7 +150,7 @@
                            @input="HSupNameChange"></uni-combox>
                    </view> -->
                    <view class="righton">
                        <input name="HSupName" disabled v-model="hform.HSupName" placeholder="请选择客户" />
                        <input name="HSupName" disabled v-model="hform.HSupName" placeholder="" />
                    </view>
                </view>
                <view class="form-item">
@@ -295,7 +295,9 @@
        getUserInfo
    } from "@/utils/auth.js";
    import BillListPopupVue from '../../components/BillListPopup/BillListPopup.vue';
    import { getUserStockRelation } from '../../utils/userRelationManager';
    import {
        getUserStockRelation
    } from '../../utils/userRelationManager';
    export default {
        data() {
            return {
@@ -383,7 +385,9 @@
                }
            }
        },
        components: {BillListPopupVue},
        components: {
            BillListPopupVue
        },
        onLoad(e) {
            console.log(e, this.userInfo)
            this.OperationType = e.OperationType
@@ -400,9 +404,9 @@
            this.getHSupList()
            this.getHEmpList()
            this.getHDeptList()
            this.getRelationStore()
            uni.$on('BillSelectComplete', (e) => {
                console.log("接收到的消息: ", e.HBillNo)
                this.getHBarCodeData(e.HBillNo)
@@ -420,16 +424,16 @@
                } = await getUserStockRelation()
                if (count == 1) {
                    let WHIDList = []
                    Array.from(data).forEach(elem => {
                        WHIDList.push(elem.HItemID)
                    Array.from(data).forEach(elem => {
                        WHIDList.push(elem.HItemID)
                    })
                    let sWhere = ` and HItemID in (${WHIDList.join(",")})`
                    this.getHBaseList({
                        sWhere: sWhere
                    })
                } else {
                    this.getHBaseList()
                }
@@ -576,7 +580,9 @@
                this.hform.HDate = e.detail.value
            },
            //基础仓库资料
            getHBaseList({sWhere=''} = {}) {
            getHBaseList({
                sWhere = ''
            } = {}) {
                uni.request({
                    url: this.serverUrl + '/Gy_Warehouse/list',
                    data: {
@@ -590,7 +596,7 @@
                            for (var i = 0; i < res.data.data.length; i++) {
                                this.arrayHWHName[i] = res.data.data[i].仓库名称
                            }
                            // this.HStockPlaceNameChange(res.data.data[0].仓库名称)
                        } else {
                            uni.showToast({
@@ -684,9 +690,9 @@
                    if (this.HWHNameList[i].仓库名称 == e) {
                        this.hform.HWHName = this.HWHNameList[i].仓库名称
                        this.hform.HWHID = this.HWHNameList[i].HItemID
                        console.log(this.HWHNameList[i]['启用仓位'])
                        if (this.HWHNameList[i]['启用仓位'] == 'Y') {
                            this.showHStockPlaceName = true
                        } else {
@@ -1471,7 +1477,7 @@
            border: 1px solid #acacac;
            position: relative;
            display: flex;
            .uni-combox {
                width: 100%;
            }
@@ -1580,6 +1586,7 @@
            }
        }
    }
    .icon-wrapper {
        background-color: #3A78FF;
        border-radius: 100%;
@@ -1588,12 +1595,12 @@
        display: flex;
        justify-content: center;
        align-items: center;
        .uni-icons {
            color: #fff !important;
        }
    }
    .icon-wrapper[disabled] {
        background-color: rgba(228, 228, 228, 1);
        pointer-events: none;
pages/xiaoshoutuihuo/form.vue
@@ -128,7 +128,7 @@
                            @input="HSupNameChange"></uni-combox>
                    </view> -->
                    <view class="righton">
                        <input name="HSupName" disabled v-model="hform.HSupName" placeholder="请选择客户" />
                        <input name="HSupName" disabled v-model="hform.HSupName" placeholder="" />
                    </view>
                </view>
                <view class="form-item">