huminmin
3 天以前 176ca08ce83bedeb8766b3b1dfd047856d643837
src/views/productionManagement/productionOrder/index.vue
@@ -41,6 +41,7 @@
        </el-form-item>
      </el-form>
      <div>
        <el-button type="primary" @click="isShowNewModal = true">新增</el-button>
        <el-button @click="handleOut">导出</el-button>
      </div>
    </div>
@@ -86,6 +87,10 @@
        </span>
      </template>
    </el-dialog>
    <new-product-order v-if="isShowNewModal"
                         v-model:visible="isShowNewModal"
                         @completed="handleQuery" />
  </div>
</template>
@@ -101,9 +106,12 @@
    listProcessBom,
  } from "@/api/productionManagement/productionOrder.js";
  import { listMain as getOrderProcessRouteMain } from "@/api/productionManagement/productProcessRoute.js";
  const NewProductOrder = defineAsyncComponent(() => import("@/views/productionManagement/productionOrder/New.vue"));
  const { proxy } = getCurrentInstance();
  const router = useRouter();
  const isShowNewModal = ref(false);
  const tableColumn = ref([
    {
@@ -239,8 +247,9 @@
  // 添加表行类名方法
  const tableRowClassName = ({ row }) => {
    const diff = row.deliveryDaysDiff;
    if (row.isFh) return '';
    const diff = row.deliveryDaysDiff;
    if (diff === 15) {
      return 'yellow';
    } else if (diff === 10) {