|
@@ -13,7 +13,17 @@
|
|
|
:loading="loading"
|
|
:loading="loading"
|
|
|
@click="submit">关闭</a-button>
|
|
@click="submit">关闭</a-button>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+ <a-tabs v-model:activeKey="activeKey">
|
|
|
|
|
+ <a-tab-pane key="1" tab="合同详情"></a-tab-pane>
|
|
|
|
|
+ <a-tab-pane key="2" tab="点价记录"></a-tab-pane>
|
|
|
|
|
+ <a-tab-pane key="3" tab="交收记录"></a-tab-pane>
|
|
|
|
|
+ <a-tab-pane key="4" tab="款项记录"></a-tab-pane>
|
|
|
|
|
+ <a-tab-pane key="5" tab="发票记录"></a-tab-pane>
|
|
|
|
|
+ <a-tab-pane key="6" tab="入库记录"></a-tab-pane>
|
|
|
|
|
+ <a-tab-pane key="7" tab="变更记录"></a-tab-pane>
|
|
|
|
|
+ </a-tabs>
|
|
|
<a-form class="inlineForm"
|
|
<a-form class="inlineForm"
|
|
|
|
|
+ v-if="activeKey == 1"
|
|
|
:form="form"
|
|
:form="form"
|
|
|
@submit="handleSearch">
|
|
@submit="handleSearch">
|
|
|
<fieldset class="formFieldSet">
|
|
<fieldset class="formFieldSet">
|
|
@@ -170,6 +180,14 @@
|
|
|
</a-row>
|
|
</a-row>
|
|
|
</fieldset>
|
|
</fieldset>
|
|
|
</a-form>
|
|
</a-form>
|
|
|
|
|
+ <div class="tableDatas" v-if="activeKey == 2">
|
|
|
|
|
+ <a-table class="dialogTable" :columns="columns" :data-source="data" :pagination="false">
|
|
|
|
|
+ <template #status="{ text }">
|
|
|
|
|
+ <span class="yellow">{{ text }}</span>
|
|
|
|
|
+ <!-- 审核通过'green' 审核拒绝 'orange' 待审核'yellow' -->
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </a-table>
|
|
|
|
|
+ </div>
|
|
|
</a-modal>
|
|
</a-modal>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -207,7 +225,99 @@ export default defineComponent({
|
|
|
loading.value = false;
|
|
loading.value = false;
|
|
|
cancel();
|
|
cancel();
|
|
|
}, 200);
|
|
}, 200);
|
|
|
- }
|
|
|
|
|
|
|
+ };
|
|
|
|
|
+ const columns = [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '序号',
|
|
|
|
|
+ dataIndex: 'no',
|
|
|
|
|
+ key: 'no',
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '点价登记时间',
|
|
|
|
|
+ dataIndex: 'time',
|
|
|
|
|
+ key: 'time',
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '点价审核时间',
|
|
|
|
|
+ dataIndex: 'adutTime',
|
|
|
|
|
+ key: 'adutTime',
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '点价价格',
|
|
|
|
|
+ dataIndex: 'price',
|
|
|
|
|
+ key: 'price',
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '升贴水',
|
|
|
|
|
+ dataIndex: 'money',
|
|
|
|
|
+ key: 'money',
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '点价数量',
|
|
|
|
|
+ dataIndex: 'num',
|
|
|
|
|
+ key: 'num',
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '点价金额',
|
|
|
|
|
+ dataIndex: 'pointAmount',
|
|
|
|
|
+ key: 'pointAmount',
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '申请人',
|
|
|
|
|
+ dataIndex: 'apply',
|
|
|
|
|
+ key: 'apply',
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '审核人',
|
|
|
|
|
+ dataIndex: 'adutPerson',
|
|
|
|
|
+ key: 'adutPerson',
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '状态',
|
|
|
|
|
+ dataIndex: 'status',
|
|
|
|
|
+ key: 'status',
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ slots: { customRender: 'status' },
|
|
|
|
|
+ }
|
|
|
|
|
+ ];
|
|
|
|
|
+
|
|
|
|
|
+ const data = [
|
|
|
|
|
+ {
|
|
|
|
|
+ key: '1',
|
|
|
|
|
+ no: '1',
|
|
|
|
|
+ time: '20-12-01 19:37',
|
|
|
|
|
+ adutTime: '20-12-01 20:37',
|
|
|
|
|
+ price: '1000.00',
|
|
|
|
|
+ money: '100',
|
|
|
|
|
+ num: '1',
|
|
|
|
|
+ pointAmount: '10100.00',
|
|
|
|
|
+ apply: 'lishunli',
|
|
|
|
|
+ adutPerson: 'wamgping',
|
|
|
|
|
+ status: '审核通过'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ key: '2',
|
|
|
|
|
+ no: '2',
|
|
|
|
|
+ time: '20-12-01 19:37',
|
|
|
|
|
+ adutTime: '20-12-01 20:37',
|
|
|
|
|
+ price: '1000.00',
|
|
|
|
|
+ money: '100',
|
|
|
|
|
+ num: '1',
|
|
|
|
|
+ pointAmount: '10100.00',
|
|
|
|
|
+ apply: 'lishunli',
|
|
|
|
|
+ adutPerson: 'wamgping',
|
|
|
|
|
+ status: '审核驳回'
|
|
|
|
|
+ },
|
|
|
|
|
+ ];
|
|
|
return {
|
|
return {
|
|
|
visible,
|
|
visible,
|
|
|
cancel,
|
|
cancel,
|
|
@@ -220,6 +330,9 @@ export default defineComponent({
|
|
|
maskClosableFlag,
|
|
maskClosableFlag,
|
|
|
getContractTypeName,
|
|
getContractTypeName,
|
|
|
getBizTypeName,
|
|
getBizTypeName,
|
|
|
|
|
+ activeKey: ref('1'),
|
|
|
|
|
+ columns,
|
|
|
|
|
+ data
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
});
|
|
});
|
|
@@ -227,18 +340,56 @@ export default defineComponent({
|
|
|
|
|
|
|
|
<style lang="less">
|
|
<style lang="less">
|
|
|
.custom-detail {
|
|
.custom-detail {
|
|
|
-}
|
|
|
|
|
-.ant-form.inlineForm {
|
|
|
|
|
- margin-top: 20px;
|
|
|
|
|
-}
|
|
|
|
|
-.white {
|
|
|
|
|
- color: @m-white0;
|
|
|
|
|
-}
|
|
|
|
|
-.blue {
|
|
|
|
|
- color: @m-blue0;
|
|
|
|
|
-}
|
|
|
|
|
-.green {
|
|
|
|
|
- color: @m-green0;
|
|
|
|
|
|
|
+ .ant-modal-body {
|
|
|
|
|
+ padding-top: 0;
|
|
|
|
|
+ padding-left: 0;
|
|
|
|
|
+ padding-right: 0;
|
|
|
|
|
+ .ant-tabs {
|
|
|
|
|
+ background: @m-black11;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ padding: 0 24px;
|
|
|
|
|
+ .ant-tabs-bar {
|
|
|
|
|
+ margin-bottom: 0;
|
|
|
|
|
+ border-bottom: 0;
|
|
|
|
|
+ }
|
|
|
|
|
+ .ant-tabs-nav-container {
|
|
|
|
|
+ .ant-tabs-nav-wrap {
|
|
|
|
|
+ .ant-tabs-nav {
|
|
|
|
|
+ .ant-tabs-tab {
|
|
|
|
|
+ width: 70px;
|
|
|
|
|
+ margin-right: 43px;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ color: #88A0AE;
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+ line-height: 45px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .ant-tabs-tab-active.ant-tabs-tab {
|
|
|
|
|
+ color: #3A87F7;
|
|
|
|
|
+ }
|
|
|
|
|
+ .ant-tabs-ink-bar {
|
|
|
|
|
+ width: 70px !important;
|
|
|
|
|
+ background: #3A87F7;
|
|
|
|
|
+ .rounded-corners(1px);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .tableDatas {
|
|
|
|
|
+ margin-top: 26px;
|
|
|
|
|
+ padding: 0 24px;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ .dialogTable {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ overflow: overlay;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .ant-form.inlineForm {
|
|
|
|
|
+ margin-top: 20px;
|
|
|
|
|
+ padding: 0 24px;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
</style
|
|
</style
|
|
|
>;
|
|
>;
|