|
@@ -127,10 +127,10 @@ export default {
|
|
|
isShowWeigh: false,
|
|
|
formData: {
|
|
|
productUniqueNo: "",
|
|
|
- productName: "带骨羊前腿",
|
|
|
+ productName: "",
|
|
|
splitTime: this.$moment().format("YYYY-MM-DD"),
|
|
|
- weight: "35",
|
|
|
- splitBatchNo: "1548"
|
|
|
+ weight: "",
|
|
|
+ splitBatchNo: ""
|
|
|
},
|
|
|
formData_1: {
|
|
|
productUniqueNo: "",
|
|
@@ -158,6 +158,8 @@ export default {
|
|
|
this.$message.error(res.errMsg);
|
|
|
} else {
|
|
|
this.$message.success("成功");
|
|
|
+ this.formData = {}
|
|
|
+ this.isShow = false
|
|
|
}
|
|
|
})
|
|
|
.catch(err => {
|
|
@@ -174,6 +176,8 @@ export default {
|
|
|
this.$message.error(res.errMsg);
|
|
|
} else {
|
|
|
this.$message.success("成功");
|
|
|
+ this.formData = {}
|
|
|
+ this.isShow = false
|
|
|
}
|
|
|
})
|
|
|
.catch(err => {
|
|
@@ -194,6 +198,8 @@ export default {
|
|
|
this.$message.error(res.errMsg);
|
|
|
} else {
|
|
|
this.$message.success("成功");
|
|
|
+ this.formData_1 = {}
|
|
|
+ this.isShowWeigh = false
|
|
|
}
|
|
|
});
|
|
|
} else {
|