chenrui 2 năm trước cách đây
mục cha
commit
98a63671c9

+ 1 - 1
src/views/purchasingManagement/purchaseReturn/detailModal.vue

@@ -18,7 +18,7 @@
         <a-descriptions-item label="业务状态">{{ detailsData&&detailsData.returnReason || '--' }}</a-descriptions-item>
         <a-descriptions-item label="补充说明" :span="3">{{ detailsData&&detailsData.explainInfo || '--' }}</a-descriptions-item>
         <a-descriptions-item label="附件" :span="3">
-          <span v-if="detailsData&&detailsData.attachmentList">
+          <span v-if="detailsData&&detailsData.attachmentList&&detailsData.attachmentList.length>0">
             <a target="_blank" style="color: #00aaff;text-decoration: underline;margin-right: 15px;" :href="item.filePath" v-for="item in detailsData.attachmentList" :key="item.id">
               {{ item.fileName }}
             </a>

+ 1 - 1
src/views/purchasingManagement/purchaseReturn/list.vue

@@ -54,6 +54,7 @@
                   @click="handleExport"
                   :disabled="disabled"
                   :loading="exportLoading"
+                  v-if="$hasPermissions('B_purchaseReturnExport')"
                 >导出明细</a-button>
               </span>
             </a-col>
@@ -61,7 +62,6 @@
         </a-form>
       </div>
       <!-- 操作按钮 -->
-      <!-- v-if="$hasPermissions('B_sparePartsExport')" -->
       <div class="table-operator">
         <a-button v-if="$hasPermissions('B_sparePartsNew')" id="bulkWarehousingOrderList-add" type="primary" class="button-error" @click="handleAdd">新增</a-button>
         <!-- <a-button

+ 2 - 1
src/views/purchasingManagement/purchaseReturn/queryPart.vue

@@ -110,7 +110,8 @@ export default {
         beginDate: '',
         endDate: '',
         sparePartsNo: '',
-        isZero: 0
+        isZero: 0,
+        createDate: '2023-01-01 00:00:00'
       },
       warehousingDate: [], // 入库时间
       disabled: false, //  查询、重置按钮是否可操作