|
@@ -1119,23 +1119,30 @@
|
|
|
console.log(this.gridList, 111111111111)
|
|
|
},
|
|
|
outtypepicker(e, status) {
|
|
|
+ console.log(e,status)
|
|
|
if (status == 0) {
|
|
|
this.gridList.outType = this.multiSelector[e[0]].name
|
|
|
} else {
|
|
|
- if (this.multiSelector[e[0]].name == '他运') {
|
|
|
+ if (this.multiSelector1[e[0]].name == '他运') {
|
|
|
this.goodsdisabled = false
|
|
|
this.gridList.outType = this.multiSelector1[e[0]].name
|
|
|
} else {
|
|
|
this.gridList.outType = '自运'
|
|
|
this.goodsdisabled = true
|
|
|
- this.outType = this.multiSelector[e[0]].name
|
|
|
+ this.outType = this.multiSelector1[e[0]].name
|
|
|
this.gridList.contractNo = this.multiSelector1[i].contractNo
|
|
|
- for (let i = 0; i < this.contractNolist.length; i++) {
|
|
|
- if (this.gridList.contractNo == this.contractNolist[i].contractNo) {
|
|
|
- this.gridList.goodsName = this.outContractNo[q].goodsName
|
|
|
- this.gridList.goodsNameKey = this.outContractNo[q].goodsNameKey
|
|
|
- }
|
|
|
- }
|
|
|
+ // if (this.gridList.contractNo == this.contractNolist[i].contractNo) {
|
|
|
+ // this.gridList.goodsName = this.outContractNo[q].goodsName
|
|
|
+ // this.gridList.goodsNameKey = this.outContractNo[q].goodsNameKey
|
|
|
+ // }
|
|
|
+ this.$api.doRequest('get', '/contractManagementInfo/getInContract', {
|
|
|
+ contractNo: this.gridList.contractNo,
|
|
|
+ compId: uni.getStorageSync('pcUserInfo').compId
|
|
|
+ }).then(res => {
|
|
|
+ this.contractNolist = res.data.data
|
|
|
+ this.gridList.goodsName = this.contractNolist.goodsName
|
|
|
+ this.gridList.goodsNameKey = this.contractNolist.goodsNameKey
|
|
|
+ })
|
|
|
this.waterContentChange()
|
|
|
}
|
|
|
}
|