소스 검색

达沃特销售订单点车号查看车辆位置

wangzhuo 2 년 전
부모
커밋
bf7faae095
1개의 변경된 파일23개의 추가작업 그리고 2개의 파일을 삭제
  1. 23 2
      src/views/businessManagement/salesOrder/index.vue

+ 23 - 2
src/views/businessManagement/salesOrder/index.vue

@@ -37,7 +37,8 @@
         </template>
           <!--车号1-->
           <template slot="wagonNumberOne" slot-scope="{ row }">
-              <span style="color: #409EFF;" @click="openTrack(row,1)">{{row.wagonNumberOne}}</span>
+            <span style="color: #409EFF;" @click="openTrack(row,1)">{{row.wagonNumberOne}}</span>
+<!--            <span style="color: #409EFF;" @click="openTrack(row,1)">鲁RM9561</span>-->
           </template>
 
         <template slot-scope="scope" slot="orderNo">
@@ -269,7 +270,9 @@ export default {
   methods: {
       // 车号查询位置
       openTrack(row, index) {
-          location({itemId: row.itemId, plateNo: row.wagonNumberOne, tenantId: this.hctenantId, color: '2'}).then(res => {
+        // location({itemId: row.itemId, plateNo: row.wagonNumberOne, tenantId: this.hctenantId, color: '2'}).then(res => {
+        // row.wagonNumberOne = '鲁RM9561'
+        location({itemId: row.id, plateNo: row.wagonNumberOne, tenantId: this.hctenantId, color: '2'}).then(res => {
               this.dialogVisible = true
               let this_ = this
               setTimeout(function () {
@@ -839,6 +842,24 @@ export default {
 };
 </script>
 
+
+<style scoped src="@/styles/demo-center.css"></style>
 <style scoped>
+#container {
+  height: 80vh;
+  width: 100%;
+}
+
+.input-card .btn {
+  margin-right: 1.2rem;
+  width: 9rem;
+}
 
+.input-card .btn:last-child {
+  margin-right: 0;
+}
 </style>
+
+<!--<style scoped>-->
+
+<!--</style>-->