Browse Source

退票列表 新增检索开票单位

caipin 6 years ago
parent
commit
9894ee555d

+ 1 - 1
protected/controller/InvoiceController.php

@@ -2825,7 +2825,7 @@ class InvoiceController extends DooController {
 		if (empty($MebSea)){
 			$con = ' and invoiceNo like "NULL"  ';
 		}else {
-			$con = ' and invoiceNo like "%' . $MebSea . '%"  ';
+			$con = ' and (invoiceNo like "%' . $MebSea . '%" or invoiceTitle like "%' . $MebSea . '%" or invoiceCompany like "%' . $MebSea . '%"  )';
 		}
 		// printStatus=1 and  
 		$sql = "  (untreadStatus=0 or untreadStatus=3)  and status=2 and sid=" . $this->staff [0] ['sid'] .$con ;

+ 1 - 1
protected/view/admin/invoiceUntreadIsAchieve.html

@@ -41,7 +41,7 @@
 							</div></li>						<li>
 							<div class="search"> -->
 							<div class="input-append">
-								<input class="span3" type="text" name="MebSea" value="{{MebSeaEn}}" placeholder="发票号">
+								<input class="span3" type="text" name="MebSea" value="{{MebSeaEn}}" placeholder="发票号,开票单位">
 								<button class="btn btn-small" type="submit">搜索</button>
 							</div>
 						</li>