002390 1 سال پیش
والد
کامیت
d4ec3918f5
3فایلهای تغییر یافته به همراه27 افزوده شده و 15 حذف شده
  1. 24 12
      src/views/purchase/contract/add/index.vue
  2. 2 2
      src/views/purchase/contract/index.vue
  3. 1 1
      src/views/purchase/purchase-order/index.vue

+ 24 - 12
src/views/purchase/contract/add/index.vue

@@ -126,6 +126,8 @@ export default {
       this.params.buyerName = buyerName;
       this.params.puDept = puDept;
       this.params.puDeptName = puDeptName;
+      this.params["currency"] = '1002Z0100000000001K1';
+      this.params["currencyName"] = '人民币';
       this.visible = await this.fetchCode();
     },
     //
@@ -196,8 +198,29 @@ export default {
       :visible.sync="visible"
       append-to-body
       destroy-on-close
+      :show-close="false"
       @close="hide"
     >
+      <div slot="title" 
+          style="
+            display: flex;
+            justify-content: space-between;
+            align-items: center;
+          ">
+        <h3>{{title}}</h3>
+        <div style="text-align: right">
+          <el-button
+            type="primary"
+            :size="$attrs.size"
+            :loading="loading"
+            @click="useSubmit('superForm')"
+            >确 认</el-button>
+          <el-button :size="$attrs.size" :loading="loading" @click="hide"
+            >取 消</el-button>
+        </div>
+        
+      </div>
+
       <el-super-form
         v-model="params"
         :dict="dict"
@@ -258,18 +281,7 @@ export default {
           </el-super-table>
         </el-tab-pane>
       </el-tabs>
-      <div style="padding: 20px; text-align: right">
-        <el-button :size="$attrs.size" :loading="loading" @click="hide"
-          >取 消</el-button
-        >
-        <el-button
-          type="primary"
-          :size="$attrs.size"
-          :loading="loading"
-          @click="useSubmit('superForm')"
-          >确 认</el-button
-        >
-      </div>
+      
     </el-drawer>
   </el-button>
 </template>

+ 2 - 2
src/views/purchase/contract/index.vue

@@ -171,8 +171,8 @@ export default {
       @row-dblclick="useSee"
       @selection-change="useSelect"
     >
-      <el-table-column fixed width="55" align="center" label="#" prop="$index">
-      </el-table-column>
+      <!-- <el-table-column fixed width="55" align="center" label="#" prop="$index">
+      </el-table-column> -->
       <el-table-column fixed width="55" align="center" type="selection">
       </el-table-column>
     </el-super-table>

+ 1 - 1
src/views/purchase/purchase-order/index.vue

@@ -583,7 +583,7 @@ export default {
       @select="handleSelect"
     >
 
-      <el-table-column type="selection" width="45" ></el-table-column>
+      <el-table-column type="selection" width="45" fixed></el-table-column>
       <el-table-column type="index" width="50" label="序号"></el-table-column>
       <el-table-column fixed="right" label="操作" width="120">
           <template slot-scope="scope">