chenrui 4 rokov pred
rodič
commit
558706d65f

+ 13 - 10
src/views/notice/list.vue

@@ -5,7 +5,7 @@
       <a-form layout="inline" @keyup.enter.native="handelSearch(1)">
         <a-row :gutter="15">
           <a-col :md="6" :sm="24">
-            <a-form-item label="创建时间">
+            <a-form-item label="发布时间">
               <a-range-picker
                 style="width:100%"
                 id="noticeList-creatTime"
@@ -29,14 +29,6 @@
       </a-form>
     </div>
     <!-- 列表 -->
-    <!-- <s-table
-      class="sTable"
-      ref="table"
-      size="default"
-      :rowKey="(record) => record.id"
-      :columns="columns"
-      :data="loadData"
-      bordered> -->
     <a-table
       class="sTable"
       ref="table"
@@ -78,7 +70,7 @@ export default {
       time: [], //  创建时间
       columns: [
         { title: '序号', dataIndex: 'no', width: 80, align: 'center' },
-        { title: '创建时间', dataIndex: 'createDate', align: 'center' },
+        { title: '发布时间', dataIndex: 'realseDate', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '公告名称', dataIndex: 'notice.title', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: 200, align: 'center' }
       ],
@@ -165,6 +157,17 @@ export default {
         }
       })
     },
+    //  分页  一页多少条change
+    changePageSize (current, pageSize) {
+      this.pageNo = current
+      this.pageSize = pageSize
+      this.handelSearch()
+    },
+    //  分页 页码change
+    changePage (current) {
+      this.pageNo = current
+      this.handelSearch()
+    },
     //  重置
     resetSearchForm () {
       this.queryParam.notice.title = undefined

+ 3 - 13
src/views/productManagement/productInfoJg/list.vue

@@ -122,17 +122,7 @@ export default {
       disabled: false, //  查询、重置按钮是否可操作
       exportLoading: false, // 导出loading
       dateFormat: 'YYYY-MM-DD',
-      columns: [
-        // { title: '序号', dataIndex: 'no', width: 80, align: 'center', fixed: 'left' },
-        // { title: '产品编码', dataIndex: 'code', width: 140, align: 'center' },
-        // { title: '产品名称', dataIndex: 'name', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
-        // { title: '原厂编码', dataIndex: 'origCode', width: 140, align: 'center', customRender: function (text) { return text || '--' } },
-        // { title: '产品品牌', dataIndex: 'productBrandName', width: 140, align: 'center', customRender: function (text) { return text || '--' } },
-        // { title: '产品分类', scopedSlots: { customRender: 'productType' }, width: 240, align: 'center' },
-        // { title: '终端价', dataIndex: 'terminalPrice', width: 100, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        // { title: '创建时间', dataIndex: 'createDate', width: 160, align: 'center' },
-        // { title: '状态', scopedSlots: { customRender: 'onlineFalgDictValue' }, width: 140, align: 'center' }
-      ],
+      columns: [],
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {
         this.disabled = true
@@ -177,9 +167,9 @@ export default {
     getColumns () {
       this.columns = [
         { title: '序号', dataIndex: 'no', width: 80, align: 'center', fixed: 'left' },
-        { title: '产品编码', dataIndex: 'code', width: 220, align: 'center' },
+        { title: '产品编码', dataIndex: 'code', align: 'center' },
         { title: '产品名称', dataIndex: 'name', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
-        { title: '原厂编码', dataIndex: 'origCode', width: 220, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '原厂编码', dataIndex: 'origCode', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品品牌', dataIndex: 'productBrandName', width: 200, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品分类', scopedSlots: { customRender: 'productType' }, width: 200, align: 'center' }
       ]

+ 1 - 1
src/views/purchasingManagement/purchaseOrder/list.vue

@@ -156,7 +156,7 @@ export default {
       // 查询参数
       queryParam: {
         purchaseBillNo: '',
-        supplierSn: '',
+        supplierSn: undefined,
         billStatus: undefined,
         financialStatus: undefined,
         beginDate: '',