瀏覽代碼

提交福达采购

caojunjie 2 年之前
父節點
當前提交
62efbc5705
共有 1 個文件被更改,包括 8 次插入2 次删除
  1. 8 2
      src/views/exportTrade/purchaseContract/index.vue

+ 8 - 2
src/views/exportTrade/purchaseContract/index.vue

@@ -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>