|
@@ -490,6 +490,7 @@ export default {
|
|
return {
|
|
return {
|
|
editId: '',
|
|
editId: '',
|
|
mainForm: {
|
|
mainForm: {
|
|
|
|
+ customerId: '',
|
|
orderNum: '',
|
|
orderNum: '',
|
|
orderDate: '',
|
|
orderDate: '',
|
|
type: '',
|
|
type: '',
|
|
@@ -877,6 +878,7 @@ export default {
|
|
getDetail() {
|
|
getDetail() {
|
|
getOrderDetail({id: this.editId}).then(res => {
|
|
getOrderDetail({id: this.editId}).then(res => {
|
|
let data = res.data;
|
|
let data = res.data;
|
|
|
|
+ this.mainForm.customerId = data.customerId
|
|
this.mainForm.orderNum = data.enginOrderId;
|
|
this.mainForm.orderNum = data.enginOrderId;
|
|
this.mainForm.orderDate = data.orderDate;
|
|
this.mainForm.orderDate = data.orderDate;
|
|
this.mainForm.type = data.mainId;
|
|
this.mainForm.type = data.mainId;
|
|
@@ -935,6 +937,7 @@ export default {
|
|
specification: this.goodsScreenForm.proModel,
|
|
specification: this.goodsScreenForm.proModel,
|
|
price1: this.goodsScreenForm.price1,
|
|
price1: this.goodsScreenForm.price1,
|
|
price2: this.goodsScreenForm.price2,
|
|
price2: this.goodsScreenForm.price2,
|
|
|
|
+ customerId: this.mainForm.customerId ? this.mainForm.customerId : ''
|
|
}).then(res => {
|
|
}).then(res => {
|
|
let oldGoodsList = this.goodsList;
|
|
let oldGoodsList = this.goodsList;
|
|
let newGoodsList = res.data.records;
|
|
let newGoodsList = res.data.records;
|