|
@@ -126,7 +126,7 @@
|
|
|
</a-col>
|
|
|
<a-col :md="6" :sm="24" style="margin-bottom: 10px;">
|
|
|
<a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="storeTransferOutList-refresh">查询</a-button>
|
|
|
- <a-button style="margin-left: 8px" @click="resetSearchForm" :disabled="disabled" id="storeTransferOutList-reset">重置</a-button>
|
|
|
+ <a-button style="margin-left: 8px" @click="resetSearchForm(0)" :disabled="disabled" id="storeTransferOutList-reset">重置</a-button>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
</a-form>
|
|
@@ -562,7 +562,7 @@ export default {
|
|
|
allocateBillBatchInsert(obj).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
this.$refs.chooseTable.refresh(true)
|
|
|
- this.getDetail()
|
|
|
+ this.getDetail(true)
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -611,7 +611,7 @@ export default {
|
|
|
}
|
|
|
this.$refs.chooseTable.refresh()
|
|
|
this.$refs.chooseTable.clearSelected()
|
|
|
- this.getDetail()
|
|
|
+ this.getDetail(true)
|
|
|
this.spinning = false
|
|
|
} else {
|
|
|
this.spinning = false
|
|
@@ -677,12 +677,14 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
// 基本信息
|
|
|
- getDetail () {
|
|
|
+ getDetail (flag) {
|
|
|
this.spinning = true
|
|
|
allocateBillDetail({ sn: this.$route.params.sn }).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
this.basicInfoData = res.data
|
|
|
- this.resetSearchForm(0)
|
|
|
+ if(!flag){
|
|
|
+ this.resetSearchForm(0)
|
|
|
+ }
|
|
|
} else {
|
|
|
this.basicInfoData = null
|
|
|
}
|
|
@@ -783,7 +785,7 @@ export default {
|
|
|
},
|
|
|
// 刷新当前页面
|
|
|
refashPage () {
|
|
|
- this.getDetail()
|
|
|
+ this.getDetail(true)
|
|
|
// this.$refs.table.refresh()
|
|
|
this.$refs.chooseTable.clearSelected()
|
|
|
this.$refs.chooseTable.refresh()
|