项目详情修改 提交禁用

This commit is contained in:
fengachen
2021-09-14 18:03:17 +08:00
parent 741cc0f828
commit 7152309db0
3 changed files with 12 additions and 1 deletions
+4 -1
View File
@@ -44,7 +44,7 @@
<a-row :gutter="24">
<a-col :span="12">
<label>来款企业</label>
<span>{{basicInfo.companyName}}<j-ellipsis :value="basicInfo.receivableAmount" :length="20"></j-ellipsis></span>
<span><j-ellipsis :value="basicInfo.companyName" :length="20"></j-ellipsis></span>
</a-col>
<a-col :span="12">
<label>企业联系人</label>
@@ -126,6 +126,9 @@
<span slot="action" class="action-span-cell">
<a @click="lookLogistics()">查看物流</a>
</span>
<!-- <p slot="expandedRowRender" slot-scope="record" style="margin: 0">-->
<!-- {{ record.sendDate }}-->
<!-- </p>-->
</a-table>
</div>
</section>
@@ -75,6 +75,10 @@
</a-row>
</a-form>
</a-spin>
<template slot="footer">
<a-button @click="handleCancel">关闭</a-button>
<a-button type="primary" @click="handleOk" v-preventclick>确定</a-button>
</template>
</j-modal>
</template>
@@ -159,6 +163,7 @@ export default {
// 触发表单验证
this.form.validateFields((err, values) => {
if (!err) {
that.confirmLoading = true
let httpurl = ''
let method = ''
if (!this.model.id) {
@@ -174,6 +179,7 @@ export default {
if (res.success) {
that.$message.success(res.message)
that.$emit('ok')
that.confirmLoading = false
that.close()
} else {
that.$message.warning(res.message)
@@ -373,6 +373,7 @@ export default {
// 触发表单验证
this.form.validateFields((err, values) => {
if (!err) {
that.confirmLoading = true
let httpurl = ''
if (!this.model.id) {
httpurl += this.url.add
@@ -387,6 +388,7 @@ export default {
if (res.success) {
that.$message.success(res.message)
that.$emit('ok')
that.confirmLoading = false
that.close()
} else {
that.$message.warning(res.message)