From 1449f79f342919f5b65003312b113a8dad229692 Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期三, 12 十一月 2025 11:14:23 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 UI-Project/src/views/GlassStorage/rawfilmstorage.vue |  699 ++++++++++++++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 626 insertions(+), 73 deletions(-)

diff --git a/UI-Project/src/views/GlassStorage/rawfilmstorage.vue b/UI-Project/src/views/GlassStorage/rawfilmstorage.vue
index 2f99f02..de6d522 100644
--- a/UI-Project/src/views/GlassStorage/rawfilmstorage.vue
+++ b/UI-Project/src/views/GlassStorage/rawfilmstorage.vue
@@ -4,20 +4,57 @@
 import {ElMessage, ElMessageBox} from 'element-plus'
 import {useI18n} from 'vue-i18n'
 import {host, WebSocketHost} from '@/utils/constants'
+import dayjs from 'dayjs';
 import request from "@/utils/request"
 import {closeWebSocket, initializeWebSocket} from '@/utils/WebSocketService';
+import { inject } from 'vue';
 const router = useRouter()
 const tableDataa = ref([])
 const tableDatab = ref([])
+const tableDatad = ref([])
 const {t} = useI18n()
 const add = ref(false)
 const dialogFormVisiblea = ref(false)
 const dialogFormVisibleb = ref(false)
 const dialogFormVisiblec = ref(false)
 const dialogFormVisiblee = ref(false)
+const blindb = ref(false)
 const Edit = ref(false)
-const timeRange = ref(["2022-01-01 00:00:00", "2025-01-01 00:00:00"])
+const card1 = ref(false)
+const card2 = ref(false)
+const card3 = ref(false)
+const card4 = ref(false)
+const card5 = ref(false)
+const card6 = ref(false)
+const card7 = ref(false)
+const card8 = ref(false)
+const card9 = ref(false)
+const card10 = ref(false)
+const card11 = ref(false)
+const card12 = ref(false)
+const card13 = ref(false)
+const card14 = ref(false)
+const card15 = ref(false)
+const card16 = ref(false)
+const card17 = ref(false)
+const card18 = ref(false)
+const card19 = ref(false)
+const card20 = ref(false)
+const card21 = ref(false)
+const card22 = ref(false)
+const card23 = ref(false)
+const card24 = ref(false)
+const card25 = ref(false)
+const card98 = ref(false)
+const card99 = ref(false)
+const card101 = ref(false)
+const card102 = ref(false)
+const card103 = ref(false)
+const card104 = ref(false)
+const timeRange = ref([])
+const timeRangea = ref([])
 const selectValuesa = reactive([]);
+const selectValuesb = reactive([]);
 const patternWidth = ref('');
 const patternHeight = ref('');
 const patternThickness = ref('');
@@ -27,6 +64,7 @@
 const leftingStation = ref('');
 const loadingline = ref('');
 let webSocket: WebSocket | null = null;  
+const globalDate = inject('globalDate');
 const value = ref('')
 const options = [
   {
@@ -42,27 +80,33 @@
   taskType: '',
   taskState: '',
 });
-request.post("/glassStorage/rawGlassStorageTask/setRawGlassTaskRequest",{
-      beginDate: "2022-01-01 00:00:00",
-      endDate: "2025-01-01 00:00:00",
+  let startTime = window.localStorage.getItem('startTime')
+  request.post("/glassStorage/rawGlassStorageTask/setRawGlassTaskRequest",{
+  beginDate: startTime,
+  endDate: globalDate,
 }).then((response) => {
           if (response.code == 200) {
-            tableDataa.value = response.data
-            console.log(tableDataa.value);
           } else {
           ElMessage.warning(response.msg)
-        
           }
           });
-onMounted(() => {
-    socket = initializeWebSocket(socketUrl, handleMessage);
+// 鏍煎紡鍖栧悗绔椂闂村苟璁$畻涓�鍛ㄥ墠鐨勬椂闂�
+const defaultTime = ref<[Date, Date]>([new Date(), new Date()]);
+function parseAndSetTime() {
+  const backendTime = new Date(globalDate);
+  const oneWeekAgo = new Date(backendTime.getTime() - 7 * 24 * 60 * 60 * 1000); // 鍑忓幓7澶�
+  oneWeekAgo.setHours(0, 0, 0, 0);
+  timeRange.value = [formatTimestamp(oneWeekAgo), formatTimestamp(backendTime)];
+  timeRangea.value = [formatTimestamp(oneWeekAgo), formatTimestamp(backendTime)];
+  window.localStorage.setItem('startTime', formatTimestamp(oneWeekAgo))
+}
+  onMounted(() => {
+  socket = initializeWebSocket(socketUrl, handleMessage);
+  parseAndSetTime();
 });
 let socket = null;
-const socketUrl = `ws://${WebSocketHost}:${host}/api/glassStorage/api/talk/rawGlass`;
+const socketUrl = `ws://${window.ipConfig.serverUrl}/api/glassStorage/api/talk/rawGlass`;
 const handleMessage = (data) => {
-  // if(data.tasks !=null){
-  // tableDataa.value = data.tasks[0]
-  // }
     const formattedTasks = data.tasks[0].map(task => {
       if (task && task.createTime) {
         return { ...task, createTime: formatTimestamp(task.createTime) };
@@ -72,11 +116,109 @@
     tableDataa.value = formattedTasks;
   if(data.rawStationDetailsList !=null){
   tableDatab.value = data.rawStationDetailsList[0]
-  console.log(tableDatab.value);
+  if (data.rawStationDetailsList[0][0].patternThickness !=null) {
+    card1.value = true
+  }
+  if (data.rawStationDetailsList[0][1].patternThickness !=null) {
+    card2.value = true
+  }
+  if (data.rawStationDetailsList[0][2].patternThickness !=null) {
+    card3.value = true
+  }
+  if (data.rawStationDetailsList[0][3].patternThickness !=null) {
+    card4.value = true
+  }
+  if (data.rawStationDetailsList[0][4].patternThickness !=null) {
+    card5.value = true
+  }
+  if (data.rawStationDetailsList[0][5].patternThickness !=null) {
+    card6.value = true
+  }
+  if (data.rawStationDetailsList[0][6].patternThickness !=null) {
+    card7.value = true
+  }
+  if (data.rawStationDetailsList[0][7].patternThickness !=null) {
+    card8.value = true
+  }
+  if (data.rawStationDetailsList[0][8].patternThickness !=null) {
+    card9.value = true
+  }
+  if (data.rawStationDetailsList[0][9].patternThickness !=null) {
+    card10.value = true
+  }
+  if (data.rawStationDetailsList[0][10].patternThickness !=null) {
+    card11.value = true
+  }
+  if (data.rawStationDetailsList[0][11].patternThickness !=null) {
+    card12.value = true
+  }
+  if (data.rawStationDetailsList[0][12].patternThickness !=null) {
+    card13.value = true
+  }
+  if (data.rawStationDetailsList[0][13].patternThickness !=null) {
+    card14.value = true
+  }
+  if (data.rawStationDetailsList[0][14].patternThickness !=null) {
+    card15.value = true
+  }
+  if (data.rawStationDetailsList[0][15].patternThickness !=null) {
+    card16.value = true
+  }
+  if (data.rawStationDetailsList[0][16].patternThickness !=null) {
+    card17.value = true
+  }
+  if (data.rawStationDetailsList[0][17].patternThickness !=null) {
+    card18.value = true
+  }
+  if (data.rawStationDetailsList[0][18].patternThickness !=null) {
+    card19.value = true
+  }
+  if (data.rawStationDetailsList[0][19].patternThickness !=null) {
+    card20.value = true
+  }
+  if (data.rawStationDetailsList[0][20].patternThickness !=null) {
+    card21.value = true
+  }
+  if (data.rawStationDetailsList[0][21].patternThickness !=null) {
+    card22.value = true
+  }
+  if (data.rawStationDetailsList[0][22].patternThickness !=null) {
+    card23.value = true
+  }
+  if (data.rawStationDetailsList[0][23].patternThickness !=null) {
+    card24.value = true
+  }
+  if (data.rawStationDetailsList[0][24].patternThickness !=null) {
+    card25.value = true
+  }
+  if (data.rawStationDetailsList[0][25].patternThickness !=null) {
+    card98.value = true
+  }
+  if (data.rawStationDetailsList[0][26].patternThickness !=null) {
+    card99.value = true
+  }
+  if (data.rawStationDetailsList[0][27].patternThickness !=null) {
+    card101.value = true
+  }
+  if (data.rawStationDetailsList[0][28].patternThickness !=null) {
+    card102.value = true
+  }
+  if (data.rawStationDetailsList[0][29].patternThickness !=null) {
+    card103.value = true
+  }
+  if (data.rawStationDetailsList[0][30].patternThickness !=null) {
+    card104.value = true
+  }
   }
 };
 const handleEdit = (row) => {
-  window.localStorage.setItem('slotId', row.slot)
+  patternWidth.value = row.patternWidth;
+  patternHeight.value = row.patternHeight;
+  patternThickness.value = row.patternThickness;
+  filmsId.value = row.filmsId;
+  remainQuantity.value = row.remainQuantity;
+  window.localStorage.setItem('deviceId', row.deviceId)
+  window.localStorage.setItem('slot', row.slot)
   Edit.value = true;
 };
 const handleBinda = (row) => {
@@ -111,11 +253,34 @@
       }  
     }  
   } catch (error) {
-    console.error('鍙戠敓閿欒:', error);  
   }  
 };
 // 鍘熺墖鍏ュ簱
 const handleup = async () => {
+    if (!patternWidth.value) {
+    ElMessage.error(t('film.inwidth'))
+    return
+  }
+    if (!patternHeight.value) {
+    ElMessage.error(t('film.inheight'))
+    return
+  }
+    if (!patternThickness.value) {
+    ElMessage.error(t('film.inthickness'))
+    return
+  }
+    if (!filmsId.value) {
+    ElMessage.error(t('film.infilms'))
+    return
+  }
+    if (!remainQuantity.value) {
+    ElMessage.error(t('film.inquantity'))
+    return
+  }
+    if (!slot.value) {
+    ElMessage.error(t('film.selectwarehousing'))
+    return
+  }
   try {
     const response = await request.post('/glassStorage/rawGlassStorageDetails/patternWarehousing', {
       patternWidth: patternWidth.value,
@@ -138,11 +303,14 @@
       ElMessage.error(response.message);
     }
   } catch (error) {
-    console.error(error);
   }
 };
 // 鍏ュ簱璇锋眰
 const handleupc = async () => {
+    if (!leftingStation.value) {
+    ElMessage.error(t('film.selectwarehousing'))
+    return
+  }
   try  {
     var url="/glassStorage/rawGlassStorageDetails/warehousingRequest?leftingStation="+leftingStation.value;
       const response = await request.post(url)
@@ -156,12 +324,14 @@
     }
 }
 catch (error) {
-    // 澶勭悊閿欒
-    console.error(error);
   }
 }
 // 鍑哄簱璇锋眰
 const handleupe = async () => {
+    if (!leftingStation.value) {
+    ElMessage.error(t('film.selectwarehousing'))
+    return
+  }
   try  {
     var url="/glassStorage/rawGlassStorageDetails/outWarehousingRequest?leftingStation="+leftingStation.value;
       const response = await request.post(url)
@@ -175,8 +345,6 @@
     }
 }
 catch (error) {
-    // 澶勭悊閿欒
-    console.error(error);
   }
 }
   // 鍑哄簱 
@@ -202,7 +370,6 @@
       }   
     }  
   } catch (error) {
-    console.error('鍙戠敓閿欒:', error);  
   }  
 }; 
 // 鏌ヨ鏁版嵁
