|
@@ -1487,6 +1487,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
this.getDefault()
|
|
this.getDefault()
|
|
|
if (this.detailData.id) {
|
|
if (this.detailData.id) {
|
|
|
|
|
+ // 详情进入
|
|
|
this.queryData(this.detailData.id)
|
|
this.queryData(this.detailData.id)
|
|
|
}
|
|
}
|
|
|
if (this.detailData.check) {
|
|
if (this.detailData.check) {
|
|
@@ -1501,6 +1502,7 @@ export default {
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
if (this.detailData.copyId) {
|
|
if (this.detailData.copyId) {
|
|
|
|
|
+ // 复制进入
|
|
|
this.queryData(this.detailData.copyId, true)
|
|
this.queryData(this.detailData.copyId, true)
|
|
|
}
|
|
}
|
|
|
this.oldForm = Object.assign({}, this.form);
|
|
this.oldForm = Object.assign({}, this.form);
|
|
@@ -1570,6 +1572,7 @@ export default {
|
|
|
this.quantityChange(row)
|
|
this.quantityChange(row)
|
|
|
},
|
|
},
|
|
|
queryData(id, isCopy = false, other) {
|
|
queryData(id, isCopy = false, other) {
|
|
|
|
|
+ console.log(id,isCopy,other,'1573')
|
|
|
this.pageLoading = true
|
|
this.pageLoading = true
|
|
|
this.saveLoading = true
|
|
this.saveLoading = true
|
|
|
detail(id).then(async res => {
|
|
detail(id).then(async res => {
|
|
@@ -1668,6 +1671,10 @@ export default {
|
|
|
this.$set(this.form, 'orderStatus', '录入')
|
|
this.$set(this.form, 'orderStatus', '录入')
|
|
|
this.form.status = 0
|
|
this.form.status = 0
|
|
|
this.browse = false
|
|
this.browse = false
|
|
|
|
|
+
|
|
|
|
|
+ // 复制的数据要清除 生产时间
|
|
|
|
|
+ this.form.actualDeliveryDate = null
|
|
|
|
|
+
|
|
|
delete this.form.id
|
|
delete this.form.id
|
|
|
delete this.form.orgOrderNo
|
|
delete this.form.orgOrderNo
|
|
|
delete this.form.orderNo
|
|
delete this.form.orderNo
|