src/views/productionManagement/productionDispatching/index.vue
@@ -68,7 +68,7 @@
            <el-button type="primary" @click="handleQuery" style="margin-left: 10px">搜索</el-button>
         </div>
         <div>
         <el-button type="primary" @click="openForm('add')">生产派工</el-button>
<!--         <el-button type="primary" @click="openForm('add')">生产派工</el-button>-->
         <el-button type="success" @click="openAutoDispatch">自动派工</el-button>
         <el-button @click="handleOut">导出</el-button>
      </div>
@@ -147,32 +147,18 @@
      prop: "entryDate",
      width: 120,
   },
   {
      label: "状态",
      prop: "status",
      dataType: "tag",
      formatType: (params) => {
         if (params == '生产中') {
            return "warning";
         } else if (params == '未开始') {
            return "danger";
         } else {
            return "success";
         }
      },
   },
   {
      label: "生产进度",
      prop: "progress",
      formatData: (cellValue) => {
         // 如果值为空或undefined,显示空字符串
         if (cellValue === null || cellValue === undefined || cellValue === '') {
            return '';
         }
         // 直接在数字后面添加百分号
         return `${cellValue}%`;
      }
   },
   // {
   //    label: "生产进度",
   //    prop: "progress",
   //    formatData: (cellValue) => {
   //       // 如果值为空或undefined,显示空字符串
   //       if (cellValue === null || cellValue === undefined || cellValue === '') {
   //          return '';
   //       }
   //       // 直接在数字后面添加百分号
   //       return `${cellValue}%`;
   //    }
   // },
   {
      label: "数量",
      prop: "quantity",