This commit is contained in:
		
							parent
							
								
									a4316fa9e9
								
							
						
					
					
						commit
						66f2057580
					
				| 
						 | 
				
			
			@ -278,22 +278,22 @@
 | 
			
		|||
          <div class="fillIn" style="margin-top: 30px; display: flex; justify-content: space-between">
 | 
			
		||||
            <div class="item" style="width: 23%; display: flex; align-items: center; flex-wrap: wrap">
 | 
			
		||||
              <div style="width: 25%">审核:</div>
 | 
			
		||||
              <div
 | 
			
		||||
                style="width: 75%; display: flex; align-items: center; flex-wrap: wrap"
 | 
			
		||||
                v-if="approveSignList.length > 0"
 | 
			
		||||
              >
 | 
			
		||||
                <div
 | 
			
		||||
                  style="width: 75%; display: flex; align-items: center; flex-wrap: wrap"
 | 
			
		||||
                  v-if="approveSignList.length > 0"
 | 
			
		||||
                  style="width: 80%; margin-left: 20px; height: 40px"
 | 
			
		||||
                  v-for="(item, index) in approveSignList"
 | 
			
		||||
                  :key="index"
 | 
			
		||||
                >
 | 
			
		||||
                  <div
 | 
			
		||||
                    style="width: 80%; margin-left: 20px; height: 40px"
 | 
			
		||||
                    v-for="(item, index) in approveSignList"
 | 
			
		||||
                    :key="index"
 | 
			
		||||
                  >
 | 
			
		||||
                    <img
 | 
			
		||||
                      :src="item.outSignUrl"
 | 
			
		||||
                      style="width: 40px; height: 90px; max-width: 100%"
 | 
			
		||||
                      :style="{ transform: item.outSignType == 0 ? 'rotate(-90deg)' : '' }"
 | 
			
		||||
                      alt=""
 | 
			
		||||
                    />
 | 
			
		||||
                  </div>
 | 
			
		||||
                  <img
 | 
			
		||||
                    :src="item.outSignUrl"
 | 
			
		||||
                    style="width: 40px; height: 90px; max-width: 100%"
 | 
			
		||||
                    :style="{ transform: item.outSignType == 0 ? 'rotate(-90deg)' : '' }"
 | 
			
		||||
                    alt=""
 | 
			
		||||
                  />
 | 
			
		||||
                </div>
 | 
			
		||||
              </div>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="item" style="width: 24%; display: flex; align-items: center; flex-wrap: wrap">
 | 
			
		||||
| 
						 | 
				
			
			@ -336,14 +336,18 @@
 | 
			
		|||
            <div class="item" style="width: 28%; display: flex; align-items: center">
 | 
			
		||||
              <div style="width: 25%">库管:</div>
 | 
			
		||||
              <div style="width: 75%; display: flex; align-items: center; flex-wrap: wrap" v-if="kgSignList.length > 0">
 | 
			
		||||
                <img
 | 
			
		||||
                <div
 | 
			
		||||
                  style="width: 80%; margin-left: 20px; height: 40px"
 | 
			
		||||
                  v-for="(item, index) in kgSignList"
 | 
			
		||||
                  :key="index"
 | 
			
		||||
                  :src="item.outSignUrl"
 | 
			
		||||
                  style="width: 50px; height: 100px"
 | 
			
		||||
                  :style="{ transform: item.outSignType == 0 ? 'rotate(-90deg)' : '' }"
 | 
			
		||||
                  alt=""
 | 
			
		||||
                />
 | 
			
		||||
                >
 | 
			
		||||
                  <img
 | 
			
		||||
                    :src="item.outSignUrl"
 | 
			
		||||
                    style="width: 40px; height: 90px"
 | 
			
		||||
                    :style="{ transform: item.outSignType == 0 ? 'rotate(-90deg)' : '' }"
 | 
			
		||||
                    alt=""
 | 
			
		||||
                  />
 | 
			
		||||
                </div>
 | 
			
		||||
              </div>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="item" style="width: 25%; display: flex; align-items: center">
 | 
			
		||||
| 
						 | 
				
			
			@ -351,8 +355,8 @@
 | 
			
		|||
              <div style="width: 75%" v-if="leaseApplyData.leaseSignUrl">
 | 
			
		||||
                <img
 | 
			
		||||
                  :src="leaseApplyData.leaseSignUrl"
 | 
			
		||||
                  :class="{ 'is-rotate': leaseApplyData.leaseSignType == 0 }"
 | 
			
		||||
                  style="width: 40px; height: 90px; max-width: 100%"
 | 
			
		||||
                  :style="{ transform: confirmSign.confirmSignType == 0 ? 'rotate(-90deg)' : '' }"
 | 
			
		||||
                  alt=""
 | 
			
		||||
                />
 | 
			
		||||
              </div>
 | 
			
		||||
