q 1 år sedan
förälder
incheckning
8606e6aea1

+ 30 - 0
webmain/flow/input/mode_goods_transportAction.php

@@ -0,0 +1,30 @@
+<?php
+/**
+*	此文件是流程模块【goods_transport.物资运输】对应控制器接口文件。
+*/ 
+class mode_goods_transportClassAction extends inputAction{
+	
+	/**
+	*	重写函数:保存前处理,主要用于判断是否可以保存
+	*	$table String 对应表名
+	*	$arr Array 表单参数
+	*	$id Int 对应表上记录Id 0添加时,大于0修改时
+	*	$addbo Boolean 是否添加时
+	*	return array('msg'=>'错误提示内容','rows'=> array()) 可返回空字符串,或者数组 rows 是可同时保存到数据库上数组
+	*/
+	protected function savebefore($table, $arr, $id, $addbo){
+		
+	}
+	
+	/**
+	*	重写函数:保存后处理,主要保存其他表数据
+	*	$table String 对应表名
+	*	$arr Array 表单参数
+	*	$id Int 对应表上记录Id
+	*	$addbo Boolean 是否添加时
+	*/	
+	protected function saveafter($table, $arr, $id, $addbo){
+		
+	}
+}	
+			

+ 91 - 0
webmain/flow/page/input_goods_transport.html

@@ -0,0 +1,91 @@
+<table width="100%" border="0" class="ke-zeroborder">
+    <tbody>
+    <tr class="autoyijianview">
+        <td height="34" width="15%" align="right" class="ys1">*^use_time^</td>
+        <td width="35%" class="ys2">{use_time}</td>
+        <td height="34" width="15%" align="right" class="ys1">*^use_site^</td>
+        <td width="35%" class="ys2">{use_site}</td>
+    </tr>
+    </tbody>
+</table><br/>
+<div><b>下放明细</b></div>
+<table width="100%" border="0" class="ke-zeroborder">
+    <tbody>
+
+    <tr class="autoyijianview">
+        <td height="34" width="10%" align="right" class="ys1">*^classes^</td>
+        <td width="35%" class="ys2" colspan="3">{classes}</td>
+    </tr>
+    <tr>
+        <td height="34" align="right" class="ys1">^dgoods^</td>
+        <td colspan="3" class="ys2" colspan="3">{dgoods}</td>
+    </tr>
+    <tr>
+        <td height="34" align="right" class="ys1">^dcon^</td>
+        <td width="35%" class="ys2" colspan="3">{dcon}</td>
+    </tr>
+    <tr>
+        <td height="34" align="right" class="ys1">^rgoods^</td>
+        <td colspan="3" class="ys2 colspan="3"">{rgoods}</td>
+    </tr>
+    <tr>
+        <td height="34" align="right" class="ys1">^rcon^</td>
+        <td width="35%" class="ys2"  colspan="3">{rcon}</td>
+    </tr>
+    </tbody>
+</table><br/>
+
+<div><b>巷道参数</b></div>
+
+<style>
+    .container {
+        width: 80%;
+        margin: 20px auto;
+        padding: 10px;
+        border: 1px solid #ccc;
+    }
+    .section {
+        margin-bottom: 10px;
+    }
+    .label {
+        font-weight: bold;
+    }
+</style>
+
+
+<table width="100%" border="0" class="ke-zeroborder">
+    <tbody>
+    <tr>
+        <td  class="ys1" rowspan="2">1、</td>
+    </tr>
+    <tr class="autoyijianview">
+        <td height="34" width="10%" align="right" class="ys1">^tunnel_face^</td>
+        <td width="20%" class="ys2" colspan="2">{tunnel_face}</td>
+        <td height="34" width="10%" align="right" class="ys1">^tunnel_section^</td>
+        <td width="20%" class="ys2">{tunnel_section}</td>
+        <td class="ys1">㎡</td>
+        <td height="34" width="10%" align="right" class="ys1">^tunnel_long^</td>
+        <td width="20%" class="ys2">{tunnel_long}</td>
+        <td class="ys1">m</td>
+    </tr>
+    <tr>
+        <td  class="ys1" rowspan="3">2、</td>
+    </tr>
+    <tr>
+        <td height="34" width="10%" align="right" class="ys1">^site_start^</td>
+        <td width="20%" class="ys2" colspan="2">{site_start}</td>
+        <td height="34" width="10%" align="right" class="ys1">^site_end^</td>
+        <td width="20%" class="ys2" colspan="2">{site_end}</td>
+        <td height="34" width="10%" align="right" class="ys1">^distance^</td>
+        <td width="20%" class="ys2">{distance}</td>
+        <td class="ys1">公里</td>
+    </tr>
+    <tr class="autoyijianview">
+        <td height="34" width="10%" align="right" class="ys1">^run_num^</td>
+        <td width="20%" class="ys2">{run_num}</td>
+        <td class="ys1">趟</td>
+        <td height="34" width="10%" align="right" class="ys1">^run_work^</td>
+        <td width="20%" class="ys2" colspan="2">{run_work}</td>
+    </tr>
+    </tbody>
+</table>

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 59 - 0
webmain/flow/page/rock_page_goods_transport.php


