From 10ec50f8e9ded45e8b439114a17ed89297c948c7 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 13 七月 2021 15:04:51 +0800
Subject: [PATCH] 提交

---
 zhengcaioa/zhengcaioa/Views/Expert/ExpertOrderDispatch.cshtml |   27 +++++++++++++++++----------
 1 files changed, 17 insertions(+), 10 deletions(-)

diff --git a/zhengcaioa/zhengcaioa/Views/Expert/ExpertOrderDispatch.cshtml b/zhengcaioa/zhengcaioa/Views/Expert/ExpertOrderDispatch.cshtml
index b6f2da3..6ae9050 100644
--- a/zhengcaioa/zhengcaioa/Views/Expert/ExpertOrderDispatch.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/Expert/ExpertOrderDispatch.cshtml
@@ -10,6 +10,9 @@
         var Khlx = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.Khlx))';
         var HuifangStatus = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.HuifangStatus))';
         var PingjiaStatus = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.PingjiaStatus))';
+        var Expert = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.Expert))';
+
+        
         var Dispatch = [{ code: "1", label: "鏄�" }, { code: "0", label: "鍚�" }];
         loseherght = 60;
         dataCol = [
@@ -26,18 +29,18 @@
             { label: '鏀惰揣鍦板潃', name: 'ShrAddress', labtype: 'txt', hidden: false, width: 200 },
             { label: '鑱旂郴浜�', name: 'Shr', labtype: 'txt', hidden: false, width: 100 },
             { label: '鑱旂郴鐢佃瘽', name: 'ShrTel', labtype: 'txt', hidden: false, width: 100 },
-            //{ label: '涓氬姟缁忕悊', name: 'Youhui', labtype: 'txt', hidden: false, width: 100 },            		 
+            //{ label: '涓氬姟缁忕悊', name: 'Youhui', labtype: 'txt', hidden: false, width: 100 },
             {
                 label: '娲惧伐涓撳', ExpertId: 'id', labtype: 'txt', hidden: false, width: 100,
-                formatter: function (cellvalue, options, rowObject) {                     
+                formatter: function (cellvalue, options, rowObject) {
                     if ($.trim(rowObject.ExpertId) !== '') {
                         return rowObject.ExpertName;
                     } else {
                         return '<a href="javascript:void(0)" onclick="ExpertDispatch(\'' + rowObject.OrderId + '\',\'' + rowObject.OrderNo+'\');"> <span style="background: #ECF3FF;">  娲惧伐 </span> </a > ';
-                    }                    
+                    }
                 }
-            },           
-            
+            },
+
             { label: '鍔冲姟璐�(鍏�)', name: 'Money', labtype: 'txt', hidden: false, width: 100 },
 
         ];
@@ -52,14 +55,18 @@
             {
                 label: '鏄惁娲惧伐', name: 'isDispatch', labtype: 'combox', hidden: false, data: Dispatch /*JSON.parse(HuifangStatus)*/, cwidth: '5%', cccwidth: '8%'
             },
-           
+            {
+                label: '涓撳', name: 'ExpertId', labtype: 'combox', hidden: false, data: JSON.parse(Expert), cwidth: '5%', cccwidth: '8%'
+            },
+            
+
         ];
-        
+
         function ExpertDispatch(orderid, orderNo) {
-            OpenWindow("涓撳娲惧伐", "400px", "230px", "/Expert/Dispatch/?orderid=" + orderid);
+            OpenWindow("涓撳娲惧伐", "400px", "600px", "/Expert/Dispatch/?orderid=" + orderid);
         }
-     
-       
+
+
 
 
         var _afterSave = function (result) {

--
Gitblit v1.9.1