mall2RulesDetil.html 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title></title>
  5. #parse("sys/header.html")
  6. </head>
  7. <body>
  8. <div id="rrapp" v-cloak>
  9. <Card v-show="showList">
  10. <p slot="title">积分规则详情</p>
  11. <Row :gutter="16">
  12. <!-- <div class="search-group">-->
  13. <!-- <i-col span="4">-->
  14. <!-- <i-input v-model="q.name" @on-enter="query" placeholder="条形码"/>-->
  15. <!-- </i-col>-->
  16. <!-- <i-button @click="query">查询</i-button>-->
  17. <!-- <i-button @click="reloadSearch">重置</i-button>-->
  18. <!-- </div>-->
  19. <div class="buttons-group" style="width: 100%;margin-top: 8px;">
  20. <i-col style="display: inline-grid;">
  21. <Upload :show-upload-list="false" :on-success="uploadExcelSuccess" :on-error="uploadExcelError" :on-format-error="uploadExcelFormatError"
  22. :format="['xls','xlsx']"
  23. action="../mall2pointsrules/rulesUpload" :before-upload="beforeUpload" :data="uploadData" >
  24. <i-button type="ghost" icon="ios-cloud-upload-outline">导入</i-button>
  25. </Upload>
  26. </i-col>
  27. <a href="../statics/file/mall2RulesDetil_1.0.xlsx">模板下载</a>
  28. </div>
  29. <div class="buttons-group">
  30. <!-- <i-button type="info" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</i-button>-->
  31. <!-- <i-button type="warning" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</i-button>-->
  32. <i-button type="error" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</i-button>
  33. <i-button type="warning" @click="reloadMkactivities">返回积分规则设置页</i-button>
  34. </div>
  35. </Row>
  36. <table id="jqGrid"></table>
  37. <div id="jqGridPager"></div>
  38. </Card>
  39. <Card v-show="!showList">
  40. <p slot="title">{{title}}</p>
  41. <i-form ref="formValidate" :model="mkActivitiesHalfPrice" :rules="ruleValidate" :label-width="80">
  42. <Form-item label="积分规则类型" prop="productName">
  43. <i-input v-model="mkActivitiesHalfPrice.productName" placeholder="产品中文名"/>
  44. </Form-item>
  45. <Form-item label="对应的商品/门店/类别" prop="goodsSn">
  46. <i-input v-model="mkActivitiesHalfPrice.goodsSn" placeholder="商品编码"/>
  47. </Form-item>
  48. <Form-item>
  49. <i-button type="primary" @click="handleSubmit('formValidate')">提交</i-button>
  50. <i-button type="warning" @click="reload" style="margin-left: 8px"/>返回</i-button>
  51. <i-button type="ghost" @click="handleReset('formValidate')" style="margin-left: 8px">重置</i-button>
  52. </Form-item>
  53. </i-form>
  54. </Card>
  55. </div>
  56. <script src="${rc.contextPath}/js/mk/mall2RulesDetil.js?_${date.systemTime}"></script>
  57. </body>
  58. </html>