|
@@ -220,7 +220,6 @@ export default {
|
|
|
data.id = moment(new Date()).valueOf();
|
|
|
let info = this.goodsList.find((f) => f.id == data.id);
|
|
|
if (info == '' || info == undefined) this.goodsList.push(data);
|
|
|
- console.log(this.goodsList);
|
|
|
this.toClose();
|
|
|
},
|
|
|
onstatus(status) {
|
|
@@ -306,7 +305,6 @@ export default {
|
|
|
var form = this.form;
|
|
|
var res;
|
|
|
form.status = val;
|
|
|
- console.log(form);
|
|
|
if (form._id) res = await this.update(form);
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$message({ type: `success`, message: `维护信息成功` });
|