Przeglądaj źródła

feat(accountDetailTable): 添加 isShowDispatchDate 属性以控制调度日期显示

xieyong 2 tygodni temu
rodzic
commit
d648cf2e12

+ 1 - 0
src/views/financialManage/payableManage/components/detailDialog.vue

@@ -144,6 +144,7 @@
           :queryDimension="form.queryDimension"
           @totalChange="handleTotalChange"
           @countChange="handleCountChange"
+          :isShowDispatchDate="true"
         ></account-detail-table>
       </el-form>
     </div>

+ 5 - 1
src/views/saleManage/saleOrder/accountstatement/components/accountDetailTable.vue

@@ -217,6 +217,10 @@ import tabMixins from '@/mixins/tableColumnsMixin';
       queryDimension: {
         type: Number,
         default: 1
+      },
+      isShowDispatchDate: {
+        type: Boolean,
+        default: false
       }
     },
     data() {
@@ -440,7 +444,7 @@ import tabMixins from '@/mixins/tableColumnsMixin';
             }
           },
         ]
-        if(this.$route.path === '/receivableManage'){
+        if(this.$route.path === '/receivableManage' || this.isShowDispatchDate){
           columns = columns.filter((item) => item.prop !== 'productOperateTime');
         }
         return this.applyColumnWidth(columns);