+ 78 - 0
webmain/flow/page/view_goods_transport_0.html

@@ -0,0 +1,78 @@
+<table width="100%" border="0" class="ke-zeroborder">
+    <tbody>
+    <tr class="autoyijianview">
+        <td height="34" width="15%" align="right" class="ys1">^use_time^</td>
+        <td width="35%" class="ys2">{use_time}</td>
+        <td height="34" width="15%" align="right" class="ys1">^use_site^</td>
+        <td width="35%" class="ys2">{use_site}</td>
+    </tr>
+    <tr>
+    <td height="34" width="15%" align="right" class="ys1">^driver^</td>
+    <td width="35%" class="ys2">{driver}</td>
+    <td height="34" width="15%" align="right" class="ys1">^pnum^</td>
+    <td width="35%" class="ys2">{pnum}</td>
+    </tr>
+    </tbody>
+</table><br/>
+<div><b>下放明细</b></div>
+<table width="100%" border="0" class="ke-zeroborder">
+    <tbody>
+    <tr class="autoyijianview">
+        <td height="34" width="10%" align="right" class="ys1">^classes^</td>
+        <td width="35%" class="ys2" colspan="3">{classes}</td>
+    </tr>
+    <tr>
+        <td height="34" align="right" class="ys1">^dgoods^</td>
+        <td colspan="3" class="ys2">{dgoods}</td>
+    </tr>
+    <tr>
+        <td height="34" align="right" class="ys1">^dcon^</td>
+        <td width="35%" class="ys2" colspan="3">{dcon}</td>
+    </tr>
+    <tr>
+        <td height="34" align="right" class="ys1">^rgoods^</td>
+        <td colspan="3" class="ys2 colspan=">{rgoods}</td>
+    </tr>
+    <tr>
+        <td height="34" align="right" class="ys1">^rcon^</td>
+        <td width="35%" class="ys2" colspan="3">{rcon}</td>
+    </tr>
+    </tbody>
+</table><br/>
+<div><b>巷道参数</b></div>
+<table width="100%" border="0" class="ke-zeroborder">
+    <tbody>
+    <tr>
+        <td class="ys1" rowspan="2">1、</td>
+    </tr>
+    <tr class="autoyijianview">
+        <td height="34" width="10%" align="right" class="ys1">^tunnel_face^</td>
+        <td width="20%" class="ys2" colspan="2">{tunnel_face}</td>
+        <td height="34" width="10%" align="right" class="ys1">^tunnel_section^</td>
+        <td width="20%" class="ys2">{tunnel_section}</td>
+        <td class="ys1">㎡</td>
+        <td height="34" width="10%" align="right" class="ys1">^tunnel_long^</td>
+        <td width="20%" class="ys2">{tunnel_long}</td>
+        <td class="ys1">m</td>
+    </tr>
+    <tr>
+        <td class="ys1" rowspan="3">2、</td>
+    </tr>
+    <tr>
+        <td height="34" width="10%" align="right" class="ys1">^site_start^</td>
+        <td width="20%" class="ys2" colspan="2">{site_start}</td>
+        <td height="34" width="10%" align="right" class="ys1">^site_end^</td>
+        <td width="20%" class="ys2" colspan="2">{site_end}</td>
+        <td height="34" width="10%" align="right" class="ys1">^distance^</td>
+        <td width="20%" class="ys2">{distance}</td>
+        <td class="ys1">公里</td>
+    </tr>
+    <tr class="autoyijianview">
+        <td height="34" width="10%" align="right" class="ys1">^run_num^</td>
+        <td width="20%" class="ys2">{run_num}</td>
+        <td class="ys1">趟</td>
+        <td height="34" width="10%" align="right" class="ys1">^run_work^</td>
+        <td width="20%" class="ys2" colspan="2">{run_work}</td>
+    </tr>
+    </tbody>
+</table>