licp
2024-03-11 5e18bf58d03f4b6830afddb92af9079dcc5587e2
src/views/plan/customerorder/index.vue
@@ -586,7 +586,7 @@
            sort: true,
            isTrue: true,
            isSearch: true,
            searchInfoType: 'text',
            searchInfoType: 'date',
            formatter: this.formatDutyDate,
          },
          {
@@ -1036,20 +1036,24 @@
        permitArr: [],
      })
    }
    this.table.toolbar.push({
        text: '下载工艺文件',
        disabled: false,
        type: 'primary',
        fun: this.downloadWord,
        permitArr: ['03plan','04planed'],
    })
    this.table.toolbar.push({
        text: '下载排产单',
        disabled: false,
        type: 'primary',
        permitArr: [],
        fun: this.downloadProductionScheduling,
    })
    if(this.permissions.plan_download_process_file){
        this.table.toolbar.push({
            text: '下载工艺文件',
            disabled: false,
            type: 'primary',
            fun: this.downloadWord,
            permitArr: ['03plan','04planed'],
        })
    }
    if(this.permissions.plan_download_product_file){
        this.table.toolbar.push({
            text: '下载排产单',
            disabled: false,
            type: 'primary',
            permitArr: [],
            fun: this.downloadProductionScheduling,
        })
    }
    this.table.toolbar.push({
      text: '关联订单',
      disabled: false,
@@ -1130,7 +1134,7 @@
            this.$message.error("请选择一条数据")
            return
        }
        downloadProduct({ids: ids}).then(res=>{
        downloadProduct(ids).then(res=>{
            if(res.status===200){
                transform(res)
            }