|
@@ -488,6 +488,7 @@
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
return {
|
|
return {
|
|
|
|
|
+ customerMark:'',
|
|
|
projectData: {}, //项目数据
|
|
projectData: {}, //项目数据
|
|
|
clearing: false, //是否清除合同
|
|
clearing: false, //是否清除合同
|
|
|
processSubmitDialogFlag: false,
|
|
processSubmitDialogFlag: false,
|
|
@@ -603,6 +604,7 @@
|
|
|
const data = await getDetail(id);
|
|
const data = await getDetail(id);
|
|
|
this.loading = false;
|
|
this.loading = false;
|
|
|
if (data) {
|
|
if (data) {
|
|
|
|
|
+ await this.changeParent({id:data.contractVO?.partaId},true)
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
let { contractVO } = data;
|
|
let { contractVO } = data;
|
|
|
let {
|
|
let {
|
|
@@ -675,15 +677,16 @@
|
|
|
this.loading = true;
|
|
this.loading = true;
|
|
|
const data = await getSaleOrderDetail(id);
|
|
const data = await getSaleOrderDetail(id);
|
|
|
this.loading = false;
|
|
this.loading = false;
|
|
|
|
|
+ this.form = data;
|
|
|
|
|
+ await this.changeParent({id:data.partaId},true)
|
|
|
|
|
+
|
|
|
if (data) {
|
|
if (data) {
|
|
|
data.saleType = +data.saleType;
|
|
data.saleType = +data.saleType;
|
|
|
- this.form = data;
|
|
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
this.$refs.inventoryTable &&
|
|
this.$refs.inventoryTable &&
|
|
|
this.$refs.inventoryTable.putTableValue(data);
|
|
this.$refs.inventoryTable.putTableValue(data);
|
|
|
this.getLinkInfo(data.partaId);
|
|
this.getLinkInfo(data.partaId);
|
|
|
this.$store.commit('order/setContractId', data.partaId);
|
|
this.$store.commit('order/setContractId', data.partaId);
|
|
|
- this.changeParent({id:data.partaId},true)
|
|
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -772,7 +775,7 @@
|
|
|
this.$set(
|
|
this.$set(
|
|
|
this.$refs.inventoryTable?.form?.datasource[index],
|
|
this.$refs.inventoryTable?.form?.datasource[index],
|
|
|
'customerMark',
|
|
'customerMark',
|
|
|
- this.form.customerMark
|
|
|
|
|
|
|
+ this.customerMark
|
|
|
);
|
|
);
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|