|
@@ -122,6 +122,24 @@
|
|
|
<detail-modal :openModal="openModal" ref="detailModal" @close="openModal = false" />
|
|
|
<!-- 收付款弹框 -->
|
|
|
<settleModal ref="settleModal" @ok="settleAcountPay" :openModal="openSettleModal" @close="openSettleModal=false"></settleModal>
|
|
|
+ <!-- 关联单号详情 -->
|
|
|
+ <a-modal
|
|
|
+ centered
|
|
|
+ class="bizOrderDetail-modal"
|
|
|
+ :footer="null"
|
|
|
+ :maskClosable="false"
|
|
|
+ :bodyStyle="{padding:'12px'}"
|
|
|
+ :title="curBizTitle"
|
|
|
+ v-model="openDetailModal"
|
|
|
+ v-if="openDetailModal"
|
|
|
+ @cancel="handleDetailClose"
|
|
|
+ width="80%">
|
|
|
+ <div style="max-height: 700px;overflow-y: auto;">
|
|
|
+ <!-- 采购入库 -->
|
|
|
+ <salesDetailModal v-if="fcBizType=='SELL'" :outBizSn="orderSn" />
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </a-modal>
|
|
|
</a-card>
|
|
|
</template>
|
|
|
|
|
@@ -147,6 +165,10 @@ export default {
|
|
|
enableFundAccount: false, // 是否开启资金账户管理
|
|
|
tableHeight: 0,
|
|
|
curBizType: 'ALL',
|
|
|
+ openDetailModal: false, // 关联单详情
|
|
|
+ curBizTitle: '',
|
|
|
+ fcBizType: '',
|
|
|
+ orderSn: null,
|
|
|
// 查询参数
|
|
|
queryParam: {
|
|
|
bizType: 'ALL',
|
|
@@ -218,8 +240,18 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ // 查看关联单号
|
|
|
handleDetail (row) {
|
|
|
-
|
|
|
+ console.log(row)
|
|
|
+ this.orderSn = row.bizSn
|
|
|
+ this.fcBizType = row.bizType
|
|
|
+ this.curBizTitle = row.bizTypeDictValue + '详情'
|
|
|
+ this.openDetailModal = true
|
|
|
+ },
|
|
|
+ handleDetailClose () {
|
|
|
+ this.openDetailModal = false
|
|
|
+ this.fcBizType = null
|
|
|
+ this.orderSn = null
|
|
|
},
|
|
|
...mapActions(['GetSettleAccountState']),
|
|
|
// 表格选中项
|