|
@@ -89,6 +89,9 @@
|
|
console.log(options)
|
|
console.log(options)
|
|
this.type = options.type
|
|
this.type = options.type
|
|
that = this
|
|
that = this
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ onShow() {
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -113,6 +116,7 @@
|
|
}).then(res => {
|
|
}).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
this.dataList = res.data.records
|
|
this.dataList = res.data.records
|
|
|
|
+ this.$forceUpdate()
|
|
for (let i = 0; i < this.dataList.length; i++) {
|
|
for (let i = 0; i < this.dataList.length; i++) {
|
|
if (this.dataList[i].defaultShipment == 1) {
|
|
if (this.dataList[i].defaultShipment == 1) {
|
|
this.dataList[i].radiovalue = '默认装货'
|
|
this.dataList[i].radiovalue = '默认装货'
|
|
@@ -121,6 +125,7 @@
|
|
this.dataList[i].radiovalue = '默认卸货'
|
|
this.dataList[i].radiovalue = '默认卸货'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
}
|
|
}
|
|
|
|
|