zouyu
7 天以前 e6e3ff9166c219af461bad39edf0019db7c65315
src/views/business/inspectionReview/index.vue
@@ -2,6 +2,11 @@
  <div class="app-container">
    <div>
      <el-form :model="entity" ref="entity" size="small" :inline="true">
        <el-form-item label="批号" prop="updateBatchNo">
          <el-input v-model="entity.updateBatchNo" clearable placeholder="请输入" size="small"
                    @keyup.enter.native="refreshTable()">
          </el-input>
        </el-form-item>
        <el-form-item label="委托编号" prop="entrustCode">
          <el-input size="small" placeholder="请输入" clearable v-model="entity.entrustCode"
            @keyup.enter.native="refreshTable()"></el-input>
@@ -82,6 +87,11 @@
      tableData: [],
      column: [
        {
          label: "批号",
          prop: "updateBatchNo",
          width: "120px",
        },
        {
          label: "委托编号",
          prop: "entrustCode",
          width: "160px",
@@ -95,7 +105,7 @@
          width: "100px",
          dataType: "tag",
          formatData: (params) => {
            if (params == 0) {
            if (params == 0 ) {
              return "成品下单";
            } else {
              return "原材料下单";
@@ -236,6 +246,7 @@
      currentTime: null,
      sonLaboratoryList: [],
      typeSourceList: [
        { label: '委托下单', value: -1 },
        { label: '成品下单', value: 0 },
        { label: '原材料下单', value: 1 },
      ],
@@ -315,7 +326,7 @@
        case 0:
          // 原材料
          this.$router.push({
            path: "/materialOrder/customsInspection", query: {
            path: "/materialOrder/customsInspectionView", query: {
              customsInspection: row,
              active: this.activeFace,
              currentId: this.currentId,
@@ -326,7 +337,7 @@
        case null:
          // 成品
          this.$router.push({
            path: "/productOrder/add", query: {
            path: "/productOrder/addView", query: {
              examine: this.examine,
              active: this.activeFace,
              currentId: this.currentId
@@ -336,7 +347,7 @@
        case 1:
          // 铜材
          this.$router.push({
            path: "/materialOrder/copperOrder", query: {
            path: "/materialOrder/CopperView", query: {
              active: this.activeFace,
              currentId: this.currentId
            }