|
|
@@ -15,10 +15,10 @@
|
|
|
<el-col>
|
|
|
<el-form ref="form" :inline="true">
|
|
|
<el-form-item label="">
|
|
|
- <el-input v-model="searchForm.commercialNo" placeholder="组织机构代码" style="width: 300px"></el-input>
|
|
|
+ <el-input v-model="searchForm.commercialNo" clearable placeholder="组织机构代码" style="width: 300px"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="">
|
|
|
- <el-input v-model="Remark" placeholder="备注" style="width: 300px"></el-input>
|
|
|
+ <el-input v-model="Remark" clearable placeholder="备注" style="width: 300px"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button type="plain" plain icon="el-icon-search" @click="handleSearch" :loading="btnLoading">获取账单</el-button>
|
|
|
@@ -137,8 +137,10 @@
|
|
|
api.getBillListbc(params, this.$axios).then(res => {
|
|
|
this.entityList = res.data.items
|
|
|
this.currentItemCount = res.data.currentItemCount
|
|
|
+ this.btnLoading = false
|
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
|
+ this.btnLoading = false
|
|
|
})
|
|
|
},
|
|
|
|
|
|
@@ -308,12 +310,13 @@
|
|
|
this.dialogVisible = false
|
|
|
this.showSupplierInfo()
|
|
|
this.initDatas()
|
|
|
- this.btnLoading = false
|
|
|
},
|
|
|
showSupplierInfo () {
|
|
|
apiSupplier.getEntityByCommercialNo(this.searchForm.commercialNo, this.$axios).then(res => {
|
|
|
this.supplierEntity = res.data
|
|
|
+ this.btnLoading = false
|
|
|
}).catch(err => {
|
|
|
+ this.btnLoading = false
|
|
|
console.error(err)
|
|
|
})
|
|
|
},
|