chenhaozhe
2025-07-24 61035151876686cd80bbe26fd3737a2952701e4c
修改样式
7个文件已修改
149 ■■■■■ 已修改文件
pages/index/tab2.vue 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/qitachuku_v2/form.vue 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/qitaruku_v2/form.vue 77 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/shengchanbuliao/form.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/shengchanlingliaoshengdan/form.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/shengchanrukushengdan/form.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/weiwailingliao/form.vue 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/tab2.vue
@@ -30,12 +30,12 @@
                    },{
                        img:'../../static/icon/icon_a17.png',
                        text:'其他入库暂存列表',
                        url:'/pages/qitaruku/qitaruku',
                        url:'/pages/qitaruku_v2/table',
                        id:3,
                    },{
                        img:'../../static/icon/icon_a18.png',
                        text:'其他出库暂存列表',
                        url:'/pages/qitachuku/qitachuku',
                        url:'/pages/qitachuku_v2/table',
                        id:4,
                    },{
                        img:'../../static/icon/icon_a32.png',
@@ -50,17 +50,20 @@
                    },{
                        img:'../../static/icon/icon_a31.png',
                        text:'生产补料暂存列表',
                        url:'',
                        url: '/pages/shengchanbuliao/table' ,
                        // url: '',
                        id:7,
                    },{
                        img:'../../static/icon/icon_a17.png',
                        text:'生产入库暂存列表',
                        url:'',
                        url:'/pages/shengchanrukushengdan/table',
                        // url:'',
                        id:8,
                    },{
                        img:'../../static/icon/icon_a30.png',
                        text:'委外领料暂存列表',
                        url:'',
                        // url:'',
                        url:'/pages/weiwailingliao/table',
                        id:9,
                    },{
                        img:'../../static/icon/icon_a18.png',
@@ -151,7 +154,7 @@
            }
        },
        onLoad() {
        },
        methods: {
            toUrl(item){
pages/qitachuku_v2/form.vue
@@ -85,10 +85,6 @@
                            <view class="picker-overlay"></view>
                        </picker>
                    </view>
                    <!--                     <view class="righton" v-show="!showHMainSourceBillType">
                        <input name="HMainSourceBillType" disabled v-model="HMainSourceBillType"
                            placeholder="请选择源单类型" />
                    </view> -->
                </view>
                <view class="form-item">
@@ -320,7 +316,7 @@
                tabs: 0,
                HMainSourceBillType: '手工录入',
                arrayHMainSourceBillType: ['出口申请单', '手工录入'],
                arrayHMainSourceBillType: ['出库申请单', '手工录入'],
                linterid: '',
                HBillNo: '',
@@ -432,7 +428,9 @@
                innerAudioContext.play(); // 播放音频
            },
            HBillSubTypeChange(e) {
                console.log(e)
                let index = e.target.value
                this.HBillSubType = this.arrayHBillSubType[index]
                this.hform.HBillSubType = this.arrayHBillSubTypeValue[index]
            },
            //扫码
            toScanCode() {
@@ -857,7 +855,7 @@
                    this.hform.HFIFOWHID = 0
                }
                uni.request({
                    url: this.serverUrl + '/WEBSController/Get_SourceBarCode_OtherIn_Json',
                    url: this.serverUrl + '/WEBSController/get_SourceBarCode_OtherOut_Json',
                    data: {
                        HInterID: this.hform.HInterID,
                        HBillNo: this.hform.HBillNo,
@@ -865,10 +863,10 @@
                        HSourceBillNo: HBarCode,
                        HSourceBillType: this.hform.HMainSourceBillType,
                        HMaker: this.hform.HMaker,
                        HStockOrgID: this.hform.HStockOrgID,
                        HOWNERID: this.hform.HStockOrgID,
                        HFIFOWHID: this.hform.HFIFOWHID,
                        HPTQty: this.hform.HPTQty || 0,
                        HPlanMode: this.hform.HPlanMode || 0
                        // HPTQty: this.hform.HPTQty || 0,
                        // HPlanMode: this.hform.HPlanMode || 0
                    },
                    success: (res) => {
                        if (res.data.count == 1) {
@@ -1301,7 +1299,7 @@
                        })
                        var sMainStr = JSON.stringify(this.hform);
                        uni.request({
                            url: this.serverUrl + '/WEBSController/set_SaveOtherInBill_Json',
                            url: this.serverUrl + '/WEBSController/set_SaveOtherOutBill_Json',
                            method: 'POST',
                            dataType: "json",
                            data: {
pages/qitaruku_v2/form.vue
@@ -75,6 +75,18 @@
                        <input name="HSourceBillNo" disabled v-model="hform.HSourceBillNo" placeholder="请输入源单单号" />
                    </view>
                </view>
                <view class="form-item">
                    <view class="title">单据子类型:</view>
                    <view class="right">
                        <picker :range="arrayHBillSubType" v-model="hform.HBillSubType" @change="HBillSubTypeChange">
                            <input disabled name="HMainSourceBillType" v-model="HBillSubType" placeholder="请选择单据子类型" />
                            <view class="picker-overlay"></view>
                        </picker>
                    </view>
                </view>
                <view class="form-item">
                    <view class="title">先进先出仓:</view>
                    <view class="right">
@@ -134,13 +146,13 @@
                    </view>
                </view>
                <view class="form-item">
                    <view class="title">客户:</view>
                    <view class="title">供应商:</view>
                    <view class="right" v-show="showHSupName">
                        <uni-combox :candidates="arrayHSupName" placeholder="请选择客户" v-model="hform.HSupName"
                        <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="请选择客户" />
                        <input name="HSupName" disabled v-model="hform.HSupName" placeholder="请选择供应商" />
                    </view>
                </view>
                <view class="form-item">
@@ -282,6 +294,7 @@
    import {
        getUserInfo
    } from "@/utils/auth.js";
    import { CommonUtils } from '../../utils/common';
    import BillListPopupVue from '../../components/BillListPopup/BillListPopup.vue';
    export default {
        data() {
@@ -314,18 +327,23 @@
                HStockPlaceNameList: [],
                arrayHSourceBillNo: [], //源单单号
                HSourceBillNoList: [],
                arrayHBillSubType: [],
                arrayHBillSubTypeValue: [],
                HBillSubType: '',
                arrayHEmpName: [], //操作员
                HEmpNameList: [],
                arrayHDeptName: [], //部门
                HDeptNameList: [],
                arrayHSupName: [], //客户
                arrayHSupName: [], //供应商
                HSupNameList: [],
                Materlist: [],
                FIFOlist: [],
                hform: {
                    HBillType: 1203,
                    HBillSubType: '',
                    HBillerID: uni.getStorageSync('HBillerID'),
                    HRedBlueFlag: false,
@@ -385,6 +403,7 @@
            this.getHSupList()
            this.getHEmpList()
            this.getHDeptList()
            this.set_InitBillSubType();
            uni.$on('BillSelectComplete', (e) => {
                console.log("接收到的消息: ", e.HBillNo)
@@ -404,6 +423,37 @@
                    innerAudioContext.src = '/static/jingbao.wav';
                }
                innerAudioContext.play(); // 播放音频
            },
            set_InitBillSubType(){
                this.arrayHBillSubType = []
                this.arrayHBillSubTypeValue = []
                CommonUtils.doRequest(
                    "/WEBSController/GetBillSubType_Json", {
                        HBillType: this.hform.HBillType,
                        HStockOrgID: this.hform.HStockOrgID
                    },
                    (res) => {
                        let {
                            data,
                            count,
                            Message
                        } = res.data
                        if (count == 1) {
                            Array.from(data).forEach(item => {
                                this.arrayHBillSubType.push(item['HName'])
                                this.arrayHBillSubTypeValue.push(item['HNumber'])
                            })
                            this.HBillSubType = this.arrayHBillSubType[0]
                            this.hform.HBillSubType = this.arrayHBillSubTypeValue[0]
                        } else {
                            uni.showToast({
                                icon: 'none',
                                title: Message
                            })
                        }
                    }
                )
            },
            //扫码
            toScanCode() {
@@ -497,6 +547,11 @@
            //         }
            //     });
            // },
            HBillSubTypeChange(e) {
                let index = e.target.value
                this.HBillSubType = this.arrayHBillSubType[index]
                this.hform.HBillSubType = this.arrayHBillSubTypeValue[index]
            },
            //日期
            HDateChange(e) {
                console.log(e.detail.value)
@@ -662,17 +717,17 @@
            //获取客户数据
            getHSupList() {
                uni.request({
                    url: this.serverUrl + '/Gy_Customer/list',
                    url: this.serverUrl + '/WEBSController/GetSupplierList_Json',
                    data: {
                        sWhere: "",
                        user: uni.getStorageSync('HUserName'),
                        Organization: uni.getStorageSync('Organization')
                        Supplier: '',
                        HStockOrgID: this.hform.HStockOrgID
                    },
                    success: (res) => {
                        console.log(res.data)
                        if (res.data.count == 1) {
                            this.HSupNameList = res.data.data
                            for (var i = 0; i < res.data.data.length; i++) {
                                this.arrayHSupName[i] = res.data.data[i].客户名称
                                this.arrayHSupName[i] = res.data.data[i]['HName']
                            }
                            this.$forceUpdate();
                        } else {
@@ -694,9 +749,9 @@
            //选择客户
            HSupNameChange(e) {
                for (var i = 0; i < this.HSupNameList.length; i++) {
                    if (this.HSupNameList[i].客户名称 == e) {
                    if (this.HSupNameList[i]['HName'] == e) {
                        this.hform.HSupID = this.HSupNameList[i].HItemID
                        this.hform.HSupName = this.HSupNameList[i].客户名称
                        this.hform.HSupName = this.HSupNameList[i]['HName']
                    }
                }
            },
pages/shengchanbuliao/form.vue
@@ -132,7 +132,7 @@
                            @input="HDeptNameChange"></uni-combox>
                    </view>
                </view>
                <view class="form-item">
                <!-- <view class="form-item">
                    <view class="title">客户:</view>
                    <view class="right" v-show="showHSupName">
                        <uni-combox :candidates="arrayHSupName" placeholder="请选择客户" v-model="hform.HSupName"
@@ -141,7 +141,7 @@
                    <view class="righton" v-show="!showHSupName">
                        <input name="HSupName" disabled v-model="hform.HSupName" placeholder="请选择客户" />
                    </view>
                </view>
                </view> -->
                <view class="form-item">
                    <view class="title">组织:</view>
                    <view class="righton">
pages/shengchanlingliaoshengdan/form.vue
@@ -132,7 +132,7 @@
                            @input="HDeptNameChange"></uni-combox>
                    </view>
                </view>
                <view class="form-item">
                <!-- <view class="form-item">
                    <view class="title">客户:</view>
                    <view class="right" v-show="showHSupName">
                        <uni-combox :candidates="arrayHSupName" placeholder="请选择客户" v-model="hform.HSupName"
@@ -141,7 +141,7 @@
                    <view class="righton" v-show="!showHSupName">
                        <input name="HSupName" disabled v-model="hform.HSupName" placeholder="请选择客户" />
                    </view>
                </view>
                </view> -->
                <view class="form-item">
                    <view class="title">组织:</view>
                    <view class="righton">
pages/shengchanrukushengdan/form.vue
@@ -75,13 +75,13 @@
                        <input name="HSourceBillNo" disabled v-model="hform.HSourceBillNo" placeholder="请输入源单单号" />
                    </view>
                </view>
                <view class="form-item">
                <!-- <view class="form-item">
                    <view class="title">先进先出仓:</view>
                    <view class="right">
                        <uni-combox :candidates="arrayHWHName" placeholder="请选择" v-model="hform.HFIFOWHName"
                            @input="HFIFOWHNameChange"></uni-combox>
                    </view>
                </view>
                </view> -->
                <view class="form-item">
                    <view class="title">日期:</view>
                    <view class="right">
@@ -133,7 +133,7 @@
                            @input="HDeptNameChange"></uni-combox>
                    </view>
                </view>
                <view class="form-item">
                <!-- <view class="form-item">
                    <view class="title">客户:</view>
                    <view class="right" v-show="showHSupName">
                        <uni-combox :candidates="arrayHSupName" placeholder="请选择客户" v-model="hform.HSupName"
@@ -142,7 +142,7 @@
                    <view class="righton" v-show="!showHSupName">
                        <input name="HSupName" disabled v-model="hform.HSupName" placeholder="请选择客户" />
                    </view>
                </view>
                </view> -->
                <view class="form-item">
                    <view class="title">组织:</view>
                    <view class="righton">
pages/weiwailingliao/form.vue
@@ -133,13 +133,13 @@
                    </view>
                </view>
                <view class="form-item">
                    <view class="title">客户:</view>
                    <view class="title">供应商:</view>
                    <view class="right" v-show="showHSupName">
                        <uni-combox :candidates="arrayHSupName" placeholder="请选择客户" v-model="hform.HSupName"
                        <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="请选择客户" />
                        <input name="HSupName" disabled v-model="hform.HSupName" placeholder="请选择供应商" />
                    </view>
                </view>
                <view class="form-item">
@@ -661,17 +661,16 @@
            //获取客户数据
            getHSupList() {
                uni.request({
                    url: this.serverUrl + '/Gy_Customer/list',
                    url: this.serverUrl + '/WEBSController/GetSupplierList_Json',
                    data: {
                        sWhere: "",
                        user: uni.getStorageSync('HUserName'),
                        Organization: uni.getStorageSync('Organization')
                        Supplier: '',
                        HStockOrgID: this.hform.HStockOrgID
                    },
                    success: (res) => {
                        if (res.data.count == 1) {
                            this.HSupNameList = res.data.data
                            for (var i = 0; i < res.data.data.length; i++) {
                                this.arrayHSupName[i] = res.data.data[i].客户名称
                                this.arrayHSupName[i] = res.data.data[i]['HName']
                            }
                            this.$forceUpdate();
                        } else {
@@ -690,12 +689,12 @@
                    },
                });
            },
            //选择客户
            //选择
            HSupNameChange(e) {
                for (var i = 0; i < this.HSupNameList.length; i++) {
                    if (this.HSupNameList[i].客户名称 == e) {
                    if (this.HSupNameList[i]['HName'] == e) {
                        this.hform.HSupID = this.HSupNameList[i].HItemID
                        this.hform.HSupName = this.HSupNameList[i].客户名称
                        this.hform.HSupName = this.HSupNameList[i]['HName']
                    }
                }
            },