chenhaozhe
2025-07-18 eee0fa628f3aa19a572ebbb9c725513bff74f544
完成 委外领料校验 采购入库校验 其他入库校验 委外补料校验
9个文件已修改
201 ■■■■ 已修改文件
pages/caigourukujiaoyan/form.vue 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/qitachukujiaoyan/detail.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/qitarukujiaoyan/form.vue 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/qitarukujiaoyan/table.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/shengchanbuliaojiaoyan/form.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/weiwaibuliaojiaoyan/form.vue 38 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/weiwaibuliaojiaoyan/table.vue 47 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/weiwailingliaojiaoyan/form.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/xiaoshouchukujiaoyan/form.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/caigourukujiaoyan/form.vue
@@ -75,6 +75,9 @@
                        <input name="HStockOrgName" disabled v-model="hform.HStockOrgName" />
                    </view>
                </view>
                <label class="checkbox" style="float: right;">
                    <checkbox :checked="hform.chkHBarflag" style="transform:scale(0.8)" disabled color="#4f81fc"/>条码核对
                </label>
            </view>
            <view v-if="tabs == 2">
                <view class="list" v-for="(item,index) in Materlist" :key="index">
@@ -200,7 +203,7 @@
                Materlist: [],
                hform: {
                    HBillType: 1206,
                    HBillType: 1201,
                    HBillerID: uni.getStorageSync('HBillerID'),
                    HRedBlueFlag: false,
@@ -217,7 +220,7 @@
                    HStockOrgName: uni.getStorageSync('Organization'),
                    HStockOrgID: uni.getStorageSync('OrganizationID'),
                    HSourceBarCodeCtl: "N", //是否进行源单对应条码核对('Y'为核对)
                    chkHBarflag: 1,
                    chkHBarflag: false,
                    HBarflag: 'Y',
                    HBarCode_B: '',
@@ -458,25 +461,26 @@
                    if (sHQty == "") {
                        sHQty = 0;
                    }
                    console.log("单据信息: ", this.hform)
                    uni.request({
                        url: this.serverUrl + '/WEBSController/Get_BarCode_Json',
                        url: this.serverUrl + '/WEBSController/get_CheckTypeByBarCode_BillCheck_Json',
                        data: {
                            sBarCode: sBarCode,
                            HInterID: this.hform.HInterID,
                            HBillID: this.hform.HInterID || 0,
                            HBillType: this.hform.HBillType,
                            HBillNo: this.hform.HBillNo,
                            HMaker: this.hform.HMaker,
                            HWhID: sHWHID,
                            HSPID: sHSPID,
                            HQty: sHQty,
                            HRedBlueFlag: this.hform.HRedBlueFlag,
                            SourceFlag: HSourceFlag,
                            HSourceBillNo: sSourceBillNo,
                            HSourceBillType: sSourceBillType,
                            // HRedBlueFlag: this.hform.HRedBlueFlag,
                            // SourceFlag: HSourceFlag,
                            // HSourceBillNo: sSourceBillNo,
                            // HSourceBillType: sSourceBillType,
                            HStockOrgID: this.hform.HStockOrgID,
                            HScanStyle: "",
                            HCustom1: "",
                            HCustom2: ""
                            // HScanStyle: "",
                            // HCustom1: "",
                            // HCustom2: ""
                        },
                        success: (res) => {
                            console.log('扫码返回', res.data);
@@ -943,5 +947,12 @@
                text-align: center;
            }
        }
        .checkbox{
            color: #888;
            font-size: 28rpx;
            margin-top: 30rpx;
            float: right;
        }
    }
</style>
pages/qitachukujiaoyan/detail.vue
@@ -75,6 +75,9 @@
                        <input name="HStockOrgName" disabled v-model="hform.HStockOrgName" />
                    </view>
                </view>
                <label class="checkbox" style="float: right;">
                    <checkbox :checked="hform.chkHBarflag" style="transform:scale(0.8)" disabled color="#4f81fc"/>条码核对
                </label>
            </view>
            <view v-if="tabs == 2">
                <view class="list" v-for="(item,index) in Materlist" :key="index">
@@ -217,7 +220,7 @@
                    HStockOrgName: uni.getStorageSync('Organization'),
                    HStockOrgID: uni.getStorageSync('OrganizationID'),
                    HSourceBarCodeCtl: "N", //是否进行源单对应条码核对('Y'为核对)
                    chkHBarflag: 1,
                    chkHBarflag: false,
                    HBarflag: 'Y',
                    HBarCode_B: '',
@@ -943,5 +946,12 @@
                text-align: center;
            }
        }
        .checkbox{
            color: #888;
            font-size: 28rpx;
            margin-top: 30rpx;
            float: right;
        }
    }
