zrg
2026-04-02 696b276f02782fd2bd8a88e4c40f911a4d8aa194
Merge branch 'Dev' of http://101.37.171.70:10101/r/~jhz/STUWMS into Dev
7个文件已修改
320 ■■■■■ 已修改文件
locale/zh-Hans.json 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/MJGL/SB_EquipICMOTechParamBill/SB_EquipICMOTechParamBillEdit.vue 38 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/MJGL/mujulingliaochukudan/MouldProdOutBill.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/ZLGL/QuYangHuangYang/QC_TakeSampleCheckBill/QC_TakeSampleCheckBill.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/ZLGL/QuYangHuangYang/QC_TakeSampleCheckBill/QC_TakeSampleCheckBillList.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/tab4.vue 68 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/xiaoshoutuihuo/ICStockBillMain.vue 199 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
locale/zh-Hans.json
@@ -34,6 +34,11 @@
        "HSourceBillType1": "采购订单@1101",
        "HSourceBillType2": "手工录入@-1"
    },
    "Kf_SellOutBackBill_PDA": {
        "HSourceBillType0": "退货通知单@1403",
        "HSourceBillType1": "销售订单@1401",
        "HSourceBillType2": "手工录入@-1"
    },
    "Gy": {
        "HBarCode": "条码",
        "HBarCode_Placeholder": "请扫描(或输入)条码",
pages/MJGL/SB_EquipICMOTechParamBill/SB_EquipICMOTechParamBillEdit.vue
@@ -14,56 +14,56 @@
            }">
                <view class="form-item">
                    <view class="title">源单类型:</view>
                    <zxz-uni-data-select class="right" :localdata="[{value: '3772', key: '工序流转卡'}]" dataKey="key"
                    <zxz-uni-data-select class="righton" disabled :localdata="[{value: '3772', key: '工序流转卡'}]" dataKey="key"
                        dataValue="value" v-model="hform.HMainSourceBillType">
                    </zxz-uni-data-select>
                </view>
                <view class="form-item">
                    <view class="title">源单单号:</view>
                    <view class="right">
                        <input type="text" v-model="hform.HMainSourceBillNo" />
                    <view class="righton">
                        <input type="text" disabled v-model="hform.HMainSourceBillNo" />
                    </view>
                </view>
                <view class="form-item">
                    <view class="title">流转卡号:</view>
                    <view class="right">
                        <input type="text" v-model="hform.HProcExchBillNo" />
                    <view class="righton">
                        <input type="text" disabled  v-model="hform.HProcExchBillNo" />
                    </view>
                </view>
                <view class="form-item">
                    <view class="title">生产订单号:</view>
                    <view class="right">
                        <input v-model="hform.HICMOBillNo" />
                    <view class="righton">
                        <input disabled  v-model="hform.HICMOBillNo" />
                    </view>
                </view>
                <view class="form-item">
                    <view class="title">工序号:</view>
                    <view class="right">
                        <input v-model="hform.HProcNo" />
                    <view class="righton">
                        <input disabled  v-model="hform.HProcNo" />
                    </view>
                </view>
                <view class="form-item">
                    <view class="title">物料代码:</view>
                    <view class="right">
                        <input v-model="hform.HMaterNumber" />
                    <view class="righton">
                        <input disabled  v-model="hform.HMaterNumber" />
                    </view>
                </view>
                <view class="form-item">
                    <view class="title">物料名称:</view>
                    <view class="right">
                        <input v-model="hform.HMaterName" />
                    <view class="righton">
                        <input  disabled v-model="hform.HMaterName" />
                    </view>
                </view>
                <view class="form-item">
                    <view class="title">规格型号:</view>
                    <view class="right">
                        <input v-model="hform.HMaterModel" />
                    <view class="righton">
                        <input  disabled v-model="hform.HMaterModel" />
                    </view>
                </view>
                <view class="form-item">
                    <view class="title">工序:</view>
                    <view class="right">
                        <input v-model="hform.HProcName" />
                    <view class="righton">
                        <input disabled  v-model="hform.HProcName" />
                    </view>
                </view>
                <view class="form-item">
@@ -86,8 +86,8 @@
                </view>
                <view class="form-item">
                    <view class="title">生产资源:</view>
                    <view class="right">
                        <input v-model="hform.HSourceName" />
                    <view class="righton">
                        <input disabled  v-model="hform.HSourceName" />
                    </view>
                </view>
                <view class="form-item">
pages/MJGL/mujulingliaochukudan/MouldProdOutBill.vue
@@ -264,6 +264,12 @@
                    HMouldName_B: '',
                    HMouldID_B: '',
                    HMouldCount_B: '',
                    HExplanation: "",
                    HRemark: "",
                    HInnerBillNo: "",
                    HMainSourceBillNo: "",
                }
            }
        },
pages/ZLGL/QuYangHuangYang/QC_TakeSampleCheckBill/QC_TakeSampleCheckBill.vue
@@ -69,7 +69,7 @@
                </view>
            </view>
            <view class="form-item">
                <view class="title">{{ $t("QC_TakeSampleCheckBill.HSourceName") == "QC_TakeSampleCheckBill.HSourceName" ? "生产资源:" : $t("QC_TakeSampleCheckBill.HSourceName") }}</view>
                <view class="title required">{{ $t("QC_TakeSampleCheckBill.HSourceName") == "QC_TakeSampleCheckBill.HSourceName" ? "生产资源:" : $t("QC_TakeSampleCheckBill.HSourceName") }}</view>
                <view class="right">
                    <uni-combox :candidates="HSourceNameArray" name="HSourceName" id="HSourceName" :placeholder="$t('QC_TakeSampleCheckBill.HSourceName_Placeholder') == 'QC_TakeSampleCheckBill.HSourceName_Placeholder' ? '请选择生产资料' : $t('QC_TakeSampleCheckBill.HSourceName_Placeholder')" v-model="hform.HSourceName" @input="HSourceNameChangeHandler"></uni-combox>
                </view>
