|
|
@@ -384,6 +384,8 @@ export default {
|
|
|
// this.form.remark = this.remarkform.remark
|
|
|
// ? this.remarkform.remark
|
|
|
// : '';
|
|
|
+
|
|
|
+
|
|
|
const data = {
|
|
|
categoryWms: this.categoryWms,
|
|
|
categoryAps: this.categoryAps,
|
|
|
@@ -398,6 +400,19 @@ export default {
|
|
|
...this.PathInfo
|
|
|
}
|
|
|
};
|
|
|
+
|
|
|
+ if (this.$route.query.status == 1) {
|
|
|
+ data.category.id = null
|
|
|
+ data.categoryWms.id = null
|
|
|
+ data.categoryAps.id = null
|
|
|
+ data.categoryMes.id = null
|
|
|
+ data.categoryMold.id = null
|
|
|
+ data.categoryPallet.id = null
|
|
|
+ data.categoryQms.id = null
|
|
|
+ data.categoryVehicle.id = null
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
addMaterial(data)
|
|
|
.then((msg) => {
|
|
|
this.loading = false;
|