chenhaozhe
2025-09-09 d2499258556390979b7e8364235fbb8fed9468bc
调整收料通知单打印模板 调整收料通知单 条码生成页面 数量为可修改
5个文件已修改
84 ■■■■ 已修改文件
manifest.json 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages.json 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/huanyangdan/form.vue 31 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/quyangdan/form.vue 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/shouliaotongzhi/table_son.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
manifest.json
@@ -2,8 +2,8 @@
    "name" : "智云LMES",
    "appid" : "__UNI__B002F49",
    "description" : "",
    "versionName" : "1.0.67",
    "versionCode" : 167,
    "versionName" : "1.0.70",
    "versionCode" : 170,
    "transformPx" : false,
    /* 5+App特有相关 */
    "app-plus" : {
pages.json
@@ -724,6 +724,18 @@
            }
        },
        {
            "path": "pages/tiaomaguanli/table",
            "style": {
                "navigationBarTitleText": "条码管理"
            }
        },
        {
            "path": "pages/tiaomaguanli/table_son",
            "style": {
                "navigationBarTitleText": "条码生成"
            }
        },
        {
            "path": "pages/quyangdan/table",
            "style": {
                "navigationBarTitleText": "取样单",
pages/huanyangdan/form.vue
@@ -4,8 +4,7 @@
            <view class="form-item">
                <view class="title">条形码:</view>
                <view class="right">
                    <input type="text" name="HBarCode" id="HBarCode" v-model="HBarCode"
                        @confirm="getCode(HBarCode)" />
                    <input type="text" name="HBarCode" id="HBarCode" v-model="HBarCode" @confirm="getCode(HBarCode)" />
                </view>
                <view class="right-icon" @click="toScanCode">
                    <uni-icons color="#fff" type="scan" size="24"></uni-icons>
@@ -24,7 +23,7 @@
                </view>
            </view>
            <view class="form-item">
                <view class="title">还样员:</view>
                <view class="right">
@@ -47,7 +46,7 @@
                        v-model="hform.HShiftsName" @input="HShiftsNameChangeHandler"></uni-combox>
                </view>
            </view>
            <view class="form-item">
                <view class="title">单据日期:</view>
                <view class="right disabled">
@@ -247,9 +246,9 @@
            this.GetDepartmentList()
        },
        methods: {
            HDeptNameChangeHandler(){
            HDeptNameChangeHandler() {
                let index = this.HDeptNameArray.findIndex(item => item == e)
                if (index != -1) {
                    this.hform.HDeptID = this.HDeptNameArraySource[index]["HItemID"]
                    this.hform.HDeptName = this.HDeptNameArraySource[index]["HName"]
@@ -287,8 +286,8 @@
                    this.hform.HSourceID = this.HSourceNameArraySource[index]["HItemID"]
                    this.hform.HSourceName = this.HSourceNameArraySource[index]["生产资源"]
                }
                console.log('this.hform: ',this.hform);
                console.log('this.hform: ', this.hform);
            },
            // 获取生产资源
            getSourceList() {
@@ -490,7 +489,7 @@
                                HProcExchQty: data[0]['流转卡数量'],
                                HCenterID: data[0]['HCenterID'] || getUserInfo()['HWorkCenterID'],
                            })
                        }
                    }
                })
