| | |
| | | |
| | | <!-- 弹窗 --> |
| | | <!-- 修改数量 --> |
| | | <uni-popup ref="revise" background-color="#fff" > |
| | | <uni-popup ref="revise" background-color="#fff"> |
| | | <view class="revise-box"> |
| | | <view class="revise-box-top"> |
| | | <view class="color-block-blue"></view> |
| | |
| | | uni.showToast({title: '请添加商品', icon: "none", position: 'top'}); |
| | | return; |
| | | } |
| | | var combList = {} |
| | | var matList = [] |
| | | combList['locno'] = that.locno |
| | | combList['combMats'] = that.matList |
| | | matList['matnr'] = that.matList |
| | | console.log(JSON.stringify(combList)) |
| | | var combMats = [] |
| | | var combParam = {} |
| | | combParam['locno'] = that.locno |
| | | combParam['combMats'] = that.matList |
| | | uni.request({ |
| | | url: that.commonUrl + '/mobile/mat/onSale/auth', |
| | | data: { |
| | | combParam:JSON.stringify(combList) |
| | | }, |
| | | header: { 'token':uni.getStorageSync('token') }, |
| | | method:'GET', |
| | | data: JSON.stringify(combParam), |
| | | header: { 'token':uni.getStorageSync('token'),}, |
| | | method:'POST', |
| | | success(result) { |
| | | console.log(result) |
| | | |
| | | } |
| | | }) |
| | | }, |