|
@@ -10,10 +10,10 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div slot="bottom">
|
|
|
- <auditing-two-main ref="auditingtwoMain" />
|
|
|
+ <auditing-two-main ref="auditingtwoMain" @tempClick="(val) => { isBack = val }" />
|
|
|
<div class="submit-btn">
|
|
|
<el-button @click="$router.go(-1)">关闭</el-button>
|
|
|
- <el-button type="primary" @click="submitForm('temp')">暂存</el-button>
|
|
|
+ <el-button v-if="!isBack" type="primary" @click="submitForm('temp')">暂存</el-button>
|
|
|
<el-button type="primary" @click="submitForm('submit')">提交</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -29,6 +29,11 @@ export default {
|
|
|
auditingTwoMain: () => import('./auditingTwoMain.vue'),
|
|
|
SupplierManageView: () => import('../components/SupplierManageView.vue')
|
|
|
},
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ isBack: false
|
|
|
+ }
|
|
|
+ },
|
|
|
methods: {
|
|
|
async submitForm(type) {
|
|
|
const params = await this.$refs.auditingtwoMain.getSubmit(type)
|