tag页问题

tag页问题
This commit is contained in:
shawn 2020-02-17 18:22:23 +08:00
parent 64f13b6ccb
commit cca2c29da5
6 changed files with 24 additions and 23 deletions

View file

@ -404,8 +404,8 @@ export default {
AccountManagement: 'account management', AccountManagement: 'account management',
AccountManagement2: 'account management', AccountManagement2: 'account management',
expensesSummary: 'expenses form summary', expensesSummary: 'expenses form summary',
saleDetailCount: 'sale detail count', SaleDetailCount: 'sale detail count',
profitCount: 'profit count' ProfitCount: 'profit count'
}, },
installmentAnalyze: { installmentAnalyze: {
repositoryName: 'warehouse name', repositoryName: 'warehouse name',
@ -4185,6 +4185,7 @@ export default {
outMoney: 'outMoney', outMoney: 'outMoney',
retreatMoney: 'retreatMoney', retreatMoney: 'retreatMoney',
endMoney: 'endMoney', endMoney: 'endMoney',
repositoryName: 'repository' repositoryName: 'repository',
discountMoney: 'discountMoney'
} }
} }

View file

@ -404,8 +404,8 @@ export default {
AccountManagement: '账户管理', AccountManagement: '账户管理',
AccountManagement2: '账户管理', AccountManagement2: '账户管理',
expensesSummary: '支出单汇总', expensesSummary: '支出单汇总',
saleDetailCount: '销售明细统计', SaleDetailCount: '销售明细统计',
profitCount: '利润统计表' ProfitCount: '利润统计表'
}, },
installmentAnalyze: { installmentAnalyze: {
repositoryName: '仓库名称', repositoryName: '仓库名称',
@ -4185,8 +4185,8 @@ export default {
outMoney: '出库金额', outMoney: '出库金额',
retreatMoney: '退货金额', retreatMoney: '退货金额',
endMoney: '结余金额', endMoney: '结余金额',
repositoryName: '门店' repositoryName: '门店',
discountMoney: '折扣金额'
} }
} }

View file

@ -3042,10 +3042,10 @@ export const asyncRouterMap = [
meta: { title: 'saleBillList', noCache: false, roles: ['311-313-327-4'] } meta: { title: 'saleBillList', noCache: false, roles: ['311-313-327-4'] }
}, },
{ {
path: 'saleDetailCount', path: 'SaleDetailCount',
component: () => import('@/views/SaleReport/saleDetailCount'), component: () => import('@/views/SaleReport/saleDetailCount'),
name: 'saleDetailCount', name: 'SaleDetailCount',
meta: { title: 'saleDetailCount', noCache: false, roles: ['311-313-379-4'] } meta: { title: 'SaleDetailCount', noCache: false, roles: ['311-313-379-4'] }
} }
// , // ,
// { // {
@ -3148,10 +3148,10 @@ export const asyncRouterMap = [
meta: { title: 'expensesSummary', noCache: false, roles: ['311-314-375-4'] } meta: { title: 'expensesSummary', noCache: false, roles: ['311-314-375-4'] }
}, },
{ {
path: 'profitCount', path: 'ProfitCount',
component: () => import('@/views/Financecount/profitCount'), component: () => import('@/views/Financecount/profitCount'),
name: 'profitCount', name: 'ProfitCount',
meta: { title: 'profitCount', noCache: false, roles: ['311-313-380-4'] } meta: { title: 'ProfitCount', noCache: false, roles: ['311-313-380-4'] }
} }
] ]
}, },

View file

@ -174,7 +174,7 @@ import MySupplier from './components/MySupplier'
var _that var _that
export default { export default {
name: 'ExpensesSummary', name: 'ProfitCount',
directives: { waves, permission, permission2 }, directives: { waves, permission, permission2 },
components: { components: {
MyDialog, MyDialog,

View file

@ -16,9 +16,9 @@
<el-option value="1" label="经销商"/> <el-option value="1" label="经销商"/>
<el-option value="2" label="零售"/> <el-option value="2" label="零售"/>
</el-select> </el-select>
<el-input v-model="customerName" :placeholder="$t('SaleOrder.customerName')" style="width: 40%;float: right;margin-right: 20px;" clearable @clear="restFilter" @focus="chooseCustomer"/> <el-input v-model="getemplist.customerName" :placeholder="$t('SaleOrder.customerName')" style="width: 40%;float: right;margin-right: 20px;" clearable/>
<my-customer :customercontrol.sync="customercontrol" @customerdata="customerdata"/> <!-- <my-customer :customercontrol.sync="customercontrol" @customerdata="customerdata"/>
<my-agent :agentcontrol.sync="agentcontrol" @agentdata="agentdata"/> <my-agent :agentcontrol.sync="agentcontrol" @agentdata="agentdata"/> -->
<el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" :placeholder="$t('updates.djzt')" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px"> <el-select v-model="getemplist.receiptStat" :value="getemplist.receiptStat" :placeholder="$t('updates.djzt')" clearable style="width: 40%;float: left;margin-left: 20px;margin-top: 20px">
<el-option :label="$t('updates.zd')" value="1"/> <el-option :label="$t('updates.zd')" value="1"/>
<el-option :label="$t('updates.zx')" value="2"/> <el-option :label="$t('updates.zx')" value="2"/>
@ -39,7 +39,7 @@
end-placeholder="销售日期" end-placeholder="销售日期"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
style="margin-top: 20px;margin-left: 20px"/> style="margin-top: 20px;margin-left: 20px"/>
<el-input v-model="getemplist.customerName" :placeholder="$t('updates2.customerName')" style="width: 40%;float: left;margin-left: 20px;margin-top: 20px" clearable @keyup.enter.native="handleFilter"/> <!-- <el-input v-model="getemplist.customerName" :placeholder="$t('updates2.customerName')" style="width: 40%;float: left;margin-left: 20px;margin-top: 20px" clearable @keyup.enter.native="handleFilter"/> -->
<div class="seachbutton" style="width: 100%;float: right;margin-top: 20px"> <div class="seachbutton" style="width: 100%;float: right;margin-top: 20px">
<el-button v-waves class="filter-item" type="primary" style="float: right" round @click="handleFilter">{{ $t('public.search') }}</el-button> <el-button v-waves class="filter-item" type="primary" style="float: right" round @click="handleFilter">{{ $t('public.search') }}</el-button>
</div> </div>
@ -452,11 +452,6 @@ export default {
// //
handleFilter() { handleFilter() {
this.getemplist.pageNum = 1 this.getemplist.pageNum = 1
if (this.getemplist.customerName !== null && this.getemplist.customerName !== undefined && this.getemplist.customerName !== '') {
this.getemplist.customerType = 2
} else {
this.getemplist.customerType = null
}
searchsaleOrder(this.getemplist).then(res => { searchsaleOrder(this.getemplist).then(res => {
if (res.data.ret === 200) { if (res.data.ret === 200) {
this.list = res.data.data.content.list this.list = res.data.data.content.list

View file

@ -173,6 +173,11 @@
prop="thisMoney" prop="thisMoney"
width="200" width="200"
align="center"/> align="center"/>
<el-table-column
:label="$t('tongyo.discountMoney')"
prop="discountMoney"
width="200"
align="center"/>
<el-table-column <el-table-column
:label="$t('tongyo.fistMoney')" :label="$t('tongyo.fistMoney')"
prop="firstMoney" prop="firstMoney"