This commit is contained in:
parent
b154723dd0
commit
2a962e471e
|
|
@ -9,7 +9,8 @@
|
||||||
|
|
||||||
<a-button v-if="!getDataId()" @click="pageSelectOrder" :disabled="pageStatus == 'approved'">选择订单</a-button>
|
<a-button v-if="!getDataId()" @click="pageSelectOrder" :disabled="pageStatus == 'approved'">选择订单</a-button>
|
||||||
<a-button type="primary" @click="ok" :disabled="pageStatus == 'approved'">保存</a-button>
|
<a-button type="primary" @click="ok" :disabled="pageStatus == 'approved'">保存</a-button>
|
||||||
<a-button v-if="false" @click="pageApproved" type="primary" :disabled="!this.getDataId() || pageStatus == 'approved'">审批
|
<a-button v-if="false" @click="pageApproved" type="primary"
|
||||||
|
:disabled="!this.getDataId() || pageStatus == 'approved'">审批
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-button @click="print">打印</a-button>
|
<a-button @click="print">打印</a-button>
|
||||||
|
|
||||||
|
|
@ -33,7 +34,7 @@
|
||||||
<a-collapse-panel v-for="(info, index) in infos" :key="info.key" :header="info.header">
|
<a-collapse-panel v-for="(info, index) in infos" :key="info.key" :header="info.header">
|
||||||
|
|
||||||
<a-icon slot="extra" type="delete" @click.stop="removeInfo(index)" />
|
<a-icon slot="extra" type="delete" @click.stop="removeInfo(index)" />
|
||||||
<component-detail :dataId="getDataId()" :itemData="info.data" @reloadData="pageInit"></component-detail>
|
<component-detail ref="componentDetail" :dataId="getDataId()" :itemData="info.data" @reloadData="pageInit"></component-detail>
|
||||||
|
|
||||||
</a-collapse-panel>
|
</a-collapse-panel>
|
||||||
</a-collapse>
|
</a-collapse>
|
||||||
|
|
@ -57,7 +58,8 @@
|
||||||
|
|
||||||
<h4 style="margin-top: 5px;">出现问题及建议反馈</h4>
|
<h4 style="margin-top: 5px;">出现问题及建议反馈</h4>
|
||||||
<vxe-form :data="formOptions2.data" ref="xForm" :title-width="formOptions2.titleWidth"
|
<vxe-form :data="formOptions2.data" ref="xForm" :title-width="formOptions2.titleWidth"
|
||||||
:title-align="formOptions2.titleAlign" :rules="formOptions2.rules" :items="formOptions2.items" :titleColon="false" vertical>
|
:title-align="formOptions2.titleAlign" :rules="formOptions2.rules" :items="formOptions2.items" :titleColon="false"
|
||||||
|
vertical>
|
||||||
</vxe-form>
|
</vxe-form>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -750,6 +752,17 @@ export default {
|
||||||
postdata.mold_production_order_component = !this.isEdit ? [] : { insertList: [], deleteList: [], updateList: [] };
|
postdata.mold_production_order_component = !this.isEdit ? [] : { insertList: [], deleteList: [], updateList: [] };
|
||||||
postdata.mold_production_order_component_processes = !this.isEdit ? [] : { insertList: [], deleteList: [], updateList: [] };
|
postdata.mold_production_order_component_processes = !this.isEdit ? [] : { insertList: [], deleteList: [], updateList: [] };
|
||||||
|
|
||||||
|
let componentDetails = this.$refs['componentDetail'];
|
||||||
|
|
||||||
|
if (componentDetails) {
|
||||||
|
componentDetails.forEach(componentDetail => {
|
||||||
|
if (componentDetail.postDataUpdate) {
|
||||||
|
console.log("postDataUpdate");
|
||||||
|
componentDetail.postDataUpdate();
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
this.infos.forEach(info => {
|
this.infos.forEach(info => {
|
||||||
if (!info.data.postdata) {
|
if (!info.data.postdata) {
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue