zhuo
2025-05-06 6fe1caffebf43b41faf8614068730d656e686b59
调整订单页面路由问题
已修改3个文件
40 ■■■■ 文件已修改
src/views/CNAS/resourceDemand/device/component/management.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/CNAS/resourceDemand/device/component/record.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/business/productOrder/index.vue 28 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/CNAS/resourceDemand/device/component/management.vue
@@ -477,7 +477,7 @@
                { label: "管理编号", prop: "managementNumber" },
                { label: "技术指标", prop: "technicalIndicators" },
                { label: "购置日期", prop: "acquisitionDate" },
                { label: "启用日期", prop: "activationDate" },
                { label: "校准有效期", prop: "activationDate" },
                { label: "管理人", prop: "equipmentManagerUser" },
                { label: "存放点", prop: "storagePoint" },
                { label: "所属部门", prop: "laboratoryName" },
src/views/CNAS/resourceDemand/device/component/record.vue
@@ -108,7 +108,8 @@
              prop="useDateList">
              <el-date-picker v-model="form.useDateList" :disabled="operationType === 'view'" end-placeholder="结束日期"
                format="yyyy-MM-dd HH:mm:ss" size="small" start-placeholder="开始日期" style="width:100%"
                type="datetimerange" value-format="yyyy-MM-dd HH:mm:ss">
                type="datetimerange" value-format="yyyy-MM-dd HH:mm:ss"
                              :picker-options="pickerOptions">
              </el-date-picker>
            </el-form-item>
          </el-col>
@@ -213,7 +214,12 @@
      dialogVisible: false,
      operationType: '',
      formParamList: [],
      tableLoading: false
      tableLoading: false,
      pickerOptions: {
        disabledDate(time) {
          return time.getTime() > Date.now();
        }
      }
    }
  },
  mounted() {
src/views/business/productOrder/index.vue
@@ -985,14 +985,26 @@
    },
    // 点击样品名称
    selectAllByOne(row) {
      this.$router.push({
        path: "/productOrder/addView", query: {
          examine: 1,
          active: 2,
          currentId: row.id,
          tabIndex: this.tabIndex,
        }
      });
      if (this.tabIndex === 4) {
        this.$router.push({
          path: "/productOrder/addOrder", query: {
            examine: 1,
            active: 2,
            currentId: row.id,
            tabIndex: this.tabIndex,
          }
        });
      } else {
        this.$router.push({
          path: "/productOrder/addView", query: {
            examine: 1,
            active: 2,
            currentId: row.id,
            tabIndex: this.tabIndex,
          }
        });
      }
    },
    // 修改样品型号
    editSampleModel (row) {