@@ -256,35 +423,140 @@
 };
 // 淇敼鏁伴噺
 const Editclick = async () => {
-  let slotId = window.localStorage.getItem('slotId')
+  let slot = window.localStorage.getItem('slot')
+  let deviceId = window.localStorage.getItem('deviceId')
+    if (!patternWidth.value) {
+    ElMessage.error(t('film.inwidth'))
+    return
+  }
+    if (!patternHeight.value) {
+    ElMessage.error(t('film.inheight'))
+    return
+  }
+    if (!patternThickness.value) {
+    ElMessage.error(t('film.inthickness'))
+    return
+  }
+    if (!filmsId.value) {
+    ElMessage.error(t('film.infilms'))
+    return
+  }
+    if (!remainQuantity.value) {
+    ElMessage.error(t('basicData.selectquantity'))
+    return
+  }
   try {
     const response = await request.post('/glassStorage/rawGlassStorageDetails/updateQuantity', {
-      slotId: slotId,
+      deviceId: deviceId,
+      slot: slot,
       remainQuantity: remainQuantity.value,
+      filmsId: filmsId.value,
+      patternThickness: patternThickness.value,
+      patternHeight: patternHeight.value,
+      patternWidth: patternWidth.value,
   }
   ); 
     if (response.code === 200) {
       ElMessage.success(response.message);
       Edit.value = false;
       tableDatab.value = response.data;
+      patternWidth.value = '';
+      patternHeight.value = '';
+      patternThickness.value = '';
+      filmsId.value = '';
+      remainQuantity.value = '';
     } else {
       ElMessage.error(response.message);
     }
   } catch (error) {
-    console.error(error);
   }
 };
 // 鏍煎紡鍖栨椂闂存埑涓哄勾鏈堟棩鏃堕棿瀛楃涓茬殑鍑芥暟
