#
whycq
2022-06-27 17c63ddd016876d846b6e8f9c74d54c0316f9ee9
#
3个文件已修改
8551 ■■■■■ 已修改文件
pages/basics/orderOut.vue 57 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
unpackage/dist/dev/app-plus/app-service.js 4259 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
unpackage/dist/dev/app-plus/app-view.js 4235 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/basics/orderOut.vue
@@ -118,35 +118,39 @@
                this.billNo = null
            },
            searchBillNo() {
                console.log(1)
                let that = this;
                uni.request({
                    url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + "/mobile/order/out/pakout/auth",
                    url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + "/orderDetl/list/auth",
                    header: {
                        // 'content-type':"application/x-www-form-urlencoded",
                        'content-type':"application/x-www-form-urlencoded",
                        'token':uni.getStorageSync('token')
                        },
                    data: {
                        staNo:102,
                        orderNo:20220622,
                        curr:1,
                        limit:10,
                        // typeCode:1,
                        order_no: that.billNo
                    },
                    method:"POST",
                    success(result) {
                        console.log(result)
                        // let res = result.data
                        // if (res.code === 200 ) {
                        //     that.matList = res.data.records
                        //     that.staNoSelect()
                        // } else if (res.code == 403) {
                        //     uni.showToast({title: res.msg, icon: "none", position: 'top'})
                        //     setTimeout(() => {
                        //         uni.reLaunch({
                        //             url: '../login/login'
                        //         });
                        //     }, 1000);
                        // } else {
                        //     uni.showToast({title: res.msg, icon: "none",position: 'top'})
                        // }
                        let res = result.data
                        if (res.code === 200 ) {
                            if (res.data) {
                                that.matList = res.data.records
                                that.staNoSelect()
                            } else {
                                that.matList = []
                            }
                        } else if (res.code == 403) {
                            uni.showToast({title: res.msg, icon: "none", position: 'top'})
                            setTimeout(() => {
                                uni.reLaunch({
                                    url: '../login/login'
                                });
                            }, 1000);
                        } else {
                            uni.showToast({title: res.msg, icon: "none",position: 'top'})
                        }
                    },
                })
            },
@@ -156,6 +160,7 @@
                    url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + "/available/take/site",
                    header: {'token':uni.getStorageSync('token')},
                    success(result) {
                        console.log(result)
                        let res = result.data
                        if (res.code === 200 ) {
                            that.sites = [];
@@ -195,18 +200,22 @@
                    locDetls: locDetls
                }
                console.log(param)
                return
                // return
                uni.request({
                    url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + "/plate/out/start",
                    url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + "/mobile/order/out/pakout/auth",
                    header: {
                        'token':uni.getStorageSync('token')},
                    data: JSON.stringify(param),
                    // data: JSON.stringify(param),
                    data: {
                            staNo: staNo,
                            orderNo: that.billNo
                        },
                    method:"POST",
                    success(result) {
                        console.log(result)
                        if (result.data.code === 200) {
                            uni.showToast({title: result.data.msg, icon: "none",position: 'top'})
                            that.reset()
                            that.resst()
                        } else {
                            uni.showToast({title: result.data.msg, icon: "none",position: 'top'})
                        }
unpackage/dist/dev/app-plus/app-service.js
Diff too large
unpackage/dist/dev/app-plus/app-view.js
Diff too large