</style>
pages/qitarukujiaoyan/form.vue
@@ -75,6 +75,9 @@
                        <input name="HStockOrgName" disabled v-model="hform.HStockOrgName" />
                    </view>
                </view>
                <label class="checkbox" style="float: right;">
                    <checkbox :checked="hform.chkHBarflag" style="transform:scale(0.8)" disabled color="#4f81fc"/>条码核对
                </label>
            </view>
            <view v-if="tabs == 2">
                <view class="list" v-for="(item,index) in Materlist" :key="index">
@@ -208,7 +211,7 @@
                    HStockOrgName: uni.getStorageSync('Organization'),
                    HStockOrgID: uni.getStorageSync('OrganizationID'),
                    HSourceBarCodeCtl: "N", //是否进行源单对应条码核对('Y'为核对)
                    chkHBarflag: 1,
                    chkHBarflag: false,
                    HBarflag: 'Y',
                    HBarCode_B: '',
@@ -450,24 +453,24 @@
                        sHQty = 0;
                    }
                    uni.request({
                        url: this.serverUrl + '/WEBSController/Get_BarCode_Json',
                        url: this.serverUrl + '/WEBSController/get_CheckTypeByBarCode_BillCheck_Json',
                        data: {
                            sBarCode: sBarCode,
                            HInterID: this.hform.HInterID,
                            HBillID: this.hform.HInterID || 0,
                            HBillType: this.hform.HBillType,
                            HBillNo: this.hform.HBillNo,
                            HMaker: this.hform.HMaker,
                            HWhID: sHWHID,
                            HSPID: sHSPID,
                            HQty: sHQty,
                            HRedBlueFlag: this.hform.HRedBlueFlag,
                            SourceFlag: HSourceFlag,
                            HSourceBillNo: sSourceBillNo,
                            HSourceBillType: sSourceBillType,
                            // HRedBlueFlag: this.hform.HRedBlueFlag,
                            // SourceFlag: HSourceFlag,
                            // HSourceBillNo: sSourceBillNo,
                            // HSourceBillType: sSourceBillType,
                            HStockOrgID: this.hform.HStockOrgID,
                            HScanStyle: "",
                            HCustom1: "",
                            HCustom2: ""
                            // HScanStyle: "",
                            // HCustom1: "",
                            // HCustom2: ""
                        },
                        success: (res) => {
                            console.log('扫码返回', res.data);
@@ -758,7 +761,7 @@
                    success: (res) => {
                        if (res.confirm) {
                            console.log('用户点击确定');
                            uni.redirectTo({
                            uni.navigateBack({
                                url: '/pages/qitaruku/table'
                            })
                        } else if (res.cancel) {
@@ -934,5 +937,11 @@
                text-align: center;
            }
        }
        .checkbox{
            color: #888;
            font-size: 28rpx;
            margin-top: 30rpx;
            float: right;
        }
    }
</style>
pages/qitarukujiaoyan/table.vue
@@ -134,6 +134,11 @@
            this.changeTab(0)
            console.log(this.userInfo,uni.getStorageSync('HUserName'))
        },
        onShow() {
            this.CheckModRight()
            this.changeTab(0)
            console.log(this.userInfo,uni.getStorageSync('HUserName'))
        },
        onReachBottom: function() {
            this.page++
            setTimeout(() => {
pages/shengchanbuliaojiaoyan/form.vue
@@ -70,6 +70,9 @@
                        <input name="HStockOrgName" disabled v-model="hform.HStockOrgName" />
                    </view>
                </view>
                <label class="checkbox" style="float: right;">
                    <checkbox :checked="hform.chkHBarflag" style="transform:scale(0.8)" disabled color="#4f81fc"/>条码核对
                </label>
            </view>
            <view v-if="tabs == 2">
                <view class="list" v-for="(item,index) in Materlist" :key="index">
@@ -209,7 +212,7 @@
                    HStockOrgName: uni.getStorageSync('Organization'),
                    HStockOrgID: uni.getStorageSync('OrganizationID'),
                    HSourceBarCodeCtl: "N", //是否进行源单对应条码核对('Y'为核对)
                    chkHBarflag: 1,
                    chkHBarflag: false,
                    HBarflag: 'Y',
                    HBarCode_B: '',
@@ -935,5 +938,12 @@
                text-align: center;
            }
        }
        .checkbox{
            color: #888;
            font-size: 28rpx;
            margin-top: 30rpx;
            float: right;
        }
    }
</style>
pages/weiwaibuliaojiaoyan/form.vue
@@ -75,6 +75,9 @@
                        <input name="HStockOrgName" disabled v-model="hform.HStockOrgName" />
                    </view>
                </view>
                <label class="checkbox" style="float: right;">
                    <checkbox :checked="hform.chkHBarflag" style="transform:scale(0.8)" disabled color="#4f81fc"/>条码核对
                </label>
            </view>
            <view v-if="tabs == 2">
                <view class="list" v-for="(item,index) in Materlist" :key="index">
@@ -208,7 +211,7 @@
                    HStockOrgName: uni.getStorageSync('Organization'),
                    HStockOrgID: uni.getStorageSync('OrganizationID'),
                    HSourceBarCodeCtl: "N", //是否进行源单对应条码核对('Y'为核对)
                    chkHBarflag: 1,
                    chkHBarflag: false,
                    HBarflag: 'Y',
                    HBarCode_B: '',
@@ -450,24 +453,24 @@
                        sHQty = 0;
                    }
                    uni.request({
                        url: this.serverUrl + '/WEBSController/Get_BarCode_Json',
                        url: this.serverUrl + '/WEBSController/get_CheckTypeByBarCode_BillCheck_Json',
                        data: {
                            sBarCode: sBarCode,
                            HInterID: this.hform.HInterID,
                            HBillID: this.hform.HInterID || 0,
                            HBillType: this.hform.HBillType,
                            HBillNo: this.hform.HBillNo,
                            HMaker: this.hform.HMaker,
                            HWhID: sHWHID,
                            HSPID: sHSPID,
                            HQty: sHQty,
                            HRedBlueFlag: this.hform.HRedBlueFlag,
                            SourceFlag: HSourceFlag,
                            HSourceBillNo: sSourceBillNo,
                            HSourceBillType: sSourceBillType,
                            // HRedBlueFlag: this.hform.HRedBlueFlag,
                            // SourceFlag: HSourceFlag,
                            // HSourceBillNo: sSourceBillNo,
                            // HSourceBillType: sSourceBillType,
                            HStockOrgID: this.hform.HStockOrgID,
                            HScanStyle: "",
                            HCustom1: "",
                            HCustom2: ""
                            // HScanStyle: "",
                            // HCustom1: "",
                            // HCustom2: ""
                        },
                        success: (res) => {
                            console.log('扫码返回', res.data);
@@ -699,7 +702,7 @@
                        })
                        var sMainStr = JSON.stringify(this.hform);
                        uni.request({
                            url: this.serverUrl + 'WEBSController/set_SaveSellOutBill_BillCheck_Json',
                            url: this.serverUrl + '/WEBSController/set_SaveEntrustReplenishOutBill_BillCheck_Json',
                            method: 'POST',
                            dataType: "json",
                            data: {
@@ -716,7 +719,7 @@
                                            if (res.confirm) {
                                                console.log('用户点击确定');
                                                uni.redirectTo({
                                                    url: '/pages/shengchanlingliao/form?OperationType=1'
                                                    url: '/pages/weiwaibuliaojiaoyan/form?OperationType=1'
                                                })
                                            } else if (res.cancel) {
                                                console.log('用户点击取消');
@@ -758,8 +761,8 @@
                    success: (res) => {
                        if (res.confirm) {
                            console.log('用户点击确定');
                            uni.redirectTo({
                                url: '/pages/qitachukujiaoyan/qitachukujiaoyan'
                            uni.navigateBack({
                                url: '/pages/weiwaibuliaojiaoyan/table'
                            })
                        } else if (res.cancel) {
                            console.log('用户点击取消');
@@ -934,5 +937,12 @@
                text-align: center;
            }
        }
        .checkbox{
            color: #888;
            font-size: 28rpx;
            margin-top: 30rpx;
            float: right;
        }
    }
</style>
pages/weiwaibuliaojiaoyan/table.vue
@@ -34,7 +34,8 @@
        <view style="width: 100%;height: 16rpx;background-color: #e5e5e5;"></view>
        
        <view class="list" v-for="(item,index) in showList" :key="index" v-if="tabs==0">
            <uni-card :title="item.制单日期.substr(0,10)" :extra="item.单据号" style="margin: 10px;" @tap="showDetail = showDetail==index?-1:index">
            <uni-card :title="item.制单日期.substr(0,10)" :extra="item.单据号" style="margin: 10px;"
                @tap="showDetail = showDetail==index?-1:index">
                <view class="card-detail">
                    <view class="detail" v-if="item.制单人">
                        <text>制单人:</text>{{item.制单人}}
@@ -64,7 +65,8 @@
            </uni-card>
        </view>
        <view class="list" v-for="(item,index) in showList" :key="index" v-if="tabs==1">
            <uni-card :title="item.日期" :extra="item.单据号" style="margin: 10px;" @tap="showDetail = showDetail==index?-1:index">
            <uni-card :title="item.日期" :extra="item.单据号" style="margin: 10px;"
                @tap="showDetail = showDetail==index?-1:index">
                <view class="card-detail">
                    <view class="detail" v-if="item.制单人">
                        <text>制单人:</text>{{item.制单人}}
@@ -104,7 +106,9 @@
</template>
<script>
    import { getUserInfo } from "@/utils/auth.js";
    import {
        getUserInfo
    } from "@/utils/auth.js";
    export default {
        data() {
            return {
@@ -129,6 +133,12 @@
            }
        },
        onLoad() {
            // //用户模块权限判断
            // this.CheckModRight()
            // this.changeTab(0)
            // console.log(this.userInfo, uni.getStorageSync('HUserName'))
        },
        onShow() {
            //用户模块权限判断
            this.CheckModRight()
            this.changeTab(0)
@@ -300,7 +310,8 @@
                        if (res.confirm) {
                            console.log('用户点击确定');
                            uni.request({
                                url: this.serverUrl + '/WEBSController/DeleteTempBillList_BillCheck_Json',
                                url: this.serverUrl +
                                    '/WEBSController/DeleteTempBillList_BillCheck_Json',
                                data:{ 
                                    HInterID: item.HInterID,
                                    HBillNo: item.单据号,
@@ -344,7 +355,8 @@
                        if (res.confirm) {
                            console.log('用户点击确定');
                            uni.request({
                                url: this.serverUrl + '/WEBSController/set_DeleteICStockBillAndWMS_BillCheck_Json',
                                url: this.serverUrl +
                                    '/WEBSController/set_DeleteICStockBillAndWMS_BillCheck_Json',
                                data:{ 
                                    HInterID: item.HInterID,
                                    HBillNo: item.单据号,
@@ -388,6 +400,7 @@
        margin: 20rpx auto;
        margin-top: 90rpx;
    }
    .tabs{
        width: 100%;
        position: fixed;
@@ -395,6 +408,7 @@
        z-index: 9;
        display: flex;
        background-color: #e5e5e5;
        view{
            width: 50%;
            font-size: 30rpx;
@@ -402,17 +416,20 @@
            text-align: center;
            padding: 16rpx 0;
        }
        .on{
            color: #3a78ff;
            font-weight: bold;
            border-bottom: 3px solid #3a78ff;
        }
    }
    .buttons{
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 20rpx;
        button{
            border-radius: 50rpx;
            width: 180rpx;
@@ -420,79 +437,95 @@
            line-height: 66rpx;
            font-size: 28rpx;
        }
        .btn-a{
            background-color: #acacac;
            color: #fff;
        }
        .btn-b{
            background-color: #41a863;
            color: #fff;
        }
        .btn-c{
            background-color: #3a78ff;
            color: #fff;
        }
    }
    .form-item{
        display: flex;
        align-items: center;
        font-size: 28rpx;
        padding: 6rpx 0;
        .title{
            width: 180rpx;
            text{
                color: red;
                font-weight: bold;
            }
        }
        .right{
            width: 450rpx;
            border-radius: 22rpx;
            border: 1px solid #acacac;
        }
        .righton{
            width: 450rpx;
            border-radius: 22rpx;
            border: 1px solid #e4e4e4;
            background-color: #e4e4e4;
        }
        input{
            width: 100%;
            padding: 8rpx 20rpx;
            font-size: 30rpx;
        }
    }
    .list{
        width: 100%;
        .card-detail{
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            line-height: 120%;
            .detail{
                // width: 50%;
                font-size: 26rpx;
                margin-bottom: 12rpx;
                color: #555;
                margin-right: 20rpx;
                text{
                    color: #999;
                    font-size: 26rpx;
                }
            }
        }
        .more{
            color: #888;
            font-size: 26rpx;
            display: flex;
            border-top: 1px solid #eee;
            padding-top: 20rpx;
            .part{
                width: 50%;
                display: flex;align-items: center;justify-content: center;
                display: flex;
                align-items: center;
                justify-content: center;
            }
        }
    }
</style>
pages/weiwailingliaojiaoyan/form.vue
@@ -75,6 +75,10 @@
                        <input name="HStockOrgName" disabled v-model="hform.HStockOrgName" />
                    </view>
                </view>
                <label class="checkbox" style="float: right;">
                    <checkbox :checked="hform.chkHBarflag" style="transform:scale(0.8)" disabled color="#4f81fc"/>条码核对
                </label>
            </view>
            <view v-if="tabs == 2">
                <view class="list" v-for="(item,index) in Materlist" :key="index">
@@ -208,7 +212,7 @@
                    HStockOrgName: uni.getStorageSync('Organization'),
                    HStockOrgID: uni.getStorageSync('OrganizationID'),
                    HSourceBarCodeCtl: "N", //是否进行源单对应条码核对('Y'为核对)
                    chkHBarflag: 1,
                    chkHBarflag: false,
                    HBarflag: 'Y',
                    HBarCode_B: '',
@@ -935,5 +939,12 @@
                text-align: center;
            }
        }
        .checkbox{
            color: #888;
            font-size: 28rpx;
            margin-top: 30rpx;
            float: right;
        }
    }
</style>
pages/xiaoshouchukujiaoyan/form.vue
@@ -75,6 +75,9 @@
                        <input name="HStockOrgName" disabled v-model="hform.HStockOrgName" />
                    </view>
                </view>
                <label class="checkbox" style="float: right !important;">
                    <checkbox :checked="hform.chkHBarflag" style="transform:scale(0.8)" disabled color="#4f81fc"/>条码核对
                </label>
            </view>
            <view v-if="tabs == 2">
                <view class="list" v-for="(item,index) in Materlist" :key="index">
@@ -194,6 +197,7 @@
                    HBillType: 1205,
                    HBillerID: uni.getStorageSync('HBillerID'),
                    HRedBlueFlag: false,
                    chkHBarflag:false,
                    HBarCode: '',
                    HQty: '',
@@ -934,5 +938,11 @@
                text-align: center;
            }
        }
        .checkbox{
            color: #888;
            font-size: 28rpx;
            margin-top: 30rpx;
        }
    }
</style>