Jelajahi Sumber

Merge branch 'develop_yh21' of http://git.chelingzhu.com/jianguan-web/qpls-md-html into develop_yh21

lilei 1 tahun lalu
induk
melakukan
ee63be3bae

+ 11 - 1
src/api/product.js

@@ -20,8 +20,18 @@ export const productUpdate = params => {
   })
 }
 //  箭冠 产品 列表  分页
+// export const productList = (params) => {
+//   const url = `/product/queryPage/${params.pageNo}/${params.pageSize}`
+//   delete params.pageNo
+//   delete params.pageSize
+//   return axios({
+//     url: url,
+//     data: params,
+//     method: 'post'
+//   })
+// }
 export const productList = (params) => {
-  const url = `/product/queryPage/${params.pageNo}/${params.pageSize}`
+  const url = `/productLog/queryPage/${params.pageNo}/${params.pageSize}`
   delete params.pageNo
   delete params.pageSize
   return axios({

+ 1 - 1
src/views/inventoryManagement/inventoryChecking/list.vue

@@ -191,7 +191,7 @@ export default {
         { title: '是否区分仓库', dataIndex: 'warehouseFlagDictValue', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '创建时间', dataIndex: 'createDate', width: '11%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '审核时间', dataIndex: 'checkSuperviseTime', width: '11%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '状态', dataIndex: 'stateDictValue', width: '7%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '盘点状态', dataIndex: 'stateDictValue', width: '7%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '监盘人审核', scopedSlots: { customRender: 'dpaudit' }, width: '3%', align: 'center' },
         { title: '财务人审核', scopedSlots: { customRender: 'cwaudit' }, width: '3%', align: 'center' },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '10%', align: 'center' }

+ 1 - 1
src/views/numsGoodsShelves/approveStore/list.vue

@@ -112,7 +112,7 @@ export default {
         { title: '门店地址', dataIndex: 'addrDetail', width: '28%', align: 'center', scopedSlots: { customRender: 'addr' } },
         { title: '门头照片', dataIndex: 'storeImage', width: '6%', align: 'center', scopedSlots: { customRender: 'imageUrl' } },
         { title: '营业执照', dataIndex: 'licenseImage', width: '6%', align: 'center', scopedSlots: { customRender: 'imageUrl' } },
-        { title: '状态', dataIndex: 'auditStatusDictValue', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '审核状态', dataIndex: 'auditStatusDictValue', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '8%', align: 'center' }
       ],
       // 加载数据方法 必须为 Promise 对象

+ 1 - 1
src/views/power/role/roleList.vue

@@ -114,7 +114,7 @@ export default {
         { title: '创建时间', dataIndex: 'createDate', width: '15%', align: 'center' },
         { title: '角色名称', dataIndex: 'name', width: '25%', align: 'center' },
         { title: '角色描述', dataIndex: 'remarks', width: '25%', align: 'center', scopedSlots: { customRender: 'remarks' } },
-        { title: '状态', width: '15%', align: 'center', scopedSlots: { customRender: 'status' } },
+        { title: '启用状态', width: '15%', align: 'center', scopedSlots: { customRender: 'status' } },
         { title: '操作', width: '15%', align: 'center', scopedSlots: { customRender: 'action' } }
       ],
       // 加载数据方法 必须为 Promise 对象

+ 1 - 1
src/views/power/user/userList.vue

@@ -105,7 +105,7 @@ export default {
         { title: '手机号码', dataIndex: 'phone', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '用户账号', dataIndex: 'loginName', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '角色', width: '13%', align: 'center', dataIndex: 'roleNames', customRender: function (text) { return text || '--' } },
-        { title: '状态', width: '9%', align: 'center', scopedSlots: { customRender: 'status' } },
+        { title: '启用状态', width: '9%', align: 'center', scopedSlots: { customRender: 'status' } },
         { title: '操作', width: '10%', align: 'center', scopedSlots: { customRender: 'action' } }
       ],
       // 加载数据方法 必须为 Promise 对象

+ 2 - 2
src/views/productManagement/newProduct/modal.vue

@@ -15,7 +15,7 @@
         bordered>
       </s-table>
       <div style="padding-top: 15px;">
-        <a-button @click="viewMore" block type="primary" ghost>查看更多{{onlineFalg==1?'新品':'下线产品'}}</a-button>
+        <a-button @click="viewMore" block type="primary" ghost>查看更多{{ onlineFalg==1?'新品':'下线产品' }}</a-button>
       </div>
     </a-spin>
   </div>
@@ -67,7 +67,7 @@ export default {
         { title: '单位', dataIndex: 'unit', width: 60, align: 'center', customRender: function (text) { return text || '--' } }
       ]
       if (this.onlineFalg == '1') {
-        arr.push({ title: '上线时间', dataIndex: 'onlineAuditTime', width: 140, align: 'center', customRender: function (text) { return text || '--' } })
+        arr.push({ title: '上线时间', dataIndex: 'auditTime', width: 140, align: 'center', customRender: function (text) { return text || '--' } })
       } else if (this.onlineFalg == '0') {
         arr.push({ title: '下线时间', dataIndex: 'offlineAuditTime', width: 140, align: 'center', customRender: function (text) { return text || '--' } })
       }

+ 1 - 1
src/views/productManagement/productBrand/list.vue

@@ -90,7 +90,7 @@ export default {
         { title: '产品品牌名称', dataIndex: 'brandName', width: '30%', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
         { title: '首字母', dataIndex: 'firstChar', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '创建时间', dataIndex: 'createDate', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '状态', scopedSlots: { customRender: 'enabledFlag' }, width: '15%', align: 'center' },
+        { title: '启用状态', scopedSlots: { customRender: 'enabledFlag' }, width: '15%', align: 'center' },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '10%', align: 'center' }
       ],
       // 加载数据方法 必须为 Promise 对象

+ 1 - 1
src/views/productManagement/productInfo/list.vue

@@ -270,7 +270,7 @@ export default {
             return text || text == 0 ? text : '--'
           }
         },
-        { title: <div><a-tooltip placement='top' title='注意:产品被禁用后,不能再销售。'><a-icon type="question-circle" /></a-tooltip>&nbsp;状态</div>, scopedSlots: { customRender: 'enabledFlag' }, width: '7%', align: 'center' },
+        { title: <div><a-tooltip placement='top' title='注意:产品被禁用后,不能再销售。'><a-icon type="question-circle" /></a-tooltip>&nbsp;启用状态</div>, scopedSlots: { customRender: 'enabledFlag' }, width: '7%', align: 'center' },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '9%', align: 'center' }
       ],
       // 加载数据方法 必须为 Promise 对象

