fix:供应商账单测试
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
<el-form-item>
|
||||
<el-select v-model="storeId" placeholder="选择分店" style="width: 200px; margin-right: 10px">
|
||||
<el-option v-for="item in storeList" :key="item.value" :label="item.label" :value="item.value" />
|
||||
<el-option v-for="item in branchList" :key="item.shopId" :label="item.shopName" :value="item.shopId" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
@@ -182,7 +182,7 @@ export default {
|
||||
downloadLoading: false,
|
||||
payCount: "",
|
||||
payCountTotal: 0,
|
||||
storeList: [{ label: "门店1", value: 1 }],
|
||||
branchList: [],
|
||||
storeId: null,
|
||||
};
|
||||
},
|
||||
@@ -195,8 +195,16 @@ export default {
|
||||
this.resetQuery = { ...this.query };
|
||||
this.getTableData();
|
||||
this.getCategory();
|
||||
this.geiShopList();
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
* 获取分店列表
|
||||
*/
|
||||
async geiShopList() {
|
||||
let res = await ShopApi.getBranchList()
|
||||
this.branchList = res;
|
||||
},
|
||||
totalfilter(item, d) {
|
||||
let num = item + d;
|
||||
return num.toFixed(2);
|
||||
|
||||
Reference in New Issue
Block a user