Commit d7e2cc8b authored by 我在何方's avatar 我在何方

财务返回列表刷新修复

parent e892e5eb
...@@ -273,6 +273,9 @@ export default { ...@@ -273,6 +273,9 @@ export default {
return this.warehouseList.filter(item => item.tradeType == 1 || item.tradeType == 3) return this.warehouseList.filter(item => item.tradeType == 1 || item.tradeType == 3)
}, },
}, },
activated(){
this.handleQuery()
},
created() { created() {
let that = this; let that = this;
getWarehouseList().then(res => this.warehouseList = res.data) getWarehouseList().then(res => this.warehouseList = res.data)
......
...@@ -237,6 +237,9 @@ export default { ...@@ -237,6 +237,9 @@ export default {
}, },
}; };
}, },
activated(){
this.handleQuery()
},
created() { created() {
let that = this; let that = this;
userList("salesman").then((res) => (that.creatorData = res.data)); userList("salesman").then((res) => (that.creatorData = res.data));
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<el-table-column :label="$t('唛头')" align="center" prop="marks" /> <el-table-column :label="$t('唛头')" align="center" prop="marks" />
<el-table-column :label="$t('品名')" align="center" prop="title"> <el-table-column :label="$t('品名')" align="center" prop="title">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.feeType!=5">{{ scope.row.titleZh + "(" + scope.row.titleEn + ")" }}</span> <span v-if="scope.row.feeType!=5">{{ scope.row.titleZh?(scope.row.titleZh + "(" + scope.row.titleEn + ")"):'' }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('箱数')" align="center" prop="num" /> <el-table-column :label="$t('箱数')" align="center" prop="num" />
......
...@@ -290,6 +290,10 @@ export default { ...@@ -290,6 +290,10 @@ export default {
warehouseList:[], warehouseList:[],
}; };
}, },
activated(){
console.log(11)
this.handleQuery()
},
created() { created() {
let that = this; let that = this;
getCurrencyPage(this.params).then(res => this.currencyList = res.data.list) getCurrencyPage(this.params).then(res => this.currencyList = res.data.list)
...@@ -298,6 +302,7 @@ export default { ...@@ -298,6 +302,7 @@ export default {
this.getList(); this.getList();
getWarehouseList().then(res => this.warehouseList = res.data) getWarehouseList().then(res => this.warehouseList = res.data)
}, },
computed: { computed: {
expoerCityList() { expoerCityList() {
return this.tradeCityList.filter((item) => item.type == 2); return this.tradeCityList.filter((item) => item.type == 2);
......
...@@ -305,6 +305,9 @@ export default { ...@@ -305,6 +305,9 @@ export default {
downloading: false, // 导出状态 downloading: false, // 导出状态
}; };
}, },
activated(){
this.handleQuery()
},
created() { created() {
let that = this; let that = this;
listSimpleUsers().then((res) => (that.creatorData = res.data)); listSimpleUsers().then((res) => (that.creatorData = res.data));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment