|
@@ -302,11 +302,11 @@ export default {
|
|
|
}
|
|
|
var res;
|
|
|
if (val != undefined || val != '') {
|
|
|
- if (this.goodsList.length == 0) {
|
|
|
- form.status = '2';
|
|
|
- } else {
|
|
|
- form.status = val;
|
|
|
- }
|
|
|
+ // if (this.goodsList.length == 0) {
|
|
|
+ // form.status = '2';
|
|
|
+ // } else {
|
|
|
+ form.status = val;
|
|
|
+ // }
|
|
|
}
|
|
|
if (form.id) res = await this.update(form);
|
|
|
if (this.$checkRes(res)) {
|