|
|
@@ -328,12 +328,14 @@
|
|
|
>
|
|
|
</ele-pro-table>
|
|
|
</el-tab-pane>
|
|
|
+
|
|
|
<el-tab-pane label="证书资质" name="certificate">
|
|
|
<headerTitle title="证书资质" style="margin-top: 30px"></headerTitle>
|
|
|
<certificateManagement
|
|
|
ref="certificateManagementRef"
|
|
|
></certificateManagement>
|
|
|
</el-tab-pane>
|
|
|
+
|
|
|
<el-tab-pane label="订单记录" name="order">
|
|
|
<headerTitle title="订单记录" style="margin-top: 30px"></headerTitle>
|
|
|
<div class="ele-border-lighter form-content">
|
|
|
@@ -374,6 +376,7 @@
|
|
|
</ele-pro-table>
|
|
|
</div>
|
|
|
</el-tab-pane>
|
|
|
+
|
|
|
<el-tab-pane label="收货记录" name="send">
|
|
|
<headerTitle title="收货记录" style="margin-top: 30px"></headerTitle>
|
|
|
<div class="ele-border-lighter form-content">
|
|
|
@@ -394,7 +397,7 @@
|
|
|
<el-link
|
|
|
type="primary"
|
|
|
:underline="false"
|
|
|
- @click="openorderDetail(row, 'receiveNo')"
|
|
|
+ @click="openInvoiceDetail(row, 'receiveNo')"
|
|
|
>
|
|
|
{{ row.receiveNo }}
|
|
|
</el-link>
|
|
|
@@ -403,7 +406,7 @@
|
|
|
<el-link
|
|
|
type="primary"
|
|
|
:underline="false"
|
|
|
- @click="openorderDetail(row, 'orderNo')"
|
|
|
+ @click="openInvoiceDetail(row, 'orderNo')"
|
|
|
>
|
|
|
{{ row.orderNo }}
|
|
|
</el-link>
|
|
|
@@ -430,7 +433,7 @@
|
|
|
<el-link
|
|
|
type="primary"
|
|
|
:underline="false"
|
|
|
- @click="openorderDetail(row, 'returnNo')"
|
|
|
+ @click="openReturnDetail(row, 'returnNo')"
|
|
|
>
|
|
|
{{ row.returnNo }}</el-link
|
|
|
>
|
|
|
@@ -439,7 +442,7 @@
|
|
|
<el-link
|
|
|
type="primary"
|
|
|
:underline="false"
|
|
|
- @click="openorderDetail(row, 'sendNo')"
|
|
|
+ @click="openReturnDetail(row, 'sendNo')"
|
|
|
>
|
|
|
{{ row.receiveId }}</el-link
|
|
|
>
|
|
|
@@ -448,7 +451,7 @@
|
|
|
<el-link
|
|
|
type="primary"
|
|
|
:underline="false"
|
|
|
- @click="openorderDetail(row, 'orderNo')"
|
|
|
+ @click="openReturnDetail(row, 'orderNo')"
|
|
|
>
|
|
|
{{ row.orderNo }}</el-link
|
|
|
>
|
|
|
@@ -532,21 +535,41 @@
|
|
|
<div slot="footer" class="footer">
|
|
|
<el-button @click="cancel">返回</el-button>
|
|
|
</div>
|
|
|
-
|
|
|
+ <!-- 订单记录-订单编码 -->
|
|
|
<detail-dialog1
|
|
|
ref="contactDetailDialogRef1"
|
|
|
:modal="false"
|
|
|
></detail-dialog1>
|
|
|
- <!-- <detail-dialog2
|
|
|
+ <!-- -合同编码 -->
|
|
|
+ <detail-dialog2
|
|
|
ref="contactDetailDialogRef2"
|
|
|
:modal="false"
|
|
|
- ></detail-dialog2> -->
|
|
|
+ ></detail-dialog2>
|
|
|
+
|
|
|
+ <!-- 收货记录--收货单编码 -->
|
|
|
+ <detail-dialog3
|
|
|
+ ref="contactDetailDialogRef3"
|
|
|
+ :modal="false"
|
|
|
+ ></detail-dialog3>
|
|
|
+
|
|
|
+ <!-- 采购订单编码和订单记录订单编码是同一个dialog -->
|
|
|
+
|
|
|
+ <!-- 退货记录--退货单编码 -->
|
|
|
+ <detail-dialog4
|
|
|
+ ref="contactDetailDialogRef4"
|
|
|
+ :modal="false"
|
|
|
+ ></detail-dialog4>
|
|
|
</ele-modal>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import detailDialog1 from '@/views/purchasingManage/purchaseOrder/components/detailDialog.vue';
|
|
|
- // import detailDialog2 from '@/views/contractManage/contractBook/components/detailDialog.vue';
|
|
|
+ import detailDialog2 from '@/views/contractManage/contractBook/components/detailDialog.vue';
|
|
|
+ import detailDialog3 from '@/views/purchasingManage/purchaseOrder/invoice/components/detailDialog.vue';
|
|
|
+ import detailDialog4 from '@/views/purchasingManage/purchaseOrder/returnGoods/components/detailDialog.vue';
|
|
|
+ // import orderDetailDialog from '@/views/purchasingManage/purchaseOrder/components/detailDialog.vue';
|
|
|
+ // import sendDetailDialog from '@/views/purchasingManage/purchaseOrder/invoice/components/detailDialog.vue';
|
|
|
+ // import orderDetailDialog from '@/views/purchasingManage/purchaseOrder/components/detailDialog.vue';
|
|
|
|
|
|
import {
|
|
|
contactDetail,
|
|
|
@@ -582,7 +605,9 @@
|
|
|
deptSelect,
|
|
|
personSelect,
|
|
|
detailDialog1,
|
|
|
- // detailDialog2
|
|
|
+ detailDialog2,
|
|
|
+ detailDialog3,
|
|
|
+ detailDialog4
|
|
|
},
|
|
|
data() {
|
|
|
let formDef = {
|
|
|
@@ -1566,10 +1591,29 @@
|
|
|
this.$refs.contactDetailDialogRef1.open(row);
|
|
|
},
|
|
|
// 订单记录合同编码
|
|
|
- // opencontractDetail(row, type) {
|
|
|
- // console.log(row, type);
|
|
|
- // this.$refs.contactDetailDialogRef2.open(row);
|
|
|
- // }
|
|
|
+ opencontractDetail(row, type) {
|
|
|
+ console.log(row, type);
|
|
|
+ this.$refs.contactDetailDialogRef2.open({ id: row.contractId });
|
|
|
+ },
|
|
|
+ openInvoiceDetail(row, type) {
|
|
|
+ if (type === 'receiveNo') {
|
|
|
+ this.$refs.contactDetailDialogRef3.open(row);
|
|
|
+ }
|
|
|
+ if (type === 'orderNo') {
|
|
|
+ this.$refs.contactDetailDialogRef1.open({ id: row.orderId });
|
|
|
+ }
|
|
|
+ },
|
|
|
+ openReturnDetail(row, type) {
|
|
|
+ if (type === 'returnNo') {
|
|
|
+ this.$refs.contactDetailDialogRef4.open(row);
|
|
|
+ }
|
|
|
+ if (type === 'sendNo') {
|
|
|
+ this.$refs.contactDetailDialogRef3.open({ id: row.receiveId });
|
|
|
+ }
|
|
|
+ if (type === 'orderNo') {
|
|
|
+ this.$refs.contactDetailDialogRef1.open({ id: row.orderId });
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
};
|
|
|
</script>
|