pages/ZLGL/QuYangHuangYang/QC_TakeSampleCheckBill/QC_TakeSampleCheckBillList.vue
@@ -305,7 +305,7 @@
            // 新增取样单
            onAddClickHandler() {
                uni.navigateTo({
                    url: "/pages/quyangdan/TakeSampleCheckBill?operationType=0"
                    url: "/pages/ZLGL/QuYangHuangYang/QC_TakeSampleCheckBill/QC_TakeSampleCheckBill?operationType=0"
                })
            },
            Xt_FistCheck(item){
pages/index/tab4.vue
@@ -263,42 +263,42 @@
        },
        methods: {
            // 根据模块获取未处理消息条数
            // async getMessageIdentifierCount(menuListName) {
            //     try {
            //         let res = await CommonUtils.doRequest2Async({
            //             url: '/Web/getMessageIdentified',
            //             data: {
            //                 user: getUserInfo()["HEmpName"],
            //                 moduleName: menuListName
            //             }
            //         })
            //         let {
            //             data,
            //             count,
            //             Message
            //         } = res.data
            //         if (count == 1) {
            //             let retVal = Array.from(data).reduce((acc, item) => {
            //                 acc[item['moduleName']] = item.count
            //                 return acc
            //             }, {})
            async getMessageIdentifierCount(menuListName) {
                try {
                    let res = await CommonUtils.doRequest2Async({
                        url: '/Web/getMessageIdentified',
                        data: {
                            user: getUserInfo()["HEmpName"],
                            moduleName: menuListName
                        }
                    })
                    let {
                        data,
                        count,
                        Message
                    } = res.data
                    if (count == 1) {
                        let retVal = Array.from(data).reduce((acc, item) => {
                            acc[item['moduleName']] = item.count
                            return acc
                        }, {})
            
            //             return {
            //                 code: 1,
            //                 msg: Message,
            //                 data: retVal
            //             }
            //         } else {
            //             return {
            //                 code: 0,
            //                 msg: Message,
            //                 data: []
            //             }
            //         }
            //     } catch (err) {
                        return {
                            code: 1,
                            msg: Message,
                            data: retVal
                        }
                    } else {
                        return {
                            code: 0,
                            msg: Message,
                            data: []
                        }
                    }
                } catch (err) {
            
            //     }
            // },
                }
            },
            judgeHidden() {
                return process.env.NODE_ENV === 'development'
            },
pages/xiaoshoutuihuo/ICStockBillMain.vue
@@ -20,15 +20,16 @@
            <view class="form-item">
                <view class="title">{{$t("Gy.HWHName")}}:</view>
                <view class="right">
                    <uni-combox :candidates="arrayHWHName" :placeholder="$t('Gy.HWHName_Placeholder')" v-model="hform.HWHName"
                        @input="HWHNameChange"></uni-combox>
                    <uni-combox :candidates="arrayHWHName" :placeholder="$t('Gy.HWHName_Placeholder')"
                        v-model="hform.HWHName" @input="HWHNameChange"></uni-combox>
                </view>
            </view>
            <view class="form-item">
                <view class="title">{{$t("Gy.HStockPlaceName")}}:</view>
                <view class="right" v-show="showHStockPlaceName">
                    <uni-combox :candidates="HStockPlaceNameListComputed" :placeholder="$t('Gy.HStockPlaceName_Placeholder')"
                        v-model="hform.HStockPlaceName" @input="HStockPlaceNameChange" @confirm="HStockPlaceNameScan"></uni-combox>
                    <uni-combox :candidates="HStockPlaceNameListComputed"
                        :placeholder="$t('Gy.HStockPlaceName_Placeholder')" v-model="hform.HStockPlaceName"
                        @input="HStockPlaceNameChange" @confirm="HStockPlaceNameScan"></uni-combox>
                </view>
                <view class="righton" v-show="!showHStockPlaceName"><input v-model="hform.HStockPlaceName"
                        :placeholder="$t('Gy.OperationDisabled')" /></view>
@@ -61,13 +62,15 @@
                    <view class="title">{{$t("Gy.HMainSourceBillNo")}}:</view>
                    <view class="right" style="width: 380rpx;" v-show="showHSourceBillNo">
                        <input v-model="hform.HSourceBillNo" :focus="HSourceBillNoFocus"
                            @confirm="onHSourceBillNoConfirmHandler" :placeholder="$t('Gy.HMainSourceBillNo_Placeholder')" />
                            @confirm="onHSourceBillNoConfirmHandler"
                            :placeholder="$t('Gy.HMainSourceBillNo_Placeholder')" />
                    </view>
                    <uni-icons v-show="showHSourceBillNo" type="scan"
                        style="margin-left: 10rpx;background-color: #3A78FF;padding: 6rpx;color: #fff;border-radius: 100%;"
                        size="20" @click="toScanCodeA()"></uni-icons>
                    <view class="righton" v-show="!showHSourceBillNo">
                        <input name="HSourceBillNo" disabled v-model="hform.HSourceBillNo" :placeholder="$t('Gy.HMainSourceBillNo_Placeholder')" />
                        <input name="HSourceBillNo" disabled v-model="hform.HSourceBillNo"
                            :placeholder="$t('Gy.HMainSourceBillNo_Placeholder')" />
                    </view>
                </view>
                <view class="form-item">
@@ -107,22 +110,22 @@
                <view class="form-item">
                    <view class="title">{{$t("Gy.HKeeperName")}}:</view>
                    <view class="right">
                        <uni-combox :candidates="arrayHEmpName" :placeholder="$t('Gy.HKeeperName_Placeholder')" v-model="hform.HKeeperName"
                            @input="HKeeperNameChange"></uni-combox>
                        <uni-combox :candidates="arrayHEmpName" :placeholder="$t('Gy.HKeeperName_Placeholder')"
                            v-model="hform.HKeeperName" @input="HKeeperNameChange"></uni-combox>
                    </view>
                </view>
                <view class="form-item">
                    <view class="title">{{$t("Gy.HSecManagerName")}}:</view>
                    <view class="right">
                        <uni-combox :candidates="arrayHEmpName" :placeholder="$t('Gy.HSecManagerName_Placeholder')" v-model="hform.HSecManagerName"
                            @input="HSecManagerNameChange"></uni-combox>
                        <uni-combox :candidates="arrayHEmpName" :placeholder="$t('Gy.HSecManagerName_Placeholder')"
                            v-model="hform.HSecManagerName" @input="HSecManagerNameChange"></uni-combox>
                    </view>
                </view>
                <view class="form-item">
                    <view class="title">{{$t("Gy.HDeptName")}}:</view>
                    <view class="right">
                        <uni-combox :candidates="arrayHDeptName" :placeholder="$t('Gy.HDeptName_Placeholder')" v-model="hform.HDeptName"
                            @input="HDeptNameChange"></uni-combox>
                        <uni-combox :candidates="arrayHDeptName" :placeholder="$t('Gy.HDeptName_Placeholder')"
                            v-model="hform.HDeptName" @input="HDeptNameChange"></uni-combox>
                    </view>
                </view>
                <view class="form-item">
@@ -147,25 +150,14 @@
                <view class="list" v-for="(item,index) in Materlist" :key="index">
                    <uni-card :title="item.物料名称" :extra="item.物料代码" style="margin: 10px;" @tap="delMater(item)">
                        <view class="card-detail">
                            <view class="detail">
                                <text>源单单号:</text>{{item.源单单号}}
                            </view>
                            <view class="detail">
                                <text>源单数量:</text>{{item.源单数量}}
                            </view>
                            <view class="detail">
                                <text>数量:</text>{{item.数量}}
                            </view>
                            <view class="detail">
                                <text>条码个数:</text>{{item.条码个数}}
                            </view>
                            <view class="detail" v-if="item.规格型号">
                                <text>规格型号:</text>{{item.规格型号}}
                            </view>
                            <view class="detail" v-if="item.辅助属性">
                                <text>辅助属性:</text>{{item.辅助属性}}
                            </view>
                            <template v-for="(HBillField, index) in HFieldList">
                                <view class="detail" v-if="HBillField.ColmType == 'DateTime'">
                                    <text>{{ $t(`${HModName}.${HBillField.ColmCols}`) }}:</text>{{ item[HBillField.ColmCols] ? dayjs(item[HBillField.ColmCols]).format("YYYY-MM-DD HH:mm:ss") : "" }}
                                </view>
                                <view class="detail" v-else>
                                    <text>{{ $t(`${HModName}.${HBillField.ColmCols}`) }}:</text>{{ item[HBillField.ColmCols] }}
                                </view>
                            </template>
                            <!-- 兴达客户 功能 -->
                            <view class="detail" v-if="materMeta[0].HWHName && /兴达/.test(hform.HStockOrgName
                            )">
@@ -179,55 +171,55 @@
            <view v-if="tabs == 3">
                <view class="form-item">
                    <view class="title">条码:</view>
                    <view class="title">{{$t("Gy.HBarCode_B")}}:</view>
                    <view class="righton">
                        <input name="HBarCode_B" disabled v-model="hform.HBarCode_B" />
                    </view>
                </view>
                <view class="form-item">
                    <view class="title">物料:</view>
                    <view class="title">{{$t("Gy.HMaterName_B")}}:</view>
                    <view class="righton">
                        <input disabled v-model="hform.HMaterName_B" />
                    </view>
                </view>
                <view class="form-item">
                    <view class="title">规格:</view>
                    <view class="title">{{$t("Gy.HMaterModel_B")}}:</view>
                    <view class="righton">
                        <input disabled v-model="hform.HMaterModel_B" />
                    </view>
                </view>
                <view class="form-item">
                    <view class="title">批次:</view>
                    <view class="title">{{$t("Gy.HBatchNo_B")}}:</view>
                    <view class="righton">
                        <input disabled v-model="hform.HBatchNo_B" />
                    </view>
                </view>
                <view class="form-item">
                    <view class="title">单位:</view>
                    <view class="title">{{$t("Gy.HUnitName_B")}}:</view>
                    <view class="righton">
                        <input disabled v-model="hform.HUnitName_B" />
                    </view>
                </view>
                <view class="form-item">
                    <view class="title">数量:</view>
                    <view class="title">{{$t("Gy.HQty_B")}}:</view>
                    <view class="righton">
                        <input disabled v-model="hform.HQty_B" />
                    </view>
                </view>
                <view class="form-item">
                    <view class="title">容量:</view>
                    <view class="title">{{$t("Gy.HTMQty_B")}}:</view>
                    <view class="righton">
                        <input disabled v-model="hform.HTMQty_B" />
                    </view>
                </view>
                <view class="form-item">
                    <view class="title">仓库:</view>
                    <view class="title">{{$t("Gy.HWHName_B")}}:</view>
                    <view class="righton">
                        <input disabled v-model="hform.HWHName_B" />
                    </view>
                </view>
                <view class="form-item">
                    <view class="title">仓位:</view>
                    <view class="title">{{$t("Gy.HSPName_B")}}:</view>
                    <view class="righton">
                        <input disabled v-model="hform.HSPName_B" />
                    </view>
@@ -235,10 +227,10 @@
            </view>
            <view class="bottom-btn">
                <button class="btn-a" size="mini" @tap="submit">提交</button>
                <button class="btn-a" size="mini" @tap="submit">{{$t("Gy.submit")}}</button>
                <view style="flex: 1;"></view>
                <button class="btn-a" size="mini" @tap="addNew">新增</button>
                <button class="btn-c" size="mini" @tap="goBack">退出</button>
                <button class="btn-a" size="mini" @tap="addNew">{{$t("Gy.addNew")}}</button>
                <button class="btn-c" size="mini" @tap="goBack">{{$t("Gy.goBack")}}</button>
            </view>
        </view>
        <BarCodePopupVue ref="barcodePopup"></BarCodePopupVue>
@@ -253,7 +245,9 @@
        getUserStockRelation
    } from '../../utils/userRelationManager';
    import BarCodePopupVue from "../../components/BarCodePopup/BarCodePopup.vue";
    import { CommonUtils } from '../../utils/common';
    import {
        CommonUtils
    } from '../../utils/common';
    export default {
        components: {
            BarCodePopupVue
@@ -270,6 +264,7 @@
        },
        data() {
            return {
                CommonUtils,
                userInfo: getUserInfo(),
                serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
                HModName: 'Kf_SellOutBackBill_PDA',
@@ -289,6 +284,7 @@
                tabs: 0,
                HMainSourceBillType: '退货通知单',
                arrayHMainSourceBillType: ['退货通知单', '销售订单', '手工录入'],
                arrayHMainSourceBillValue: [1403, 1401, -1],
                linterid: '',
                HBillNo: '',
@@ -311,6 +307,7 @@
                Materlist: [],
                materMeta: [],
                HFieldList: [], // 字段列表
                hform: {
                    HBillType: 1247,
                    HBillerID: uni.getStorageSync('HBillerID'),
@@ -371,6 +368,7 @@
            this.getHDeptList()
            this.getRelationStore()
            this.GetSourceBillType()
        },
        methods: {
            async HWHNameScan(e) {
@@ -390,7 +388,7 @@
                // 扫描仓位码
                console.log('仓位码: ', e);
                let index = this.HStockPlaceNameList.findIndex(elem => elem['条码编号'] == e.trim())
               // 不先置空的话,数据再次扫描相同的仓位码 不会触发组件内的刷新
                // 不先置空的话,数据再次扫描相同的仓位码 不会触发组件内的刷新
                this.hform.HStockPlaceID = 0
                this.hform.HStockPlaceName = ''
                await this.$nextTick()
@@ -414,6 +412,58 @@
                        title: err
                    })
                }
            },
            async GetSourceBillType() {
                CommonUtils.doRequest2({
                    url: '/Web/GetHSourceBillTypeByBillType',
                    data: {
                        HBillType: this.hform.HBillType,
                        Num: 2
                    },
                    resFunction: (res) => {
                        let {
                            data,
                            count,
                            Message
                        } = res.data
                        if (count == 1) {
                            // console.log('data: ', data);
                            if (data.length == 0) {
                                // 数据库中没有配置,默认使用本地
                                for (let i = 0; i < this.HMainSourceBillType; i++) {
                                    let transed = this.$t(`${this.HModName}.HSourceBillType${i}`).split(
                                        "@")
                                    this.arrayHMainSourceBillType.push(transed[0])
                                    this.arrayHMainSourceBillValue.push(transed[1])
                                }
                                return
                            }
                            this.arrayHMainSourceBillType = []
                            this.arrayHMainSourceBillValue = []
                            let i
                            for (i = 0; i < data.length; i++) {
                                let tranItem = this.$t(`${this.HModName}.HSourceBillType${i}`).split(
                                    "@")
                                this.arrayHMainSourceBillType.push(tranItem[0])
                                this.arrayHMainSourceBillValue.push(tranItem[1])
                            }
                            let trans = (this.$t(`${this.HModName}.HSourceBillType${i}`)).split("@")
                            this.arrayHMainSourceBillType.push(trans[0])
                            this.arrayHMainSourceBillValue.push(trans[1])
                            this.HMainSourceBillType = this.arrayHMainSourceBillType[0]
                            this.hform.HMainSourceBillType = this.arrayHMainSourceBillValue[0]
                        } else {
                            // 数据库中没有配置,则使用本地的配置
                            for (let i = 0; i < this.HMainSourceBillType; i++) {
                                let transed = this.$t(`${this.HModName}.HSourceBillType${i}`).split("@")
                                this.arrayHMainSourceBillType.push(transed[0])
                                this.arrayHMainSourceBillValue.push(transed[1])
                            }
                        }
                    }
                })
            },
            async getRelationStore() {
                let {
@@ -522,7 +572,7 @@
                            for (var i = 0; i < res.data.data.length; i++) {
                                this.arrayHWHName[i] = res.data.data[i].仓库名称
                            }
                            this.HWHNameChange(getUserInfo()["HWhName"])
                        } else {
                            uni.showToast({
@@ -646,15 +696,11 @@
            },
            //选择源单类型
            HMainSourceBillTypeChange(e) {
                this.HMainSourceBillType = this.arrayHMainSourceBillType[e.detail.value]
                if (this.HMainSourceBillType == '退货通知单') {
                    this.hform.HMainSourceBillType = 1403
                    this.getHYDList()
                } else if (this.HMainSourceBillType == '销售订单') {
                    this.hform.HMainSourceBillType = 1401
                    this.getHYDList()
                } else {
                    this.hform.HMainSourceBillType = -1
                let index = e.detail.value
                if (index != -1) {
                    this.HMainSourceBillType = this.arrayHMainSourceBillType[index]
                    this.hform.HMainSourceBillType = this.arrayHMainSourceBillValue[index]
                    // this.showHMainSourceBillType = false
                    this.getHYDList()
                }
            },
@@ -1017,17 +1063,11 @@
                                this.hform.HSourceBillNo = data.hSourceBillNoField
                                //获取源单类型、源单单号
                                this.hform.HMainSourceBillType = data.hSourceBillTypeField
                                if (data.hSourceBillTypeField == "1403") {
                                    this.HMainSourceBillType = '退货通知单'
                                    this.hform.HMainSourceBillType = 1403
                                    this.showHMainSourceBillType = false
                                } else if (data.hSourceBillTypeField == "1401") {
                                    this.HMainSourceBillType = '销售订单'
                                    this.hform.HMainSourceBillType = 1401
                                    this.showHMainSourceBillType = false
                                } else {
                                    this.HMainSourceBillType = '手工录入'
                                    this.hform.HMainSourceBillType = -1
                                let index = this.arrayHMainSourceBillValue.findIndex(e => e == data
                                    .hSourceBillTypeField)
                                if (index != -1) {
                                    this.HMainSourceBillType = this.arrayHMainSourceBillType[index]
                                    this.hform.HMainSourceBillType = data.hSourceBillTypeField
                                    this.showHMainSourceBillType = false
                                }
                                if (data.hMulSourceFlagField == 0) {
@@ -1057,19 +1097,7 @@
                                        this.hform.HMainSourceBillType = data.hSourceBillTypeField
                                        this.showHMainSourceBillType = false
                                    }
                                    // if (data.hSourceBillTypeField == "1103") {
                                    //     this.HMainSourceBillType = '收料通知单'
                                    //     this.hform.HMainSourceBillType = 1103
                                    //     this.showHMainSourceBillType = false
                                    // } else if (data.hSourceBillTypeField == "1102") {
                                    //     this.HMainSourceBillType = '采购订单'
                                    //     this.hform.HMainSourceBillType = 1102
                                    //     this.showHMainSourceBillType = false
                                    // } else {
                                    //     this.HMainSourceBillType = '手工录入'
                                    //     this.hform.HMainSourceBillType = -1
                                    //     this.showHMainSourceBillType = false
                                    // }
                                    if (data.hMulSourceFlagField == 0) {
                                        this.showHSourceBillNo = false
                                    }
@@ -1254,11 +1282,22 @@
                    },
                    success: (res) => {
                        console.log('物料', res.data)
                        if (res.data.count == 1) {
                            let list = res.data.list
                            var data = res.data.data
                            this.materMeta = data.BarCodeDetailslist
                            this.Materlist = data.Materlist
                            this.HFieldList = CommonUtils.fieldListFilterRole({
                                FieldList: list,
                                ExcludeKeys: ["物料名称", "物料代码"],
                            }).data
                            
                            console.log('字段列表: ',CommonUtils.fieldListFilterRole({
                                FieldList: list,
                                ExcludeKeys: ["物料名称", "物料代码"],
                            }).data);
                            if (/兴达/.test(uni.getStorageSync("Organization"))) {
                                // 兴达客户 带出 仓库
                                console.log("兴达带出默认仓库")
@@ -1529,7 +1568,7 @@
                                icon: 'none'
                            })
                        }
                        // uni.request({
                        //     url: this.serverUrl + '/WEBSController/set_SaveSellOutBackBill_Json',
                        //     method: 'POST',