Merge remote-tracking branch 'origin/master'

ywj_dev
郑明梁 2 years ago
commit f723cf41ef

@ -166,11 +166,6 @@ export default {
getInfoByInvId({invId: this.invId}).then((res) => { getInfoByInvId({invId: this.invId}).then((res) => {
if (res.code === 20000) { if (res.code === 20000) {
this.formData = res.data; this.formData = res.data;
this.formData.lowStock = false;
this.formData.lackStock = false;
this.formData.overStock = false;
this.formData.expireDate = false;
this.formData.recentDate = false;
} else { } else {
this.$message.error(res.meesage); this.$message.error(res.meesage);
} }

@ -69,7 +69,7 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" width="120"> <el-table-column label="操作" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" size="small" @click="detail(scope.row)"></el-button> <el-button type="text" size="small" @click="detail(scope.row)"></el-button>
<el-button type="text" size="small" :disabled="scope.row.status ==2" @click="deleteProduct(scope.row.id)"> <el-button type="text" size="small" :disabled="scope.row.status ==2" @click="deleteProduct(scope.row.id)">
删除 删除
</el-button> </el-button>

@ -169,7 +169,7 @@
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery() { resetQuery() {
this.resetForm("queryForm"); this.resetForm("queryForm");
let queryParams= { this.queryParams= {
page: 1, page: 1,
limit: 10, limit: 10,
menuName: "", menuName: "",

Loading…
Cancel
Save