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