| 
						 | 
				
			
			@ -450,7 +454,14 @@
 | 
			
		|||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import { getCompleteOutTaskList, outInfoList, confirmMaterial, getInfoApi, getLeaseRequestVoApi,getCompleteTaskList } from '@/api/lease/out'
 | 
			
		||||
import {
 | 
			
		||||
  getCompleteOutTaskList,
 | 
			
		||||
  outInfoList,
 | 
			
		||||
  confirmMaterial,
 | 
			
		||||
  getInfoApi,
 | 
			
		||||
  getLeaseRequestVoApi,
 | 
			
		||||
  getCompleteTaskList
 | 
			
		||||
} from '@/api/lease/out'
 | 
			
		||||
import vueEasyPrint from 'vue-easy-print'
 | 
			
		||||
import printJS from 'print-js'
 | 
			
		||||
import chapter from '@/utils/chapter'
 | 
			
		||||
| 
						 | 
				
			
			@ -647,9 +658,11 @@ export default {
 | 
			
		|||
      })
 | 
			
		||||
    },
 | 
			
		||||
    openBills(row) {
 | 
			
		||||
      console.log('🚀 ~ openBills ~ row:', row)
 | 
			
		||||
      const params = {
 | 
			
		||||
        id: this.confirmForm2.id,
 | 
			
		||||
        leaseSignId: row.leaseSignId
 | 
			
		||||
        leaseSignId: row.leaseSignId,
 | 
			
		||||
        publishTask: row.publishTask
 | 
			
		||||
      }
 | 
			
		||||
      getLeaseRequestVoApi(params).then(res => {
 | 
			
		||||
        this.leaseApplyData = res.data.leaseApplyInfo
 | 
			
		||||
| 
						 | 
				
			
			@ -692,7 +705,7 @@ export default {
 | 
			
		|||
      this.showPass = true
 | 
			
		||||
      const passArray = row.maTypeNames.split(',')
 | 
			
		||||
      this.passContent = passArray.slice(0, 3).join(',')
 | 
			
		||||
      const date = new Date(row.confirmTime)
 | 
			
		||||
      const date = new Date(row.confirmTime || Date.now())
 | 
			
		||||
      this.passTime = `${date.getFullYear()}年${date.getMonth() + 1}月${date.getDate()}日`
 | 
			
		||||
    },
 | 
			
		||||
    printPass() {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -343,8 +343,8 @@
 | 
			
		|||
                >
 | 
			
		||||
                  <img
 | 
			
		||||
                    :src="item.outSignUrl"
 | 
			
		||||
                    :class="{ 'is-rotate': item.outSignType == 0 }"
 | 
			
		||||
                    style="width: 40px; height: 90px; max-width: 100%"
 | 
			
		||||
                    :style="{ transform: item.outSignType == 0 ? 'rotate(-90deg)' : '' }"
 | 
			
		||||
                    alt=""
 | 
			
		||||
                  />
 | 
			
		||||
                </div>
 | 
			
		||||
| 
						 | 
				
			
			@ -355,8 +355,8 @@
 | 
			
		|||
              <div style="width: 75%" v-if="leaseApplyData.leaseSignUrl">
 | 
			
		||||
                <img
 | 
			
		||||
                  :src="leaseApplyData.leaseSignUrl"
 | 
			
		||||
                  :class="{ 'is-rotate': leaseApplyData.leaseSignType == 0 }"
 | 
			
		||||
                  style="width: 40px; height: 90px; max-width: 100%"
 | 
			
		||||
                  :style="{ transform: leaseApplyData.leaseSignType == 0 ? 'rotate(-90deg)' : '' }"
 | 
			
		||||
                  alt=""
 | 
			
		||||
                />
 | 
			
		||||
              </div>
 | 
			
		||||
| 
						 | 
				
			
			@ -666,7 +666,8 @@ export default {
 | 
			
		|||
    openBills(row) {
 | 
			
		||||
      const params = {
 | 
			
		||||
        id: this.confirmForm2.id,
 | 
			
		||||
        leaseSignId: row.leaseSignId
 | 
			
		||||
        leaseSignId: row.leaseSignId,
 | 
			
		||||
        publishTask: row.publishTask
 | 
			
		||||
      }
 | 
			
		||||
      getLeaseRequestVoApi(params).then(res => {
 | 
			
		||||
        this.leaseApplyData = res.data.leaseApplyInfo
 | 
			
		||||
| 
						 | 
				
			
			@ -709,7 +710,7 @@ export default {
 | 
			
		|||
      this.showPass = true
 | 
			
		||||
      const passArray = row.maTypeNames.split(',')
 | 
			
		||||
      this.passContent = passArray.slice(0, 3).join(',')
 | 
			
		||||
      const date = new Date(row.confirmTime)
 | 
			
		||||
      const date = new Date(row.confirmTime || Date.now())
 | 
			
		||||
      this.passTime = `${date.getFullYear()}年${date.getMonth() + 1}月${date.getDate()}日`
 | 
			
		||||
    },
 | 
			
		||||
    printPass() {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue