xiugai
This commit is contained in:
@@ -253,7 +253,9 @@ export default {
|
|||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
total: 0,
|
total: 0,
|
||||||
params: {},
|
params: {
|
||||||
|
|
||||||
|
},
|
||||||
},
|
},
|
||||||
oilCompanyMatch: {},
|
oilCompanyMatch: {},
|
||||||
billData:[],
|
billData:[],
|
||||||
@@ -335,6 +337,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//table list
|
//table list
|
||||||
getByPage() {
|
getByPage() {
|
||||||
|
this.parameter.params.customerId=this.$store.state.user.companyId
|
||||||
order.getByPage(this.parameter).then((res) => {
|
order.getByPage(this.parameter).then((res) => {
|
||||||
this.tableData = res.data.list;
|
this.tableData = res.data.list;
|
||||||
this.total = res.data.totalCount;
|
this.total = res.data.totalCount;
|
||||||
|
|||||||
@@ -107,14 +107,14 @@ export default {
|
|||||||
"form.salePrice": {
|
"form.salePrice": {
|
||||||
handler(n, o) {
|
handler(n, o) {
|
||||||
if(n){
|
if(n){
|
||||||
this.form.preAmount = this.form.salePrice*(this.form.preQuantity?this.form.preQuantity:0)
|
this.form.preAmount = (this.form.salePrice*(this.form.preQuantity?this.form.preQuantity:0)).toFixed(2)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"form.preQuantity": {
|
"form.preQuantity": {
|
||||||
handler(n, o) {
|
handler(n, o) {
|
||||||
if(n){
|
if(n){
|
||||||
this.form.preAmount = this.form.preQuantity*(this.form.salePrice?this.form.salePrice:0)
|
this.form.preAmount = (this.form.preQuantity*(this.form.salePrice?this.form.salePrice:0)).toFixed(2)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user