+ 7 - 7
src/views/productManagement/productOnlineInfo/list.vue

@@ -106,8 +106,8 @@ export default {
       tableHeight: 0,
       productType: [],
       queryParam: { //  查询条件
-        onlineBeginDate: '',
-        onlineEndDate: '',
+        beginDate: '',
+        endDate: '',
         code: '', //  产品编码
         name: '', //  产品名称
         origCode: '', //  原厂编码
@@ -123,7 +123,7 @@ export default {
       dateFormat: 'YYYY-MM-DD',
       columns: [
         { title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
-        { title: '上线时间', dataIndex: 'onlineAuditTime', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '上线时间', dataIndex: 'auditTime', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品品牌', dataIndex: 'productBrandName', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品分类', scopedSlots: { customRender: 'productType' }, width: '13%', align: 'center' },
         { title: '产品名称', dataIndex: 'name', width: '16%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
@@ -159,14 +159,14 @@ export default {
   methods: {
     //  创建时间  change
     dateChange (date) {
-      this.queryParam.onlineBeginDate = date[0] || ''
-      this.queryParam.onlineEndDate = date[1] || ''
+      this.queryParam.beginDate = date[0] || ''
+      this.queryParam.endDate = date[1] || ''
     },
     //  重置
     resetSearchForm () {
       this.$refs.rangeDate.resetDate()
-      this.queryParam.onlineBeginDate = ''
-      this.queryParam.onlineEndDate = ''
+      this.queryParam.beginDate = ''
+      this.queryParam.endDate = ''
       this.queryParam.code = ''
       this.queryParam.name = ''
       this.queryParam.origCode = ''

+ 1 - 1
src/views/productManagement/productUniversal/list.vue

@@ -91,7 +91,7 @@ export default {
         { title: '创建时间', dataIndex: 'createDate', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品编码', dataIndex: 'productCode', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品名称', dataIndex: 'product.name', align: 'center', width: '20%', customRender: function (text) { return text || '--' }, ellipsis: true },
-        { title: '上线状态', dataIndex: 'product.onlineFalgDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '产品状态', dataIndex: 'product.onlineFalgDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '通用产品编码', dataIndex: 'productCommonCode', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '通用产品名称', dataIndex: 'productCommon.name', width: '12%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '通用产品分类', scopedSlots: { customRender: 'productType' }, width: '12%', align: 'center' },

+ 1 - 1
src/views/salesManagement/salesman/list.vue

@@ -100,7 +100,7 @@ export default {
         { title: '联系电话', dataIndex: 'mobile', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '入职日期', dataIndex: 'entryDate', width: '15%', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
         { title: '创建时间', dataIndex: 'createDate', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '状态', dataIndex: 'enableFlagDictValue', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '启用状态', dataIndex: 'enableFlagDictValue', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '10%', align: 'center' }
       ],
       // 加载数据方法 必须为 Promise 对象

+ 1 - 1
src/views/supplierManagement/supplierInfo/list.vue

@@ -84,7 +84,7 @@ export default {
         { title: '联系电话', dataIndex: 'contactTel', width: '11%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '主营内容', dataIndex: 'businessScope', width: '14%', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
         { title: '创建时间', dataIndex: 'createDate', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '状态', dataIndex: 'enabledFlagDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '启用状态', dataIndex: 'enabledFlagDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '8%', align: 'center' }
       ],
       // 加载数据方法 必须为 Promise 对象