-function formatTimestamp(timestamp) {
+function formatTimestamp(timestamp: number | Date): string {
   const date = new Date(timestamp);
   const year = date.getFullYear();
-  const month = String(date.getMonth() + 1).padStart(2, '0'); // 鏈堜唤浠�0寮�濮嬶紝闇�瑕佸姞1锛屽苟琛ラ浂
-  const day = String(date.getDate()).padStart(2, '0'); // 琛ラ浂
-  const hours = String(date.getHours()).padStart(2, '0'); // 琛ラ浂锛堝鏋滈渶瑕佹樉绀烘椂闂达級
-  const minutes = String(date.getMinutes()).padStart(2, '0'); // 琛ラ浂锛堝鏋滈渶瑕佹樉绀烘椂闂达級
-  const seconds = String(date.getSeconds()).padStart(2, '0'); // 琛ラ浂锛堝鏋滈渶瑕佹樉绀烘椂闂达級
+  const month = String(date.getMonth() + 1).padStart(2, '0');
+  const day = String(date.getDate()).padStart(2, '0');
+  const hours = String(date.getHours()).padStart(2, '0');
+  const minutes = String(date.getMinutes()).padStart(2, '0');
+  const seconds = String(date.getSeconds()).padStart(2, '0');
   return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
 }
+// 鍘嗗彶浠诲姟
+const iframeUrl = ref('');
+const handlehistorical = (row) => {
+  // historical()
+  // window.localStorage.setItem('pagenumber', 1)
+  blindb.value = true;
+  iframeUrl.value = `${window.location.origin}/#/GlassStorage/rawhistory`;
+};
+// const historical = async () => {
+//   try {
+//   let startTime = window.localStorage.getItem('startTime')
+//       const response = await request.post("/glassStorage/rawGlassStorageTask/queryRawGlassHistoryTask", {
+//         pageNo: 1,
+//         pageSize: 20,
+//         taskState: [],
+//         taskType: [],
+//         beginDate: startTime,
+//         endDate: globalDate
+//     })
+//       if (response.code == 200) {
+//   window.localStorage.setItem('pagenumber', 1)
+// } else {
+//     }
+// }
+// catch (error) {
+//   }
+// }
+// 浠诲姟鎴愬姛澶勭悊
+const successfull = async(row) => {
+  try {
+    const confirmResult = await ElMessageBox.confirm(  
+      t('searchOrder.psuccessfullyprocessed'), 
+      t('workOrder.prompt'),  
+      {  
+        confirmButtonText: t('workOrder.yes'), 
+        cancelButtonText: t('workOrder.cancel'),
+        type: 'warning',  
+      } 
+    );
+    if (confirmResult === 'confirm') {
+  var url="/glassStorage/rawGlassStorageTask/taskSuccess?taskId="+ row.id;
+      const response = await request.post(url)
+    if (response.code === 200) {
+      ElMessage.success(response.message);
+      } else {
+      ElMessage.error(response.msg);
+      }  
+    }  
+  } catch (error) {
+  }  
+}; 
+// 浠诲姟澶辫触澶勭悊
+const handleptask = async(row) => {
+  try {
+    const confirmResult = await ElMessageBox.confirm(  
+      t('searchOrder.ptaskfailure'), 
+      t('workOrder.prompt'),  
+      {  
+        confirmButtonText: t('workOrder.yes'), 
+        cancelButtonText: t('workOrder.cancel'),
+        type: 'warning',  
+      } 
+    );
+    if (confirmResult === 'confirm') {
+  var url="/glassStorage/rawGlassStorageTask/taskError?taskId="+ row.id;
+      const response = await request.post(url)
+    if (response.code === 200) {
+      ElMessage.success(response.message);
+      } else {
+      ElMessage.error(response.msg);
+      }  
+    }  
+  } catch (error) {
+  }  
+}; 
 function getStatusType1(taskType) {  
 switch (taskType) {  
   case 1:  
@@ -293,36 +565,44 @@
     return 'warning';  
   case 3:  
     return 'success';  
+  case 4:  
+    return 'danger';  
+  case 5:  
+    return 'primary';  
 }  
 }
 function getStatusText1(taskType) {  
 switch (taskType) {
   case 1:  
-    return t('film.stocke');//鍏ュ簱
+    return t('sorter.advancetask');//杩涚墖浠诲姟
   case 2:  
-    return t('film.outbound');//鍑哄簱
+    return t('sorter.outputtasks');//鍑虹墖浠诲姟
   case 3:  
-  return t('film.dispatch');//璋冨害
+  return t('sorter.schedulingtasks');//璋冨害浠诲姟
+  case 4:  
+  return t('sorter.advancerequests');//杩涚墖璇锋眰
+  case 5:  
+  return t('sorter.releaserequest');//鍑虹墖璇锋眰
 }  
 }
 function getStatusType2(taskState) {  
 switch (taskState) {  
-  case 1:  
+  case 0:  
     return 'info';  
   case 2:  
     return 'warning';  
-  case 3:  
+  case 1:  
     return 'success';  
 }  
 }
 function getStatusText2(taskState) {  
 switch (taskState) {
-  case 1:  
+  case 0:  
     return t('film.built');//鏂板缓
   case 2:  
-    return t('film.execution');//鎵ц涓�
-  case 3:  
-  return t('film.finish');//瀹屾垚
+    return t('film.fail');//澶辫触
+  case 1:  
+    return t('film.finish');//瀹屾垚
 }  
 }
 onBeforeUnmount(() => {
@@ -345,6 +625,10 @@
           $t('film.pwareout')
         }}
       </el-button>
+      <el-button style="margin-left: 20px;" id="searchButton" type="success" @click="handlehistorical">{{
+          $t('searchOrder.historicaltasks')
+        }}
+      </el-button>
       <el-date-picker style="margin-left: 10px;" v-model="timeRange" type="datetimerange"
         format="YYYY/MM/DD HH:mm:ss"
         value-format="YYYY-MM-DD HH:mm:ss"
@@ -352,26 +636,28 @@
         :end-placeholder="$t('film.endtime')"
         :default-time="defaultTime" />
     <el-select v-model="selectValuesa[0]" clearable :placeholder="$t('film.taskstatus')" style="margin-left: 10px;" >
-      <el-option :label="$t('film.built')" value="1"></el-option>
-      <el-option :label="$t('film.execution')" value="2"></el-option>
-      <el-option :label="$t('film.finish')" value="3"></el-option>
+      <el-option :label="$t('film.built')" value="0"></el-option>
+      <el-option :label="$t('film.finish')" value="1"></el-option>
+      <el-option :label="$t('film.fail')" value="2"></el-option>
     </el-select>
     <el-select v-model="selectValuesa[1]" clearable :placeholder="$t('film.tasktype')" style="margin-left: 10px;" >
-      <el-option :label="$t('film.stocke')" value="1"></el-option>
-      <el-option :label="$t('film.outbound')" value="2"></el-option>
-      <el-option :label="$t('film.dispatch')" value="3"></el-option>
+      <el-option :label="$t('sorter.advancetask')" value="1"></el-option>
+      <el-option :label="$t('sorter.outputtasks')" value="2"></el-option>
+      <el-option :label="$t('sorter.schedulingtasks')" value="3"></el-option>
+      <el-option :label="$t('sorter.advancerequests')" value="4"></el-option>
+      <el-option :label="$t('sorter.releaserequest')" value="5"></el-option>
     </el-select>
     <el-button type="primary" style="margin-left: 10px;" @click="selectReportData()">{{ $t('film.inquire') }}</el-button>
   </div>
-  <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" v-loading="loading">
+  <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" >
       <div style="width: 98%; height: calc(100% - 35px); overflow-y: auto;">
         <el-table height="300" ref="table"
         :data="tableDataa" :header-cell-style="{background:'#F2F3F5 ',color:'#1D2129'}">
           <el-table-column prop="id" align="center" :label="$t('film.enableid')"/>
-          <el-table-column prop="originateSlot" align="center" :label="$t('film.originateslot')"/>
-          <el-table-column prop="endSlot" align="center" :label="$t('film.endslot')"/>
+          <el-table-column prop="startSlot" align="center" :label="$t('film.originateslot')"/>
+          <el-table-column prop="endSlot" align="center" :label="$t('film.endoriginateslot')"/>
           <el-table-column prop="patternQuantity" align="center" :label="$t('film.patternquantity')"/>
-          <el-table-column
+          <el-table-column width="100"
           align="center"
           :label="$t('film.enabletype')"
           prop="taskType"
@@ -394,13 +680,49 @@
     </template> 
         </el-table-column>
           <el-table-column prop="createTime" align="center" :label="$t('film.createtime')" />
-          
+          <el-table-column fixed="right" :label="$t('film.operate')" align="center">
+            <template #default="scope">
+          <el-button :disabled="(scope.row.taskState !== 0)" type="text" plain @click="successfull(scope.row)">{{ $t('searchOrder.successfullyprocessed') }}</el-button>
+          <el-button :disabled="(scope.row.taskState !== 0)" type="text" plain @click="handleptask(scope.row)">{{ $t('searchOrder.taskfailure') }}</el-button>
+            </template>
+        </el-table-column>
         </el-table>
       </div>
     </el-card>
-    <div class="awatch">
-      <img src="../../assets/ypcc.png" alt=""
-           style="width: 100%;height: 120%;margin-left: -10px;position: relative;margin-top: -20px;">
+    <div class="img-dlpl">
+      <div class="img-car1" style="z-index:999;top:153px;left:20px;position:absolute;"></div>
+      <!-- <div class="img-car1" :style="'z-index:999;top:250px;left:' + 20 + 'px;position:absolute;'"></div> -->
+      <div class="card1" v-show="card1"     style="z-index:999;top:308px;left:53px;position:absolute;"></div>
+      <div class="card2" v-show="card2"     style="z-index:999;top:308px;left:80px;position:absolute;"></div>
+      <div class="card3" v-show="card3"     style="z-index:999;top:308px;left:108px;position:absolute;"></div>
+      <div class="card98" v-show="card98"   style="z-index:999;top:308px;left:143px;position:absolute;"></div>
+      <div class="card4" v-show="card4"     style="z-index:999;top:308px;left:202px;position:absolute;"></div>
+      <div class="card5" v-show="card5"     style="z-index:999;top:308px;left:227px;position:absolute;"></div>
+      <div class="card6" v-show="card6"     style="z-index:999;top:308px;left:253px;position:absolute;"></div>
+      <div class="card7" v-show="card7"     style="z-index:999;top:308px;left:280px;position:absolute;"></div>
+      <div class="card8" v-show="card8"     style="z-index:999;top:308px;left:308px;position:absolute;"></div>
+      <div class="card9" v-show="card9"     style="z-index:999;top:308px;left:337px;position:absolute;"></div>
+      <div class="card10" v-show="card10"   style="z-index:999;top:308px;left:364px;position:absolute;"></div>
+      <div class="card11" v-show="card11"   style="z-index:999;top:308px;left:391px;position:absolute;"></div>
+      <div class="card99" v-show="card99"   style="z-index:999;top:308px;left:426px;position:absolute;"></div>
+      <div class="card12" v-show="card12"   style="z-index:999;top:308px;left:489px;position:absolute;"></div>
+      <div class="card13" v-show="card13"   style="z-index:999;top:308px;left:514px;position:absolute;"></div>
+      <div class="card14" v-show="card14"   style="z-index:999;top:308px;left:540px;position:absolute;"></div>
+      <div class="card15" v-show="card15"   style="z-index:999;top:308px;left:566px;position:absolute;"></div>
+      <div class="card16" v-show="card16"   style="z-index:999;top:308px;left:595px;position:absolute;"></div>
+      <div class="card17" v-show="card17"   style="z-index:999;top:308px;left:624px;position:absolute;"></div>
+      <div class="card18" v-show="card18"   style="z-index:999;top:308px;left:654px;position:absolute;"></div>
+      <div class="card19" v-show="card19"   style="z-index:999;top:308px;left:682px;position:absolute;"></div>
+      <div class="card20" v-show="card20"   style="z-index:999;top:308px;left:707px;position:absolute;"></div>
+      <div class="card25" v-show="card25"   style="z-index:999;top:44px;left:664px;position:absolute;"></div>
+      <div class="card24" v-show="card24"   style="z-index:999;top:44px;left:639px;position:absolute;"></div>
+      <div class="card23" v-show="card23"   style="z-index:999;top:44px;left:616px;position:absolute;"></div>
+      <div class="card22" v-show="card22"   style="z-index:999;top:44px;left:592px;position:absolute;"></div>
+      <div class="card21" v-show="card21"   style="z-index:999;top:44px;left:564px;position:absolute;"></div>
+      <div class="card101" v-show="card101"  style="z-index:999;top:44px;left:364px;position:absolute;"></div>
+      <div class="card102" v-show="card102"  style="z-index:999;top:44px;left:334px;position:absolute;"></div>
+      <div class="card103" v-show="card103"  style="z-index:999;top:44px;left:96px;position:absolute;"></div>
+      <div class="card104" v-show="card104"  style="z-index:999;top:44px;left:70px;position:absolute;"></div>
     </div>
     <el-dialog v-model="dialogFormVisiblea" top="5vh" width="85%" >
     <el-table  ref="table" style="margin-top: 20px;height: 700px;"
@@ -429,16 +751,27 @@
           </el-table-column>
           <el-table-column fixed="right" :label="$t('film.operate')" align="center" width="270">
             <template #default="scope">
-              <el-button :disabled="!scope.row.remainQuantity" size="mini" type="text" plain @click="handleEdit(scope.row)">{{ $t('film.exit') }}</el-button>
-              <el-button :disabled="!scope.row.remainQuantity" size="mini" type="text" plain @click="deleteWarehousing(scope.row)">{{ $t('film.delete') }}</el-button>
-              <el-button :disabled="!scope.row.remainQuantity || scope.row.remainQuantity === 0" size="mini" type="text" plain @click="openc(scope.row)">{{ $t('film.outbound') }}</el-button>
+              <el-button type="text" plain @click="handleEdit(scope.row)">{{ $t('film.exit') }}</el-button>
+              <el-button :disabled="!scope.row.remainQuantity" type="text" plain @click="deleteWarehousing(scope.row)">{{ $t('film.delete') }}</el-button>
+              <el-button :disabled="!scope.row.remainQuantity || scope.row.remainQuantity === 0" type="text" plain @click="openc(scope.row)">{{ $t('film.outbound') }}</el-button>
             </template>
         </el-table-column>
         </el-table>
 </el-dialog>
+<!-- 鍘嗗彶浠诲姟 -->
+<el-dialog v-model="blindb" top="5vh" width="95%" @close="iframeUrl=''">
+     <iframe 
+     :src="iframeUrl" 
+     marginwidth="2000px"
+     marginheight="2000px"
+     width="100%" 
+     height="750px" 
+     frameborder="0"
+     ></iframe>
+  </el-dialog>
 <el-dialog v-model="dialogFormVisibleb" top="23vh" width="55%" :title="$t('film.addglass')" >
     <div style="margin-left: -50px;margin-top: 10px;margin-bottom: 10px;">
-            <el-form  size="mini" label-width="150px">
+            <el-form  label-width="150px">
       <el-form label-width="100px" label-position="right">
         <el-row style="margin-top: -15px;margin-bottom: -2px;">
           <el-col :span="6">
@@ -548,22 +881,65 @@
       </div>
     </template>
   </el-dialog>
-  <el-dialog v-model="Edit" top="21vh" width="40%">
-    <div style="margin-left: 50px;margin-top: 10px;margin-bottom: 10px;">
-      <el-form size="mini" label-width="100px">
-        <el-form label-width="210px" label-position="right">
-          <el-form-item :label="$t('film.thickremainquantity')" :required="true" style="width: 25vw">
-            <el-input v-model="remainQuantity" autocomplete="off" />
+  <el-dialog v-model="Edit" top="23vh" width="55%" :title="$t('film.addglass')" >
+    <div style="margin-left: -50px;margin-top: 10px;margin-bottom: 10px;">
+            <el-form  label-width="150px">
+      <el-form label-width="100px" label-position="right">
+        <el-row style="margin-top: -15px;margin-bottom: -2px;">
+          <el-col :span="6">
+              <div id="dt" style="font-size: 15px;">
+        <div>
+          <el-form-item :label="$t('film.widtha')" :required="true" style="width: 17vw;">
+                <el-input :placeholder="$t('film.inwidth')" v-model="patternWidth" autocomplete="off" />
+              </el-form-item>
+              </div></div>
+          </el-col>
+          <el-col :span="9">
+            <div id="dta" style="font-size: 15px;">
+        <div>
+          <el-form-item :label="$t('film.heighta')" :required="true" style="width: 17vw;">
+                <el-input :placeholder="$t('film.inheight')" v-model="patternHeight" autocomplete="off" />
+              </el-form-item></div>
+              </div>
+          </el-col>
+        </el-row>
+        <el-row style="margin-top: 10px;">
+          <el-col :span="6">
+              <div id="dt" style="font-size: 15px;">
+        <div>
+          <el-form-item :label="$t('film.thicknessa')" :required="true" style="width: 17vw;">
+                <el-input :placeholder="$t('film.inthickness')" v-model="patternThickness" autocomplete="off" />
+              </el-form-item></div></div>
+          </el-col>
+          <el-col :span="9">
+            <div id="dta" style="font-size: 15px;">
+        <div>
+          <el-form-item :label="$t('film.filmsa')" :required="true" style="width: 17vw;">
+                <el-input :placeholder="$t('film.infilms')" v-model="filmsId" autocomplete="off" />
+              </el-form-item></div></div>
+          </el-col>
+        </el-row>
+        <el-row style="margin-top: 10px;">
+          <el-col :span="6">
+              <div id="dt" style="font-size: 15px;">
+        <div>
+        <el-form label-width="210px">
+          <el-form-item :label="$t('film.thickremainquantity')" :required="true" style="width: 44.5vw;margin-left: -40px;">
+            <el-input v-model="remainQuantity" autocomplete="off" :placeholder="$t('film.inquantity')"/>
           </el-form-item>
         </el-form>
-      </el-form>
-    </div>
+            </div></div>
+          </el-col>
+        </el-row>
+        </el-form>
+            </el-form>
+          </div>
     <template #footer>
       <div id="dialog-footer">
         <el-button type="primary" @click="Editclick">
-          {{ $t('reportWork.sure') }}
+          {{ $t('basicData.confirm') }}
         </el-button>
-        <el-button @click="Edit = false">{{ $t('reportWork.cancel') }}</el-button>
+        <el-button @click="Edit = false">{{ $t('basicData.cancel') }}</el-button>
       </div>
     </template>
   </el-dialog>
@@ -572,13 +948,190 @@
 <style scoped>
 #dt { display:block; float:left;line-height: 20px;margin-left: 100px;}
 #dta { display:block; float:left;line-height: 20px;margin-left: 80%;}
-.awatch{
-  height: 400px;
-  width: 1500px;
-  max-width: 100%;
-}
 #dialog-footer {
   text-align: center;
   margin-top: -15px;
 }
