Explorar o código

销售数据状态筛选调整,发货单导出按钮名字调整

qymljy hai 6 meses
pai
achega
39d04d7131

+ 1 - 0
src/HDrpManagement/dispatch/details/index.vue

@@ -8,6 +8,7 @@
         turnPageId="20221114135403"
         idname="sa_dispatchid"
         ownertable="sa_dispatch"
+        btnNameReport="导出发货单"
         :isGoDetail="true"
         :detailPath="detailPath"
         nowDetailPath="/dispatchdetail"

+ 2 - 2
src/components/normal-basic-layout/details/index.vue

@@ -12,7 +12,7 @@
           </div>
           <cpEdit class="mt-10" v-if="tool.checkAuth($route.name,'update')" :formPath="formPath" :oldFormPath="oldFormPath" :data="editData" btnType="default" @onAddSuccess="onSuccess" v-on="$listeners"></cpEdit>
           <!-- 打印 -->
-          <reportCenter size="mini" position="detail" class="inline-16 mt-10" :data="reportCenterLsit.filter(item => item.type == 'printinfo')" v-if="reportCenterLsit.filter(item => item.type == 'printinfo').length > 0 && systemappid != 163">
+          <reportCenter size="mini" position="detail" class="inline-16 mt-10" :data="reportCenterLsit.filter(item => item.type == 'printinfo')" v-if="reportCenterLsit.filter(item => item.type == 'printinfo').length > 0 && systemappid != 163" :btnName="btnNameReport">
             <template v-slot:print="scope2">
               <el-button @click="printBtn($route.query.id,scope2.data)" type="text" size="mini">{{$t('打 印')}}</el-button>
             </template>
@@ -139,7 +139,7 @@ import {mapGetters} from 'vuex'
 export default {
   props:['titleText','mainAreaData','turnPageId','delApiId','idname','ownertable','formPath','oldFormPath','editData','tags','tabs','statusCheck','pageChange','justsaler',
     'mainData','status','typeTask','isGroup','isBatch','modelName','isDelete','column','attachmentDisabled','disabled','isGoDetail','detailPath','nowDetailPath','detailId',
-  'isAdmin'],
+  'isAdmin','btnNameReport'],
   data () {
     return {
       drawer:false,

+ 1 - 1
src/views/salesData/modules/orderProductCategory.vue

@@ -241,7 +241,7 @@ export default {
       }else {
         this.param.content.dataid = val?val : this.dataid
       }
-     /* this.param.content.where.isleave = type*/
+      this.param.content.where.isleave = type
       this.param.content.dataType = this.type
       this.param.content.dateType = this.dateType === '全部'?'':this.dateType
       const res = await this.$api.requested(this.param)