[update] 提交禁用

This commit is contained in:
zhaoxiao
2021-09-14 18:13:00 +08:00
parent 7152309db0
commit 5d0881b7e8
24 changed files with 97 additions and 16 deletions
@@ -97,6 +97,11 @@
</a-row>
</a-form>
</a-spin>
<template slot="footer">
<a-button @click="handleCancel">关闭</a-button>
<a-button @click="handleOk" type="primary" v-preventclick>确定</a-button>
</template>
</j-modal>
</template>
@@ -96,6 +96,10 @@
</a-row>
</a-form>
</a-spin>
<template slot="footer">
<a-button @click="handleCancel">关闭</a-button>
<a-button @click="handleOk" type="primary" v-preventclick>确定</a-button>
</template>
</j-modal>
</template>
@@ -6,17 +6,17 @@
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-col :xxl="4" :xl="10" :lg="12" :md="12" :sm="24">
<a-form-item label="合同编号" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input placeholder="请输入合同编号" v-model="queryParam.contractNum"></a-input>
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-col :xxl="4" :xl="10" :lg="12" :md="12" :sm="24">
<a-form-item label="合同名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input placeholder="请输入合同名称" v-model="queryParam.contractName"></a-input>
</a-form-item>
</a-col>
<a-col :xl="10" :lg="11" :md="12" :sm="24">
<a-col :xxl="8" :xl="10" :lg="11" :md="12" :sm="24">
<a-form-item label="创建时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-date
placeholder="请选择开始日期"
@@ -224,7 +224,7 @@
</div>
<!-- /分期信息-->
<a-form-item class="table-operator">
<a-button type="primary" @click="handleSave">保存</a-button>
<a-button type="primary" @click="handleSave" v-preventclick>保存</a-button>
<a-button @click="handleCancle">取消</a-button>
</a-form-item>
</a-form>
@@ -21,7 +21,7 @@
</span>
</a-table>
<a-button type="primary" @click="submitAduit" :loading="associatedProjectLoading" v-if="canOperate">提交审核</a-button>
<a-button type="primary" @click="submitAduit" :loading="associatedProjectLoading" v-if="canOperate" v-preventclick>提交审核</a-button>
</div>
</template>
@@ -229,7 +229,7 @@
</div>
<!-- /分期信息-->
<a-form-item class="table-operator">
<a-button type="primary" @click="handleSave">保存</a-button>
<a-button type="primary" @click="handleSave" v-preventclick>保存</a-button>
<a-button @click="handleCancle">取消</a-button>
</a-form-item>
</a-form>
@@ -96,6 +96,11 @@
:default-charge-way="2"
:is-contract-num-disabled="true"
@ok="selectProjectOk"></general-project-module>
<template slot="footer">
<a-button @click="handleCancel">关闭</a-button>
<a-button @click="handleOk" type="primary" v-preventclick>确定</a-button>
</template>
</j-modal>
</template>
@@ -72,12 +72,18 @@
<!-- /表格区域-->
<!-- 工作组项目新增-->
<working-group-member-unit-module ref="workingGroupMemberForm"
@ok="modalFormOk"
v-bind="$attrs"
:disabled-charge-company="true"
:is-contract-num-disabled="true"
:default-charge-way="2"></working-group-member-unit-module>
<working-group-member-unit-module
ref="workingGroupMemberForm"
@ok="modalFormOk"
v-bind="$attrs"
:disabled-charge-company="true"
:is-contract-num-disabled="true"
:default-charge-way="2"></working-group-member-unit-module>
<template slot="footer">
<a-button @click="handleCancel">关闭</a-button>
<a-button @click="handleOk" type="primary" v-preventclick>确定</a-button>
</template>
</j-modal>
</template>
@@ -104,7 +110,7 @@ export default {
contractId: {
type: String,
requird: false,
default: null,
default: null
},
// 项目类型,1--普通项目;2--工作组项目;3--会议项目;4--会员项目
projectType: {
@@ -73,6 +73,11 @@
</a-row>
</a-form>
</a-spin>
<template slot="footer">
<a-button @click="handleCancel">关闭</a-button>
<a-button @click="handleOk" type="primary" v-preventclick>确定</a-button>
</template>
</j-modal>
</template>
@@ -34,6 +34,11 @@
</a-row>
</a-form>
</a-spin>
<template slot="footer">
<a-button @click="handleCancel">关闭</a-button>
<a-button @click="handleOk" type="primary" v-preventclick>确定</a-button>
</template>
</j-modal>
</template>
@@ -37,7 +37,7 @@
@change="e => {e.target.value = (e.target.value + '').trim()}"/>
</a-form-item>
<a-form-item class="table-operator">
<a-button type="primary" @click=handleOk>保存</a-button>
<a-button type="primary" @click="handleOk" v-preventclick>保存</a-button>
<a-button @click="handleCancle">取消</a-button>
</a-form-item>
</a-form>
@@ -34,6 +34,11 @@
</a-form-item>
</a-form>
</a-spin>
<template slot="footer">
<a-button @click="handleCancel">关闭</a-button>
<a-button @click="handleOk" type="primary" v-preventclick>确定</a-button>
</template>
</j-modal>
</template>
@@ -42,7 +42,7 @@
<a-empty v-else></a-empty>
<template slot="footer">
<a-button type="primary" @click="handleAdd">添加阶段</a-button>
<a-button type="primary" @click="handleAdd" v-preventclick>添加阶段</a-button>
</template>
<arrive-module ref="arriveModal" :project-id="projectId" @ok="addArriveOk"></arrive-module>
@@ -40,6 +40,11 @@
</a-form-item>
</a-form>
</a-spin>
<template slot="footer">
<a-button @click="handleCancel">关闭</a-button>
<a-button @click="handleOk" type="primary" v-preventclick>确定</a-button>
</template>
</j-modal>
</template>
@@ -55,7 +55,7 @@
</a-spin>
<template slot="footer">
<a-button type="primary" @click="handleAdd">添加阶段</a-button>
<a-button type="primary" @click="handleAdd" v-preventclick>添加阶段</a-button>
</template>
<invoicing-module
@@ -10,6 +10,11 @@
okText="保存"
cancelText="关闭">
<a-calendar :fullscreen="false" v-model="setTimeDate"></a-calendar>
<template slot="footer">
<a-button @click="handleCancel">关闭</a-button>
<a-button @click="handleOk" type="primary" v-preventclick>确定</a-button>
</template>
</j-modal>
</template>
@@ -59,6 +59,11 @@
</a-table>
</div>
</a-spin>
<template slot="footer">
<a-button @click="handleCancel">关闭</a-button>
<a-button @click="handleOk" type="primary" v-preventclick>确定</a-button>
</template>
</j-modal>
</template>
@@ -65,6 +65,11 @@
</a-table>
</a-spin>
<template slot="footer">
<a-button @click="handleCancel">关闭</a-button>
<a-button @click="handleOk" type="primary" v-preventclick>确定</a-button>
</template>
</j-modal>
</template>
@@ -92,6 +92,11 @@
</a-row>
</a-form>
</a-spin>
<template slot="footer">
<a-button @click="handleCancel">关闭</a-button>
<a-button @click="handleOk" type="primary" v-preventclick>确定</a-button>
</template>
</j-modal>
</template>
@@ -71,6 +71,11 @@
</a-table>
</div>
</a-spin>
<template slot="footer">
<a-button @click="handleCancel">关闭</a-button>
<a-button @click="handleOk" type="primary" v-preventclick>确定</a-button>
</template>
</j-modal>
</template>
@@ -162,6 +162,10 @@
</a-row>
</a-form>
</a-spin>
<template slot="footer">
<a-button @click="handleCancel">关闭</a-button>
<a-button @click="handleOk" type="primary" v-preventclick>确定</a-button>
</template>
</j-modal>
</template>
@@ -58,6 +58,10 @@
</a-row>
</a-form>
</a-spin>
<template slot="footer">
<a-button @click="handleCancel">关闭</a-button>
<a-button @click="handleOk" type="primary" v-preventclick>确定</a-button>
</template>
</j-modal>
</template>
@@ -195,6 +195,10 @@
</a-row>
</a-form>
</a-spin>
<template slot="footer">
<a-button @click="handleCancel">关闭</a-button>
<a-button @click="handleOk" type="primary" v-preventclick>确定</a-button>
</template>
</j-modal>
</template>
@@ -166,6 +166,10 @@
</a-row>
</a-form>
</a-spin>
<template slot="footer">
<a-button @click="handleCancel">关闭</a-button>
<a-button @click="handleOk" type="primary" v-preventclick>确定</a-button>
</template>
</j-modal>
</template>