| | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <!-- <view class="square-1"> |
| | | <view class="square-1"> |
| | | <view class="square-title" style="display: flex;"> |
| | | <view class="title-sign"><view class="sign"></view></view> |
| | | <view class="title-text" style="width: 200rpx;"><text>拥有者</text></view> |
| | |
| | | <uni-combox :candidates="ownerList" placeholder="请选择拥有者" v-model="owner"></uni-combox> |
| | | </view> |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | | <view class="square-1"> |
| | | <view class="square-title"> |
| | | <view class="title-sign"><view class="sign"></view></view> |
| | |
| | | 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 |
| | |
| | | data: JSON.stringify({ |
| | | barcode: that.barcode, |
| | | origin: that.origin, |
| | | owner: 1, |
| | | owner: that.owner, |
| | | combMats: that.matList |
| | | }), |
| | | method: 'POST', |
| | |
| | | data() { |
| | | return { |
| | | elements:[ |
| | | { |
| | | title: '下线打包', |
| | | name: 'offline', |
| | | color: 'blue', |
| | | cuIcon: 'forward' |
| | | }, |
| | | // { |
| | | // title: '下线打包', |
| | | // name: 'offline', |
| | | // color: 'blue', |
| | | // cuIcon: 'forward' |
| | | // }, |
| | | { |
| | | title: '委外入库', |
| | | name: 'outPakin', |
| | | color: 'blue', |
| | | cuIcon: 'copy' |
| | | }, |
| | | { |
| | | title: '入库通过档', |
| | | name: 'notificationFile', |
| | | color: 'blue', |
| | | cuIcon: 'copy' |
| | | }, |
| | | { |
| | | title: '出库确认', |
| | | name: 'checkout', |
| | | color: 'blue', |
| | | cuIcon: 'edit' |
| | | }, |
| | | { |
| | | title: '残次品', |
| | | name: 'bad', |
| | | color: 'blue', |
| | | cuIcon: 'delete' |
| | | }, |
| | | { |
| | | title: '库位盘点', |
| | | name: 'stockCheck', |
| | | color: 'blue', |
| | | cuIcon: 'safe' |
| | | }, |
| | | { |
| | | title: '换板绑定', |
| | | name: 'changePallet', |
| | | color: 'blue', |
| | | cuIcon: 'refresh' |
| | | }, |
| | | { |
| | | title: '组托入库', |
| | | name: 'pakin', |
| | | color: 'grey', |
| | | cuIcon: 'copy' |
| | | }, |
| | | { |
| | | title: '订单组托', |
| | | name: 'order', |
| | | color: 'grey', |
| | | cuIcon: 'goods' |
| | | }, |
| | | // { |
| | | // title: '入库通过档', |
| | | // name: 'notificationFile', |
| | | // color: 'blue', |
| | | // cuIcon: 'copy' |
| | | // }, |
| | | // { |
| | | // title: '出库确认', |
| | | // name: 'checkout', |
| | | // color: 'blue', |
| | | // cuIcon: 'edit' |
| | | // }, |
| | | // { |
| | | // title: '残次品', |
| | | // name: 'bad', |
| | | // color: 'blue', |
| | | // cuIcon: 'delete' |
| | | // }, |
| | | // { |
| | | // title: '库位盘点', |
| | | // name: 'stockCheck', |
| | | // color: 'blue', |
| | | // cuIcon: 'safe' |
| | | // }, |
| | | // { |
| | | // title: '换板绑定', |
| | | // name: 'changePallet', |
| | | // color: 'blue', |
| | | // cuIcon: 'refresh' |
| | | // }, |
| | | // { |
| | | // title: '组托入库', |
| | | // name: 'pakin', |
| | | // color: 'grey', |
| | | // cuIcon: 'copy' |
| | | // }, |
| | | // { |
| | | // title: '订单组托', |
| | | // name: 'order', |
| | | // color: 'grey', |
| | | // cuIcon: 'goods' |
| | | // }, |
| | | { |
| | | title: '退出登录', |
| | | name: 'logOut', |