+.img-dlpl{
+  margin-left: 330px;
+  margin-top: 10px;
+  background-image:url('/ypcc.png');
+  background-repeat: no-repeat;
+  background-attachment: local;
+  min-height: 450px;
+  width: 800px;
+  max-width: 100%;
+  background-size: 800px 450px;
+  overflow: hidden;
+  position:relative;
+  margin-left: 30%
+}
+.img-car1{
+  display: flex;
+  background-image:url('/C1.png');
+  position: absolute;
+  background-repeat: no-repeat;
+  background-attachment: local;
+  min-height: 150px;
+  width: 70px;
+  max-width: 100%;
+  background-size: 70px 150px;
+  overflow: hidden;
+  position:relative
+}
+.card1{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card2{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card3{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card4{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card5{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card6{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card7{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card8{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card9{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card10{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card11{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card12{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card13{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card14{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card15{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card16{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card17{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card18{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card19{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card20{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card21{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card22{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card23{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card24{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card25{
+  width: 14px;
+  height: 110px;
+  background-color: #911005
+}
+.card101{
+  width: 10px;
+  height: 110px;
+  background-color: #911005
+}
+.card102{
+  width: 10px;
+  height: 110px;
+  background-color: #911005
+}
+.card103{
+  width: 10px;
+  height: 110px;
+  background-color: #911005
+}
+.card104{
+  width: 10px;
+  height: 110px;
+  background-color: #911005
+}
+.card98{
+  width: 25px;
+  height: 110px;
+  background-color: #911005
+}
+.card99{
+  width: 25px;
+  height: 110px;
+  background-color: #911005
+}
 </style>
\ No newline at end of file

--
Gitblit v1.8.0