|
@@ -134,6 +134,7 @@
|
|
|
swiperCurrent: 0,
|
|
|
titleNViewBackground: '',
|
|
|
swiperLength: 0,
|
|
|
+ id:'',
|
|
|
goods: {
|
|
|
// id:"",
|
|
|
// contractNo:'',
|
|
@@ -161,8 +162,8 @@
|
|
|
onShow() {
|
|
|
},
|
|
|
onLoad(option) {
|
|
|
- // this.goods.id = option.id
|
|
|
- this.goods.contractNo = option.contractNo
|
|
|
+ this.id = option.id
|
|
|
+ this.goods.contractNo = option.contractNo
|
|
|
// this.goods.customer = option.customer
|
|
|
// this.goods.goodsName = option.goodsName
|
|
|
// this.goods.netWeight = option.netWeight
|
|
@@ -181,7 +182,7 @@
|
|
|
},
|
|
|
getList(){
|
|
|
console.log(15454)
|
|
|
- this.$api.doRequest('post','/tranCarInfo/api/confirmUnloading',this.goods).then(res => {
|
|
|
+ this.$api.doRequest('post','/tranCarInfo/api/confirmUnloading',{id:this.id}).then(res => {
|
|
|
console.log("调用接口")
|
|
|
that.sendDisabled = true
|
|
|
let sec = 60
|