|
@@ -1611,6 +1611,7 @@ export default {
|
|
|
this.sonDisable = false;
|
|
|
this.basicForm.id = "";
|
|
|
this.basicForm.code = "";
|
|
|
+ this.basicForm.status = "0";
|
|
|
this.basicForm.createByName = "";
|
|
|
this.basicForm.createBy = "";
|
|
|
this.basicForm.createTime = "";
|
|
@@ -1626,6 +1627,9 @@ export default {
|
|
|
// 复制新增把id,编码,创建人置为空,子表去掉id
|
|
|
if (this.basicForm.materialInfo.length !== 0) {
|
|
|
this.basicForm.materialInfo.forEach((item) => {
|
|
|
+ if (item.allotDate) {
|
|
|
+ item.allotDate = new Date();
|
|
|
+ }
|
|
|
if (item.deliveryCode) {
|
|
|
item.deliveryCode = "";
|
|
|
}
|