zh 2 lat temu
rodzic
commit
68df356443

+ 11 - 12
src/views/supply/pickup/check.vue

@@ -197,16 +197,16 @@
                 {{ scope.row.printNum ? '已打单(' + scope.row.printNum + ')' : '未打单' }}
               </template>
             </el-table-column>
-            <el-table-column align="left" label="是否上楼" prop="isUp" min-width="160" show-overflow-tooltip >
-              <template v-slot="row">
-                {{ row.isUp=='YES'?'是':'否' }}
+            <el-table-column align="left" label="是否上楼" prop="isUp" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                {{ scope.row.isUp == 'YES' ? '是' : '否' }}
               </template>
             </el-table-column>
-          <el-table-column align="left" label="是否卸货" prop="isDischarge" min-width="160" show-overflow-tooltip >
-            <template v-slot="row">
-                {{ row.isDischarge=='YES'?'是':'否' }}
+            <el-table-column align="left" label="是否卸货" prop="isDischarge" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                {{ scope.row.isDischarge == 'YES' ? '是' : '否' }}
               </template>
-          </el-table-column>
+            </el-table-column>
             <el-table-column align="left" label="信息密钥" prop="informationKey" min-width="120" show-overflow-tooltip>
               <template slot-scope="scope">
                 <CopyButton :copyText="scope.row.informationKey" />
@@ -512,9 +512,9 @@ export default {
     exParams() {
       return {
         ...this.screenForm,
-        correspondId:this.screenForm.warehouse,
-        takerId: this.screenForm.manId, 
-        status: this.screenForm.status,
+        correspondId: this.screenForm.warehouse,
+        takerId: this.screenForm.manId,
+        status: this.screenForm.status
       }
     }
   },
@@ -590,9 +590,8 @@ export default {
     getLogisticsId(e) {
       if (this.companyList.length) {
         const item = this.companyList.find(k => k.id === e)
-      this.screenForm.company = item.logisticsCompany
+        this.screenForm.company = item.logisticsCompany
       }
-  
     },
     // 获取仓库列表
     getWarehouseList() {

+ 9 - 9
src/views/supply/pickup/pickup_list.vue

@@ -153,16 +153,16 @@
                 {{ scope.row.printNum ? '已打单' : '未打单' }}
               </template>
             </el-table-column>
-            <el-table-column align="left" label="是否上楼" prop="isUp" min-width="160" show-overflow-tooltip >
-              <template v-slot="row">
-                {{ row.isUp=='YES'?'是':'否' }}
+            <el-table-column align="left" label="是否上楼" prop="isUp" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                {{ scope.row.isUp == 'YES' ? '是' : '否' }}
               </template>
             </el-table-column>
-          <el-table-column align="left" label="是否卸货" prop="isDischarge" min-width="160" show-overflow-tooltip >
-            <template v-slot="row">
-                {{ row.isDischarge=='YES'?'是':'否' }}
+            <el-table-column align="left" label="是否卸货" prop="isDischarge" min-width="160" show-overflow-tooltip>
+              <template slot-scope="scope">
+                {{ scope.row.isDischarge == 'YES' ? '是' : '否' }}
               </template>
-          </el-table-column>
+            </el-table-column>
             <el-table-column align="left" label="打单日期" prop="printTime" min-width="160" show-overflow-tooltip />
             <el-table-column align="left" label="信息密钥" prop="informationKey" min-width="100" show-overflow-tooltip>
               <template slot-scope="scope">
@@ -374,8 +374,8 @@ export default {
         takerPhone: this.screenForm.takerPhone,
         createBy: this.screenForm.createBy,
         takerId: this.screenForm.takerId,
-        printStartTime: this.screenForm.printTime?this.screenForm.printTime[0]:'',
-        printEndTime: this.screenForm.printTime?this.screenForm.printTime[1]:'',
+        printStartTime: this.screenForm.printTime ? this.screenForm.printTime[0] : '',
+        printEndTime: this.screenForm.printTime ? this.screenForm.printTime[1] : '',
         salesOrderId: this.screenForm.salesOrderId
       }
     }

+ 12 - 12
src/views/supply/pickup/sum_list.vue

@@ -149,15 +149,15 @@
               {{ scope.row.printNum ? '已打单' : '未打单' }}
             </template>
           </el-table-column>
-          <el-table-column align="left" label="是否上楼" prop="isUp" min-width="160" show-overflow-tooltip >
-              <template v-slot="row">
-                {{ row.isUp=='YES'?'是':'否' }}
-              </template>
-            </el-table-column>
-          <el-table-column align="left" label="是否卸货" prop="isDischarge" min-width="160" show-overflow-tooltip >
-            <template v-slot="row">
-                {{ row.isDischarge=='YES'?'是':'否' }}
-              </template>
+          <el-table-column align="left" label="是否上楼" prop="isUp" min-width="160" show-overflow-tooltip>
+            <template slot-scope="scope">
+              {{ scope.row.isUp == 'YES' ? '是' : '否' }}
+            </template>
+          </el-table-column>
+          <el-table-column align="left" label="是否卸货" prop="isDischarge" min-width="160" show-overflow-tooltip>
+            <template slot-scope="scope">
+              {{ scope.row.isDischarge == 'YES' ? '是' : '否' }}
+            </template>
           </el-table-column>
           <el-table-column align="left" label="打单日期" prop="printTime" min-width="160" show-overflow-tooltip />
           <!-- <el-table-column align="left" label="信息密钥" prop="informationKey" min-width="100" show-overflow-tooltip>
@@ -303,14 +303,14 @@
             </el-col>
           </el-row>
         </el-timeline-item>
-      </el-timeline>   
-      <div v-else class="tip">暂无物流信息</div>   
+      </el-timeline>
+      <div v-else class="tip">暂无物流信息</div>
     </el-dialog>
   </div>
 </template>
 
 <script>
-import { getPickupList, getPickupManList,getListOrderTrack } from '@/api/supply/pickup'
+import { getPickupList, getPickupManList, getListOrderTrack } from '@/api/supply/pickup'
 import { getLogisticsList } from '@/api/basic_data/logistics'
 import { getWarehouseList } from '@/api/supply/engin'
 export default {