|
@@ -48,7 +48,7 @@
|
|
|
>复制单据
|
|
|
</el-button>
|
|
|
<el-button type="info" size="small" disabled>报表打印</el-button>
|
|
|
- <el-button type="info" size="small" @click="dialogVisible = true">导入销售单</el-button>
|
|
|
+ <el-button type="info" size="small" @click="dialogVisible = true;">导入销售单</el-button>
|
|
|
</template>
|
|
|
<template slot="corpIdSearch">
|
|
|
<crop-select v-model="search.corpId" corpType="KH"></crop-select>
|
|
@@ -145,6 +145,12 @@
|
|
|
v-if="dialogVisible"
|
|
|
:visible.sync="dialogVisible"
|
|
|
append-to-body
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ :close-on-press-escape="false"
|
|
|
+ :before-close="function() {
|
|
|
+ dialogVisible = false;params={}
|
|
|
+ }"
|
|
|
+ top="1vh"
|
|
|
width="80%">
|
|
|
<span>
|
|
|
<avue-crud :data="dialogData"
|
|
@@ -188,7 +194,7 @@
|
|
|
</avue-crud>
|
|
|
</span>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
- <el-button @click="dialogVisible = false">取 消</el-button>
|
|
|
+ <el-button @click="dialogVisible = false;params={}">取 消</el-button>
|
|
|
<el-button type="primary" :disabled="goodsListSave.length === 0" @click="confirmImport">导 入</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|