From 2b177eea6ca44785a6116e91dbadbf7cf5ed2e15 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 24 一月 2022 12:22:31 +0800
Subject: [PATCH] 提交
---
zhengcaioa/zhengcaioa/Views/CooperOrder/selectWenshu.cshtml | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/selectWenshu.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/selectWenshu.cshtml
index ec1d653..28a90b2 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,17 +24,17 @@
{ 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>";
}
}
},
@@ -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