签章流程
This commit is contained in:
@@ -30,9 +30,13 @@
|
||||
<vk-data-form ref="form1" v-model="form1.data" :action="form1.props.action" :columns="form1.props.columns"
|
||||
:rules="form1.props.rules" :form-type="form1.props.formType" :loading.sync="form1.props.loading"
|
||||
:before-action="form1.props.beforeAction" label-width="140px" cancel-text="保存草稿" submit-text="提交询价单"
|
||||
@success="onFormSuccess">
|
||||
@success="onFormSuccess" :footer-show="false">
|
||||
|
||||
</vk-data-form>
|
||||
<view class="form-footer">
|
||||
<el-button type="" >保存草稿</el-button>
|
||||
<el-button type="primary" @click="submit">提交询价单</el-button>
|
||||
</view>
|
||||
<!-- <el-divider content-position="left">其他设置</el-divider> -->
|
||||
</view>
|
||||
|
||||
@@ -110,16 +114,16 @@
|
||||
title: "运输限制",
|
||||
type: "text",
|
||||
},
|
||||
{key: "", title: "交易模式", type: "bar-title", component: 'custom-form-section'},
|
||||
{key: "", title: "交易说明", type: "bar-title", component: 'custom-form-section'},
|
||||
{key: "tradeMethod",
|
||||
title: "交易模式",
|
||||
type: "radio",
|
||||
data: [
|
||||
{ value: '自主交易', label: "自主交易" },
|
||||
{ value: '金久信公证', label: "金久信公证" },
|
||||
{ value: 1, label: "自主交易" },
|
||||
{ value: 0, label: "金久信公证" },
|
||||
],
|
||||
},
|
||||
{key: "", title: "交易说明", type: "bar-title"},
|
||||
// {key: "", title: "交易说明", type: "bar-title"},
|
||||
{
|
||||
key: "payMethod",
|
||||
title: "付款方式",
|
||||
@@ -199,6 +203,13 @@
|
||||
},
|
||||
addProduct() {
|
||||
this.productList.push({})
|
||||
},
|
||||
onFormSuccess() {
|
||||
vk.navigateTo('/pages/enquiry/list');
|
||||
},
|
||||
submit() {
|
||||
|
||||
this.$refs.form1.submitForm()
|
||||
}
|
||||
|
||||
}
|
||||
@@ -231,4 +242,12 @@
|
||||
padding-left: 140px;
|
||||
margin: 0 0 20px 0;
|
||||
}
|
||||
.form-footer {
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
background: #fff;
|
||||
padding-top: 0;
|
||||
text-align: center;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user