licp
2024-03-25 f75c4df0ca8cdee5c15f0ecd4288825f35b19bf1
src/components/view/b1-expenses.vue
@@ -47,11 +47,24 @@
            <el-row class="title">
               <el-col :span="12" style="padding-left: 20px;">费用统计</el-col>
          <el-col :span="12" style="text-align: right;">
                  <el-button size="small" type="primary">下单</el-button>
                  <el-button size="small" type="primary">OA推送</el-button>
               </el-col>
            </el-row>
         </div>
         <div class="search">
        <div class="search_thing">
               <div class="search_label">时间范围:</div>
               <div class="search_input">
            <el-date-picker
              v-model="componentData.entity.sample"
              type="datetimerange"
              range-separator="至"
              format="yyyy-MM-dd HH:mm:ss"
              start-placeholder="开始日期"
              end-placeholder="结束日期">
            </el-date-picker>
          </div>
            </div>
            <div class="search_thing">
               <div class="search_label">样品名称:</div>
               <div class="search_input"><el-input size="small" placeholder="请输入" clearable
@@ -113,57 +126,8 @@
               isIndex: true,
               showSelect: false,
               select: false,
               do: [{
                  id: 'handleWeave',
                  font: '在线编制',
                  type: 'text',
                  method: 'handleWeave',
                  disabFun: (row, index) => {
                     return row.state != 1
                  }
               }, {
                  id: 'download',
                  font: '下载',
                  type: 'text',
                  method: 'download',
                  disabFun: (row, index) => {
                     return row.state != 1
                  }
               }, {
                  id: 'handleUpload',
                  font: '上传',
                  type: 'text',
                  method: 'handleUpload',
                  disabFun: (row, index) => {
                     return row.state != 0
                  }
               }, {
                  id: 'handlRestore',
                  font: '还原',
                  type: 'text',
                  method: 'handleRestore'
               }, {
            id: 'handleIssued',
                  font: '审核',
                  type: 'text',
                  method: 'handleIssued',
                  disabFun: (row, index) => {
                     return row.state != 1 || row.sendTime != null
                  }
               }, {
            id: 'handleApprove',
                  font: '批准',
                  type: 'text',
                  method: 'handleApprove',
                  disabFun: (row, index) => {
                     return row.state != 1 || row.sendTime != null
                  }
               }],
               linkEvent:{
                 entrustCode:{
                   method:'selectAllByOne'
                 }
               },
               do: [],
               linkEvent:{},
               tagField: {
                  type: {
                     select: [{