From c374c2573c98919b9f249de0ab404e2e3718a13e Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期三, 12 四月 2023 07:11:29 +0800 Subject: [PATCH] # --- pages/basics/outPakin.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/pages/basics/outPakin.vue b/pages/basics/outPakin.vue index 00ccb1f..d01d3c3 100644 --- a/pages/basics/outPakin.vue +++ b/pages/basics/outPakin.vue @@ -185,7 +185,11 @@ url: that.commonUrl + '/locOwner/list/auth', header: {'token':uni.getStorageSync('token')}, success(result) { + console.log(result); for (var i = 0; i < result.data.data.records.length; i++) { + if(result.data.data.records[i].id == 1){ + break + } that.ownerList.push(result.data.data.records[i].owner) } that.ownerList2 = result.data.data.records @@ -227,7 +231,7 @@ data: JSON.stringify({ barcode: that.barcode, origin: that.origin, - owner: that.ownerId, + owner: that.owner, combMats: that.matList }), method: 'POST', @@ -246,6 +250,7 @@ that.barcode = ''; that.matList = ''; that.matList = []; + that.owner = ''; that.barcodeFocuss(); } else if (res.code == 403) { uni.showToast({title: res.msg, icon: "none", position: 'top'}) -- Gitblit v1.9.1