From 1599039b5665dda2a480d5a62976d6d752ec63e0 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 26 七月 2022 09:12:24 +0800
Subject: [PATCH] 提交
---
zhengcaioa/zhengcaioa/Views/CooperOrder/selectWenshu.cshtml | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/selectWenshu.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/selectWenshu.cshtml
index ec1d653..086a35a 100644
--- a/zhengcaioa/zhengcaioa/Views/CooperOrder/selectWenshu.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/CooperOrder/selectWenshu.cshtml
@@ -5,6 +5,9 @@
@section headerStyle{
<script type="text/javascript">
var Wenshuleixing = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.Wenshuleixing))';
+
+ var status = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.status))';
+
gridConfig = { multiselect: true, selectcol: "Id" };
loseherght = 40;
dataCol = [
@@ -21,24 +24,24 @@
{ label: '閲囪喘浜�', name: 'PurchaserName', labtype: 'txt', hidden: false, width: 100 },
{ label: '閲囪喘浠g悊鏈烘瀯', name: 'Agency', labtype: 'txt', hidden: false, width: 100 },
{ label: '瀹㈡埛鍗曚綅', name: 'KhdwName', labtype: 'txt', hidden: false, width: 100 },
-
+ { label: '鐘舵��', name: 'StatusName', labtype: 'txt', hidden: false, width: 100 },
{
label: '鏌ョ湅鏂囦功', name: 'Status', labtype: 'txt', hidden: false, width: 100
,
formatter: function (cellvalue, options, rowObject) {
-
+
if (rowObject.OrderType1 == "浠f嫙鎶曡瘔涔�") {
- return "<a onclick=\"OpenWindow('鏌ョ湅鎶曡瘔涔�','98%','100%', '/OrderBanciOrder/Edit?id=" + rowObject.Id + "')\" >鏌ョ湅鎶曡瘔涔�</a>";
+ return "<a onclick=\"OpenWindow('鎵撳嵃瀵煎嚭鎶曡瘔涔�','98%','100%', '/CooperOrder/Printtousushu?id=" + rowObject.Id + "')\" >鎵撳嵃瀵煎嚭鎶曡瘔涔�</a>";
}
else if (rowObject.OrderType1 == "浠f嫙璐ㄧ枒鍑�") {
- return "<a onclick=\"OpenWindow('鏌ョ湅璐ㄧ枒鍑�','98%','100%', '/OrderBanciOrder/Edit?id=" + rowObject.Id + "')\" >鏌ョ湅璐ㄧ枒鍑�</a>";
+ return "<a onclick=\"OpenWindow('鎵撳嵃瀵煎嚭璐ㄧ枒鍑�','98%','100%', '/CooperOrder/PrintZhiyihan?id=" + rowObject.Id + "')\" >鎵撳嵃瀵煎嚭璐ㄧ枒鍑�</a>";
}
}
},
];
- dataUrl = "/CooperOrder/GetListWenshu";
+ dataUrl = "/CooperOrder/GetListWenshu?Status=2";
searchCol = [
{ label: '鏃堕棿', name: 'XdTime', labtype: 'datearea', hidden: false },
{ label: '鏂囦功绫诲埆', name: 'Wenshuleixing', labtype: 'combox', hidden: false, data: JSON.parse(Wenshuleixing) },
@@ -48,8 +51,8 @@
{ label: '閲囪喘浜�', name: 'PurchaserName', labtype: 'txt', hidden: false },
{ label: '閲囪喘浠g悊鏈烘瀯', name: 'Agency', labtype: 'txt', hidden: false },
{ label: '瀹㈡埛鍚嶇О', name: 'KhdwName', labtype: 'txt', hidden: false },
-
-
+ { label: '鐢熸垚鐘舵��', name: 'status', labtype: 'combox', hidden: false, data: JSON.parse(status) },
+
--
Gitblit v1.9.1