|  | @@ -79,19 +79,39 @@
 | 
											
												
													
														|  |        <el-table :data="tableData" :header-cell-style="{borderBottom:'1px dashed #dfe6ec'}" :cell-style="cellStyle"
 |  |        <el-table :data="tableData" :header-cell-style="{borderBottom:'1px dashed #dfe6ec'}" :cell-style="cellStyle"
 | 
											
												
													
														|  |                  style="width: 67.5%;float: left;"
 |  |                  style="width: 67.5%;float: left;"
 | 
											
												
													
														|  |        >
 |  |        >
 | 
											
												
													
														|  | -        <el-table-column prop="name" label="待办事宜">
 |  | 
 | 
											
												
													
														|  | 
 |  | +        <el-table-column prop="refno1" :show-overflow-tooltip="true" label="委托方"></el-table-column>
 | 
											
												
													
														|  | 
 |  | +        <el-table-column prop="auditItem" :show-overflow-tooltip="true" label="日期">
 | 
											
												
													
														|  | 
 |  | +          <template slot-scope="scope">
 | 
											
												
													
														|  | 
 |  | +            <span>{{ scope.row.auditItem.slice(0,10) }}</span>
 | 
											
												
													
														|  | 
 |  | +          </template>
 | 
											
												
													
														|  | 
 |  | +        </el-table-column>
 | 
											
												
													
														|  | 
 |  | +        <el-table-column prop="refno3" :show-overflow-tooltip="true" label="提单号"></el-table-column>
 | 
											
												
													
														|  | 
 |  | +        <el-table-column prop="refno2" :show-overflow-tooltip="true" label="业务类型">
 | 
											
												
													
														|  | 
 |  | +          <template slot-scope="scope">
 | 
											
												
													
														|  | 
 |  | +            <span v-if="scope.row.refno2 === 'SJRK'">入库</span>
 | 
											
												
													
														|  | 
 |  | +            <span v-else-if="scope.row.refno2 === 'SJCK'">出库</span>
 | 
											
												
													
														|  | 
 |  | +            <span v-else-if="scope.row.refno2 === 'HQZY'">货转</span>
 | 
											
												
													
														|  | 
 |  | +            <span v-else-if="scope.row.refno2 === 'CKDB'">调拨</span>
 | 
											
												
													
														|  | 
 |  | +            <span v-else-if="scope.row.refno2 === 'CCF'">仓储费</span>
 | 
											
												
													
														|  | 
 |  | +            <span v-else-if="scope.row.refno2 === 'ZYF'">作业费</span>
 | 
											
												
													
														|  | 
 |  | +            <span v-else-if="scope.row.refno2 === 'SF'">收费</span>
 | 
											
												
													
														|  | 
 |  | +            <span v-else-if="scope.row.refno2 === 'DZ'">对账</span>
 | 
											
												
													
														|  | 
 |  | +            <span v-else-if="scope.row.refno2 === 'FF'">付费</span>
 | 
											
												
													
														|  | 
 |  | +          </template>
 | 
											
												
													
														|  | 
 |  | +        </el-table-column>
 | 
											
												
													
														|  | 
 |  | +        <el-table-column prop="address" label="操作" width="80">
 | 
											
												
													
														|  | 
 |  | +          <template slot-scope="scope">
 | 
											
												
													
														|  | 
 |  | +            <span style="cursor:pointer" @click="approval(scope.row)">查看详情</span>
 | 
											
												
													
														|  | 
 |  | +          </template>
 | 
											
												
													
														|  |          </el-table-column>
 |  |          </el-table-column>
 | 
											
												
													
														|  | -        <el-table-column prop="date" label="时间"></el-table-column>
 |  | 
 | 
											
												
													
														|  | -        <el-table-column prop="address" label="操作" width="80"></el-table-column>
 |  | 
 | 
											
												
													
														|  |        </el-table>
 |  |        </el-table>
 | 
											
												
													
														|  |        <el-table :data="tableDataTwo" :header-cell-style="{borderBottom:'1px dashed #dfe6ec'}" :cell-style="cellStyle"
 |  |        <el-table :data="tableDataTwo" :header-cell-style="{borderBottom:'1px dashed #dfe6ec'}" :cell-style="cellStyle"
 | 
											
												
													
														|  |                  style="width: 30%;float: right;margin-left: 20px;"
 |  |                  style="width: 30%;float: right;margin-left: 20px;"
 | 
											
												
													
														|  |        >
 |  |        >
 | 
											
												
													
														|  |          <el-table-column prop="noticeTitle" :show-overflow-tooltip="true" label="消息中心"/>
 |  |          <el-table-column prop="noticeTitle" :show-overflow-tooltip="true" label="消息中心"/>
 | 
											
												
													
														|  |          <el-table-column prop="address" label="操作" width="80">
 |  |          <el-table-column prop="address" label="操作" width="80">
 | 
											
												
													
														|  | -          <span @click="bug()" style="cursor:pointer">查看详情</span>
 |  | 
 | 
											
												
													
														|  |            <template slot-scope="scope">
 |  |            <template slot-scope="scope">
 | 
											
												
													
														|  | -            <span @click="bug(scope.row.noticeContent)" style="cursor:pointer">查看详情</span>
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <span @click="querytoDo(scope.row.noticeContent)" style="cursor:pointer">查看详情</span>
 | 
											
												
													
														|  |            </template>
 |  |            </template>
 | 
											
												
													
														|  |          </el-table-column>
 |  |          </el-table-column>
 | 
											
												
													
														|  |        </el-table>
 |  |        </el-table>
 | 
											
										
											
												
													
														|  | @@ -124,7 +144,7 @@
 | 
											
												
													
														|  |  </template>
 |  |  </template>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  <script>
 |  |  <script>
 | 
											
												
													
														|  | -import { listCorps, information, warehouse } from '../../src/api/index'
 |  | 
 | 
											
												
													
														|  | 
 |  | +import { listCorps, information, warehouse ,inquiry} from '../../src/api/index'
 | 
											
												
													
														|  |  import AddOrUpdate from '@/views/viewApproval'
 |  |  import AddOrUpdate from '@/views/viewApproval'
 | 
											
												
													
														|  |  import ApprovalComments from '@/views/startApproval'
 |  |  import ApprovalComments from '@/views/startApproval'
 | 
											
												
													
														|  |  export default {
 |  |  export default {
 | 
											
										
											
												
													
														|  | @@ -139,19 +159,7 @@ export default {
 | 
											
												
													
														|  |        dialogVisible: false,
 |  |        dialogVisible: false,
 | 
											
												
													
														|  |        addOrUpdateVisible: false,
 |  |        addOrUpdateVisible: false,
 | 
											
												
													
														|  |        addOrUpdateVisib: false,
 |  |        addOrUpdateVisib: false,
 | 
											
												
													
														|  | -      tableData: [{
 |  | 
 | 
											
												
													
														|  | -        date: '2020-11-20 12:00',
 |  | 
 | 
											
												
													
														|  | -        name: '某客户账单审核',
 |  | 
 | 
											
												
													
														|  | -        address: '查看详情'
 |  | 
 | 
											
												
													
														|  | -      }, {
 |  | 
 | 
											
												
													
														|  | -        date: '2020-11-20 12:00',
 |  | 
 | 
											
												
													
														|  | -        name: '某客户账单审核',
 |  | 
 | 
											
												
													
														|  | -        address: '查看详情'
 |  | 
 | 
											
												
													
														|  | -      }, {
 |  | 
 | 
											
												
													
														|  | -        date: '2020-11-20 12:00',
 |  | 
 | 
											
												
													
														|  | -        name: '仓储费审核结算审核',
 |  | 
 | 
											
												
													
														|  | -        address: '查看详情'
 |  | 
 | 
											
												
													
														|  | -      }],
 |  | 
 | 
											
												
													
														|  | 
 |  | +      tableData: [],
 | 
											
												
													
														|  |        chart: [],
 |  |        chart: [],
 | 
											
												
													
														|  |        warehouse: [],
 |  |        warehouse: [],
 | 
											
												
													
														|  |        master: [],
 |  |        master: [],
 | 
											
										
											
												
													
														|  | @@ -165,15 +173,58 @@ export default {
 | 
											
												
													
														|  |      AddOrUpdate,
 |  |      AddOrUpdate,
 | 
											
												
													
														|  |      ApprovalComments
 |  |      ApprovalComments
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  | -  mounted() {
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -  },
 |  | 
 | 
											
												
													
														|  |    created() {
 |  |    created() {
 | 
											
												
													
														|  |      this.getList()
 |  |      this.getList()
 | 
											
												
													
														|  |      this.warehouses()
 |  |      this.warehouses()
 | 
											
												
													
														|  |      this.firstinventory()
 |  |      this.firstinventory()
 | 
											
												
													
														|  | 
 |  | +    this.inquiry()
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    methods: {
 |  |    methods: {
 | 
											
												
													
														|  | 
 |  | +    //跳转审批页面
 | 
											
												
													
														|  | 
 |  | +    approval(row){
 | 
											
												
													
														|  | 
 |  | +      switch (row.refno2){
 | 
											
												
													
														|  | 
 |  | +        case 'SJRK':{
 | 
											
												
													
														|  | 
 |  | +          this.$router.push({ path: '/finance/contrast',query:{data:row}})
 | 
											
												
													
														|  | 
 |  | +          break
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +        case 'SJCK':{
 | 
											
												
													
														|  | 
 |  | +          break
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +        case 'HQZY':{
 | 
											
												
													
														|  | 
 |  | +          break
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +        case 'CKDB':{
 | 
											
												
													
														|  | 
 |  | +          break
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +        case 'CCF':{
 | 
											
												
													
														|  | 
 |  | +          break
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +        case 'ZYF':{
 | 
											
												
													
														|  | 
 |  | +          break
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +        case 'SF':{
 | 
											
												
													
														|  | 
 |  | +          break
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +        case 'DZ':{
 | 
											
												
													
														|  | 
 |  | +          break
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +        case 'FF':{
 | 
											
												
													
														|  | 
 |  | +          break
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +        default:{
 | 
											
												
													
														|  | 
 |  | +          return this.$message.error('未知错误,无状态')
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  | 
 |  | +    },
 | 
											
												
													
														|  | 
 |  | +    inquiry(){
 | 
											
												
													
														|  | 
 |  | +      let data = {
 | 
											
												
													
														|  | 
 |  | +        actId: ''
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  | 
 |  | +      inquiry(data).then( res =>{
 | 
											
												
													
														|  | 
 |  | +        console.log(res)
 | 
											
												
													
														|  | 
 |  | +        this.tableData = res.data
 | 
											
												
													
														|  | 
 |  | +      })
 | 
											
												
													
														|  | 
 |  | +    },
 | 
											
												
													
														|  |      getDataList(){
 |  |      getDataList(){
 | 
											
												
													
														|  |        this.addOrUpdateVisible = false
 |  |        this.addOrUpdateVisible = false
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
										
											
												
													
														|  | @@ -196,7 +247,7 @@ export default {
 | 
											
												
													
														|  |          this.$refs.ApprovalComments.init(id,actId)
 |  |          this.$refs.ApprovalComments.init(id,actId)
 | 
											
												
													
														|  |        })
 |  |        })
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  | -    bug(res) {
 |  | 
 | 
											
												
													
														|  | 
 |  | +    querytoDo(res) {
 | 
											
												
													
														|  |        this.dialogVisible = true
 |  |        this.dialogVisible = true
 | 
											
												
													
														|  |        this.text = res
 |  |        this.text = res
 | 
											
												
													
														|  |      },
 |  |      },
 |