pull/1/head
xiaozhiyong 2 years ago
parent 81c21b48f6
commit 22eac520a4
  1. 2
      src/views/product/components/adjust.vue
  2. 2
      src/views/product/components/record.vue
  3. 4
      src/views/product/index.vue
  4. 2
      src/views/refineryAccount/index.vue
  5. 8
      src/views/refineryInfo/index.vue

@ -48,7 +48,7 @@ export default {
{ required: true, message: "请输入成本价", trigger: "blur" }, { required: true, message: "请输入成本价", trigger: "blur" },
], ],
salePrice2company: [ salePrice2company: [
{ required: true, message: "请选择修改状态", trigger: "blur" }, { required: true, message: "请输入企业销售价", trigger: "blur" },
], ],
}, },
}; };

@ -178,7 +178,7 @@ export default {
getByPageRecord() { getByPageRecord() {
serve.getByPageRecord(this.parameter).then((res) => { serve.getByPageRecord(this.parameter).then((res) => {
this.tableData = res.data.list; this.tableData = res.data.list;
this.parameter.total = res.data.totalPage; this.parameter.total = res.data.totalCount;
}); });
}, },
// table height // table height

@ -249,7 +249,7 @@ export default {
{ label: "创建用户ID", value: "createUser" }, { label: "创建用户ID", value: "createUser" },
{ label: "创建时间", value: "createTime" }, { label: "创建时间", value: "createTime" },
{ label: "修改用户ID", value: "updateUser" }, { label: "修改用户ID", value: "updateUser" },
{ label: "修改时间", value: "createSource" }, { label: "修改时间", value: "updateTime" },
], ],
}, },
], ],
@ -291,7 +291,7 @@ export default {
getByPage() { getByPage() {
serve.getByPage(this.parameter).then((res) => { serve.getByPage(this.parameter).then((res) => {
this.tableData = res.data.list; this.tableData = res.data.list;
this.parameter.total = res.data.totalPage; this.parameter.total = res.data.totalCount;
}); });
}, },
//list //list

@ -210,7 +210,7 @@ export default {
getByPage() { getByPage() {
serve.getByPage(this.parameter).then((res) => { serve.getByPage(this.parameter).then((res) => {
this.tableData = res.data.list; this.tableData = res.data.list;
this.parameter.total = res.data.totalPage; this.parameter.total = res.data.totalCount;
}); });
}, },
//list //list

@ -102,11 +102,7 @@
</el-switch> </el-switch>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="productCount" label="启用产品数量" width="120">
prop="orderSerialNumber"
label="启用产品数量"
width="120"
>
</el-table-column> </el-table-column>
<el-table-column label="时间" width="235"> <el-table-column label="时间" width="235">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
@ -243,7 +239,7 @@ export default {
getByPage() { getByPage() {
serve.getByPage(this.parameter).then((res) => { serve.getByPage(this.parameter).then((res) => {
this.tableData = res.data.list; this.tableData = res.data.list;
this.parameter.total = res.data.totalPage; this.parameter.total = res.data.totalCount;
}); });
}, },
//list //list

Loading…
Cancel
Save