@@ -557,10 +556,11 @@
                        title: '条形码不能为空'
                    })
                }
                let sWhere = " and 单据号='" + HBarCode + "'";
                CommonUtils.doRequest2({
                    url: '/api/newBill/getHbarCodeDetail',
                    url: '/QC_TakeSampleCheckBill/Get_BackSampleList',
                    data: {
                        "sBillBarCode": HBarCode
                        "sWhere": sWhere
                    },
                    resFunction: (res) => {
                        let {
@@ -591,7 +591,7 @@
                                "HDeptID": data1[0].HWorkShopID, //车间ID
                                "HDeptName": data1[0].生产车间, //车间
                            })
                            uni.showToast({
                                icon: 'none',
                                title: msg
@@ -654,10 +654,10 @@
                        title: '生产资源未选择'
                    })
                }
                console.log('this.hform: ',this.hform);
                console.log('this.hform: ', this.hform);
                let sMainStr = JSON.stringify(this.hform)
                console.log('sMainStr: ',sMainStr);
                console.log('sMainStr: ', sMainStr);
                let sMainSub = sMainStr + ';' + this.refSav + ';' + getUserInfo()['Czymc'];
                CommonUtils.doRequest2({
                    method: 'POST',
@@ -697,7 +697,6 @@
</script>
<style lang="scss" scoped>
    .scroll-content {
        box-sizing: border-box;
        padding: 20rpx;
pages/quyangdan/form.vue
@@ -4,8 +4,7 @@
            <view class="form-item">
                <view class="title">条形码:</view>
                <view class="right">
                    <input type="text" name="HBarCode" id="HBarCode" v-model="HBarCode"
                        @confirm="getCode(HBarCode)" />
                    <input type="text" name="HBarCode" id="HBarCode" v-model="HBarCode" @confirm="getCode(HBarCode)" />
                </view>
                <view class="right-icon" @click="toScanCode">
                    <uni-icons color="#fff" type="scan" size="24"></uni-icons>
@@ -283,9 +282,9 @@
            this.GetDepartmentList()
        },
        methods: {
            HDeptNameChangeHandler(){
            HDeptNameChangeHandler() {
                let index = this.HDeptNameArray.findIndex(item => item == e)
                if (index != -1) {
                    this.hform.HDeptID = this.HDeptNameArraySource[index]["HItemID"]
                    this.hform.HDeptName = this.HDeptNameArraySource[index]["HName"]
@@ -323,8 +322,8 @@
                    this.hform.HSourceID = this.HSourceNameArraySource[index]["HItemID"]
                    this.hform.HSourceName = this.HSourceNameArraySource[index]["生产资源"]
                }
                console.log('this.hform: ',this.hform);
                console.log('this.hform: ', this.hform);
            },
            // 获取生产资源
            getSourceList() {
@@ -526,7 +525,7 @@
                                HProcExchQty: data[0]['流转卡数量'],
                                HCenterID: data[0]['HCenterID'] || getUserInfo()['HWorkCenterID'],
                            })
                        }
                    }
                })
@@ -592,11 +591,10 @@
                        title: '条形码不能为空'
                    })
                }
                let sWhere = " and 单据号='" + HBarCode + "'";
                CommonUtils.doRequest2({
                    url: '/QC_TakeSampleCheckBill/Get_BackSampleList',
                    url: '/api/newBill/getHbarCodeDetail',
                    data: {
                        "sWhere": sWhere
                        "sBillBarCode": HBarCode
                    },
                    resFunction: (res) => {
                        let {
@@ -627,7 +625,7 @@
                                "HDeptID": data1[0].HWorkShopID, //车间ID
                                "HDeptName": data1[0].生产车间, //车间
                            })
                            uni.showToast({
                                icon: 'none',
                                title: msg
@@ -690,10 +688,10 @@
                        title: '生产资源未选择'
                    })
                }
                console.log('this.hform: ',this.hform);
                console.log('this.hform: ', this.hform);
                let sMainStr = JSON.stringify(this.hform)
                console.log('sMainStr: ',sMainStr);
                console.log('sMainStr: ', sMainStr);
                let sMainSub = sMainStr + ';' + this.refSav + ';' + getUserInfo()['Czymc'];
                CommonUtils.doRequest2({
                    method: 'POST',
@@ -733,7 +731,6 @@
</script>
<style lang="scss" scoped>
    .scroll-content {
        box-sizing: border-box;
        padding: 20rpx;
pages/shouliaotongzhi/table_son.vue
@@ -33,8 +33,8 @@
            </view>
            <view class="form-item">
                <view class="title">收料数量:</view>
                <view class="righton">
                    <input v-model="baseInfo.HQty" disabled />
                <view class="right">
                    <input v-model="baseInfo.HQty" @blur="baseInfo.HMinQty = baseInfo.HQty"  />
                </view>
            </view>
            <view class="form-item">
@@ -324,7 +324,7 @@
                var UserName = uni.getStorageSync('HUserName');
                let sMainSub = sMainStr + ';' + HOrgType + ';' + HSourceBillType + ';' + HSelectBarCodeType + ';' +
                    CampanyName + ';' + UserName + ';' + HBarCodeNoStr + ';' + this.baseInfo.HFactory + ';' + this.baseInfo.HCoilNO + ';' + this.baseInfo.HFurnaceNO + '';
                uni.request({
                uni.request({
                    url: this.serverUrl + '/Sc_BarCode/SaveBarCode_NoGenerate',
                    method: 'POST',
                    data: {
@@ -402,8 +402,8 @@
ENDQR
T 24 0 0 30 供应商: ${this.baseInfo.HSupNameShort}
T 55 0 0 55 (Supplier)
T 24 0 200 30 客户编号: ${this.baseInfo.HFactory || ''}
T 55 0 200 55 (Consumer No.)
T 24 0 220 30 客户编号: ${this.baseInfo.HFactory || ''}
T 55 0 220 55 (Consumer No.)
T 24 0 0 75 物料编码: ${this.baseInfo.HMaterNumber}
T 55 0 0 100 (Material Number)
T 24 0 0 120 物料名称: ${this.baseInfo.HMaterName}