Bladeren bron

admin 2月15号

guojing 5 jaren geleden
bovenliggende
commit
6ca05691d0

+ 4 - 3
admin-ui/app/whepi/tugou/dialogTugou.js

@@ -36,7 +36,7 @@ define(function (require) {
     return {
       xtype: 'dialog',
       dialogId: 'dialogTugou',
-      title: context.isEdit ? '取消团购信息' : '新增团购信息',
+      title: context.isEdit ? '取消团购信息' : '新增需求发布',
       width: '100%',
       height: '100%',
       onOpen: function () {
@@ -93,6 +93,7 @@ define(function (require) {
               }, {id: '5', text: '其他服务'}],
               width: 450,
               height: 35,
+              required: true,
               onChange: function (data) {
 
               },
@@ -105,9 +106,9 @@ define(function (require) {
             },
               {
                 name: 'tgSupplier',
-                label: '指挥',
+                label: '指挥',
                 xtype: 'hidden',
-                value:'指挥',
+                value:'指挥',
               }
             ],
             [{

+ 10 - 11
admin-ui/app/whepi/tugou/import.js

@@ -13,16 +13,15 @@ define(function (require) {
     }
 
 
-
     function queryGrid() {
       $grid1.jqGrid("clearGridData");
       var queryForm = $form.formGet();
-      queryForm.jmId=context.jmId,
-      $grid1.reload({
-        mtype: 'POST',
-        url: api('/zhihuibu/tgDetail'),
-        queryParams: queryForm
-      }, true);
+      queryForm.jmId = context.jmId,
+        $grid1.reload({
+          mtype: 'POST',
+          url: api('/zhihuibu/tgDetail'),
+          queryParams: queryForm
+        }, true);
     }
 
     var queryToolbar = {
@@ -71,9 +70,10 @@ define(function (require) {
       items: [
         {
           text: '导出excel', iconCls: 'fa fa-external-link-square', onClick: function () {
+            var queryForm = $form.formGet();
             $.yvan.download({
               method: 'GET',
-              url: api('/tuangou/member/list/exportList?jmId='+context.jmId+"&queryProperties="+queryForm.queryProperties),
+              url: api('/tuangou/member/list/exportList?jmId=' + context.jmId + "&queryProperties=" + queryForm.queryProperties),
               fileName: '资源需求物资-' + $.yvan.getMoment().format('YYYY-MM-DD HH:mm:ss') + '.xlsx'
             });
           }
@@ -109,13 +109,12 @@ define(function (require) {
           autoSizeColumns: true,
           xtype: 'grid',
           toolbar: gridToolbar2,
-          idField: 'peopleId',
           columns: [[
             {field: 'uptownName', title: '小区名称', align: 'left'},
-            {field: 'ridgepole', title: '楼栋',align: 'left'},
+            {field: 'ridgepole', title: '楼栋', align: 'left'},
             {field: 'unit', title: '单元', align: 'left'},
             {field: 'houseNumber', title: '门牌号', align: 'left'},
-            {field: 'buyCount', title: '数量',align: 'left'},
+            {field: 'buyCount', title: '数量', align: 'left'},
             {field: 'phone', title: '联系方式', align: 'center'},
             {field: 'myRemark', title: '需求备注', minWidth: 100, maxWidth: 200},
           ]],

+ 1 - 1
admin-ui/app/whepi/tugou/tugou.js

@@ -252,7 +252,7 @@ define(function (require) {
                         }
                       }
                     },
-                    {field: 'tgSupplier', title: '组织者', maxWidth: 200,},
+                    // {field: 'tgSupplier', title: '组织者', maxWidth: 200,},
                     {
                       field: 'tgGoods',
                       title: '套餐描述', maxWidth: 200,

+ 1 - 1
whepi-ui/templates/home/buyClient.ftl

@@ -45,7 +45,7 @@
         ">备     注:
     </div>
     <textarea id="Myremarks" class="weui-textarea" placeholder="输入内容(200字内)" rows="3"
-              style="border: 1px solid rgba(0,0,0,.2);box-sizing:border-box; border-radius: 5px; margin-top: 1vh;"></textarea>
+              style="border: 1px solid rgba(0,0,0,.2);box-sizing:border-box; border-radius: 5px; margin-top: 1vh;" maxlength="200"></textarea>
 </div>
     <div style="display:flex; flex-direction: row; justify-content: space-between; margin-top: 1vh; margin-bottom: 5vh;">
     <#if type==1>