|
|
@@ -19,11 +19,11 @@
|
|
|
<radio-group class="tui-input" @change="locationChange">
|
|
|
<label class="list" for="jdLink">
|
|
|
<radio id="jdLink" value="0" :checked="form.location == 0" style="transform:scale(0.7,0.7)" />
|
|
|
- <span class="checkbox-text">基地</span>
|
|
|
+ <span class="checkbox-text">上游</span>
|
|
|
</label>
|
|
|
<label class="list" for="localLink">
|
|
|
<radio id="localLink" value="1" :checked="form.location == 1" style="transform:scale(0.7,0.7)" />
|
|
|
- <span class="checkbox-text">本地(外采)</span>
|
|
|
+ <span class="checkbox-text">隔壁</span>
|
|
|
</label>
|
|
|
</radio-group>
|
|
|
</tui-list-cell>
|
|
|
@@ -78,16 +78,14 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
confirmFn() {
|
|
|
- uni.showLoading({
|
|
|
- title:"加载中..."
|
|
|
- })
|
|
|
+ uni.showLoading({mask:true})
|
|
|
ghsAdd(this.form).then(res => {
|
|
|
- uni.setStorageSync('newGhs', res.data);
|
|
|
+ uni.setStorageSync('newGhs', res.data)
|
|
|
uni.hideLoading()
|
|
|
setTimeout(() => {
|
|
|
- this.$util.pageTo(1);
|
|
|
- }, 1000);
|
|
|
- }).catch(err => {})
|
|
|
+ this.$util.pageTo(1)
|
|
|
+ }, 1000)
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|