yangfeng
2024-03-25 2fea9072aa2fbe80495ff232c4a0601e31c51e70
申请物料获取产品信息接口联调及公共组件优化
4个文件已修改
11 ■■■■ 已修改文件
src/api/common/other.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/makepager/pager/PagerView.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/orderManageModule/orderManage/components/ApplyMaterialsDialog.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/other/commonDialog/SelectCommonDialog.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/common/other.js
@@ -17,7 +17,7 @@
// 获取产品信息
export const getMaterialList = (data) => {
  return request({
    url: "/api-s/v1/material/getMaterialList",
    url: "/api-outsourcing/v1/order/materialSearch",
    method: "post",
    IsHeader: true,
    data
src/components/makepager/pager/PagerView.vue
@@ -29,7 +29,7 @@
  props: {
    pageSizes: {
      type: Array,
      default: () => [5, 10, 20, 30, 40]
      default: () => [10, 20, 30, 40]
    },
    layout: {
      type: String,
src/views/orderManageModule/orderManage/components/ApplyMaterialsDialog.vue
@@ -360,7 +360,7 @@
        for (let i in arr) {
          let item = {
            outsourcingOrderNumber: this.editRow.infomation.outsourcingOrderNumber,
            materialNumber: arr[i].id,
            materialNumber: arr[i].number,
            materialName: arr[i].name,
            amount: 1,
            unit: arr[i].unit ? arr[i].unit : 1,
@@ -368,7 +368,7 @@
            specs: arr[i].specs ? arr[i].specs : ""
          }
          console.log(arr, "8989")
          isPush = this.getIsPush(this.productTableList.tableInfomation, arr[i].id)
          isPush = this.getIsPush(this.productTableList.tableInfomation, arr[i].number)
          if (isPush) {
            this.productTableList.tableInfomation.splice(this.productTableList.tableInfomation.length, 0, item)
          }
src/views/other/commonDialog/SelectCommonDialog.vue
@@ -34,7 +34,6 @@
            <PagerView
              class="page"
              :pager-options="pagerOptions"
              :pagerCount="pagerCount"
              layout="total, sizes, prev, pager, next"
              v-on="pagerEvents"
            />
@@ -123,7 +122,7 @@
        },
        {
          label: "产品编码",
          prop: "id",
          prop: "number",
          isShowColumn: true,
          default: true
        },